Giter VIP home page Giter VIP logo

lnpbps's Introduction

LNP/BP Specifications

LNP/BP stands for "Bitcoin Protocol / Lightning Network Protocol". This set of specifications covers standards & best practices for Layer 2, 3 solutions (and above) in cases when they do not require soft- or hard-forks on 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
  • Should not be covered by existing or proposed BOLTs
  • 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 bitcoin-compatible blockchains)

List of current LNP/BP proposals

No Layer Vertical Title Author(s) Type Status
1 Transaction (1) Bitcoin protocol Key tweaking: collision-resistant elliptic curve-based commitments Maxim Orlovsky et al Standard Proposal
2 Transaction (1) Bitcoin protocol Deterministic embedding of cryptographic ommitments into transaction output scriptPubkey Maxim Orlovsky et al Standard Proposal
3 Transaction (1) Bitcoin protocol Deterministic definition of transaction output containing cryptographic commitment Giacomo Zucco et al Standard Proposal
4 Client-validated data (3) Cryptographic primitives Multi-message commitment scheme with zero-knowledge provable unique properties Maxim Orlovsky Standard Proposal
5 Transaction graph (2) Bitcoin protocol Universal short Bitcoin identifiers for blocks, transactions and their inputs & outputs Christian Decker et al Standard Proposal
6 Client-validated data (3) Cryptographic primitives Single-use-seals Peter Todd, Maxim Orlovsky Informational Draft
7 Client-validated data (3) Consensus layer Strict encoding Peter Todd, Maxim Orlovsky Standard Planned
8 Transaction (1) Bitcoin protocol Deterministic bitcoin commitments Maxim Orlovsky Standard Draft
9 Client-validated data (3) Consensus layer Client-side validation Peter Todd, Maxim Orlovsky Informational Draft
10 Transaction graph (2) Bitcoin protocol Bitcoin transaction output-based single-use-seals Peter Todd et al Standard Proposal
11 Client-validated graphs (4) Smart contracts RGB: Client-validated confidential smart contracts using bitcoin transaction graphs for Bitcoin and Lightning Network Maxim Orlovsky et al Informational Proposal
12 Client-validated graphs (4) Consensus layer RGB Schema: client-side validation rules for RGB smart contracts Maxim Orlovsky Standard Planned
13 Client-validated graphs (4) Consensus layer RGB client-side verification and data structures Maxim Orlovsky Standard Planned
14 Client-validated data (3) Smart contracts Bech32 encoding of RGB data Maxim Orlovsky Standard Planned
15 OSI Session (i5) Lightning network protocol LNP handshake and encryption in network communications based on Noise_XK (BOLT-8 extract) Multiple peers Standard Proposal
16 OSI Session (i5) Lightning network protocol LNP handshake over WebSockets Maxim Orlovsky Standard Planned
17 OSI Session (i5) Lightning network protocol LNP handshake over ZMQ sockets Maxim Orlovsky Standard Planned
18 OSI Transport (i4) Lightning network protocol LNP native message framing protocol (BOLT-8 extract) Multiple peers Standard Planned
19 OSI Presentation (i6) Lightning network protocol LNP P2P remote procedure call protocol (BOLT-1 & BOLT-9 extracts) Multiple peers Standard Planned
20 Application (5) Smart contracts RGB fungible assets schema (RGB-20) Multiple peers Standard Planned
21 Application (5) Smart contracts RGB non-fungible assets schema for collectibles (RGB-21) Multiple peers Standard Planned
22 Application (5) Smart contracts RGB reputation and identity schema (RGB-22) Multiple peers Standard Draft
23 Application (5) Smart contracts RGB verifiably-unique history log for audited data (RGB-23) Multiple peers Standard Planned
30 Transaction graph (2) State channels Prometheus: trustless multiparty computing with escrow & arbitration Maxim Orlovsky Standard Draft
31 Transaction graph (2) State channels Storm: trustless storage with escrow contracts Maxim Orlovsky Standard Draft
32 Client-validated data (3) Game theory Incentive-based interactive settlement scheme for computation integrity arguments Maxim Orlovsky, Sabina Sachtachtinskagia Informational Draft
33 Application (5) Smart contracts Spectrum: routed RGB state swaps over Lightning Network Multiple peers Standard Planned
34 OSI Application (i7) Smart contracts RGB P2P wire protocol Maxim Orlovsky Standard Planned
35 OSI Application (i7) Lightning network protocol Bitforst: P2P data storage & backup protocol Maxim Orlovsky Standard Planned
36 OSI Presentation (i6) API Recommendations for API design Maxim Orlovsky Informational Draft
37 Application (5) Smart contracts Invoicing formats for RGB-20 fungible assets schema Alekos Filini Standard Draft

Invited or planned proposals to join LNP/BP standards family

  1. Discreet log contracts: deterministic transaction structure, embedding into lightning network, wire protocols
  2. Different pre-Schnorr schemes for scriptless scripts
  3. Generalized lightning network standartisation and related eltoo and PTLC proposals
  4. Micropayments:

Layers for LNP/BP proposals:

No Title Description Examples
1 Transaction Data or protocols defined for a single bitcoin transaction (both off-chain and on-chain) Cryptographic primitives, advanced multisignature schemes, transaction structure
2 Transaction graph Data and protocols defined on a transaction graph State channels, sidechains
3 Client-validated data Protocols and formats for off-chain data (persistent or ephemeral) Cryptographic primitives, serialization
4 Client-validated graphs Protocols and formats for off-chain graph structures Complex commitment schemes, schemata
5 Application Specific high-level applications build of underlying layers Assets, audit, storage, computing, messaging, decentralized exchanges and marketplaces

Additionally to these layers there is a set of network protocol layers organized according to ISO OSI model, with numbers prefixed using i symbol ("complex dimension").

lnpbps's People

Contributors

dr-orlovsky avatar inaltoasinistra avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.