Awesome
<!-- This READM is based on the BEST-README-Template (https://github.com/othneildrew/Best-README-Template) --> <div id="top"></div> <!-- *** Thanks for checking out the Best-README-Template. If you have a suggestion *** that would make this better, please fork the repo and create a pull request *** or simply open an issue with the tag "enhancement". *** Don't forget to give the project a star! *** Thanks again! Now go create something AMAZING! :D --> <!-- PROJECT SHIELDS --> <!-- *** I'm using markdown "reference style" links for readability. *** Reference links are enclosed in brackets [ ] instead of parentheses ( ). *** See the bottom of this document for the declaration of the reference variables *** for contributors-url, forks-url, etc. This is an optional, concise syntax you may use. *** https://www.markdownguide.org/basic-syntax/#reference-style-links --> <!-- [![Contributors][contributors-shield]][contributors-url] --> <!-- [![Forks][forks-shield]][forks-url] --> <!-- [![Stargazers][stars-shield]][stars-url] --> <!-- Add additional Badges. Some examples > ![Format Badge](https://github.com/iotaledger/template/workflows/Format/badge.svg "Format Badge") ![Audit Badge](https://github.com/iotaledger/template/workflows/Audit/badge.svg "Audit Badge") ![Clippy Badge](https://github.com/iotaledger/template/workflows/Clippy/badge.svg "Clippy Badge") ![BuildBadge](https://github.com/iotaledger/template/workflows/Build/badge.svg "Build Badge") ![Test Badge](https://github.com/iotaledger/template/workflows/Test/badge.svg "Test Badge") ![Coverage Badge](https://coveralls.io/repos/github/iotaledger/template/badge.svg "Coverage Badge") <!-- PROJECT LOGO -->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!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
License
Distributed under the Apache License. See LICENSE
for more information.