Setup DID Registrar
Setup and configure cheqd's DID Registrar to start writing Decentralized Identifiers (DIDs) and DID-Linked Resources (DLRs) on cheqd.
Last updated
Was this helpful?
Setup and configure cheqd's DID Registrar to start writing Decentralized Identifiers (DIDs) and DID-Linked Resources (DLRs) on cheqd.
This page describes how to use and set up the cheqd DID Registrar software package.
If you do not want to install anything and just want to test it using our testnet, you can load the REST API endpoint for registrar in your browser.
You should run your own registrar to perform DID Operations on the Mainnet.
Environment variables needed for the Registrar are
FEE_PAYER_MAINNET_MNEMONIC : The cosmos payer mnemonic for the Cheqd Mainnet
FEE_PAYER_TESTNET_MNEMONIC : The cosmos payer mnemonic for the Cheqd Testnet, By default it's the Testnet Faucet
LOCAL_STORE_TTL (default: 600): The time in seconds for the registrar to store data in cache
PORT (default: 3000): The port number
Clone the repository
git clone git@github.com:cheqd/did-registrar.git
cd did-registrarBuild Docker container image using Dockerfile:
Run the Docker container (modify according to your own build tags and other desired parameters):
Last updated
Was this helpful?
Was this helpful?
docker build --target cheqd-did-registrar . --tag did-registrar:localdocker run -it did-registrar:localnpm install
npm run build
npm start