Implement Proof By Query Holder¶
If you intend to store your own verifiable credentials, generate, and submit proof. The following guide will help you implement the holder module for your solution.
Clone holder repo¶
Our example holder repository might be a useful reference as your work through the implementation.
Environment variables¶
You will need these values to run holder on the various Redbelly environments.
- Create
.envfile. - Copy values from
.env.exampleto.env
.env
RHS_URL= 'https://rhs.testnet.redbelly.network'CIRCUITS_PATH= {Add path to Iden3 Circuits}RPC_URL= 'https://rbn-aws-eu-north-1a-0-b.devnet.redbelly.network:8545'WALLET_KEY= {Add your Private Key}STATE_CONTRACT_ADDRESS=0x73Fdb30a0A01aEB6d2A6fc8cdAc6d88D891898F9BSC_ADDRESS=0x403e0043a2D1016a4D8765965843441444e0fc13PORT= {Optional: Add port for Holder Server}
RHS_URL= 'https://rhs.redbelly.network'CIRCUITS_PATH= {Add path to Iden3 Circuits}RPC_URL= 'https://rbn-aws-eu-north-1a-0-b.devnet.redbelly.network:8545'WALLET_KEY= {Add your Private Key}STATE_CONTRACT_ADDRESS= Coming SoonBSC_ADDRESS= Coming SoonPORT= {Optional: Add port for Holder Server}
Circuits¶
Set up a local folder for your Holder, download the latest Iden3 circuits using the following curl command and unzip the folder.
- Download Circuits
- Unzip the downloaded folder