docker build -t brownie .
docker run -it -v $(pwd):/app brownie bash
brownie accounts import default-dev acc.json
Password is empty string
brownie accounts new default-dev
- Notice:
default-dev
is just a name for account, you could use any other string.
brownie compile
brownie run scripts/deploy.py --network waterfall-test
- copy contract sources from 3pool-test to new folder
- configure pool by editing pooldata.json
- change first rates in
StableSwap3Pooltest.vy:83
. Also, you can change number of pool coins there.
- change name of contract path
- also, you can change account used for deploy
- If you changed the authorization account in the _tx_params object, change the parameter from, to the address of the new account
- You also need to change the provider, to the provider of the current network here:
web3 = Web3(Web3.HTTPProvider('https://rpc.waterfall.network/rpc'))