search
Homeweb3.0What are the Bitcoin addresses?
What are the Bitcoin addresses?Mar 06, 2024 pm 01:21 PM
BitcoinBitcoin walletbtctrading platformBitcoinblockchain

In the encryption world, wallet address is as important as "bank card account number" and "receipt address". Any operation is inseparable from it. With the birth of Ordinals protocol, Bitcoin has been promoted based on Segregated Witness and Taproot. The adoption of the upgrade has allowed many people to use special address formats such as "bc1p" for the first time. So how many formats of wallet addresses do Bitcoin have, and what are their characteristics? Today we will do some popular science...

01. What is a Bitcoin address?

A Bitcoin address is used to send and receive Bitcoin, just like a traditional bank account. Anyone with your bank account can send you Bitcoin, You can also transfer Bitcoins to other accounts.

A Bitcoin address is a string of letters and numbers. Here are a few examples:

What are the Bitcoin addresses?

These Bitcoin addresses show where Bitcoins are being received and sent, telling people where they are coming from and where they are going. In fact, it is like an email system for sending and receiving emails, except that in the Bitcoin scenario, the email content is Bitcoin, the email address is a Bitcoin address, and the mailbox is a Bitcoin wallet.

However, it is worth noting that A single address does not necessarily mean a single user. There may be a group of people behind an address, and a person may also have multiple addresses.

02. Classification of Bitcoin address types

As you can see from the picture above, Bitcoin addresses all start with the prefix 1, 3 or bc1, except There is no other beginning, why is this? This is because they use a different address format. In fact, there are four main types of Bitcoin addresses:

1. Legacy/Payment Public Key Hash (P2PKH) ) Address

This type of address is a traditional Bitcoin address, called a legacy address, also called a payment public key hash (P2PKH) address, because when Bitcoin was launched in 2009, its generation method was from The generation of public/private key pairs begins, which at the time was the only way to create an address.

Today, this type of address uses the most space in transactions and is therefore the most expensive address type. However, such addresses are easy to identify because they all start with "1".

Example: 15f12gEh2DFcHyhSyu7v3Bji5T3CJa9Smn

Currently you will only use this type of address when using some old wallets that are incompatible with the new address.

2. Pay-to-Script-Hash (P2SH) address

Compared with traditional addresses starting with "1", P2SH addresses are not The hash of the public key, but the hash involving some technical scripts, can be used for transfers that require multi-signatures, etc. You can even use Segregated Witness to save transaction fees, Sending to a P2SH address is cheaper than using a wallet with an old address About 26%.

Example: 35PBEaofpUeH8VnnNSorM1QZsadrZoQp4N

3. Segregated Witness Address (SegWit) Bech32 Address

Segwit address is also called Bech32 address, their Features start with bc1q. This type of Bitcoin address reduces the amount of information stored in the transaction. They do not store signatures and scripts in the transaction, but in the witness. Therefore, relative to P2SH addresses, Segwit addresses can save about 16% of transaction fees. , saving more than 38% of the cost compared to traditional addresses. Because of this cost saving, it is the most commonly used Bitcoin transaction address.

Example: bc1q42lja79elem0anu8q8s3h2n687re9jax556pcc

However, some trading platforms and wallets do not yet support Segwit addresses, so users will be prompted to send them a P2SH address. This is why most wallets still include the option to create a P2SH or even old address wallet.

4. Taproot address

In order to improve the efficiency of block space and improve costs, SegWit has introduced some changes in the way addresses are constructed. Therefore, based on the SegWit address, a Taproot address starting with "bc1p" was developed, which is translated as the main root address. This type of address further reduces the storage space, improves transaction efficiency, and provides better Privacy.

Example: bc1pmzfrwwndsqmk5yh69yjr5lfgfg4ev8c0tsc06e

03. Summary

Bitcoin addresses have some similarities to modern bank accounts in that bank accounts are also used in transactions to send assets. However, for Bitcoin addresses, Bitcoins are sent.

Although there are different types of Bitcoin addresses, these addresses are used in the same way and have cross-compatibility functions, so Bitcoins can circulate between different addresses.

However, a warm reminder that encryption security has always been an issue worthy of attention. Please be sure to check the address carefully before sending encrypted assets to prevent unnecessary losses.

The above is the detailed content of What are the Bitcoin addresses?. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:知乎. If there is any infringement, please contact admin@php.cn delete
想深入了解BRC-20,先学习UTXO想深入了解BRC-20,先学习UTXOMar 06, 2024 pm 01:34 PM

最近大热的BRC-20 Token是基于比特币,但比特币区块链无法对其进行规则约束。制造BRC-20 Token的成本在于将文件添加到区块链中,以及未来与Token关联的UTXO的移动。 既然UTXO这么重要,今天我们就来简单介绍一下U…

你的比特币真的完全属于你吗?你的比特币真的完全属于你吗?Mar 06, 2024 pm 01:30 PM

目前,一枚比特币价值近 22 万人民币。对于刚入圈的新人来说,肯定很关心比特币的安全问题。 那么,比特币安全吗?换句话说, 钱包里的比特币,容易被黑客盗走吗? 01. 私钥、公钥、地址就像银行取款、网银转账需…

加密货币开发服务领域有哪些新兴机会加密货币开发服务领域有哪些新兴机会Mar 12, 2024 am 09:30 AM

在快速发展的加密货币领域,加密货币开发服务领域充满了新的机会。随着加密货币的采用不断增长,对创新和强大的货币开发解决方案的需求也在不断增长。从创造新币到增强现有币,开发商、企业家和企业都面临着广泛的…

比特币地址有哪些?比特币地址有哪些?Mar 06, 2024 pm 01:21 PM

在加密世界里,钱包地址就像 “银行卡账号”、“收件地址”一样重要,任何操作都离不开它,随着Ordinals 协议的诞生,推动了比特币基于隔离见证、Taproot升级的采用,这让很多人第一次使用“bc1p”等特殊抬头的地…

2024 年 Web3 上排名前 10 的加密货币列表2024 年 Web3 上排名前 10 的加密货币列表Mar 08, 2024 am 10:09 AM

去中心化网络或 Web 3.0 加密货币是推动互联网下一次迭代的数字资产。它们基于区块链技术。与 Web 2.0 的集中式平台和服务相比,Web 3.0 旨在构建一个不太集中、更加透明且以用户为中心的互联网。Web 3.0 加密货币…

MEME币种加密货币分析MEME币种加密货币分析Mar 12, 2024 am 09:32 AM

随着主要Meme币的飙升,以下是一些可能是现在购买的最佳加密货币Meme币的较小替代品。 随着比特币(BTC)突破7万美元,并瞄准重新测试上周创下的纪录高点,主要Meme币继续暴涨,但随着它们的估值变得越来越庞大,…

这5种加密货币持续飙升!这5种加密货币持续飙升!Mar 08, 2024 am 10:12 AM

持续的加密货币上涨主要是由比特币减半带来的兴奋推动的,比特币已经飙升至 65,000 美元以上并达到历史新高,加密货币市场的传统通配符——模因币——也几乎没有被排除在外。 事实上,过去 7 天内,多个著名的 mem…

以太坊转账手续费与到账速度,巧妙设置Gas能省钱?以太坊转账手续费与到账速度,巧妙设置Gas能省钱?Mar 06, 2024 pm 01:44 PM

通过钱包转账 ETH 或是ERC一20 Token时,我们知道这个转账需要付手续费。那么,转账的手续费是怎么算的呢? 如果转账的同时还去“刻字”,是不是需要收取更高的手续费呢?今天,大白就给大家聊聊 以太坊的 Gas 机…

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

Hot Tools

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.