A simpler implementation of the well known MasterChef contract, written in Solidity.
- USD.
- Potato.
- SimpleChef.
-
Install Brownie, if you haven't already.
-
Clone the Repo
git clone https://github.com/MostafaMhmod/potato-farm.git
-
Run the tests
brownie test
-
Add your own private key to the brownie account variable and here it assumes its named
testing
brownie accounts new testing
-
Add your RPC key (infura in our case):
export WEB3_INFURA_PROJECT_ID=YOUR KEY
-
Add your Etherscan API key for contract verfication:
export ETHERSCAN_TOKEN=YOUR KEY
-
Run the deployment script to the Ropsten testnet (the only one supported by the script so far)
brownie run deployment --network ropsten
This project is licensed under the MIT license.