This is a quick demo of Counterstake SDK in a browser app. The demo is a web page built using React that allows the user to send some coins from Ethereum to Obyte through Counterstake Bridge and have them immediately converted to other coins via Oswap.io.
Live websites: https://getmein.ooo (mainnet) and https://testnet.getmein.ooo (testnet).
Copy the appropriate .env.XXXX file to .env
git clone https://github.com/byteball/getmein
cd getmein
yarn
yarn start
See the source code of src/App.js to learn how to use Counterstake SDK in your browser apps. Switch to demo branch as it is simpler and better demonstrates the use of the SDK.