Skip to content

boschresearch/indy-did-resolver

 
 

Repository files navigation

indy-did-resolver

Proof of Concept resolver for the did:indy method.

The code depends on indy-vdr and could be merged ideally in the longterm.

This software could be used as a driver for the Universal Resolver.

Usage

The project can be built using standard rust tooling: cargo build or exectued via cargo run

Logging can be enabled using the environment variableRUST_LOG, e.g. RUST_LOG=debug ./indy-did-driver

Default configuration

The driver can be reached via HTTP, e.g. curl http://localhost:8080/1.0/identifiers/

CLI options

    -f, --genesis-filename <GENESIS_FILENAME>
            Pool transaction genesis filename [default: pool_transactions_genesis.json]

    -h, --help
            Print help information

    -n, --github-network <GITHUB_NETWORKS>
            github repository for registered networks [default: https://github.com/IDunion/indy-did-
            networks]

    -p, --port <PORT>
            Port to expose [default: 8080]

    -s, --source <SOURCE>
            source to use, allowed values are path or github [default: ]

    -V, --version
            Print version information

Local development

The resolver can also be configured to resolve local/custom indy networks for development purposes, e.g. von-network. Create a folder structure like the following:

networks/
   └──local/
         └──pool_transactions_genesis.json

Start the indy-did-driver with the option -s <path/to/networks> and resolve via did:indy:local:<DID>

About

Resolver for the did:indy method

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 95.6%
  • Handlebars 2.8%
  • Dockerfile 1.6%