See the blog post with the project description.
Install Ganache local testnet
$ npm install -g ganache-cli
Install Brownie framework
$ pip install -r requirements.txt
You should create an env
file with these keys
WEB3_INFURA_PROJECT_ID=
ETHERSCAN_TOKEN=
Run test suit (local testnet) with
$ brownie test tests/test_unit.py
Interact with the deployed contract at Ropsten testnet
$ brownie console --network ropsten
Deploy to mainnet
$ brownie run scripts/prod_deploy.py --network mainnet
Distribute a payment
$ brownie run scripts/prod_distribute.py --network mainnet