bsv-standards
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseBSV Standards & Protocols Reference
BSV标准与协议参考
Comprehensive index of BSV blockchain standards, protocols, and specifications.
BSV区块链标准、协议和规范的综合索引。
Quick Reference
快速参考
| Category | Standards | Description |
|---|---|---|
| BRCs | BRC-1 to BRC-100+ | Official BSV Request for Comments |
| BitCom | AIP, MAP, B, BAP, SIGMA | Data protocols using Bitcoin addresses as prefixes |
| Tokens | BSV-20, BSV-21, STAS | Fungible token standards |
| Ordinals | 1Sat Ordinals | NFT inscriptions on BSV |
| Identity | Paymail, BAP | Identity and addressing standards |
| Off-Chain | bitcoin-auth, bitcoin-backup, bitcoin-image | Authentication, backup, URL standards |
| Data Schema | Bitcoin Schema, Ord Schema | Standardized on-chain data structures |
| 分类 | 标准 | 说明 |
|---|---|---|
| BRC系列 | BRC-1 至 BRC-100+ | 官方BSV请求注释(Request for Comments) |
| BitCom | AIP, MAP, B, BAP, SIGMA | 以比特币地址为前缀的数据协议 |
| 代币标准 | BSV-20, BSV-21, STAS | 可 fungible 代币标准 |
| 序数铭文 | 1Sat Ordinals | BSV上的NFT铭文 |
| 身份标准 | Paymail, BAP | 身份与寻址标准 |
| 链下标准 | bitcoin-auth, bitcoin-backup, bitcoin-image | 认证、备份、URL标准 |
| 数据架构 | Bitcoin Schema, Ord Schema | 标准化链上数据结构 |
Official BRC Standards
官方BRC标准
Reference: https://bsv.brc.dev/
参考链接:https://bsv.brc.dev/
Key Derivation (BRC-42, BRC-32, etc.)
密钥派生(BRC-42、BRC-32等)
| BRC | Name | Description |
|---|---|---|
| BRC-32 | BIP32 HD Keys | Hierarchical deterministic key derivation |
| BRC-42 | Type42 Derivation | Modern ECDH-based key derivation |
| BRC-43 | Protocol IDs | Security levels and key ID conventions |
| BRC-69 | Key Linkage | Revealing key associations |
| BRC-72 | Linkage Protection | Encrypted linkage transmission |
| BRC | 名称 | 说明 |
|---|---|---|
| BRC-32 | BIP32 HD密钥 | 分层确定性密钥派生 |
| BRC-42 | Type42派生 | 基于ECDH的现代密钥派生 |
| BRC-43 | 协议ID | 安全级别与密钥ID约定 |
| BRC-69 | 密钥关联 | 披露密钥关联关系 |
| BRC-72 | 关联保护 | 加密关联传输 |
Wallet Standards (BRC-1, BRC-2, etc.)
钱包标准(BRC-1、BRC-2等)
| BRC | Name | Description |
|---|---|---|
| BRC-1 | Transaction Envelope | Standard transaction format |
| BRC-2 | Encryption | Message encryption standard |
| BRC-29 | Paymail | Human-readable payment addresses |
| BRC | 名称 | 说明 |
|---|---|---|
| BRC-1 | 交易信封 | 标准交易格式 |
| BRC-2 | 加密 | 消息加密标准 |
| BRC-29 | Paymail | 人类可读的支付地址 |
Script Templates (BRC-48, etc.)
脚本模板(BRC-48等)
| BRC | Name | Description |
|---|---|---|
| BRC-48 | Pay to Push Drop | Token output template |
| BRC-100 | Wallet Toolbox | Standard wallet implementation |
| BRC | 名称 | 说明 |
|---|---|---|
| BRC-48 | 支付至Push Drop | 代币输出模板 |
| BRC-100 | 钱包工具箱 | 标准钱包实现 |
Overlay Networks (BRC-22, etc.)
覆盖网络(BRC-22等)
| BRC | Name | Description |
|---|---|---|
| BRC-22 | Overlay Networks | Network topology standard |
| BRC-31 | Authrite | Authentication protocol |
| BRC | 名称 | 说明 |
|---|---|---|
| BRC-22 | 覆盖网络 | 网络拓扑标准 |
| BRC-31 | Authrite | 认证协议 |
BitCom Protocols
BitCom协议
Data protocols using Bitcoin addresses as OP_RETURN prefixes.
以比特币地址作为OP_RETURN前缀的数据协议。
AIP (Author Identity Protocol)
AIP(作者身份协议)
Prefix:
Signs content with Bitcoin addresses for verifiable authorship. Similar to Sigma protocol but does not require inputs.
15PciHG22SNLQJXMoSUaWVi7WSqc7hCfvaOP_RETURN | <data> | AIP_PREFIX | "BITCOIN_ECDSA" | <address> | <signature>Use cases: Content authentication, author verification
前缀:
使用比特币地址对内容签名,实现可验证的作者身份。与Sigma协议类似,但不需要输入。
15PciHG22SNLQJXMoSUaWVi7WSqc7hCfvaOP_RETURN | <data> | AIP_PREFIX | "BITCOIN_ECDSA" | <address> | <signature>使用场景:内容认证、作者验证
MAP (Magic Attribute Protocol)
MAP(魔法属性协议)
Prefix:
1PuQa7K62MiKCtssSLKy1kh56WWU7MtUR5Key-value metadata storage on-chain.
OP_RETURN | MAP_PREFIX | "SET" | "key1" | "value1" | "key2" | "value2"Commands: SET, DEL, ADD, SELECT
Use cases: Metadata, tags, attributes, social data
前缀:
1PuQa7K62MiKCtssSLKy1kh56WWU7MtUR5链上键值元数据存储。
OP_RETURN | MAP_PREFIX | "SET" | "key1" | "value1" | "key2" | "value2"命令:SET、DEL、ADD、SELECT
使用场景:元数据、标签、属性、社交数据
B (Binary) Protocol
B(二进制)协议
Prefix:
19HxigV4QyBv3tHpQVcUEQyq1pzZVdoAutArbitrary file storage on-chain.
OP_RETURN | B_PREFIX | <data> | <media-type> | <encoding> | [filename]Use cases: Images, documents, any binary data
前缀:
19HxigV4QyBv3tHpQVcUEQyq1pzZVdoAut链上任意文件存储。
OP_RETURN | B_PREFIX | <data> | <media-type> | <encoding> | [filename]使用场景:图片、文档、任意二进制数据
BAP (Bitcoin Attestation Protocol)
BAP(比特币证明协议)
Prefix:
1BAPSuaPnfGnSBM3GLV9yhxUdYe4vGbdMTIdentity attestation and management.
OP_RETURN | BAP_PREFIX | "ID" | <identity-key> | <address> | [attributes]Use cases: Identity creation, attestations, key rotation
前缀:
1BAPSuaPnfGnSBM3GLV9yhxUdYe4vGbdMT身份证明与管理。
OP_RETURN | BAP_PREFIX | "ID" | <identity-key> | <address> | [attributes]使用场景:身份创建、证明、密钥轮换
SIGMA
SIGMA
Prefix:
SIGMATransaction-bound signatures for OP_RETURN data.
OP_RETURN | <data> | SIGMA | <algorithm> | <address> | <signature> | <vin>Algorithms: BSM (Bitcoin Signed Message), BRC-77 (SignedMessage)
Use cases: Multi-party signing, transaction authentication
前缀:
SIGMA绑定交易的OP_RETURN数据签名。
OP_RETURN | <data> | SIGMA | <algorithm> | <address> | <signature> | <vin>算法:BSM(比特币签名消息)、BRC-77(SignedMessage)
使用场景:多方签名、交易认证
Token Standards
代币标准
BSV-20
BSV-20
Fungible tokens using inscription format.
json
{"p":"bsv-20","op":"deploy","tick":"TOKEN","max":"21000000","lim":"1000"}
{"p":"bsv-20","op":"mint","tick":"TOKEN","amt":"1000"}
{"p":"bsv-20","op":"transfer","tick":"TOKEN","amt":"100"}Operations: deploy, mint, transfer, burn
使用铭文格式的可 fungible 代币。
json
{"p":"bsv-20","op":"deploy","tick":"TOKEN","max":"21000000","lim":"1000"}
{"p":"bsv-20","op":"mint","tick":"TOKEN","amt":"1000"}
{"p":"bsv-20","op":"transfer","tick":"TOKEN","amt":"100"}操作:deploy(部署)、mint(铸造)、transfer(转账)、burn(销毁)
BSV-21
BSV-21
Enhanced fungible tokens with contract control.
Features: Programmable supply, transfer rules, metadata
具备合约控制的增强型可 fungible 代币。
特性:可编程供应量、转账规则、元数据
STAS (Simplified Token And Smart Contracts)
STAS(简化代币与智能合约)
Native token protocol using Bitcoin script-level enforcement.
Website: https://www.stastoken.com/
Documentation: https://docs.stastoken.com/
Features:
- Script-enforced token transfers (no indexer required for validation)
- Fungible and non-fungible token support
- Atomic swaps and contract capabilities
- Native Bitcoin script validation
基于比特币脚本级强制执行的原生代币协议。
特性:
- 脚本强制执行的代币转账(验证无需索引器)
- 支持可 fungible 和不可 fungible 代币
- 原子交换与合约能力
- 原生比特币脚本验证
Run (Defunct)
Run(已废弃)
Early BSV token protocol (runonbitcoin.com - no longer operational).
Status: Abandoned protocol from early BSV days. Stored data on-chain using B protocol, so historical artifacts remain accessible via ORDFS (ordfs.network).
早期BSV代币协议(runonbitcoin.com - 已停止运营)。
状态:BSV早期的废弃协议。使用B协议在链上存储数据,因此历史 artifacts 可通过ORDFS(ordfs.network)访问。
Ordinals (1Sat Ordinals)
序数铭文(1Sat Ordinals)
NFT inscriptions using ordinal theory on BSV.
基于序数理论的BSV上的NFT铭文。
Inscription Format
铭文格式
OP_0 OP_IF "ord" OP_1 <content-type> OP_0 <content> OP_ENDIFOP_0 OP_IF "ord" OP_1 <content-type> OP_0 <content> OP_ENDIFKey Concepts
核心概念
- Inscription: Data embedded in transaction scripts
- Ordinal ID: unique identifier
<txid>_<vout> - Collections: Grouped inscriptions with parent reference
Marketplace: https://ordinals.gorillapool.io
- 铭文:嵌入交易脚本中的数据
- 序数ID:唯一标识符
<txid>_<vout> - 集合:带有父引用的分组铭文
Identity Standards
身份标准
Paymail
Paymail
Human-readable payment addressing (BRC-29).
Format:
user@domain.comCapabilities:
- - Public key infrastructure
pki - - Get payment address
paymentDestination - - Peer-to-peer payments
p2p-payment-destination - - Direct transaction delivery
receive-transaction
人类可读的支付寻址(BRC-29)。
格式:
user@domain.com功能:
- - 公钥基础设施
pki - - 获取支付地址
paymentDestination - - 点对点支付
p2p-payment-destination - - 直接交易交付
receive-transaction
BAP Identity
BAP身份
On-chain identity management.
Components:
- Root address (identity anchor)
- Identity key (deterministic ID)
- Attestations (claims about identity)
- Key rotation (address transitions)
链上身份管理。
组件:
- 根地址(身份锚点)
- 身份密钥(确定性ID)
- 证明(关于身份的声明)
- 密钥轮换(地址转换)
Off-Chain Standards
链下标准
bitcoin-auth
bitcoin-auth
HTTP authentication using Bitcoin private keys.
Token Format:
pubkey|scheme|timestamp|requestPath|signatureSchemes: (recommended),
brc77bsm使用比特币私钥的HTTP认证。
令牌格式:
pubkey|scheme|timestamp|requestPath|signature方案:(推荐)、
brc77bsmbitcoin-backup
bitcoin-backup
Encrypted backup file standard (.bep files).
Encryption: AES-256-GCM, PBKDF2-SHA256 (600k iterations)
Types: BapMasterBackup, BapMemberBackup, WifBackup, OneSatBackup, VaultBackup
加密备份文件标准(.bep文件)。
加密方式:AES-256-GCM、PBKDF2-SHA256(60万次迭代)
类型:BapMasterBackup、BapMemberBackup、WifBackup、OneSatBackup、VaultBackup
bitcoin-image
bitcoin-image
On-chain image reference normalization.
Protocols: , , , , , native txid
b://ord://bitfs://ipfs://data:Outpoint Formats: , , ,
txid_vouttxid.vouttxido0/content/txid_vout链上图片引用标准化。
协议:、、、、、原生txid
b://ord://bitfs://ipfs://data:Outpoint格式:、、、
txid_vouttxid.vouttxido0/content/txid_voutData Schema Standards
数据架构标准
Bitcoin Schema
Bitcoin Schema
Website: https://bitcoinschema.org
Standardized data structures for on-chain data built on MAP and B protocols.
Types: Post, Like, Follow, Reply, Repost, Friend, Message, Payment, Ordinal
基于MAP和B协议构建的标准化链上数据结构。
类型:Post、Like、Follow、Reply、Repost、Friend、Message、Payment、Ordinal
Ord Schema Type
Ord Schema类型
Base metadata schema for ordinals inscriptions.
Required: , ("ord"),
apptypenameOptional: , , ,
subTypesubTypeDataroyaltiespreviewUrl序数铭文的基础元数据架构。
必填项:、("ord")、
apptypename可选项:、、、
subTypesubTypeDataroyaltiespreviewUrlRelated Packages
相关包
| Package | Purpose |
|---|---|
| Core BSV functionality |
| Script template implementations (replaces bmapjs) |
| Ordinals/inscriptions (migrating to |
| BAP identity management |
| SIGMA signing |
| HTTP authentication |
| Encrypted backup files |
| URL normalization |
Deprecated: - replaced by
bmapjs@b-open-io/templates| 包 | 用途 |
|---|---|
| 核心BSV功能 |
| 脚本模板实现(替代bmapjs) |
| 序数铭文/铭文处理(正在迁移至 |
| BAP身份管理 |
| SIGMA签名 |
| HTTP认证 |
| 加密备份文件 |
| URL标准化 |
已废弃: - 被替代
bmapjs@b-open-io/templatesAdditional Resources
其他资源
Reference Files
参考文件
- - Complete BRC specification index
references/brc-index.md - - Detailed BitCom protocol specs
references/bitcom-protocols.md - - BSV-20/BSV-21/1Sat Ordinals details
references/token-standards.md - - Local repo implementations and packages
references/implementations.md - - Off-chain standards (auth, backup, image)
references/offchain-standards.md
- - 完整BRC规范索引
references/brc-index.md - - 详细BitCom协议规范
references/bitcom-protocols.md - - BSV-20/BSV-21/1Sat Ordinals详情
references/token-standards.md - - 本地仓库实现与包
references/implementations.md - - 链下标准(认证、备份、图片)
references/offchain-standards.md
External Links
外部链接
- BRC Standards: https://bsv.brc.dev/
- Bitcoin Schema: https://bitcoinschema.org
- 1Sat Ordinals Docs: https://docs.1satordinals.com/
- ORDFS Gateway: https://ordfs.network
- @b-open-io/templates: https://github.com/b-open-io/ts-templates
- sigma-protocol: https://github.com/BitcoinSchema/sigma
- js-1sat-ord: https://github.com/BitcoinSchema/js-1sat-ord
- bsv-bap: https://github.com/BitcoinSchema/bap
- bitcoin-auth: https://github.com/b-open-io/bitcoin-auth
- STAS Token: https://docs.stastoken.com/
- bitcoin-backup: https://github.com/b-open-io/bitcoin-backup
- bitcoin-image: https://github.com/b-open-io/bitcoin-image
- Paymail: https://bsvalias.org/
- BRC标准:https://bsv.brc.dev/
- Bitcoin Schema:https://bitcoinschema.org
- 1Sat Ordinals文档:https://docs.1satordinals.com/
- ORDFS网关:https://ordfs.network
- @b-open-io/templates:https://github.com/b-open-io/ts-templates
- sigma-protocol:https://github.com/BitcoinSchema/sigma
- js-1sat-ord:https://github.com/BitcoinSchema/js-1sat-ord
- bsv-bap:https://github.com/BitcoinSchema/bap
- bitcoin-auth:https://github.com/b-open-io/bitcoin-auth
- STAS代币:https://docs.stastoken.com/
- bitcoin-backup:https://github.com/b-open-io/bitcoin-backup
- bitcoin-image:https://github.com/b-open-io/bitcoin-image
- Paymail:https://bsvalias.org/