# RGB Protocol Documentation

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 [Client-side Validation](https://docs.rgb.info/annexes/glossary#client-side-validation) and [Single-use Seals](https://docs.rgb.info/annexes/glossary#single-use-seal) to the more core features of [State Transitions](https://docs.rgb.info/annexes/glossary#state-transition) 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

* [Paradigms of Distributed Computing](https://docs.rgb.info/distributed-computing-concepts/paradigms-of-distributed-computing)
* [Client-side Validation](https://docs.rgb.info/distributed-computing-concepts/client-side-validation)
* [Single-use Seals and Proof of Publication](https://docs.rgb.info/distributed-computing-concepts/single-use-seals)

### Commitment Layer

* [Commitment Schemes within Bitcoin and RGB](https://docs.rgb.info/commitment-layer/commitment-schemes)
* [Deterministic Bitcoin Commitments - DBC](https://docs.rgb.info/commitment-layer/deterministic-bitcoin-commitments-dbc)
  * [Opret](https://docs.rgb.info/commitment-layer/deterministic-bitcoin-commitments-dbc/opret)
  * [Tapret](https://docs.rgb.info/commitment-layer/deterministic-bitcoin-commitments-dbc/tapret)
* [Multi Protocol Commitments - MPC](https://docs.rgb.info/commitment-layer/multi-protocol-commitments-mpc)
* [Anchors](https://docs.rgb.info/commitment-layer/anchors)

### RGB State and Operations

* [Introduction to Smart Contracts and their States](https://docs.rgb.info/rgb-state-and-operations/intro-smart-contract-states)
* [Contract Operations](https://docs.rgb.info/rgb-state-and-operations/state-transitions)
* [Components of a Contract Operation](https://docs.rgb.info/rgb-state-and-operations/components-of-a-contract-operation)
* [Features of RGB State](https://docs.rgb.info/rgb-state-and-operations/features-of-rgb-state)

### RGB Contract Implementation

* [Schema](https://docs.rgb.info/rgb-contract-implementation/schema)
  * [Supported Schemas](https://docs.rgb.info/rgb-contract-implementation/schema/supported-schemas)
  * [Schema example: Non-Inflatable Assets](https://docs.rgb.info/rgb-contract-implementation/schema/non-inflatable-fungible-asset-schema)

### RGB over Lightning Network

* [Lightning Network compatibility](https://docs.rgb.info/rgb-over-lightning-network/lightning-network-compatibility)

### Annexes

* [Glossary](https://docs.rgb.info/annexes/glossary)
* [Contract Transfers](https://docs.rgb.info/annexes/contract-transfers)
* [Invoices](https://docs.rgb.info/annexes/invoices)
* [RGB Library Map](https://docs.rgb.info/annexes/rgb-library-map)
* [Bitcoin Single-use Seals](https://docs.rgb.info/annexes/single-use-seals-bitcoin)

## Credits

The production of this documentation has been sponsored by [Bitfinex](https://www.bitfinex.com/) and the material provided is mostly based on a 3-day full-immersion seminar on RGB Protocol held by [Maxim Orlovsky](https://twitter.com/dr_orlovsky) at the Tuscany Lightning Bootcamp in October 2023.

Videos: <https://planb.academy/courses/3ce1d37c-05ba-4f54-aa15-7586d37b2bb7>

***
