For questions or request information reach out via Discord.
yarn
A collection of the different contract deployments and their addresses can be found in the TheBadge deployments file.
WALLET_PRIVATE_KEY=
GOERLI_URL=https://goerli.infura.io/v3/
SEPOLIA_URL=https://sepolia.infura.io/v3/
GNOSIS_URL=https://rpc.gnosischain.com/
ETHERSCAN_API_KEY=
ALCHEMY_ENDPOINT_URL=https://eth-goerli.alchemyapi.io/v2/<apiKey>
TENDERLY_PROJECT=""
TENDERLY_USERNAME=""
REPORT_GAS=true
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Install foundry dev toolkit:
1) curl -L https://foundry.paradigm.xyz/ | bash
2) bash foundryup
3) foundryup --branch master
forge install --no-commit
For troubleshooting check the fountry installation official guide.
yarn deploy:goerli
yarn upgrade:goerli
This command will use the deployment artifacts to compile the contracts and compare them to the onchain code. It will also verify the contracts on tenderly.
yarn verify:goerli
To run the tests:
yarn build
yarn test
- Please check the list of our deployed contracts here
All contracts are WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
All smart contracts are released under BSL 1.1 - see the LICENSE.md file for details.