- truffle v5.1.55
- Solidity by Example: Re-entrancy
- Solidity by Example: Self-destruct
- Solidity by Example: DelegateCall
- Solidity by Example: Honeypot
- OpenZeppelin: CodeSize
- OpenZeppelin: Denial Of Service
Compile contract:
truffle compile
Before deploy it, you should run in a console:
ganache-cli
You must check out the compiler version for some contracts at truffle-config.js. You could test all files at once:
truffle test
Or test file by file:
truffle test ./test/file_name.test.js