Skip to content
/ LNPBPs Public
forked from LNP-BP/LNPBPs

LNP/BP standards for bitcoin layer 2 & 3 protocols

Notifications You must be signed in to change notification settings

cymqqqq/LNPBPs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LNPBPs: LNP/BP Standards Repository

LNP/BP stands for "Bitcoin Protocol / Lightning Network Protocol". This repository covers standards & best practices for Layer 2+ in cases when they do not require soft- or hard-forks of the Bitcoin blockchain level and are not directly related to issues covered in Lightning Network RFCs (BOLTs).

Basically, LNP/BPs cover everything that can be anchored to Bitcoin transactions, defines primitives for L2+ solution design and describes complex use cases which can be built from some primitives. This allows such solutions as financial assets, storage, messaging, computing and different forms of secondary markets leveraging Bitcoin security model and Bitcoin as a method of payment/medium of exchange.

Criteria for a LNP/BP specification proposal:

  • Should not be covered by existing or proposed BIPs
  • Should not cause soft- or hard-fork in Bitcoin blockchain (but may depend on soft-forks from an existing BIP proposals)
  • Should not distort Bitcoin miner's economic incentives
  • Should not pollute Bitcoin blockchain with unnecessary non-transaction related data or have to maintain such pollution as low as possible
  • Must not require a utility or security tokens to function (but may enable creation of digital assets or tokenized physical goods)
  • Must not depend on non-bitcoin blockchains (but may be applicable to other blockchains)

Verticals for LNP/BP proposals:

Name Description Examples
Cryptography Cryptographic primitives Cryptography, zero knowledge
Wallet Standards for wallet and apps Derivation paths, APIs, RGB asset schemata
Networking P2P network communications Network encryption, framing, connectivity etc
Smart contracts Distributed smart contracts Scriptless scripts, RGB, lightning channels etc

List of LNP/BP standards and proposals

No Vertical Title Type Status
1 Cryptography Key tweaking: collision-resistant elliptic curve-based commitments Standard Proposal
2 Cryptography Script tweaking: deterministic embedding of cryptographic commitments into script pubkeys Standard Proposal
3 Cryptography Deterministic definition of transaction output containing cryptographic commitment Standard Proposal
4 Cryptography Multi-protocol commitment scheme with zero-knowledge provable uniqueness Standard Proposal
5 Wallet Universal short Bitcoin identifiers for blocks, transactions and their inputs & outputs Standard Proposal
6 Cryptography Deterministic bitcoin commitments Standard Proposal
7 Cryptography Commitments for structural and hierarchical data Standard Proposal
8 Cryptography Single-use-seals Informational Draft
9 Cryptography Client-side-validation Informational Draft
10 Cryptography Bitcoin transaction output-based single-use-seals Standard Proposal
11 Cryptography Anchoring multiple deterministic bitcoin commitments in the same transaction output Standard Final
12 Cryptography TapRet: Taproot script tree-based OP_RETURN deterministic bitcoin commitments Standard Final
13 Smart contracts RGB: Client-side-validated confidential smart contracts for Bitcoin and Lightning Network Informational Draft
14 Smart contracts RGB Schema: client-side validation rules for RGB smart contracts Standard Planned
15 Smart contracts RGB client-side verification and data serialization Standard Planned
16 Smart contracts AluVM instruction set architecture extensions for handling RGB state validation Standard Planned
17-18 Reserved For the future use by RGB extensions
19 Cryptography Reserved for sign-to-contract deterministic bitcoin commitments
20 Wallet RGB fungible assets interface (RGB-20) Standard Final
21 Wallet RGB non-fungible collectibles interface (RGB-21) Standard Proposal
22 Wallet RGB reputation and identity interface (RGB-22) Standard Draft
23 Wallet RGB verifiable-unique history log for auditable data (RGB-23) Standard Planned
24 Wallet RGB schema for decentralized global domain name system (RGB-24) Standard Planned
25-29 Reserved For the future use by RGB schemata
30 Wallet Interface for fungible RGB assets with decentralized issue (RGB-30) Standard Final
31 Reserved Standard Contractum Libraries (SCL) Standard Draft
32 Wallet BIP-32 derivation path extension for read-only wallets Standard Draft
33 Smart contracts Lightspeed: micro-payments for Lightning Network Draft
34 Smart contracts Zero-knowledge arguments for data persistence using probabilistic checkable proofs Standard Draft
35 Smart contracts Bifrost: LN message extensions for RGB data propagation Standard Planned
36 Reserved For future use by bitcoin protocol extensions
37 Wallet Invoicing formats for RGB-20 fungible assets schema Standard Rejected
38 Wallet Universal LNP/BP invoices Standard Draft
39 Reserved For future use by bitcoin protocol extensions
40 Smart contracts Storm: trustless storage with escrow contracts Standard Draft
41 Smart contracts Lightning network message extensions for Storm Standard Planned
42 Reserved For future use by lightning network protocol extensions
43 Wallet RGB-enabled BIP43 purpose field & identity system Standard Draft
44 Wallet Script templating: key derivations within Bitcoin scripts Standard Planned
45 Smart contracts Lightning network message extensions for decentralized exchange functionality Standard Planned
46 Wallet Deterministic derivation paths for LNP Draft
47,48 Reserved For future use by bitcoin protocol extensions
49 Smart contracts Synchronized multi-hop state updates via delegation in Lightning network Standard Planned
50 Smart contracts Bifrost: generalized Lightning network protocol core Standard Planned
51 Smart contracts Bifrost: channel management protocol Standard Draft
52 Smart contracts Bifrost routed messaging system based on Sphinx protocol Standard Draft
53 Smart contracts Milti-peer payment channels for Bifrost Standard Draft
54 Smart contracts Channel factories based on Bifrost protocol Standard Draft
55 Smart contracts HTLC channel synchronization in Bifrost Standard Draft
56 Smart contracts PTLC channel synchronization in Bifrost Standard Draft
57 Smart contracts Decentralized naming & name resolution system Standard Planned
58 Cryptography Apophis: distributed elliptic curve-based key creation with shared secrets Standard Draft
59 Smart contracts Typhon: trustless Bitcoin sidechains Standard Draft
60 Smart contracts Ibiss: reputation-based interactive computation integrity arguments Informational Draft
61 Smart contracts Toth: reputation-based interactive settlement for computation integrity arguments Informational Draft
62 Smart contracts Prometheus: trustless multiparty computing with escrow & arbitration on bitcoin Standard Draft
63 Smart contracts Prometheus+: prometheus over LN with tokenized RGB reputation Standard Planned
64-79 Reserved For the future use by lightning network protocol extensions
80 Cryptography Merkle mountain ranges Standard Final
81 Cryptography Tagged merkle trees for client-side-validation Standard Draft
82 Cryptography OpenTimestamps bitcoin transaction commitments Standard Final
83 Cryptography OpenTimestamps proof construction & verification Standard Final
83 Cryptography OpenTimestamps proof serialization Standard Final
84 Cryptography OpenTimestamps calendar and attestation services Standard Final
85-99 Reserved
100 Reserved For future use by a scalable & confidential single-use-seal commitment layer 1

Invited or planned proposals to join LNP/BP standards family

  1. Discreet log contracts:
  2. Different pre-Schnorr schemes for scriptless scripts
  3. Other lightning network extensions:

About

LNP/BP standards for bitcoin layer 2 & 3 protocols

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published