The Tryvium Smart Contracts repository, based on Waffle, Typescript, used to create decentralized projects from a solid base.
This template includes an Example ERC20 implementation with tests.
First of all you need to install the dependencies
yarn install
Then you can add your solidity smart contracts to the contracts
directory
and the contract tests to the test
directory.
Finally, you can build your contracts using
yarn build
and you can test them using
yarn test
Finally, you can create a flatten version of all the contracts using the command
yarn flatten
You will be able to use this flatten file to deploy your contract using Remix or verify your contract using Etherscan or BSCscan.
This project is powered by waffle
and Typescript
.
Please, see the details of the scripts in package.json
file.