Contribution guidelines
July 20, 2023 ยท View on GitHub
First off, thank you for considering contributing to db3 network
If your contribution is not straightforward, please first discuss the change you wish to make by creating a new issue before making the change.
Reporting issues
Before reporting an issue on the issue tracker, please check that it has not already been reported by searching for some related keywords.
Developing
Build
- clone the source and init the building environment
git clone https://github.com/dbpunk-labs/db3.git
cd db3 & bash install_env.sh
- compile the metadata contract
cd metadata && yarn && npx hardhat test
- build the db3 binary
cargo build
- build typescript sdk
cd sdk && make && yarn && yarn build
Start Local Test Environment
cd tools && bash start_localnet.sh
Run test cases
cargo test