Skip to content

datitos/distribution-contract

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Distribution contract

See the blog post with the project description.

Requirements

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=

Development

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

About

Co-op payment distribution Ethereum smart contract

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages