|
|
@ -5,10 +5,10 @@ source pubkey.txt |
|
|
|
echo $pubkey |
|
|
|
sleep 3 |
|
|
|
|
|
|
|
# add non default assetchains here |
|
|
|
# add non default smartchains here |
|
|
|
# curl --url "http://127.0.0.1:7776" --data "{\"agent\":\"dragon\",\"method\":\"dpow\",\"symbol\":\"XXX\",\"freq\":10,\"pubkey\":\"$pubkey\"}" |
|
|
|
|
|
|
|
# Loop through smartchains.json and call dpow for them |
|
|
|
./listassetchains | while read chain; do |
|
|
|
./listchains | while read chain; do |
|
|
|
curl --url "http://127.0.0.1:7776" --data "{\"agent\":\"dragon\",\"method\":\"dpow\",\"symbol\":\"$chain\",\"pubkey\":\"$pubkey\"}" |
|
|
|
done |
|
|
|