Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    chain-unofficialpublic

    chain-unofficial

    Installation

    you can install the npm module here

    npm install chain-unofficial
    

    See abstract-common-blockchain for API

    Chain's Abstract Common Blockchain Coverage

    Use this link to see what Chain supports

    Convention

    Standard convention is described fully in the types.json file in the link above.

    Usage

    simply require the npm module at the top of the file

    var chain = require('chain-unofficial');

    you may specify the options you wish to make a call like so:

    var chainClient = chain({
      network: "bitcoin",
      key: "your chain api key",
      secret: "your chain api secret"
    });
     
    //example call
    chainClient.Addresses.Unspents(["address 1", "address 2", ...], callback);

    alternatively you can check out the comments above each function in lib if you wish to understand what each function expects and returns.

    Maintainers

    install

    npm i chain-unofficial

    Downloadsweekly downloads

    28

    version

    1.4.0

    license

    ISC

    repository

    githubgithub

    last publish

    collaborators

    • avatar
    • avatar