Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/decentralized-identity/uni-resolver-driver-did-ccp
A Universal Resolver driver for Baidu did:ccp identifiers.
https://github.com/decentralized-identity/uni-resolver-driver-did-ccp
decentralized-identifiers universal-resolver wg-id
Last synced: about 2 months ago
JSON representation
A Universal Resolver driver for Baidu did:ccp identifiers.
- Host: GitHub
- URL: https://github.com/decentralized-identity/uni-resolver-driver-did-ccp
- Owner: decentralized-identity
- Created: 2020-01-06T14:25:08.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-04-14T17:40:12.000Z (over 1 year ago)
- Last Synced: 2024-04-14T04:46:09.241Z (8 months ago)
- Topics: decentralized-identifiers, universal-resolver, wg-id
- Language: Java
- Homepage: https://did.baidu.com
- Size: 27.3 KB
- Stars: 14
- Watchers: 14
- Forks: 10
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![DIF Logo](https://raw.githubusercontent.com/decentralized-identity/universal-resolver/master/docs/logo-dif.png)
# Universal Resolver Driver: did:ccp
This is a [Universal Resolver](https://github.com/decentralized-identity/universal-resolver/) driver for Baidu **did:ccp** identifiers.
More info:
- [Solution Homepage on Baidu Cloud](https://cloud.baidu.com/solution/digitalIdentity.html)
- [Docs Homepage](https://did.baidu.com)## Specifications
* [W3C Decentralized Identifiers](https://w3c.github.io/did-core/)
* [Baidu DID Method Specification](https://did.baidu.com/did-spec/)## Example DIDs
```
did:ccp:ceNobbK6Me9F5zwyE3MKY88QZLw
did:ccp:3CzQLF3qfFVQ1CjGVzVRZaFXrjAd
```
## Configuration
For downloading the dependencies of this project a Personal Access Token for GitHub must be configured in file [settings.xml](https://github.com/decentralized-identity/uni-resolver-driver-did-ccp/blob/release-0.1.x/settings.xml) according to [Creating a personal access token for the command line](https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line).
Then, add the USER Name and TOKEN to the environment variable as follows,GITHUB_READ_PACKAGES_OWNER=OWNER
GITHUB_READ_PACKAGES_TOKEN=TOKEN
## Build and Run (Docker)```
docker build -f ./docker/Dockerfile . -t hello2mao/driver-did-ccp
docker run -p 8080:8080 hello2mao/driver-did-ccp
curl -X GET http://localhost:8080/1.0/identifiers/did:ccp:ceNobbK6Me9F5zwyE3MKY88QZLw
```## Build (native Java)
Maven build:
mvn --settings settings.xml clean install
## Driver Metadata
The driver returns the following metadata in addition to a DID document:
* `version`: The DID version.
* `proof`: Some proof info about the DID document.
* `created`: The DID create time.
* `updated`: The DID document last update time.## Maintainer
- Hongbin Mao [@hello2mao](https://github.com/hello2mao)
- Junjie Yuan [@yjjnls](https://github.com/yjjnls)