Skip to content

Instantly share code, notes, and snippets.

@super3
Last active November 19, 2018 16:11
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 super3/27aab2d172866dd1bdec03579f26f89a to your computer and use it in GitHub Desktop.
Save super3/27aab2d172866dd1bdec03579f26f89a to your computer and use it in GitHub Desktop.
Raiden Benchmark Scripts
#!/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`."
#!/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