Skip to content

A curated list of RGB projects and resources

License

Notifications You must be signed in to change notification settings

22388o/awesome-rgb-protocol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Awesome RGB Protocol 🟢🔵🔴⚡🪙

A curated list of RGB projects and resources

Awesome

image

What is RGB protocol?

RGB has appeared from the research by Peter Todd on single-use-seals and client-side-validation, which was coined in 2016-2019 by Giacomo Zucco and community into a better asset protocol for Bitcoin and Lightning network. Further evolution of these ideas led to a development of RGB into a fully-fledged smart contract system by Maxim Orlovsky, who is leading its implementation since 2019 with community participation.

RGB is a scalable & confidential smart contracts system for Bitcoin & lightning network. They embrace concepts of private & mutual ownership, abstraction and separation of concerns and represent "post-blockchain", Turing-complete form of trustless distributed computing which does not require introduction of "tokens".

RGB is not a token protocol. Though issuance and management of highly scalable, programmable and private assets of different sort is possible with RGB, it can be applied in many industries far beyond financial world.

As a smart contract system RGB is quite different from previous approaches, both Bitcoin-based (Colored coins, Counterparty, OMNI) and non-bitcoin (Ethereum, EOS and others): RGB separates concept of smart contract issuer, state owners and state evolution RGB keeps the smart contract code and data off-chain RGB uses blockchain as a state commitment layer and Bitcoin script as an ownership control system; while smart contract evolution is defined by off-chain schema

Potential Use Case

  • Tokenized Securities
  • Tokenized Real State
  • Bitcoin as Collateral
  • Decentralized Exchanges (AMM, liquidity pool)
  • NFTs
  • NFT Marketplace
  • NFT auction
  • Crowdfunding
  • Stablecoins (aka. Centralized like USDC and USDT)
  • Stablecoins algorithm
  • Sythentic stablecoins
  • Decentralized identities
  • Storage
  • Lending
  • Atomic Swap
  • Submarine Swap
  • Wallets
  • Explorers
  • Machine Learning
  • Mint Services
  • Social media (accepting payments via Stablecoins or tokens)
  • DAOs
  • Muti-layer network
  • Multisig complex with Miniscript and more
  • Scale Layer 1 with Prime, Abraxis
  • Compatible with sidechains
  • Lightning Service Provider for RGB Assets
  • Lightning Nodes
  • Virtual Machine (AluVM)
  • OTC Exchange
  • Cloud Service
  • APIs
  • Domains names
  • LN derivations
  • Multipeer channels with Bifrost
  • Trustless pegin/pegout by Radiant
  • Multichain
  • GameFi
  • Metaverse
  • RWAs
  • Compatible with DLCs, Taproot...
  • Marketplace for RGB20 assets
  • Centralized Exchanges (custodial)
  • Asset Management
  • Custodial services
  • Derivatives
  • Programming Language (Contractum, Cation)
  • AI , IoT compatible tech
  • MiniDEX with swaps
  • SSI

Status software

Since was released RGB v0.10 anyone can build applications on protocol without breaking consensus or other problems

Developers, companies and users can release products on mainnet (knowing risks involved)

LNP/BP Association is woking in the next version, RGB v0.11, which v0.10 isn't compatible and will have Liquid, a sidechain created by the Blockstream and is more stable than v0.10.

Currenctly projects already support RGB v0.11:

  • Bitmask
  • Bitcoin Tribe
  • Bitlight Wallet
  • Bitswap
  • RGBex

Maxim released Roadmap around v0.11

LNP/BP announced in March 13 of 2024, is working v0.11.-beta.6 which will allow create RC1 and then fix bugs and issues until release officially v0.11.

LNP/BP Association released v0.11-beta.5 allowing developers build and test protocol without breaking consenus. Beyond have a new Maintainer with Maxim, the Antoine from Bitlight Labs.

LNP/BP announcedd v0.11-beta.6 with big upgrades how Liquid, contratum for interfaces (RGB20, RGB21, RGB25) and allow reu-se script libraries beyond make e2e tests.

LNP/BP announcedd SSI, a self-sovereign identities made with Bitcoin single-use seals compatible with RGB v0.11

Tech Overview

Little overview around RGB

image

Core

  • AluVM
  • Encoding schema
  • BP Core Lib
  • Client-Side-Validation
  • Storm
  • Lightning Network Protocol (LNP)
  • Prometheus

Design

In simple terms, RGB is a system that allows the user to audit a smart contract, execute it and verify it individually at any time without having an additional cost since for this it does not use a blockchain as "traditional" systems do, complex smart contracts systems were pioneered by Ethereum but due to it requires the user to spend significant amounts of gas for each operation, they never achieved the scalability they promised by consequence it never was an option to bank the users excluded from the current financial system.

Currently, the blockchain industry promotes that both the code of smart contracts and the data must be stored in the blockchain and executed by each node of the network, regardless of the excessive increase in size or the misuse of computational resources. The scheme proposed by RGB is much more intelligent and efficient since it cuts with the blockchain paradigm by having smart contracts and data separated from the blockchain and thus avoids the saturation of the network seen in other platforms, in turn it does not force each node to execute each contract but rather the parties involved which adds confidentiality to a level never seen before.

In RGB smart contract developer defines a scheme specifying rules how the contract evolves over time. The scheme is the standard for the construction of smart contracts in RGB, and both an issuer when defining a contract for issuance and a wallet or exchange must adhere to a particular scheme against which they must validate the contract. Only if the validation is correct can each party accept requests and work with the asset.

A smart contract in RGB is a directed acyclic graph (DAG) of state changes, where only a portion of the graph is always known and there is no access to the rest. The RGB scheme is a core set of rules for the evolution of this graph the smart contract starts with. Each contract participant may add to those rules (if this is allowed by the schema) and the resulting graph is built from the iterative application of those rules.

Understanding LNP/BP Libraries

*BP STD: Modern & lightweight implementation of bitcoin standards without rust-bitcoin/miniscript dependencies

*BP Wallet: Modern, lightweight & standard-compliant bitcoin wallet runtime & cli without rust-bitcoin dependencies

*BP Node: Daemons and tools for Bitcoin transaction index

*BP Core: Consensus data structures and client-side-validation library for bitcoin protocol

*RGB Core: Consenus and validation

*RGB STD: WASM and low-level integrations

*RGB Schemata: Standard RGB schemata and schema compiler

*RGB: Command-line tool and wallet runtime library for desktop and mobile integration

*RGB Interface: This repository provides rust source code and compiled versions of RGB contract schemata recommended for the use by contract developers.

*LNP Core: Lightning Network Protocol core library

*LN Types: Common Rust Lightning Network types

*LN Node: Lightning network protocol daemon (suitable for generalized Lightning Network)

*Lightning Encoding: Rust implementation of lightning network encoding as defined by BOLTs

*Prometheus Spec: Cryptoeconomically-safe trustless high-load computing on top of Bitcoin

*Storm Core: Core components for building storm LNP channels & applications

*Storm Stored: Storage daemon for Storm and other LNP/BP nodes - an embeddble microservice frontend for different storage backends

*Storm Node: Extension daemons for LNP Node implementing Storm protocol

*Storm Spec: Specification for Storm: L2/L3 distributed storage and messaging with economic incentivisation leveraging LNP/BP ecosystem

*LNPBPs: LNP/BP standards for bitcoin layer 2 & 3 protocols

*Presentations: Slides, visuals and video links that explain Bitcoin L2/L3 technological stack development, curated by LNP/BP Standards Association

*Client Side Validation: Standard implementation of client-side-validation APIs

*Rust LNBP: Library implementing LNPBP standards related to client-side-validation paradigm

*Invoices: Libraries for universal LNP/BP invoices covering Bitcoin, LN & RGB (LNPBP-38 standard)

*Docker: Docker containers by LNP/BP Standards Association

*Layer1: Paper on new bitcoin layer 1 design

*Strict Types: Rust implementation of strict encoding schema library

*Strict Encoding: Protobufs for functional programming

*Spec: Strict encoding specification

*Registry: Registry of strict type libraries

*Rust Aluvm: Rust implementation of AluVM (RISC functional machine)

*Alure: AluVM runtime with I/O extensions (like JRE)

*Aluasm: AluVM assembler

*AluVM spec: Specification of AluVM (algorithmic logic unit VM), its bytecode and assembly language

External LNP/BP Libraries

Several teams are working indepent libraries

  • RGB Lib: Rust library which provides tools to build cross-platform RGB compatible wallets in a simple fashion, without having to worry about Bitcoin and RGB internals.

  • RGB Sandbox:RGB sandbox and demo based on RGB version 0.10

  • RGB Lib Phython: Python library, rgb-lib, for the rgb-lib Rust library, which is included as a git submodule

  • RGB Lib Stress Test: CLI command to test a few scenarios involving transfers of RGB20 assets between multiple wallets

  • RGB Lib Swift: Swift library RgbLib, for the rgb-lib Rust library, which is included as a git submodule

  • RGB Lib Klottin: Android library, rgb-lib-android, for the rgb-lib Rust library, which is included as a git submodule

  • Faucet RGB: Faucets for wallets using RG20 tokens

Main RGB Standards

Protocol

Resources

Community

Articles

Podcast

Education

Guides

Libraries and CLIs

Token and NFTs Example

Wallets

Exchanges

  • Bitswap - DEX AMM on RGB Protocol and Lightning Network
  • RGBFI - DEX AMM (copy/paste from Bitswap)
  • Kaleidoswap - Trustless swaps with RGB20
  • Colorshift - Swap RGB Assets under Swiss Law
  • Invebit DEX - Swap RWAs selected by team
  • Bitifinex - Major and Old Exchange in the Bitcoin industry
  • Hodl Hodl - P2P Lending and Exhcange
  • Bitlight Labs - Marketplace for tokens and NFTs
  • Diba - Marketplace for UDAs
  • AMM DEX Demo by Melvin Carvalho - Demo AMM for swap RGB assets
  • Ordi Finance - Bridge beteween RGB, LN, ETH and DEX AMM
  • BitRGB - Achieving Infinite Scalability for web3 Asset Issuance and Trading
  • Tiramisu Wallet - Wallet and Exhange integrated
  • Sax Bridge - Exchange and Bridge between RGB20<>EVM
  • Yellow - Cross-chain AMM DEX
  • Bitrans - DEX with spot and derivatives
  • Flashnet - CEX with Orderbook and instant settled

Explorer

Registries

Nodes

Issues tokens platform

  • RGBex
  • Bitmask
  • Bitlight Labs

Identity Tools

Asset Management and Tokenization

DAOs

Games

AI, ioT

Services

NFTs

Marketplaces

  • BitAssets
  • Diba

Companies working of form independent on RGB Protocol

Comapanies support RGB Protocol

Others things

Extra lists

Disclaimer

Authors of this list is not responsible for eventual issues with third party projects be trading, speculation or any other thing.

Please do your own research

My others awesome lists

Awesome Taproot Assets

Contributors