Getting Started

Just a few steps to spin up the Issuer!

1. git clone the Demo Issuer arrow-up-rightRepository

The prerequisites necessary to run the Demo Issuer are:

2. Setup a Public URL

To run the demo issuer we need to set up a publicly accessible URL. For that, we use ngrok

ngrok http 8001 
# Output -> https://ecd9-49-207-208-41.in.ngrok.io

3. Setup the config

Add the following variables inside the config file

demo-issuer/issuer/issuer_config.default.yaml:

  • log_level parameter controls the amount of messages that are generated when running the issuer.

  • db_file_path is the path to the DB file where the state of the issuer is stored (or will be stored)

  • reset_db will reset the DB state of issuer on boot.

  • node_rpc_urlis the url of an RPC endpoint that operates on Mumbai Test Network. You can generate one using Infuraarrow-up-right or Alchemyarrow-up-right

  • publishing_private_key is the private key of the wallet that will be used to execute any on-chain transactions. Ensure that the account associated with this private has enough test MATIC tokens.

circle-info

You can use Metamaskarrow-up-right to create a new Wallet and use these Faucets (1arrow-up-right and 2arrow-up-right) to get MATIC tokens for free by entering your address

  • publishing_contract_address is the address of the contract that manages the state of the identity (in our case the demo-issuer)

  • circuits_dir is the directory which all the required data related to zkp operations (proving/verification) is stored

  • local_url is the url the HTTP API of the demo-issuer will run locally

  • public_url is the ngrok public url obtained from the previous step

4. Start the Demo Issuer

Run the main.gofile to start the Demo Issuer

Last updated