- Install node.js, npm and truffle
- Install dependencies :
npm install npm install -g truffle
- Rename
.env.sample
to.env
and change information with your own private key - Compile the contracts:
npm run compile
- Deploy the contracts:
- Deploy to the testnet
npm run deploy:testnet
- Deploy to the mainnet
npm run deploy:mainnet
This project is using Solc 0.6.12 as it's a most stable version.
- ExchangeV1.sol - Main Contract for exchange
- DavinciToken - HRC721 Token
- DavinciMultipleToken - HRC1155 Token