Questions tagged [address-generation]

Collects technical details on the process of creating new addresses.

Filter by
Sorted by
Tagged with
0 votes
2 answers
33 views

Determining change address

hoping to gain a bit more clarity on how change addresses work here. In the attached example, can the change address be identified with 100% certainty? Is there a potential scenerio where it could be ...
user avatar
  • 1
11 votes
1 answer
2k views

Is any 256-bit combination a Bitcoin private key?

I've recently been implementing a simple Bitcoin wallet and some libraries seem to disagree with address derivation from the same WIF private key, and thus wouldn't sign transactions. After that, I ...
user avatar
  • 213
2 votes
1 answer
495 views

Why do compressed and uncompressed public keys have to produce different addresses?

I am reading through the "Mastering Bitcoin" book. I understand that in the beginning the public key was both the x and y on the elliptic curve. Then it was optimized to only contain the x, ...
user avatar
3 votes
2 answers
75 views

How many addresses can be generated from a ranged descriptor?

I'm trying to wrap my head around ranged descriptors. The docs in the bitcoin/bitcoin-repo says that a ranged descriptor can generate keys/address "in a configurable range (0-1000 by default)&...
user avatar
  • 163
1 vote
0 answers
18 views

Is it possible to generate SegWit bc1 public/private key pair using Electrum command line?

I am looking for a way to generate SegWit bc1 public/private key pair that one can use as a paper wallet. Thanks for helping out!
user avatar
1 vote
0 answers
361 views

crypto.com defiwallet sends bitcoin to random segwit address if a bitcoin taproot address is selected after confirmation of the correct address [closed]

UPDATE: Crypto.com acknowledge the bug and refunded the full amount, at the time of writing this update the crypto.com team confirmed that they are working on fixing the bug and the defi wallet will ...
user avatar
0 votes
1 answer
48 views

Can someone create a Bitcoin address that is identical to another except the last letter is lowercase where mine is capital

The reason I ask is an online casino was set to pay me $1,000 via Bitcoin and showed me the address they claim to have paid, which is identical to mine except the very last letter is capital and on ...
user avatar
  • 1
0 votes
1 answer
37 views

Multiple receiving address on exchanges

If I have 0.01 on an exchange that allows generating new addresses , and I send 0.02 to a new address on that exchange , and then I send 0.025 off of that exchange , did I basically cross spend and ...
user avatar
0 votes
1 answer
37 views

What is a descriptor in "generatetodescriptor"?

I thought it would be like a label as in: getnewaddress "myawesomelabel" > bcrt11qay7aqw7azkqhpda22vuzxphkccgmcvc9grz8z but then generatetodescriptor 10 "myawesomelabel" > ...
user avatar
  • 164
1 vote
1 answer
114 views

How to generate a public key in wallet rpc commands

I'm trying to generate a public key associated with a wallet. How would I do this using the wallet rpc commands, I couldn't find a command in reference docs which does this. Thanks.
user avatar
  • 131
0 votes
0 answers
31 views

Libbitcoin - Failing to generate correct wallet addresses from ypub and zpub

I am playing with Libbitcoin and I want to calculate addresses from xpub, ypub and zpub. Whatever I do though I cannot generate correct addresses from ypub or zpub. I don't have problems with xpub. ...
user avatar
  • 27
0 votes
1 answer
45 views

Is it safe to use the same BTC address for an ongoing exchange DCA?

I'd like to ask a question about re-using an address for a DCA. I've searched the forum and found some similar answers but nothing exactly which describes my situation. I have an auto DCA set up from ...
user avatar
  • 3
0 votes
1 answer
64 views

Create a 2-3 multisig address without syncing entire blockchain

I have a hardware wallet, a seed, and a specific private key. I want to create a 2-of-3 multisig using these 3 items. So the only option left is the option of creating a multisig using just private ...
user avatar
  • 1
0 votes
1 answer
72 views

Addresses After passphrase generation in wallet.dat

Say I generate a passphrase with bitcoin core to a wallet.dat, but also have a copy of it before the passphrase generation. Will EVERY address I'll generate AFTER the passphrase will NOT be accessible ...
user avatar
  • 85
0 votes
2 answers
209 views

How to convert script_pub_key of type pubkey to public_key

This is a recurring question (see Parse the output field of getrawtransaction to generate a common address hash ), but I have a different spin. Consider the following scriptPubKey field: "...
user avatar
  • 107
21 votes
1 answer
6k views

Is it possible to convert a taproot address into a native segwit address?

A few days ago I requested a BTC withdrawal on Binance, I used a bc1p address and the request went through as usual without any issue or warning. (my first time using taproot address). Binance checked ...
user avatar
  • 213
0 votes
1 answer
105 views

Parsing bitcoin output script to pull address from genesis block

I already looked at the similar question - link and Genesis block but I have a different problem. I am parsing transaction 39ed112558fd501424e3b33bbcbf853ef9f24536ef0f8e6fbad2f5c5098173ad which has ...
user avatar
  • 29
1 vote
1 answer
62 views

Can I always set the first byte to 0x02 with the following implementation?

I've followed this tutorial on generating a Public Private key pair value and generating a valid Bitcoin address. But one part makes me wonder if the implementation is done correctly which is the ...
user avatar
1 vote
0 answers
46 views

blockchain.com api | How generate "Legacy" & "Nested SegWit" & "Native SegWit" addresses for receive separately?

Please check out this link : https://www.blockchain.com/api/api_receive As you see we can generate receiving addresses for our customers using this api. My question is what is the type of that ...
user avatar
0 votes
3 answers
107 views

Generating 1000s of addresses

Ok so I am a business trying to accept crypto as a form of payment, but can't seem to figure out how I can generate 1000s of addresses (for each customer) to pay crypto to me? Or would there be some ...
user avatar
  • 1
1 vote
2 answers
293 views

How do Electrum/Sparrow/Caravan generate multisig addresses?

I'm trying to "manually" confirm the Bitcoin addresses that Electrum, Sparrow, and Caravan generate from a deterministic multisig addresses. As an example, I have the following 2-of-2 wallet:...
user avatar
2 votes
0 answers
30 views

Script type test vectors

I'm looking for test vectors, assuming xpub or public key to derive various script type addresses out of it. Something along the line of https://bip32jp.github.io/english/ but not only for P2PKH, but ...
user avatar
  • 1,584
0 votes
1 answer
521 views

Generate BTC Private key from user string input

I am looking to generate a Bitcoin Address from an user input text (like the good old days Brainwallet). User input a "Text string" and based on this text string generate the corresponding ...
user avatar
2 votes
1 answer
140 views

Can output descriptors be used to encode any Miniscript expression?

Output descriptors provide a standard to make address bodies more exchangeable between various wallet implementations. It seems that an output descriptor can be used to encode any Miniscript ...
user avatar
  • 64.5k
1 vote
2 answers
76 views

Why do wallets have more than one key pair?

I was looking into wallets and the information that they contain. I found this post: What information does a wallet contain? I thought that wallets have only one key pair. Why is there more than one ...
user avatar
  • 23
0 votes
1 answer
99 views

Bitcoin BTC wallet receive addresses

I want to create 100 to 500 to 1000 BTC receive addresses. It should not expire. Is it possible ? Is it possible in Bitcoin core ?
user avatar
1 vote
2 answers
87 views

can we have multiple BTC addresses that all of them store their values in the same place?

I am creating my own shop and I will give each user an address to specify who is sending me BTC but when I want to collect all BTC address values to my main address I need to pay fees a lot since each ...
user avatar
  • 11
0 votes
1 answer
86 views

Payout address format has changed?

When I run bitcoin-qt, it sets up a default wallet. When I ask it for the recipient address for this wallet, I was expecting something like 1FGasdfasdfasdf123asdfasdf. However what it actually ...
user avatar
  • 21
0 votes
1 answer
27 views

HD addresses and traceability question

Say I have 1 underlying Bitcoin address, and it has receiving address A and B, and they both received 2 BTC each. If spend 3 BTC then A and B would have spent together so it's probably traceable. What ...
user avatar
1 vote
1 answer
85 views

Is it possible to find additional key pairs resulting in the same address that I already control?

I'm not really well versed in the necessary terminology to get the answer I need from searching. As I understand, there are 2^160 possible addresses, and 2^256 possible private keys, so each address ...
user avatar
1 vote
1 answer
117 views

How do you generate a Bitcoin wallet by hand?

I am interested in the exact process for generating the various components of a Bitcoin wallet by hand. Specifically, the components I'm interested in are: Private Key Public Key Public Key Hash ...
user avatar
  • 11
0 votes
1 answer
228 views

Deriving payable address from mnemonic using BIP44

I'm trying to go from seed phrase/mnemonic to payable address using BIP 44. Here is a simplified version of the code I'm using. However, when I compare with https://iancoleman.io/bip39/ the private, ...
user avatar
  • 105
0 votes
1 answer
207 views

How to create a physical/paper backup for bitcoin-core wallet?

I am using bitcoin-core for my offline storage. In electrum I can do a paper backup by writing down the mnemonics. bitcoin-core seems to be using a different mechanism to generate the wallet. What I ...
user avatar
  • 227
0 votes
1 answer
186 views

I bought bitcoin years ago and now the website that I bought from is unavailable!

I bought bitcoin years ago and now the website that I bought from is unavailable! I only have a key that I don't even know whether it's a public key or a private key or some useless key generated by ...
user avatar
  • 1
1 vote
1 answer
66 views

Why is BIP32 not simply PublicKey multiplication?

I understand that: pubkey(a + b) = pubkey(a).combine(pubkey(b)) where a and b are secret keys. (See: https://crypto.stackexchange.com/q/83694/17505) If, under the circumstances: Bob wants to pay ...
user avatar
  • 143
1 vote
1 answer
418 views

Python: Why the addresses and keys generated by pywallet and bip32utils using the same 12 mnemonic words don't match?

I tried to generate wallets by using pywallet and bip32utils (Python). But I noted that the addresses/keys of the 2 wallets, namely wallet_pywallet and wallet_bip39 don't match with each other. I ...
user avatar
  • 111
2 votes
0 answers
101 views

How to "create new receiving address" from recently installed full node, (0.21.0) with new encrypted wallet?

On March 11th, 2021, I completed my downloaded of the full node from Bitcoin Core, (Bitcoin-0.21.0-win64-setup), on my Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz - 16.0GB, Windows 10Pro. I created a ...
user avatar
5 votes
1 answer
619 views

How are Electrum addresses connected to my private key?

I've started using Electrum and created my first wallet. I saved the private key seed on a piece of paper. I also created a new address by going to the Receive tab and clicking "New Address"....
user avatar
1 vote
0 answers
38 views

Understand how wallet genereates keys

I'm trying to understand how keys are generated by wallets in details and what different approaches that are used. More specifically I'm interested in how Electrum does this and how the deterministic ...
user avatar
  • 111
0 votes
1 answer
57 views

Which address should be used to send the money as target?

We operate a market, there are sellers and buyers. Seller has Hierarchical Deterministic Wallets. Seller give us the Xpub. Which address should be used as destination, when buyer wants to send money ...
user avatar
  • 388
1 vote
1 answer
361 views

How to derive BTC m44 addresses from xpub?

I checked Swan's Address Derivation Library https://github.com/swan-bitcoin/xpub-tool. I try to get m44 address, but I got m84. Why? Do you know is it any parameter to force return m44? I tried to ...
user avatar
  • 388
5 votes
1 answer
944 views

How does the Bitcoin protocol deal with address collisions in wallets?

I understand that one can create a Bitcoin wallet as a pair of numbers (public & private key) with the right specifications and this is done quite easily in places like bitaddress.org I also ...
user avatar
  • 153
1 vote
1 answer
213 views

How do you generate a qr code for a new address and check for incoming payments from the command line?

Which one do you recommend for this Command line to generate QR-Code + address for requesting money Command line to check if the above has been received I don't want to install too many versions of ...
user avatar
1 vote
1 answer
175 views

Exodus exported private key

I'm trying to understand why I'm having a hard time at importing exodus private keys in other wallets like jaxx o scatter. I can't understand why I don't get the public address from the private key ...
user avatar
0 votes
1 answer
98 views

Two kinds of Bitcoin addresses issued with bitaddress.org

I forked the bitaddress.org repository and generated a new paper wallet. On the output page there are two addresses generated: one "regular" and one "short address". Both start ...
user avatar
0 votes
1 answer
1k views

Create a non-SegWit address in electrum wallet

I am trying to get along the electrum wallet command line in ubuntu. However, my exchange only accepts withdraws to canonical non-SegWit addresses (i.e. it only generates with a "bc1" prefix)...
user avatar
1 vote
1 answer
516 views

How many bytes does a Bitcoin address weight?

One of the biggest issues of Bitcoin blockchain is the ever increasing size. Each address has a weight in bytes or bits. What’s holding someone from creating trillions of different addresses and ...
user avatar
0 votes
1 answer
190 views

Three different HEX having same wallet address how possible?

HEX1: 1111111111111111111111111111111111111111111111111111111111111111 public key: ...
user avatar
1 vote
4 answers
929 views

What is the relationship between a Bitcoin Private Key / Public Key / Address?

What is the relationship between a Bitcoin Private Key / Public Key / Address? I see that a private key / public key pair is generated, but is there a possibility of generating a private key already ...
user avatar
  • 113
1 vote
1 answer
399 views

How can I determine the address from a private key?

From the steps in the wiki, take this example private key: 0C28FCA386C7A227600B2FE50B7CAE11EC86D3BF1FBE471BE89827E19D72AA1D When I import this into Electrum, I find these values: Address: ...
user avatar

1
2 3 4 5 6