# RGB Protocol

RGB Protocol is a smart contract and asset issuance system built on top of Bitcoin and the Lightning Network. It aims to bring Turing-complete functionality to Bitcoin without compromising decentralization, security, or privacy.

In short:\
RGB enables Bitcoin to issue assets, execute complex logic, and support Web3 applications.

***

#### Core Design Principles

The core principle of RGB is:\
All contract validation is done client-side, not on-chain.\
This means contract states and logic are held and processed by users, while the Bitcoin blockchain only anchors data and provides cryptographic proofs. This results in unmatched scalability and strong privacy.

RGB is not a public chain or virtual machine, but a minimalist, modular, and privacy-first protocol that aligns with Bitcoin’s core values.

***

#### Technical Features

<table data-header-hidden><thead><tr><th valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Feature</td><td valign="top">Description</td></tr><tr><td valign="top">Turing-complete</td><td valign="top">Supports complex logic using embedded smart contract language (e.g., Simplicity)</td></tr><tr><td valign="top">Privacy-first</td><td valign="top">States exist only on the user side — no asset or contract data on-chain</td></tr><tr><td valign="top">Extreme scalability</td><td valign="top">No global state synchronization needed; supports unlimited assets &#x26; users</td></tr><tr><td valign="top">Lightning-compatible</td><td valign="top">Seamlessly integrates with Lightning for fast asset transfers</td></tr><tr><td valign="top">Bitcoin-native</td><td valign="top">Anchored to Bitcoin for immutability and security</td></tr></tbody></table>

***

#### What RGB Can Do

· Issue and circulate stablecoins (e.g., Bitcoin-native USDT)

· NFTs, tickets, certifications, tokenized goods

· DAO governance, off-chain voting, reputation systems

· DeFi apps like lending, yield aggregators (theoretically possible)

***

#### How RGB Compares to Other Protocols

<table data-header-hidden><thead><tr><th valign="top"></th><th valign="top"></th><th valign="top"></th><th valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Protocol</td><td valign="top">Turing-Complete</td><td valign="top">Private State</td><td valign="top">Bitcoin-Native</td><td valign="top">Lightning-Compatible</td></tr><tr><td valign="top">RGB</td><td valign="top">✅ Yes</td><td valign="top">✅ Strong</td><td valign="top">✅ High</td><td valign="top">✅ Supported</td></tr><tr><td valign="top">BRC20</td><td valign="top">❌ No</td><td valign="top">❌ Public</td><td valign="top">✅ High</td><td valign="top">❌ Not supported</td></tr><tr><td valign="top">Omni</td><td valign="top">❌ No</td><td valign="top">❌ Public</td><td valign="top">✅ Medium</td><td valign="top">❌ Not supported</td></tr><tr><td valign="top">Ethereum ERC20</td><td valign="top">✅ Yes</td><td valign="top">❌ Public</td><td valign="top">❌ None</td><td valign="top">❌ Not supported</td></tr></tbody></table>

***

#### Development & Ecosystem

Though still in its early stages, RGB is gaining traction with real progress in ecosystem development:

· Development Organizations: LNP/BP Standards Association, Bitfinex

· Asset Standards: RGB20 (fungible tokens), RGB21 (NFTs)

· Community Integration: Bitcoin-native projects such as BitBoom are actively integrating RGB

***

#### Summary

RGB is a major step toward making Bitcoin a functional financial network. It doesn’t aim to compete with Ethereum, but instead offers a more private, secure, and low-cost pathway to contracts and asset issuance — natively on Bitcoin.

If the Lightning Network makes Bitcoin spendable, RGB makes it programmable.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://bitboom-fun.gitbook.io/bitboom/what-makes-bitcoin-boom/rgb-protocol.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
