UNPKG

coinex.com

Version:

API Interface for coinex.com Bitcoin Cash exchange.

17 lines (10 loc) 307 B
#!/usr/bin/env coffee Coinex = require './src/coinex' COINEX_KEY='66E50DFAC33E4BAB8EE970D95F89B285' COINEX_SECRET='D0AF05AB52B040FFB98EEE6E6D4A1172978540E958444C64' coinex = new Coinex COINEX_KEY, COINEX_SECRET coinex.balance() .then (result) => console.log result .catch (err) => console.log err