Skip to content

Instantly share code, notes, and snippets.

@pirapira
Created August 27, 2019 11:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pirapira/eb64e83da3811b87a17d7ccc767f593d to your computer and use it in GitHub Desktop.
Save pirapira/eb64e83da3811b87a17d7ccc767f593d to your computer and use it in GitHub Desktop.
deployment.txt
export GOERLI=http://geth.goerli.ethnodes.brainbot.com:8545
export GOERLIPRIV=/home/yoichi/.ethereum/goerli/keystore/UTC--2019-02-18T14-56-34.781524237Z--6c5c227036a1d159c19f17316e5d0f0a52d84d5c
export MAX_UINT256=115792089237316195423570985008687907853269984665640564039457584007913129639935
let "seconds_per_day=60*60*24"
let "decay=200*$seconds_per_day"
let "duration=200*$seconds_per_day"
export Deposit=2000000000000000000000
python -m raiden_contracts.deploy raiden --rpc-provider $GOERLI --private-key $GOERLIPRIV --gas-price 20 --gas-limit 6000000 --max-token-networks $MAX_UINT256 --secret-registry-from-deployment-file raiden_contracts/data_0.21.0/deployment_goerli.json
TokenNetworkRegistry: 0x603882F4e7fAb5942a585048CADc71F91D6160c5
python -m raiden_contracts.deploy token --rpc-provider $GOERLI --private-key $GOERLIPRIV --gas-price 20 --token-supply 20000000 --token-name ServiceToken --token-decimals 18 --token-symbol SVT
"CustomToken": 0x18A0a29cd1122cBE89dcd1dA14d2f5F487AdAA54
python -m raiden_contracts.deploy services --rpc-provider $GOERLI --private-key $GOERLIPRIV --gas-price 20 --gas-limit 6000000 --token-address 0x18A0a29cd1122cBE89dcd1dA14d2f5F487AdAA54 --user-deposit-whole-limit $MAX_UINT256 --service-deposit-bump-numerator 6 --service-deposit-bump-denominator 5 --service-deposit-decay-constant $decay --initial-service-deposit-price $Deposit --service-deposit-min-price 1000 --service-registration-duration $duration --token-network-registry-address 0x603882F4e7fAb5942a585048CADc71F91D6160c5
python -m raiden_contracts.deploy token --rpc-provider $GOERLI --private-key $GOERLIPRIV --gas-price 20 --token-supply 10000000 --token-name TestToken --token-decimals 18 --token-symbol TTT
"CustomToken": 0x05aB44f56e36b2edFF7b36801d509Ca0067F3f6d
python -m raiden_contracts.deploy register --rpc-provider $GOERLI --private-key $GOERLIPRIV --gas-price 20 --token-address 0x05aB44f56e36b2edFF7b36801d509Ca0067F3f6d --token-network-registry-address 0x603882F4e7fAb5942a585048CADc71F91D6160c5 --channel-participant-deposit-limit $MAX_UINT256 --token-network-deposit-limit $MAX_UINT256
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment