RGB Docs
  • RGB Protocol Documentation
  • Distributed Computing Concepts
    • Paradigms of Distributed Computing
    • Client-side Validation
    • Single-use Seals and Proof of Publication
  • Commitment layer
    • Commitment Schemes within Bitcoin and RGB
    • Deterministic Bitcoin Commitments - DBC
      • Opret
      • Tapret
    • Multi Protocol Commitments - MPC
    • Anchors
  • RGB State and Operations
    • Introduction to Smart Contracts and their States
    • Contract Operations
    • Components of a Contract Operation
    • Features of RGB State
  • RGB Contract Implementation
    • Contract Implementation in RGB
    • Schema
      • Schema example: Non-Inflatable Assets
    • Interface
      • Standard Interfaces by LNP/BP Association
      • Interface example: RGB20
    • Interface Implementation
  • RGB over Lightning Network
    • Lightning Network compatibility
  • Annexes
    • Glossary
    • Contract Transfers
    • Invoices
    • RGB Library Map
Powered by GitBook
On this page
  • Table of Contents
  • Distributed Computing Concepts
  • Commitment Layer
  • RGB State and Operations
  • RGB Contract Implementation
  • RGB over Lightning Network
  • Annexes
  • Credits

RGB Protocol Documentation

NextParadigms of Distributed Computing

Last updated 8 months ago

RGB is a protocol developed in order to enforce digital rights in form of contracts and assets in a scalable and private manner leveraging Bitcoin consensus rules and operations.

This guide targets the broader technical audience willing to understand in depth the RGB protocol, from its theoretical foundations rooted in and to the more core features of and Contract Structure. The relevant terms and concepts will be introduced step by step and they will be referenced to external material in case more detailed study by non computer science audience is needed.

Table of Contents

Distributed Computing Concepts

Commitment Layer

RGB State and Operations

RGB Contract Implementation

RGB over Lightning Network

Annexes

Credits


The production of this documentation has been sponsored by and the material provided is mostly based on a 3-day full-immersion seminar on RGB Protocol held by at the Tuscany Lightning Bootcamp in October 2023.

Videos:

Introduction to Smart Contracts and their States
Contract Operations
Components of a Contract Operation
Features of RGB State
Contract Implementation in RGB
Schema
Schema example: Non-Inflatable Assets
Interface
Standard Interfaces by LNP/BP Association
RGB20 Interface example
Interface Implementation
Lightning Network compatibility
Glossary
Contract Transfers
Invoices
RGB Library Map
Bitfinex
Maxim Orlovsky
https://planb.network/en/courses/csv402
Paradigms of Distributed Computing
Client-side Validation
Single-use Seals and Proof of Publication
Commitment Schemes within Bitcoin and RGB
Deterministic Bitcoin Commitments - DBC
Opret
Tapret
Multi Protocol Commitments - MPC
Anchors
Client-side Validation
Single-use Seals
State Transitions