-
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…
-
Hello everybody,
I'm using a code that's very similar to what was suggested [here](https://github.com/MetacoSA/NBitcoin/issues/288#issuecomment-336079751) but I keep getting an error: `throw new In…
-
I've created a 3-of-5 multisig p2wsh-p2sh wallet with 3 trezors as cosigners. I found the signing to be very finicky if I plugged and unplugged the trezors while signing, so I have plugged in all 3 si…
jlopp updated
6 years ago
-
Here is the address which I need `2N2qWuN9rpfw4DvPqjJ3SD1adNnmZdeM5NU` (testnet)
Here is what I do to get it:
```
def p2sh_address(pub_key_1, pub_key_2):
pub_key_hash_1 = pub_key_1.hash()
…
-
Im sorry if tihs is a dumb question.
I already looked at #669 but still cant figure out how to recover a bech32 address from transaction input witness script
Given:
```
30450221009f696a5c1bb17…
-
btcdeb can not debug P2SH-P2WPKH transaction,
need support P2SH-P2WPKH or P2SH-P2WSH embbed script.
```
[btcdeb]$ ./btcdeb --tx=01000000000101edff78210438890748b3b60560dde8b6f06823cd12f7bdd72b6…
-
Electrum seems to use `xpub...`, `ypub...` an `zpub...` to distinguish between legacy, p2sh-segwit and bech32 derivations, but afaik that's not a standard.
This causes problems if you e.g. export t…
Sjors updated
6 years ago
-
Is it possible to show the equivalent nonsegwit, segwit and bech32 addresses under an invoice checkout screen? In an ideal world, we's just use the newer format but some outdated clients and exchange…
Kukks updated
6 years ago
-
Incorrect output size used in the fee calculation.
Here we have an small program that we can use to know exactly the output size of different scriptPubkey scripts:
```c#
using System;
using NBi…
-
I'm getting Bitcoin Bech32 as follows:
```
$p2wpkhWP = WitnessProgram::v0($masterkey->derivePath("m/0/1")->getPublicKey()->getPubKeyHash());
$p2wpkh = new SegwitAddress($p2wpkhWP);
$new_address = …