Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/uport-project/uport-did-driver
Driver for the uPort DID method
https://github.com/uport-project/uport-did-driver
decentralized-identifiers resolver uport w3c-api
Last synced: about 1 month ago
JSON representation
Driver for the uPort DID method
- Host: GitHub
- URL: https://github.com/uport-project/uport-did-driver
- Owner: uport-project
- License: apache-2.0
- Created: 2017-10-20T21:50:36.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-11-11T04:07:52.000Z (about 2 months ago)
- Last Synced: 2024-11-11T05:18:59.710Z (about 2 months ago)
- Topics: decentralized-identifiers, resolver, uport, w3c-api
- Language: JavaScript
- Size: 1.41 MB
- Stars: 8
- Watchers: 12
- Forks: 17
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# uport-did-driver
Driver for the uPort DID methods to be used in
the [Universal Resolver](https://github.com/decentralized-identity/universal-resolver). The Docker image is hosted on
Docker Hub here:The file `src/server.js` is a small Express Node app acting as a thin wrapper around
the [Javascript DID resolver](https://github.com/decentralized-identity/did-resolver). It listens to port 8081.The following DID methods are supported:
* [ethr](https://github.com/decentralized-identity/ethr-did-resolver)
* [web](https://github.com/decentralized-identity/web-did-resolver)
* [ens](https://github.com/veramolabs/ens-did-resolver)## Curl Tests
Run service with
```
npm start
```then run queries
```
curl -X GET http://localhost:8081/1.0/identifiers/did:web:did.actor:alice
curl -X GET http://localhost:8081/1.0/identifiers/did:ethr:0x3b0BC51Ab9De1e5B7B6E34E5b960285805C41736
```## Example DIDs
* `did:ethr:0x3b0BC51Ab9De1e5B7B6E34E5b960285805C41736`
* `did:ethr:0x02b97c30de767f084ce3080168ee293053ba33b235d7116a3263d29f1450936b71`
* `did:ethr:mainnet:0x3b0BC51Ab9De1e5B7B6E34E5b960285805C41736`
* `did:ethr:goerli:0x3b0BC51Ab9De1e5B7B6E34E5b960285805C41736`
* `did:ethr:0x1:0x3b0BC51Ab9De1e5B7B6E34E5b960285805C41736`
* `did:ethr:0x5:0x3b0BC51Ab9De1e5B7B6E34E5b960285805C41736`
* `did:ethr:ewc:0x3b0BC51Ab9De1e5B7B6E34E5b960285805C41736`
* `did:web:pulsar.veramo.io`
* `did:web:did.actor:alice`
* `did:ens:vitalik.eth`