Skip to content

BlockACH/Gcoinjs-lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GcoinJS (gcoinjs-lib)

The pure JavaScript Gcoin library for node.js and browsers. Forked from BitcoinJS.

Installation

npm install gcoinjs-lib

Setup

Node.js

var gcoin = require('gcoinjs-lib')

Examples

For most part of the library, it is the same as bitcoinjs-lib. The main different part from Gcoin to Bitcoin is that Gcoin support multi-color native currency. As a result, when creating new transaction, the addOutput([:address], [:amount], [:color]) method of the TransactionBuilder is different. The color should be added into the last parameter.

If you have a use case that you feel could be listed here, please ask for it!

Running the test suite

$ npm test
$ npm run-script coverage

Complementing Libraries

  • BIP21 - A BIP21 compatible URL encoding utility library
  • BIP38 - Passphrase-protected private keys
  • BIP39 - Mnemonic generation for deterministic keys
  • BIP32-Utils - A set of utilities for working with BIP32
  • BIP32-Wallet - A BIP32 Wallet backed by bitcoinjs-lib, lite on features but heavily tested
  • BIP66 - Strict DER signature decoding
  • BIP69 - Lexicographical Indexing of Transaction Inputs and Outputs
  • Base58 - Base58 encoding/decoding
  • Base58 Check - Base58 check encoding/decoding
  • BCoin - BIP37 / Bloom Filters / SPV client
  • insight - A bitcoin blockchain API for web wallets.

Alternatives

LICENSE MIT

Copyright

BitcoinJS (c) 2011-2016 bitcoinjs-lib contributors

Released under MIT license