Professional Documents
Culture Documents
• The address itself doesn’t matter, nor does its format. The only
thing matters are that the address serves its purpose – to
enable payments to an entity which has a unique information.
Usually, a private key, to exclusively access the funds. The
address is nothing but a secure identifier.
• In SWIFT or IBAN, numbers are assigned by central authorities like
banks, blockchain addresses exist.
• Every blockchain address possible already existed, long before a
wallet found it.
• The reason is that blockchain addresses are the result of a
mathematical operation.
• A standard P2PKH address has something like 34 signs and starts with
a 1. P2PKH is the abbreviation of “Pay To Public Key Hash.” This means
that you Pay to a hash of a public key.
Every wallet software you use can easily create a P2PKH addres.
It is no rocket science, but a combination of several non-exceptional cryptographic
operations.
WALLET
Cryptocurrency Wallet Guide: A Step-By-Step Tutorial - Blockgeeks
• First, your wallet collects entropy and uses it to generate an ECDSA private key.
• With ECDSA you can give the world easily the information to prove that you – and
only you – are the author of a message by signing it. It’s very similar to physically
signing a letter.
• So, after creating the private key with entropy, the wallet derives the
public key from it.
• What matters is, which this public key is all you need to send and collect
payments. In the early days, the public key was used to receive funds.
• But very soon the concept was extended. The public key is not only very
long and unhandy – around 65 characters – but can also be subject to
typing errors.
• Further, exposing it can also set you on risks if ECDSA is ever broken, for
example by quantum computing. This is why the bitcoin developers
created a method to derive an address from the public key.
Creating the Bitcoin Blockchain address
• To create the address your wallet pushes the public key through a series of
cryptographic algorithms. Roughly speaking this is what happens:
• The software hashes the public key with SHA 256 and the result with RIPEMD-160.
• Then it adds the bytes 00 as a prefix in the beginning of the resulting string – this is
the reason why P2PKH addresses start with a “1” – and four checksum-bytes at the
end.
• The four checksum bytes are generated by hashing the result twice with SHA 256
and taking the first four bytes.
• You don’t need to understand the cryptographic details. What’s important is that
the address represents a public key in a better readable way and adds a checksum
• Whenever you paste an address in your bitcoin wallet, it checks
the prefix and calculates the checksum.
• If you have the private key for an address, only you can sign a
transaction with cryptocurrency token assigned to this address
– while everybody who knows your address can verify the
validity of your signature.
• These addresses use the prefix 05, which is the reason why they start with a
“3”.
• Here we focus on addresses itself and leave bitcoin to have a look, how
other cryptocurrencies create addresses.