bc-wallet-sdk
v1.0.17
Published
bc wallet sdk
Downloads
7
Readme
使用方式
const BCWalletSDK = require('./index')
var BCWallet = new BCWalletSDK({
appid: 'appid',
appsecret: 'appsecret112'
})
// BCWallet.getToken()
// BCWallet.getUserOpenId('13237179311')
// BCWallet.sendMsgCode('13237179311',7)
// BCWallet.registerUser('13237179311', '12', 'I+ZI+l+kddRoyDNYMED8PpyioBIXEWorCQOUEub9A02LNfaorY4+OwkZitvnWESW')
// BCWallet.getUserInfo('13237179311')
// BCWallet.getCoinInfo()
// BCWallet.transfer('122323address', '334address', 12,'flag')
// BCWallet.giveCoin('122323address', 12,'flag')
// BCWallet.demandCoin('122323address', 12, '9883','flag')