Questions tagged [address-generation]

Collects technical details on the process of creating new addresses.

316 questions
69
votes
5 answers

What happens if your bitcoin client generates an address identical to another person's?

Here's a what-if scenario: Person A has a Bitcoin address with 25BTC. Person B opens up their Bitcoin client: which may or may not have the complete blockchain (the latter would mean no copies of Person A's transactions) Person B presses "New…
Austin Burk
  • 1,109
  • 2
  • 9
  • 15
30
votes
5 answers

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.
DeathAndTaxes
  • 8,747
  • 2
  • 36
  • 65
28
votes
3 answers

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 new key-pair is also generated. On what basis is…
dexter
  • 383
  • 1
  • 3
  • 5
22
votes
1 answer

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 the transaction as completed and provided Txn…
Mario
  • 223
  • 2
  • 5
21
votes
4 answers

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 key is the only input needed to generate an address, how…
ciczan
  • 313
  • 1
  • 2
  • 6
18
votes
2 answers

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 possible that they both generate the same public Bitcoin…
user3473712
  • 425
  • 4
  • 9
13
votes
3 answers

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 addresses? (If the answer is current computer speeds, is…
thanks_in_advance
  • 463
  • 2
  • 4
  • 10
13
votes
1 answer

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 used different libraries to implement the same…
kuco 23
  • 255
  • 1
  • 7
12
votes
2 answers

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): NameError: name 'create' is not defined (despite…
user
  • 1,093
  • 2
  • 8
  • 15
9
votes
2 answers

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 10TB hard drive and am running supervanitygen on…
9
votes
3 answers

How can I manually (on paper) calculate a Bitcoin public key from a private key?

I am interested in generating a Bitcoin address by hand for security's sake. After I choose/generate a private key, how do I generate the public key? From there, how would I double check my work? Essentially, I am interested in not exposing my…
8
votes
2 answers

What is the difference between your address and your public keys

I'm beginning to learn about cryptocurrencies, and I'm having a lot of trouble because some terms are used in different contexts. I know that public keys are generated through a private key. So, are those public keys the addresses? And is it…
Andre
  • 181
  • 1
  • 1
  • 4
8
votes
1 answer

Replacing ECDSA (SECP256k1) with Schnorr signatures

On March 23, 2017 the Bitcoin Core team published a technology roadmap, expressing their intent to replace ECDSA (SECP256k1) with Schnorr signatures: https://bitcoincore.org/en/2017/03/23/schnorr-signature-aggregation/. Pardon my naive…
8
votes
3 answers

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?
zhou
  • 83
  • 1
  • 1
  • 4
8
votes
4 answers

HD wallets and address reuse

HD wallets create a series of addresses, and then when one address has received an input it will give you a new address that hasn't received inputs yet So in the idea of you sending yourself bitcoin from an exchange, and having different addresses…
CQM
  • 1,590
  • 15
  • 29
1
2 3
21 22