- Create a
.env
file with the following:
CHAIN_ENV
- 'mainnet' or 'testnet'PRIVATE_KEY
- private key of the authorized wallet to update partner token and skill price in treasury contractDISCORD_TOKEN
- discord bot token
- Run
npm i
ornpm install
to install dependencies
npm start
- To run the botnpm run test
- To run the bot in test mode