Coder Social home page Coder Social logo

ben2077 / colored-coins-sdk Goto Github PK

View Code? Open in Web Editor NEW

This project forked from colored-coins/colored-coins-sdk

0.0 1.0 0.0 2.85 MB

Colored-Coins SDK for issuing and transferring digital assets using blockchain technology

JavaScript 100.00%

colored-coins-sdk's Introduction

Colored-Coins SDK

Build Status Coverage Status npm version Slack channel

Standard - JavaScript Style Guide

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

Installation

$ npm i coloredcoins-sdk

Usage

var ColoredCoins = require('coloredcoins-sdk')
var cc = new ColoredCoins()
cc.init(function (err) {
  // Colored-Coins 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. Bitcoins (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 Bitcoins (or testnet-coins):

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

License

Apache-2.0

colored-coins-sdk's People

Contributors

udiwertheimer avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.