Questions tagged [address-generation]

Collects technical details on the process of creating new addresses.

Filter by
Sorted by
Tagged with
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.
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-...
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 ...
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 ...
13
votes
3answers
825 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 ...
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): ...
7
votes
2answers
2k 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 ...
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 ...
7
votes
1answer
710 views

Key Pools and best practices

I'm wondering about what the best practices are around generating and maintaining key pools for a wallet. What is the maximum number of keys/addresses that can be created for a single wallet? ...
6
votes
4answers
3k views

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 ...
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....
5
votes
2answers
8k views

How to generate addresses in PHP

I need some PHP code to generate bitcoin addresses from a given public key. I can only find algorithms to generate addresses from the master private key but according to https://en.bitcoin.it/wiki/...
5
votes
3answers
5k 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 ...
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?
5
votes
3answers
6k views

Generate address (for receiving) on GNU/Linux without Bitcoin client?

If I understand it correctly, I could generate a valid Bitcoin address (key pair) following this algorithm. With an address generated in such a way I would be able to receive Bitcoin without ever ...
5
votes
2answers
2k views

Is it possible to use a PGP key as a bitcoin address?

Both bitcoin and encrypted emailing are based on public key cryptography. However, they use different implementations, so I assume that a public PGP key cannot be used as a bitcoin address directly. ...
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
1answer
781 views

Coin address generation for all coins

We are developing UI for coin trading. We have a plan to use all the coins present in coinmarketcap. I am greatly confused how to generate coin address for all coins. I knew that from cryptsy.com, it ...
5
votes
2answers
606 views

Is it possible to discover the set of bitcoin addresses from a public key?

I'm trying to find the set of bitcoin addresses from a public key associated with a user just to analyse this user transaction. Is there any way to derive/find all the addresses that have been ...
4
votes
1answer
952 views

Why is Bitcoin address encoded in base58?

Why does bitcoin address encoding use base58 instead of, for instance, base64? I don't see it is useful in any way.
4
votes
1answer
890 views

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

If I were to generate an address and it happens to collide, legally speaking, would a transfer constitute theft?

Let's say that somehow I generate a new address which happens to already be "taken". I realize the chances of address collision are extraordinarily low as per Is it possible to brute force bitcoin ...
4
votes
2answers
2k views

Donation wallet address

I read that wallet/account is not the same as bitcoin address. The address can be used only for single transaction. How do you receive donations on your address? Are wallet addresses unique for the ...
4
votes
1answer
2k views

Generate addresses without private key: Stealth addresses vs Master Public Key

In my case a store owner has different POS terminals. On none of the terminals should be a private key stored! The owner has one wallet, where he wants to get all transactions aggregated, done on the ...
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
3answers
409 views

Is the SHA256 value in the bitcoin address wiki accurate?

From the wiki page https://en.bitcoin.it/wiki/Technical_background_of_version_1_Bitcoin_addresses the example of "How to Create Bitcoin Address" shows the SHA256 of: ...
3
votes
2answers
4k views

How is a Litecoin address generated?

How is a litecoin address generated? What hashing do they use? For example, bitcoin addresses are generated like so: https://en.bitcoin.it/wiki/Technical_background_of_version_1_Bitcoin_addresses I ...
3
votes
3answers
10k views

How does one create a brain wallet from a seed using SHA256?

How does one create a brain wallet from a seed using SHA256? Is this possible? Could you please explain using the example seed "coinbase is awesome" (no apostrophes)? What is the resulting address?
3
votes
1answer
234 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
878 views

Why the bitcoin address is not valid in any of the testNet faucet

I develop a simple Java/Maven/JSP app for bitcoin and generated the address 167Bqf3Mi3gnfhw5DhCfoYNTMxqANt3Zky I would like to send some money to this address from a bitcoin testnet faucet. I ...
3
votes
1answer
3k views

How to generate a zcash vanity address?

Is the main network address version for zcash already known? Is it possible to generate a mainnet address already? This could allow miners to start from minute 0 to mine on a anonymous pool. The ...
3
votes
3answers
4k views

How to generate a bulk wallet offline with python, java or c++?

I want to generate, say 100000 key pairs (address/private key). It should be done offline, without using websites/javascript , with a program on the command line. Of course, the software should use ...
3
votes
1answer
1k views

What to do if my BitCoin Address is only 33 digits?

I noticed that BitCoin addresses usually are equal to 34 digits and/or characters. I decided to get an extra address and was a bit hesitant to use it since it's 1 digit or character short, is this ...
3
votes
2answers
693 views

Creating address from private key (bitcoin puzzle)

I saw a puzzle here and I'm having problems understanding how the addresses are created. So the post there has a list of addresses like: Address 5: ...
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 ...
3
votes
2answers
288 views

Can multiple people create one multisignature address, while keeping their private keys private?

Is it possible for person A, person B, and person C to create a multiple signature address without one person needing to initially know all three addresses to create that public address in the first ...
3
votes
3answers
284 views

How to deterministically generate large number of bitcoin addresses and monitor them

I want to generate a large number of bitcoin addresses to provide visitors for each transaction and I want to monitor payments to those addresses. How do I deterministically generate those large ...
3
votes
1answer
133 views

Where are new addresses stored?

When a user generates an address using Bitcoin Core, is that address by default stored on the blockchain or will it only be stored after it is used in a transactions
3
votes
1answer
587 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 ...
3
votes
1answer
92 views

What's relationship to each address other in Bitcoin Core?

I just made two and more address in Bitcoin Core wallet. Is there any relationship to each address? Like based on seedphase? or Just literally making 'random' address? If so, an attacker can hack ...
3
votes
2answers
363 views

Why does bitcoin create several “empty” wallet addresses?

I'm currently running bitcoind -testnet. I ran bitcoin-cli dumpwallet ~/wallet-output just to explore the output and it looks like it created 102 private/public key pairs that I assume are just sort ...
3
votes
0answers
236 views

How do you regenerate all 2-of-2 multisig addresses from two xPrivkeys?

If I want to get the private and public keys of all transactions that have happened on my multisig wallet. How would I do that? It's a 2-of-2 multisig setup. I have an xPrivkey on my computer and an ...
3
votes
1answer
326 views

Why does getNewAddress take so long? Often times out python-bitcoinrpc

Bitcoin 0.11 on a Raspberry Pi 2: https://github.com/jgarzik/python-bitcoinrpc I am using this RPC auth proxy to talk to bitcoind from Python. I have a script that requests getmempoolinfo every 1 ...
2
votes
3answers
466 views

If Bitcoin addresses are truely random, then why are some more difficult to generate than others?

In this post TierNolan explains why 'Bitpoin' is much easier to generate than 'bitpoin', and that mainly has to do with the position (first character). But I remember that certain characters (I ...
2
votes
1answer
218 views

Genenerate address offline, but blockchain knows about my address

I generate new address in client. I hear that blockchain doesn't know about it. Blockchain will know about it when I use this address for transaction. My example: I generate this address(offline): ...
2
votes
2answers
452 views

What kind of random numbers source does getnewaddress in Bitcoin Core API (bitcoind) uses?

Is it an internal PRNG? Is it fed from /dev/random or /dev/urandom? How secure is it? If I have a hardware (TRNG) plugged in feeding my /dev/random will this source of entropy get used by bitcoind?
2
votes
2answers
2k views

Does the 256-bit integer secret exponent define the X, Y pair?

I'm trying to understand better how bitcoin works and I'm stuck. I've read a blog showing how to construct the WIF from the 256-bit secret integer and up to that point, I think I follow. However I'm "...
2
votes
2answers
1k views

How can I generate a Bitcoin address from a 12 word seed without using a computer?

I have a 12 word seed and I want to generate an address without exposing it to any computers. How can I accomplish this?
2
votes
1answer
189 views

Is there any later version of Bitcoin address generation, than 1?

I'm looking for the technical details regarding the format and generation of Bitcoin addresses. I've found this article, “Technical background of version 1 Bitcoin addresses”, on the Bitcoin wiki, but ...
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 ...