• Stars
    star
    202
  • Rank 193,691 (Top 4 %)
  • Language
  • Created about 5 years ago
  • Updated 6 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

LNP/BP standards for bitcoin layer 2 & 3 protocols

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 PayTweak: pay-to-contract deterministic bitcoin commitments Standard Rejected
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:

More Repositories

1

lnp-node

Lightning network protocol daemon (suitable for generalized Lightning Network)
Rust
95
star
2

rust-lnpbp

Library implementing LNPBP standards related to client-side-validation paradigm
Rust
79
star
3

presentations

Slides, visuals and video links that explain Bitcoin L2/L3 technological stack development, curated by LNP/BP Standards Association
64
star
4

layer1

Paper on new bitcoin layer 1 design
60
star
5

rust-amplify

Amplifying Rust language capabilities: multiple generic trait implementations, type wrappers, bit-precise numerics, derive macros
Rust
21
star
6

descriptor-wallet

Library for building descriptor-based bitcoin wallets
Rust
20
star
7

client_side_validation

Standard implementation of client-side-validation APIs
Rust
20
star
8

nodes

Complete LNP/BP protocol daemons suite
Shell
18
star
9

bp-node

Daemons and tools for Bitcoin transaction index based on LNPBP-5. Future: full bitcoin node
Rust
17
star
10

devcalls

Developer calls agendas and transcripts
13
star
11

invoices

Libraries for universal LNP/BP invoices covering Bitcoin, LN & RGB (LNPBP-38 standard)
Rust
10
star
12

lnp-core

Lightning Network Protocol core library
Rust
10
star
13

lbx

Command-line tool for working with LNP/BP technology stack
Rust
9
star
14

docker

Docker containers by LNP/BP Standards Association
Dockerfile
7
star
15

ssi

Self-sovereign identity with globally signalled and provable revocation
Rust
7
star
16

rust-psbt

Rust crates implementing partially-signed bitcoin transactions spec (BIP-174), as a library and small command-line tool
Rust
5
star
17

glossary

Meaning of terms used accross LNP/BP protocols, including bitcoin, lightning, RGB etc (i.e. even those defined in BIPs and BOLTs, not only LNPBP standards)
3
star
18

ln-types

Common Rust Lightning Network types
Rust
3
star
19

bp-core

BP Core Lib: bitcoin protocol by LNP/BP Association
Rust
3
star
20

.github

Repository about the organization
3
star
21

library

Collection of works related to LNP/BP technological stack
2
star
22

lnp-bp.org

LNP/BP Association website
2
star
23

bitcoin_num

Numeric functions & traits used by rust bitcoin, bitcoin_hashes and other packages
Rust
2
star
24

rust-bitcoin-guild

Website describing rust-bitcoin projects and people behind them
1
star
25

lnp-sdk

LNP SDK for wallet & exchange integration
Rust
1
star
26

swift-bitcoin

Bitcoin library in Swift language (native code)
Swift
1
star