Skip to content

iotaledger/uni-resolver-driver-iota

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Issues Apache 2.0 license Discord StackExchange Docker

Universal Resolver Driver for IOTA

This is a driver implementation of Universal Resolver for the did:iota identifier.

Specifications

IOTA DID Method Specification v1.0

Example DIDs

did:iota:0xf4d6f08f5a1b80dd578da7dc1b49c886d580acd4cf7d48119dfeb82b538ad88a

Build and Run (Docker)

docker build . -t iotaledger/uni-resolver-driver-iota
docker run -p 8080:8080 iotaledger/uni-resolver-driver-iota
 curl -X GET localhost:8080/1.0/identifiers/<did>

Build and Run (Rust)

cargo run --release

Driver Environment Variables

IOTA_NODE_ENDPOINT Endpoint for the iota network.

IOTA_SMR_NODE_ENDPOINT Endpoint for the smr network.

IOTA_CUSTOM_NETWORK_NAME HRP a of custom network.

IOTA_CUSTOM_NODE_ENDPOINT Endpoint for the custom network.

IOTA_NODE_AUTH_TOKEN JWT auth token for iota's node.

IOTA_SMR_NODE_AUTH_TOKEN JWT auth token for smr's node.

IOTA_CUSTOM_NODE_AUTH_TOKEN JWT auth token for custom network's node.

Note: at least one network must be configured.

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the Apache License. See LICENSE for more information.

(back to top)