githubEdit

Setup DID Registrar

Setup and configure cheqd's DID Registrar to start writing Decentralized Identifiers (DIDs) and DID-Linked Resources (DLRs) on cheqd.

Setting up cheqd DID Registrar

This page describes how to use and set up the cheqd DID Registrararrow-up-right 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 registrararrow-up-right in your browser.

You should run your own registrar to perform DID Operations on the Mainnet.

Setup

Environment variable configuration

Environment variables needed for the Registrar are

  1. FEE_PAYER_MAINNET_MNEMONIC : The cosmos payer mnemonic for the Cheqd Mainnet

  2. FEE_PAYER_TESTNET_MNEMONIC : The cosmos payer mnemonic for the Cheqd Testnet, By default it's the Testnet Faucet

  3. LOCAL_STORE_TTL (default: 600): The time in seconds for the registrar to store data in cache

  4. PORT (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:

Run the Docker container (modify according to your own build tags and other desired parameters):


Running a DID Registrar Locally

Last updated

Was this helpful?