@cheqd/did-registrar
v2.1.5
Published
Universal Registrar for cheqd DID method
Downloads
22
Readme
Universal Registrar Driver for did:cheqd
ℹ️ Overview
The purpose of this service is to provide a Universal Registrar driver for the did:cheqd
DID method. Universal Registrar is a project to provide simple REST APIs for DID creation, update, and deactivation.
📖 Endpoints
/create
/update
/deactivate
/create-resource
/api-docs
🧑💻🛠 Developer Guide
Setup
Environment variable configuration
Environment variables needed for the Registrar are
FEE_PAYER_TESTNET_MNEMONIC
: The cosmos payer mnemonic for the Cheqd MainnetFEE_PAYER_MAINNET_MNEMONIC
: The cosmos payer mnemonic for the Cheqd Tesnet, By default it's the Testnet FaucetLOCAL_STORE_TTL
(default:600
): The time in seconds for the registrar to store data in cachePORT
(default:3000
): The port number
Clone the repository
git clone [email protected]:cheqd/did-registrar.git
cd did-registrar
Running a DID Registrar Using Docker
Build Docker container image using Dockerfile:
docker build --target cheqd-did-registrar . --tag did-registrar:local
Run the Docker container (modify according to your own build tags and other desired parameters):
docker run -it did-registrar:local
Running a DID Registrar Locally
npm install
npm run build
npm start
🐞 Bug reports & 🤔 feature requests
If you notice anything not behaving how you expected, or would like to make a suggestion / request for a new feature, please create a new issue and let us know.
💬 Community
Our Discord server is the primary chat channel for our open-source community, software developers, and node operators.
Please reach out to us there for discussions, help, and feedback on the project.