Crates.io | rgb-stl |
lib.rs | rgb-stl |
version | 0.11.0-beta.2 |
source | src |
created_at | 2023-11-19 18:40:02.451949 |
updated_at | 2023-11-19 18:40:02.451949 |
description | RGB strict type libraries |
homepage | https://github.com/RGB-WG |
repository | https://github.com/RGB-WG/rgb-wallet |
max_upload_size | |
id | 1041417 |
size | 134,743 |
RGB is confidential & scalable client-validated smart contracts for Bitcoin & Lightning. To learn more about RGB please check RGB blueprint and RGB FAQ websites.
RGB wallet standard library provides non-consensus-critical high-level API for RGB applications. It is based on [RGB Core Lib][Core], implementing validation and consensus rules for RGB smart contracts.
The development of the project is supported and managed by LNP/BP Standards Association. The design of RGB smart contract system and implementation of this and underlying consensus libraries was done in 2019-2022 by Dr Maxim Orlovsky basing or earlier ideas of client-side-validation and RGB as "assets for bitcoin and LN" by Peter Todd and Giacomo Zucco. Upon the release of RGBv1 the protocol will be immutable and this library will accept only bugfixes; i.e. it will be ossified by requiring consensus ACK for the new changes across the large set of maintainers.
The current list of the projects based on the library include:
The library can be integrated into other rust projects via Cargo.toml
[dependecies]
section:
rgb-wallet = "0.10.0"
If the library will be used for wallet applications and work with PSBT files,
than use wallet
feature, which is non-default:
[dependencies]
rgb-wallet = { version = "0.8", features = ["wallet"] }
For serialization purposes library provides serde
feature, which is turned off
by default.
Minimum supported rust compiler version (MSRV): 1.66, rust 2021 edition.
Altcoins and "blockchains" other than Bitcoin blockchain/Bitcoin protocols are not supported and not planned to be supported; pull requests targeting them will be declined.
See LICENCE file.