Questions tagged [address-generation]

Collects technical details on the process of creating new addresses.

Filter by
Sorted by
Tagged with
26
votes
3answers
13k views

Is each Bitcoin address unique?

I am wondering whether each bitcoin address is unique. I would assume yes. Then, how is this enforced given the distributed address generation? As I understand it, each time an address is generated, a ...
29
votes
5answers
17k views

How are public & private keys in an address created?

I understand the high level concept I am more interested specific details. How is a private key generated. How exactly is public key generated, how is address generated from public key.
16
votes
2answers
8k views

Can two private keys generate the same (public) Bitcoin address?

I know that private key is generated randomly by wallet. Is it possible that wallet generate the same address which is used in Bitcoin? In other words: Given two private keys ka ≠ kb, is it ...
7
votes
3answers
11k views

More receive addresses with electrum

I cannot find any documentation or an option anywhere in the electrum client to put it into expert mode. I'm not even sure it can be done any longer, and it is important I raise the gap limit. It like ...
13
votes
3answers
968 views

What's stopping someone from taking over all the bitcoin addresses?

Anyone can generate unlimited bitcoin addresses. Presumably, there's a limited number of these (even if it's a very very large number). What's stopping someone from taking over all the bitcoin ...
16
votes
4answers
16k views

How are different Addresses generated from the same Private key?

I was reading in the "Technical background of version 1 Bitcoin addresses" that addresses are a function of the private key. More or less: Private Key -> Public Key -> Address If the Public ...
12
votes
2answers
21k views

How do I create a new address in Electrum?

In Electrum, there is no "New Address" button to be found. I tried under the tab Addresses, but nothing there. If I go to Console and try create(), then it returns: Traceback (most recent call last): ...
6
votes
3answers
20k views

How to generate a testnet address?

Bitcoin addresses can be generated on this site https://www.bitaddress.org, but the test network needs m or n at the beginning of the address, where can those be generated?
6
votes
1answer
2k views

Generate paper wallet SegWit address

I am trying to generate SegWit paper wallet address from WIF: My WIF is L5mHKZsCLS27nSoGM3RdAwuxjvg7XhJdP25LgqdXe6zF11wpWdbT. I am converting WIF to compressed public key: Compressed public key: ...
6
votes
3answers
6k views

Can same private key generate multiple addresses?

Is this possible using some clever bitcoin script? The intention is to get more privacy. I can give different addresses to different people still no one can guess how much I make in total. I can do ...
4
votes
1answer
367 views

Can you detect that the addresses generated by an HD wallet came from a single wallet?

Can someone who is looking at the blockchain detect that 2 or more addresses generated by a single HD wallet are actually generated by that single seed/HD wallet ? Can someone who does know that 2 or ...
3
votes
1answer
3k views

Generating private keys in Java

I'm looking for a way to generate private keys in Java. I'd like to make this a standalone program, so I'd rather not use a library like bitcoinj. From my research I've only seen people recommend ...
3
votes
1answer
4k views

What is the maximum of receive addresses the default wallet can handle?

I guess there is no limit. But on tests, what is the maximum before the bitcoind start to slow down in a specific machine?
2
votes
1answer
1k views

Need sample compressed and uncompressed Public / Private key pairs for BigInteger

I am testing a different version of BigInteger that has different endian formats and the native implementation likes to add or remove zeros from the final output. Can anyone provide some sample ...
5
votes
1answer
629 views

Two wallets with the same address

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 ...
4
votes
2answers
1k views

Unknown Address Format Parsing Bitcoin Addresses from Blockchair Data

I've obtained a list of all current Bitcoin addresses with balances from Blockchair, which is downloadable from their data repository located here. I have downloaded the Bitcoin / Addresses TSV ...
4
votes
1answer
409 views

How many possible addresses per bitcoin private key?

Based on my research every bitcoin private key (compressed or uncompressed) can have 4 different addresses: P2PKH compressed and starts with 1 P2PKH uncompressed and starts with 1 P2SH and starts ...
1
vote
3answers
1k views

Is it possible generate three public key( address ) by only one private key?

I hear that each address has one private key. Is it possible generate three public key address by only one private key?
1
vote
1answer
481 views

How do I construct a P2TR address if I just want to use the key path?

I want to create a P2TR (Pay to Taproot) address but I just want access to the key path spend, I have no use for the script path spend in this specific example. What should I do in regard to the ...
6
votes
1answer
3k views

Is there a way to generate a brain wallet from the command line or console?

Is there complete solution for console to generate brain wallet? Something like: echo "sausage" | xxd -r -p | sha256sum | awk '{print $1}' | rmd160 -x | blablabla I'm read this article: https://en....
3
votes
1answer
11k views

What's the relationship of Bitcoin addresses to public keys?

A Bitcoin wallet can handle multiple private keys. In ECC, you can have 2^256 private keys, and for each key, you can have 2^256 public keys. Assuming that's right (please correct me if I'm wrong), ...
3
votes
1answer
2k views

How to generate a native Segwit address and P2SH Segwit address from a standard WIF?

Can I have the steps to generate a native Segwit address from a standard WIF? And the steps to generate a P2SH Segwit address from the same WIF? How do these two formats differ and why are there two?...
7
votes
2answers
3k views

Is a bitcoin address collision possible if generating 90 million addresses every 4 hours?

I am running a test to see if I can obtain a successful bitcoin address collision after generating billions of addresses. I am not entirely sure how I would check them yet. Basically I have an extra ...
2
votes
1answer
648 views

generate HD addresses using publicKey Bip44

I'm just wondering if it's possible to generate HD address using xPub? I tried to create HD address using BitWASP-PHP with the following path: m / purpose' / coin_type' / account' / change / ...
2
votes
2answers
3k views

How to get the derived public key from xpub?

Here I'd like to generate the other address use xpub. Is there any library (python) could help to derive the new address from extended key? such as: gen_new_pub(xpub, new_path) to get the derived ...
1
vote
3answers
2k views

How to generate multiple public addresses using one private key?

I want to generate multiple btc addresses using one private key. I am using pywallet library but each child address also have the private key. Can I use one private key for multiple addresses (if they ...
3
votes
4answers
3k views

How can I generate a bitcoin address?

Is there any way to generate bitcoin addresses other than the Blockchain API? (given the fact that it is not public)
3
votes
1answer
727 views

How to find the wallet balance?

I'm trying to find the balance of specific addresses in a wallet. I basically have the master key which I use to generate addresses but I wonder, is it possible to find the derived addresses that have ...
2
votes
1answer
272 views

How does the bitcoin network disallow people generating a key pair already generated? [duplicate]

Is it possible to generate a key pair that has already been generated? Wouldn't it collide with an existing value? I assume it is mathematically very unlikely, but odds higher than 0 are still ...
1
vote
3answers
371 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 ...
1
vote
2answers
492 views

Vanity generator

Imagine that there are two really strong computers that try to find an address starting with 1ABCDEFGH. Is there a possibility does that two computer find the same private key?
1
vote
4answers
624 views

How is it possible that the same WIF Private Key generates two different addresses?

I am wondering if you can explain this. I went here: https://coinb.in/#newSegWit Created the SegWit Address below: 3ASaGJ8h2bLn6Jha3hncBzXUKRCLyfv9bk RedeemScript ...
1
vote
1answer
2k views

How to sweep a segwit bech32 private key?

I'm testing segwit bech32 addresses and generated the following using bitcoinjs: address: bc1qc7u5njf4nf2rj3zys642mfc7nct6kdven8j4e9 private key: 5Kkzs8XrJNAmf9VQDFeGBfaRvSByAvPK6DbDXw5BVqswWaXSG2Y ...