This is a quick demo of Counterstake SDK in a node.js app. The demo script sends some coins from Ethereum to Obyte through Counterstake Bridge and has them immediately converted to other coins via Oswap.io.
git clone https://github.com/byteball/counterstake-demo-client
cd counterstake-demo-client
npm installCopy .env.sample to .env and edit.
node run.jsSee the source code of run.js to learn how to use Counterstake SDK in your node.js apps.