Photo by Emil Kalibradov on Unsplash

Bitcoin wallet addresses … ‘1’ or ‘3’?

--

In creating bitcoins, Satoshi created a P2PKH (Pay to Public Key Hash) address. These addresses are used to identify the wallet to be paid and links to the public key of the owner. Basically, when a payer signs a transaction with their private key, this signature can be checked again the wallet address.

The original addresses started with a ‘1’, such as [here]:

In order to support the sending of bitcoins to and from multiple addresses, Bitcoin was upgraded with SegWit (defined in BIP141). The wallet address then integrates the pay to witness public key hash (Pay to script hash — P2SH). These addresses start with a ‘3’, such as [here]:

If you are interested, here is the first transaction to use the P2SH address [here]:

Generating the key pair

--

--

Prof Bill Buchanan OBE FRSE
ASecuritySite: When Bob Met Alice

Professor of Cryptography. Serial innovator. Believer in fairness, justice & freedom. Based in Edinburgh. Old World Breaker. New World Creator. Building trust.