git clone [email protected]:TurnUpTeam/turnup-contracts.git
npm install
npm run compile
npm run test
npm run test:gas
npm run coverage
After running the coverage, you can check it opening the file coverage/index.html
in your browser.
npm run lint
npm run size
After deploying to the blockchain, you can flatten the smart contracts to verify the source code on Etherscan with the following command:
bin/flatten.sh TurnupSharesV4
bin/export.sh
Notice that the ABI is exported anyway during the pre-commit hook.