Questions tagged [address-generation]

Collects technical details on the process of creating new addresses.

Filter by
Sorted by
Tagged with
21
votes
3answers
10k views

Is Each Bitcoin Address Unique?

I am wondering whether each bitcoin address is unique. I would assume yes. Then how is this enforced (distributed address generation)? As I understand it each time, an address is generated a new key-...
29
votes
5answers
13k 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.
7
votes
3answers
8k 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 ...
15
votes
2answers
6k 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 ...
12
votes
2answers
16k 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): ...
5
votes
1answer
1k 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: ...
5
votes
2answers
13k 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?
13
votes
3answers
826 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 ...
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?
3
votes
1answer
2k 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 ...
2
votes
1answer
926 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 ...
1
vote
3answers
864 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?
14
votes
4answers
10k 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 ...
6
votes
1answer
2k 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
235 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 ...
1
vote
1answer
851 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?...
3
votes
1answer
590 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
2answers
677 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 ...
2
votes
1answer
259 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
2answers
457 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
1answer
774 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 ...