Skip to content

byteball/counterstake-demo-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Counterstake demo client

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.

Run

git clone https://github.com/byteball/counterstake-demo-client
cd counterstake-demo-client
npm install

Copy .env.sample to .env and edit.

node run.js

Learn

See the source code of run.js to learn how to use Counterstake SDK in your node.js apps.