beyondassets-sdk
BeyondAssets SDK for issuing and transferring digital assets using blockchain technology
Last updated 6 months ago by tech1k .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install beyondassets-sdk 
SYNC missed versions from official npm registry.

BeyondAssets SDK

Build Status

npm version Slack channel

Standard - JavaScript Style Guide

Easy to use SDK for issuing and transferring digital assets using the BeyondAssets protocol on top of blockchain technology. Coupled with state-of-the-art BIP32 & BIP44 hierarchical deterministic wallet to hold your assets.

Installation

$ npm i beyondassets-sdk

Usage

var BeyondAssets = require('beyondassets-sdk')
var ba = new BeyondAssets()
ba.init(function (err) {
  // BeyondAssets SDK is now ready
})

Testing

$ mocha

Note: without some configuration, some tests (all those which actually need funding) will fail.
In order for all the tests to pass, you'll need to have some funds, i.e. Beyondcoins (or testnet-coins when network is 'testnet').
Do this by creating a JSON file, which includes privateSeed \ mnemonic where which the address in the BIP44 path m/44'/0'/0'/0/0 for mainnet (m/44'/1'/0'/0/0 for tetsnet) has enough Beyondcoins (or testnet-coins):

$ cd /path/to/beyondassets-sdk
$ echo '{"network":"testnet", "privateSeed":"YourPrivateSeed"}' >> test/settings.json
$ mocha

License

Apache-2.0

Current Tags

  • 0.4.8                                ...           latest (6 months ago)

1 Versions

  • 0.4.8                                ...           6 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (10)
Dev Dependencies (5)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |