Slightly more advanced lottery project, made with Solidity..
In this project I wanted to go a little further with data type handling, I made a project where all the smart contracts are connected in certain functions, it was a bit crazy and I left comments in certain functions to guide you and know what it really does .
I wanted to add the ERC-20 and ERC-721 tokens in a project, and better handle security in certain functions.
I hope you can practice with this project, and add or customize anything you want.
# Clone this project
$ git clone https://github.com/gab0071/advanced-lottery
# Access
$ cd advanced-lottery
# Install dependencies
$ npm install
- Solidity
- Remix -Ethereum-IDE
- Metamask
- Fake ETH (🚨 Note: Goerli Faucet)
- OpenZeppelin
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
Contributions are always welcome! Open a PR or an issue!
Thank you! 😊