Script to allow a single endpoint for exchanges
Download ssc-proxie-script if your using the more advanced method
Follow setup guide for ssc-proxie-script
Download steem smartcontracts if you wish to run your own node.
If you do not wish to run your own node you will need to use a public node.
curl -XPOST -H "Content-type: application/json" -d '{"method": "GET", "params": {"symbol": "TOKENNAME"}}' 'http://localhost:5000'
curl -XPOST -H "Content-type: application/json" -d '{"method":"withdraw", "params": {"wif": "activekey", "symbol":"TOKENNAME", "to": "username", "quantity": "0.001", "memo": "Exchange Testing"}}' 'http://localhost:5000'
curl -XPOST -H "Content-type: application/json" -d '{ "jsonrpc": "2.0", "method": "contracts.findOne", "params": { "contract": "tokens", "table": "balances", "query": { "account": "username", "symbol": "COINNAME" } }, "id": 1 }' 'http://localhost:3000/rpc'
curl -XPOST -H "Content-type: application/json" -d '{ "jsonrpc": "2.0", "method": "contracts.find", "params": { "contract": "tokens", "table": "balances", "query": { "account": "username" } }, "id": 1 }' 'http://localhost:3000/rpc'
curl -XPOST -H "Content-type: application/json" -d '{ "jsonrpc": "2.0", "method": "blockchain.getTransactionInfo", "params": { "txid": “taxid” }, "id": 1 }' 'http://localhost:3000/rpc'
curl -XPOST -H "Content-type: application/json" -d '{"method": "exchange.GET", "params": {"symbol": "COINNAME"}}' 'http://localhost:3000/rpc'
curl -XPOST -H "Content-type: application/json" -d '{"method":"exchange.withdraw", "params": {"wif": "activekey", "symbol":"FREEX", "to": "freedomex", "quantity": "0.001", "memo": "Exchange Testing"}}' 'http://localhost:3000/rpc'