In this project we went to a more advanced level, making an ERC20 Token interface, and doing our import to create a Token in minutes.
We create our tests and test each function created in smart contracts, passing them all successfully.
I hope you are encouraged to do this project, it was a lot of fun and the knowledge you will acquire will help you in the future to develop your projects as a professional.
If you wanna start from the basics: click here
# Clone this project
$ git clone https://github.com/gab0071/ERC20
# Access
$ cd ERC20
# Install dependencies
$ npm install
Drop all necessary dependencies
- $
truffle compile
: Upon first run, all contracts will be compiled. Upon subsequent runs, Truffle will compile only the contracts that have been changed since the last compile. - $
truffle migrate
: This will run all migrations located within our project's migrations directory. - $
truffle test
: Run all tests located within our project's test directory.
- Solidity
- Metamask
- Fake ETH (🚨 Note: Goerli Faucet)
- OpenZeppelin
- Ganache CLI
- Ganache GUI
- Web3.js
Prettier offers support for multiple languages and frameworks. What offers is to take your code and "re-format" it based on the defined settings thus maintaining a consistent style. Making it much more readable and without worrying about how you write it initially.
Link to install prettier: Prettier
Link to install a prettier plugin for automatically formatting your Solidity code: Prettier Plugin
This project is under license from MIT. For more details, see the LICENSE file.
Contributions are always welcome! Open a PR or an issue!