#lightning #smart-contracts #bitcoin #lnp-bp #rgb

bin+lib rgb-schemata

Collection of the official RGB smart contract schemata

11 releases

new 0.11.0-beta.5 Mar 29, 2024
0.11.0-beta.4 Dec 30, 2023
0.11.0-beta.2 Nov 19, 2023
0.10.1 Oct 14, 2023
0.10.0-beta.1 May 15, 2023

#1689 in Magic Beans

Download history 85/week @ 2023-12-07 86/week @ 2023-12-14 43/week @ 2023-12-21 25/week @ 2023-12-28 11/week @ 2024-01-04 20/week @ 2024-01-11 14/week @ 2024-01-18 29/week @ 2024-01-25 31/week @ 2024-02-01 34/week @ 2024-02-08 82/week @ 2024-02-15 69/week @ 2024-02-22 173/week @ 2024-02-29 99/week @ 2024-03-07 67/week @ 2024-03-14 35/week @ 2024-03-21

387 downloads per month
Used in rgb-lib

Apache-2.0

135KB
406 lines

Collection of official RGB schemata

Build Tests Lints

crates.io Docs Apache-2 licensed

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

RGB is confidential & scalable client-validated smart contracts for Bitcoin & Lightning. To learn more about RGB please check RGB blueprint and RGB FAQ websites.

The development of the project is supported and managed by LNP/BP Standards Association.

Catalog

This repository provides the following RGB schemata:

  • Non-inflatable assets (NIA), implementing RGB20 interface. This is the simplest form of a fungible asset/token, which doesn't provide such features as secondary issue, ability to change asset name and parameters, ability to burn or replace the asset.

  • Unique digital asset (UDA), implementing RGB21 interface. This is the simplest form of an NFT, which has one issuance of a single non-fungible and non-fractionable token with a representative attached media file and a preview.

  • Collectible fungible assets (CFA), implementing RGB25 interface. This is the simplest form of collectible fungible assets

Library

The library can be integrated into other rust projects via Cargo.toml [dependecies] section:

rgb-schemata = "0.10.0"

MSRV

Minimum supported rust compiler version (MSRV): 1.66, rust 2021 edition.

License

See LICENCE file.

Dependencies

~21MB
~335K SLoC