Skip to content

Instantly share code, notes, and snippets.

View matmar10's full-sized avatar

Matthew Joseph Martin matmar10

View GitHub Profile
@ksafranski
ksafranski / Common-Currency.json
Last active July 12, 2024 09:44
Common Currency Codes in JSON
{
"USD": {
"symbol": "$",
"name": "US Dollar",
"symbol_native": "$",
"decimal_digits": 2,
"rounding": 0,
"code": "USD",
"name_plural": "US dollars"
},
@JackTanRoo
JackTanRoo / gist:558fd45e01d65d0a5570
Created September 16, 2014 00:26
How to generate new childKeys after generating a HDNode in Bitcoinjs?
var bitcoin = require('bitcoinjs-lib');
var BigInteger = require('bigi');
var chainCode = new Buffer(32); //buffer of 32 bytes
// fill buffer with 1, do I increment .fill parameter up
// to generate new chaincodes?
chainCode.fill(1);
console.log("---------START-----------");