RGB

Post-blockchain smart contracts

Why RGB?

  • Scalability

    RGB can scale in terms of transaction throughput, data size and network size. It doesn't keep any data on-chain (in any blockchain); it is sharded from day 1 and is fully interoperable with layer 2 scalability solutions.

  • Privacy

    No chain analysis is possible due to the absence of a transaction graph in blockchain. RGB uses zero-knowledge to protect the history of a fungible state. With RGB, the user is always in-charge of when, and what parts of the history and state to disclose, if needed.

  • Bitcoin & Lightning

    RGB is a native member of Bitcoin and the Lightning Network ecosystem, bringing rich smart contracts in a scalable way to the World's most secure and censorship-resistant cryptocurrency.

Build with RGB

RGB was designed to allow everything that is possible with blockchain-based smart contracts (like in Ethereum and other systems) – but in the scalable, robust and private way. With RGB, you can do the following categories of smart contracts (and much more):

  • Tokens

    From stablecoins and corporate shares to securities and application-specific tokens.

  • NFTs

    Issue digital media (books, music, video, podcasts) and collectible items.

  • DeFi

    Do a liquidity pool, AMM-based DEX, or a collateral-based algorithmic stable-coin.

  • DAOs

    Run a decentralized autonomous organization with all required functionality.

Use RGB

  • Hold assets

    Install one of the wallets supporting RGB and start using RGB assets or interact with RGB contracts.

    Check wallets

  • Trade

    Several exchanges already support RGB assets; use one of them to start trading existing assets.

    Check exchanges

  • Issue

    Issuing assets, NFTs and many other standard RGB contracts doesn't require programming skills.

    Issuer guides

Install any of the existing RGB wallets and start using RGB today. Developers and power users can harness the power of RGB and work with the smart contracts by using RGB command-line or running an RGB Node on their home server or in a private cloud.

If you are looking at integrating RGB into your software, check our integration page.

Develop on RGB

Interested in understanding RGB or developing new forms of smart contracts? Check out the following guides:

  • Writing contracts

    Simple RGB contracts can be created in Rust (using handy macros). More advanced contracts will require writing code for AluVM in AluAssembly language. We also work on a new high-level language called Contractum, which release is targeted towards the end of the year.

    Learn to program

  • Integrating RGB

    Want to let your users access RGB assets & smart contracts? Integrating RGB as is simple as using one of existing SDKs in your project and working with JSON data structures. Check what libraries exist for RGB integration today, provided by several independent teams and companies.

    Integrate RGB

  • Learn RGB

    RGB is much more complex than simple bitcoin applications; to unlock its true power in creating the world of Bitcoin Finance (#BiFi) it is important to understand its terminology and internal architecture in detail. A good starting point can be through multiple RGB learning resources.

    Access docs

Thanks

RGB would not exist without the generous contributions of time, work, and resources from individuals and companies. We are very grateful for the support!