Unanswered Questions
151 questions with no upvoted or accepted answers
4
votes
1
answer
1k
views
Generate addresses from Trezor's xPub using Python
I am trying to generate BIP32 HD addresses from my Trezors xPub key.
I keep getting errors with most of the libs our there. What am I missing?
pywallet:
from pywallet import wallet
xpub = '...
4
votes
1
answer
2k
views
Building Signed Bitcoin Transaction in Java
I have been attempting to build my own raw transaction generator in Java which I can then broadcast on the testnet network. The problem is when I attempt to broadcast the transaction it says there is ...
3
votes
1
answer
6k
views
manually signing bitcoin transaction
I'm trying to create a BTC transaction with one input and two outputs, one for change and one OP_RETURN to anchor data. And I'm doing all of that on my regtest backend. The raw unsigned transaction is
...
3
votes
0
answers
466
views
Electrum Seed Purpose for MultiSig Wallet
I'm curious as to what exactly is protected by the seed that Electrum generates for a multisig wallet. My knowledge of the protocol implementation is rather basic, so please correct me where I'm wrong ...
3
votes
0
answers
742
views
Can I quickly check the cofactor of secp256k1 is 1
I was wondering if there was a quick way to check that the group underlying the elliptic curve secp256k1 was indeed cyclic with the usual point G a generator. I am given the prime number underlying ...
3
votes
2
answers
618
views
How to calculate P2WSH signatures with OP_CODESEPARATOR?
I read the bip143, but didn't understand how to calculate the scriptCode of p2wsh.
bip143 told us:
A new transaction digest algorithm is defined, but only applicable to sigops in version 0 witness ...
2
votes
0
answers
58
views
Using BIP32 derivations, can all seeds theoretically produce all public keys?
I was interested in how many possible combinations of BIP 32 derivation paths exist, which could result in a public key derived from a seed. While some people colloquially call it "unlimited,&...
2
votes
0
answers
82
views
How to claim funds in a multisig address from a money pool psbt?
Mostly followed this guide on how to create a psbt where multiple users pool money together. Everything is done in regtest.
The gist of what I did is as follows:
Created 2 different descriptor ...
2
votes
0
answers
358
views
Importing BIP-84 keys to Bitcoin Core or similar?
I generated a mnemonic and keys using the BIP-84 scheme and sent funds to a public address from that scheme over time. I have been using this as a paper wallet, unattached to any wallet software.
I ...
2
votes
0
answers
45
views
HD wallet usage in Bitcoin & Lightning combined wallets
Is there a best practice / recommendation for a Bitcoin & Lightning combined wallet, regarding the HD wallet used in the Bitcoin wallet and the HD wallet used in the Lightning wallet?
no relation,...
2
votes
0
answers
94
views
Why are coefficients a=0 and b=7 used to define the Weierstrass equation in SECp256k1?
Most of the private to public key implementations I've come across do not make use of the equation y^2=x^3+7 (the weierstrass equation defining SECp256k1).
One that i often use is in the link below ...
2
votes
0
answers
73
views
Why is adding s values in half aggregation insecure?
Jonas Nick an Tim Ruffing discussed in a presentation that summing up the s values in signature half aggregation would be insecure (without giving the reason)
They presented a secure solution which ...
2
votes
0
answers
63
views
Is BitCoin developer page's HD Wallet image wrong
Here is the image I copied from the https://developer.bitcoin.org/devguide/wallets.html#id9
What I understand is that M/0'/1' can derive M/0'/1'/0.
M/0'/1' can't derive M/0'/1'/0'.
To derive M/0'/1'/0,...
2
votes
1
answer
250
views
Reusing bitcoin hw wallet infrastructure as a PGP replacement?
A lot of people who own Bitcoin are already know how to securely generate, store and use their BIP32 + BIP39 wallets, and own hardware wallets.
Are there any existing projects/standards trying to bolt ...
2
votes
0
answers
167
views
Linking libsecp256k1 as shared library to Bitcoin Core
I'm not sure if this question is better suited in the context of Autotools, but since it's about Bitcoin Core, I'll try to ask it here.
I am trying to Compile/Link libsecp256k1 as a shared library ...