14 releases

0.11.0-beta.8 Sep 5, 2024
0.11.0-beta.6 Jun 8, 2024
0.11.0-beta.5 Mar 29, 2024
0.11.0-beta.4 Dec 30, 2023
0.10.0-rc.3 Jul 27, 2023

#11 in #lnp-bp

Download history 102/week @ 2024-07-03 36/week @ 2024-07-10 67/week @ 2024-07-17 185/week @ 2024-07-24 99/week @ 2024-07-31 16/week @ 2024-08-07 105/week @ 2024-08-14 171/week @ 2024-08-21 69/week @ 2024-08-28 174/week @ 2024-09-04 65/week @ 2024-09-11 107/week @ 2024-09-18 128/week @ 2024-09-25 124/week @ 2024-10-02 142/week @ 2024-10-09 115/week @ 2024-10-16

530 downloads per month
Used in rgb-lib

Apache-2.0

90KB
648 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

~24MB
~367K SLoC