Skip to content

Instantly share code, notes, and snippets.

@tyler-smith
Created September 3, 2020 15:58
Show Gist options
  • Save tyler-smith/fe8ad4f6fc05e0dfffe4dffbf02e1206 to your computer and use it in GitHub Desktop.
Save tyler-smith/fe8ad4f6fc05e0dfffe4dffbf02e1206 to your computer and use it in GitHub Desktop.
#!/bin/bash
curl -X POST --data "{
\"jsonrpc\":\"2.0\",
\"id\" : 1,
\"method\" :\"avm.send\",
\"params\" :{
\"username\" :\"sendbot\",
\"password\" :\"supersecretpassword\",
\"assetID\" :\"AVA\",
\"amount\" : 5,
\"to\" :\"X-LHiJTaqLqw4pDS6xYjLd4Bc8afYKdSL7X\"
}
}" -H 'content-type:application/json;' 127.0.0.1:9650/ext/bc/X
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment