Questions tagged [address]

Tells a user how to pay a recipient. Bitcoin addresses are strings consisting of numbers and letters that begin with '1', '3', or 'bc1'. Addresses encode the recipient's output script that includes either a public key or a hash of a public key or script. Bitcoin addresses should not be confused with mailing addresses or IP addresses.

A Bitcoin address is an encoding the hash of an ECDSA public key or a script. Addresses are give out to others so that Bitcoin can be sent to the owner of the address.

Addresses encode a specific type of output and output script to the wallet.

An address that begins with a 1 is a Pay-To-Public-Key-Hash address. It is the Base58 Check Encoding of the RIPEMD160 of the SHA256 of an ECDSA public key. It tells the wallet that the output script should be of the form OP_DUP OP_HASH160 <pubkey hash> OP_EQUALVERIFY OP_CHECKSIG.

An address that begins with a 3 is a Pay-To-Script-Hash address. It is the Base58 Check Encoding of the RIPEMD160 of the SHA256 of a script, known as the redeemScript. It tells the wallet that the output script should be of the form OP_HASH160 <script hash> OP_EQUAL.

An address that begins with the string bc1 is the BIP 173 (bech32) encoding of a witness version number and either a public key hash or a script hash. If the address is decoded to a data part that consists of 20 bytes and a version number of 0, it refers to a Pay-To-Witness-Public-Key-Hash output. These addresses specify that the output script be a native segwit output of the form OP_0 <public key hash> The <public key hash is the same hash as in a P2PKH address explained above.

If the address is decoded to a data part that consists of 32 bytes and a version number of 1, it refers to a Pay-To-Witness-Script-Hash output. These addresses specify that the output script be a native segwit output of the form OP_0 <script hash>. The script hash is the SHA256 of the witness script.

1094 questions
24
votes
3 answers

Why does Bitcoin support both compressed and uncompressed keys/addresses?

My question is about the difference between compressed keys and addresses, and i know it was addressed in another question but my question is less about the theory and more about how the keys are used practically in Bitcoin. So heres what I did: I…
leximus prime
  • 445
  • 3
  • 6
22
votes
3 answers

What are the minimum and maximum lengths of a Mainnet Bitcoin address?

I'm getting mixed answers on this question. For example, this source says addresses vary between 27 and 34 characters in length. The Wiki says 26-35 characters. Neither source cites something that will let me independently confirm the figures. What…
Rich Apodaca
  • 2,361
  • 2
  • 15
  • 34
20
votes
5 answers

Is there an easy way to give people a Bitcoin address?

I see that Bitcoin addresses have built in checksums that helps prevent typos (ie. it is highly unlikely that you can mistype a Bitcoin address and have it still be valid). However, I still think the addresses are too long to easily give to someone,…
lemonginger
  • 5,432
  • 4
  • 36
  • 56
15
votes
4 answers

What is the Bitcoin equivalent of /dev/null?

Which canonical address is a legitimate address that nobody can claim?
ripper234
  • 26,550
  • 30
  • 111
  • 246
12
votes
2 answers

Why do all addresses begin with "1"? Why can't we just delete it?

The title is the question :) All the addresses I have seen - from the very first block http://blockexplorer.com/b/0 to the very last one http://blockexplorer.com/b/229850 all begin with "1". Why is that? And - if it's really like that - why do we…
Karel Bílek
  • 2,695
  • 3
  • 24
  • 45
9
votes
5 answers

Is "1Wh4bh" a valid Bitcoin address?

The bitcoin address 1Wh4bh looks so short. Is it even a valid address? If yes, can we send bitcoins to it?
user71899
  • 93
  • 1
  • 4
7
votes
7 answers

Can you generate bitcoin addresses without storing a private key?

Suppose you have a possibly compromised system, which you do not trust enough to stores your private keys on. Is there some process where you can generate unique bitcoin addresses within the system, that does not contain a private key? To…
ripper234
  • 26,550
  • 30
  • 111
  • 246
6
votes
4 answers

Is anyone developing a DNS-like system for Bitcoin addresses?

It seems like mainstream access would be easier if there was a more human readable system for bitcoin addresses. No one has to remember IP addresses, we have servers with databases for that. What type of infrastructure is there to send bitcoins to…
pinhead
  • 5,144
  • 2
  • 24
  • 43
6
votes
1 answer

Why vout->addresses in getrawtransaction is a table

I am reviewing Bitcoin transaction data as are returned by 'getrawtransaction' bitcoind command. I wonder why field: vout->addresses is a table and why it allows more than one address to be associated with the corresponding vout of the transaction?…
user5283
  • 63
  • 3
5
votes
0 answers

What are the minimum and maximum length of a Mainnet Bitcoin address?

The wiki says that A Bitcoin address is an identifier of 26-35 alphanumeric characters. Is this information up-to-date? Even the Bech32 address bc1qar0srrr7xfkvy5l643lydnw9re59gtzzwf5mdq given as an example on the same page has 42…
Baran Kılıç
  • 121
  • 1
  • 4
5
votes
4 answers

Is vanitygen a problem for bitcoin?

Considering the amount of users of vanitygen, and the fact that each user is generating millions/billions of bitcoin addresses, won't we run out of bitcoin addresses soon? What would happen if we did run out?
Joe
  • 95
  • 4
4
votes
2 answers

Command line address calculator?

I'm looking for a command line address calculator, where I can put in my private exponent and get out a bitcoin address in Base-58 encode. Does anyone know some free software that will allow me to do this? Basically like http://brainwallet.org/ but…
Peleus
  • 141
  • 2
4
votes
1 answer

I know my address but can't remember which site it's from

I signed up for a bunch of different wallets because I didn't know which one was the best. I have 2.5 bit coins in a wallet that I don't know how to get. I know my wallet address, but can't remember which site it's from. Can someone help me, please?
Bcb30604
  • 41
  • 3
4
votes
1 answer

Does Litecoin have a higher chance of address collision than Bitcoin?

I assume Litecoin has different rules of generating addresses with Bitcoin, since all Litecoin addresses are 34-characters long which is different than Bitcoin. Given that the rules for generating addresses are different, does Litecoin have a higher…
Willipm
  • 433
  • 1
  • 5
  • 11
4
votes
2 answers

multiple outputs, address forking

i did read up some stuff about bitcoin but never used it until today. i might be asking something very obvious, but how can i get rid of address forking? that is, after several transactions my address list grown and each has a tiny amount of btc(its…
kanojo
  • 129
  • 1
  • 8
1
2 3 4 5 6