SBC-SDK
A Node.js Library for Multiple Ledgers
Install
Insure you have your SSH keys added to your github account before installing
npm install -S SecureBlockChains/SBC-SDK
Examples
Ledgers
const sdk = sdkledgers;/*{ RCL:"rcl", ETH:"eth", BTC:"btc", EOS:"eos"}* /
Address Creation
const sdk = var newWallet = sdkvar oldWallet = sdk
Account Info
const sdk = sdk
Payments
const sdk = //memo is only used for xrp exclude for other ledgerssdk
Transaction
const sdk = sdk
history
const sdk = sdkhistoryledger addresscallback
Full History
//this is only used for btc this method will return the same value as the history method for all other ledgers const sdk = sdk
utility
const RCL = const ETH = const BTC = var eth = ETHutilvar wei = ETHutilvar drops = RCLutilvar xrp = RCLutilvar btc = BTCutilvar satoshi = BTCutil