-
Hi. So I am trying to generate HD addresses from xPub that is generated inside the Trezor.
```
const network = bitcoin.networks.mainnet;
const xpub = 'ypub6XTWVFLfqkFYarn9NArqtBLziffJttqf1Utaur3s…
-
When I run `browserify bitcoinjs-lib > bitcoinjs-lib.js`
I get a huge file that doesn't work in the browser end because it contains require() statements.
```
require=(function(){function r(e,n,…
-
When I tested the WIF and used fixed `mnemonic`, I found that the master key and child key generated by bitcoinjs-lib are different from those by bitcoinj or NBitcoin. Bitconj and NBitcoin can generat…
-
I have generated address see the below code..
```
'use strict'
var bip39 = require('bip39');
var bip32 = require('bip32');
var bitcoin = require('bitcoinjs-lib');
function getAddress (node…
-
Step to reproduce:
1. Create a P2WPKH or P2SH(P2WPKH) multisig address use bitcoinjs-lib
2. Fund address
3. Create transaction and sign with 1 private key
4. Build transaction incomplete
Exam…
-
trace
```
/Users/peter/Desktop/MSC_Project_writeup/script_files/back-end/node_modules/bitcoinjs-lib/src/classify.js:31
if (!chunks) throw new TypeError('Invalid script')
^
TypeEr…
-
I need to create accounts for users. Looking at `bitcoinjs-lib` examples I came up with this code:
``` js
function rng () {
return Buffer.from('zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz')
} // get a m…
-
ресерч, сколько будет стоить сделать приложение (которое пройдет в сторы). делает @Eljoy
-
I've installed the latest version but When i use
```
var bitcoin = require('bitcoinjs-lib')
const prevOutScript = bitcoin.script.scriptHash.output.encode(..)
```
i get
`TypeError: Cannot rea…
-
Hello,
I'm new to BTC and wouldn't want to screw things up. Lets say I can craft and sign a new tx with this library. How do I send it to the network?