An open source interface for Dai Credit System governance
Install it and run:
npm install
npm run dev
# or
yarn
yarn dev
Requires node version >= v11.15.0
- Create a local
.env
file - Set
INFURA_KEY
to a valid Infura API key - Set
ALCHEMY_KEY
to a valid Alchemy API key - Set
TRACING_RPC_NODE
to an ethereum RPC parity node with tracing enabled - Set
MONGODB_URI
to a full mongodb uri (ex:mongodb+srv://...
) - Set
MONGODB_COMMENTS_DB
the mongodb db name to be used for vote comments - Set
USE_PROD_SPOCK
to true to use the production spock instance
If API keys aren't provided, both Alchemy and Infura will default to the public keys from ethers.js. This is probably fine in most cases, performance could just be a bit less consistent as many people are using these.