Last active
November 19, 2018 16:11
-
-
Save super3/27aab2d172866dd1bdec03579f26f89a to your computer and use it in GitHub Desktop.
Raiden Benchmark Scripts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Start: `date +%m-%d-%Y\ %H:%M:%S\ %Z`.\n" | |
for i in `seq 1 $1`; | |
do | |
echo "\n\n$i/$1\n=========="; | |
curl -i -X POST http://localhost:5001/api/1/payments/0x396764f15ed1467883A9a5B7D42AcFb788CD1826/0xBbE54C702A529DF85f2D412F8FC4012Ca0684ba3 -H 'Content-Type: application/json' --data-raw '{"amount": 1}' | |
done | |
echo "\nEnd: `date +%m-%d-%Y\ %H:%M:%S\ %Z`." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
./raiden-v0.17.0-linux \ | |
--keystore-path keystore \ | |
--network-id kovan \ | |
--environment-type development \ | |
--gas-price 20000000000 \ | |
--eth-rpc-endpoint https://kovan.infura.io/v3/d636d4118e2f4cab9b72296d74b9ff62 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment