Questions tagged [address-generation]

Collects technical details on the process of creating new addresses.

Filter by
Sorted by
Tagged with
29
votes
5answers
15k 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.
23
votes
3answers
11k 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
11k 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
863 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
19k 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
9k 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
776 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? Phrased ...
6
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 ...
6
votes
3answers
16k 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
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
10k 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
7k 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
1answer
117 views

How can I protect my funds in the event a quantum computer breaks the ECDLP that Bitcoin relies on?

An interesting question was posted recently, discussing the idea of hashed addresses being (not meaningfully) quantum resistant. As Andrew's answer on that question points out, paying to a hashed ...
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
797 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
1k 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
1k 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
1k 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
1answer
288 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 ...
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
3k 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
250 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 ...
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
493 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
1k 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
2answers
66 views

How can I progmatically generate bitcoin address with in WASABI Deskstop wallet?

I would like to generate 10000 btc address and save it as csv file on my computer to be uploaded it on my server. I hope anyone can help me find the solution. Thanks in advanced!
3
votes
1answer
1k views

How to convert Bitcoin cash address to cashAddress Format in PHP?

I've been trying with cashaddress-php but it doesn't work because the address should be in hex format, I tried with hex public hash key it also didn't work. Invalid hash length [320 bits] for ...
3
votes
2answers
667 views

How does a wallet come to know of Address just by importing Private key?

I have exported my Private key to Paper Wallet. Now, when we send/receive bitcoins, we send/receive them to an "Address". So suppose I receive some bitcoins on my address. I have the private key of ...
3
votes
3answers
5k 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
2k 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
1answer
1k views

How to generate a Litecoin testnet addresses (Segwit also) (Derivation path, bip32)

I'm creating a wallet that generates address for litecoin mainnet in two ways. One is using bitcoinjs-lib. This library has an object with all the data need it to create private keys and address: ...
3
votes
1answer
1k views

How to generate scriptPubKey?

My address is 389CLh5Ect2i7U5116gqjBSLykYHRmdcgZ. In request from site i see this scriptPubKey, how i can generate this scriptPubKey from my Address {scriptPubKey: "...
3
votes
2answers
960 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
318 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
291 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
158 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
646 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
105 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
1answer
255 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
2answers
417 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
1answer
340 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 ...

1
2 3 4 5