Artem Pikulin
7 years ago
20 changed files with 133 additions and 59 deletions
@ -1,4 +1,4 @@ |
|||
#!/bin/bash |
|||
source userpass |
|||
curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"setprice\",\"base\":\"$1\",\"rel\":\"BEER\",\"price\":1}" |
|||
curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"sell\",\"base\":\"$1\",\"rel\":\"BEER\",\"basevolume\":0.1,\"price\":1}" |
|||
curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"buy\",\"base\":\"BEER\",\"rel\":\"$1\",\"relvolume\":0.1,\"price\":1}" |
|||
|
File diff suppressed because one or more lines are too long
@ -1,12 +1,8 @@ |
|||
#!/bin/bash |
|||
docker-compose exec -T clientnode ./setpassphrase |
|||
sleep 5 |
|||
docker-compose exec -T clientnode ./enable |
|||
sleep 5 |
|||
docker-compose exec -T seednode ./setpassphrase |
|||
sleep 5 |
|||
sleep 3 |
|||
docker-compose exec -T seednode ./enable |
|||
sleep 5 |
|||
sleep 3 |
|||
docker-compose exec -T seednode ./sell_BEER_OTHER $1 |
|||
sleep 5 |
|||
sleep 3 |
|||
docker-compose exec -T clientnode ./buy_BEER_OTHER $1 |
@ -1,12 +1,8 @@ |
|||
#!/bin/bash |
|||
docker-compose exec -T clientnode ./setpassphrase |
|||
sleep 5 |
|||
docker-compose exec -T clientnode ./enable |
|||
sleep 5 |
|||
docker-compose exec -T seednode ./setpassphrase |
|||
sleep 5 |
|||
sleep 3 |
|||
docker-compose exec -T seednode ./enable |
|||
sleep 5 |
|||
sleep 3 |
|||
docker-compose exec -T clientnode ./buy_BEER_OTHER $1 |
|||
sleep 5 |
|||
sleep 3 |
|||
docker-compose exec -T seednode ./sell_BEER_OTHER $1 |
Loading…
Reference in new issue