/potato-farm

Primary LanguagePythonMIT LicenseMIT

Potato-Farm

A simpler implementation of the well known MasterChef contract, written in Solidity.

contracts (Ropsten Network)

  1. USD.
  2. Potato.
  3. SimpleChef.

deployment

  1. Install Brownie, if you haven't already.

  2. Clone the Repo

    git clone https://github.com/MostafaMhmod/potato-farm.git
  3. Run the tests

    brownie test
  4. Add your own private key to the brownie account variable and here it assumes its named testing

    brownie accounts new testing
  5. Add your RPC key (infura in our case):

    export WEB3_INFURA_PROJECT_ID=YOUR KEY
  6. Add your Etherscan API key for contract verfication:

    export ETHERSCAN_TOKEN=YOUR KEY
  7. Run the deployment script to the Ropsten testnet (the only one supported by the script so far)

    brownie run deployment --network ropsten

License

This project is licensed under the MIT license.