-
The code :const alice = bitcoin.ECPair.fromPrivateKey(Buffer.from(child.__d, 'hex'))
const txb = new bitcoin.TransactionBuilder()
txb.setVersion(1);
txb.addInput('64d3df9413f527fd86181a…
-
I have a a PSBT built and a Signature string, is there any way to apply the signature to the inputs?
```js
const psbt = new bitcoinjs.Psbt({ network: network });
/*
Here i add inputs and outpu…
-
-
i generated raw unsigned dogecoin transaction using third party api and now i got this:
`0100000001eeb5498b1adbf77d39f1f55b3cd943b9da9f192e444504a968e3b4eb02bb4a850100000000ffffffff010052230b390000…
-
var _seed = bip39.generateMnemonic();
console.log("助记词:", _seed)
var _pass = "123456" // 这是用户自定义密码PIN
var seed = bip39.mnemonicToSeedSync(_seed, _pass)
var root = bip32…
-
I'd like to make transaction of issuing asset manually not raven-cli but bitcoinjs.
How can i use bitcoinjs in this situation?
Do i Have to build tx hex Or is there another way?
Please help me
-
Hello,
I want to get an address of a derivePath using vpub (testnet) for that. I get it using tpub successfully:
```js
const bitcoin = require('bitcoinjs-lib');
const { generateMnemonic, mnemo…
-
Hello,
I'm getting the following error when trying to push transactions:
`Err: sendrawtransaction RPC error: {"code":-26,"message":"mandatory-script-verify-flag-failed (Script failed an OP_EQUAL…
-
Steps to reproduce:
* Enter mnemonic `enough fever tattoo rich walnut engage spin course example witness loan exhaust retire always brush`
* Copy master secret key `73427a557244603962453d4c3971646…
-