Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/RGB-WG/rgb-std
RGB standard libs for WASM & low-level integrations (no FS/networking)
https://github.com/RGB-WG/rgb-std
bitcoin lightning-network rgb rgb-smart-contracts smart-contracts
Last synced: about 1 month ago
JSON representation
RGB standard libs for WASM & low-level integrations (no FS/networking)
- Host: GitHub
- URL: https://github.com/RGB-WG/rgb-std
- Owner: RGB-WG
- License: apache-2.0
- Created: 2022-06-17T09:16:40.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-05-20T16:19:54.000Z (7 months ago)
- Last Synced: 2024-05-21T20:14:03.141Z (7 months ago)
- Topics: bitcoin, lightning-network, rgb, rgb-smart-contracts, smart-contracts
- Language: Rust
- Homepage: https://rgb.tech
- Size: 2.39 MB
- Stars: 54
- Watchers: 11
- Forks: 28
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
- awesome-rgb-protocol - RGB STD
README
# RGB wallet & standard libraries for smart contracts on Bitcoin & Lightning
![Build](https://github.com/RGB-WG/rgb-std/workflows/Build/badge.svg)
![Tests](https://github.com/RGB-WG/rgb-std/workflows/Tests/badge.svg)
![Lints](https://github.com/RGB-WG/rgb-std/workflows/Lints/badge.svg)
[![codecov](https://codecov.io/gh/RGB-WG/rgb-std/branch/master/graph/badge.svg)](https://codecov.io/gh/RGB-WG/rgb-std)[![crates.io](https://img.shields.io/crates/v/rgb-std)](https://crates.io/crates/rgb-std)
[![Docs](https://docs.rs/rgb-std/badge.svg)](https://docs.rs/rgb-std)
[![unsafe forbidden](https://img.shields.io/badge/unsafe-forbidden-success.svg)](https://github.com/rust-secure-code/safety-dance/)
[![Apache-2 licensed](https://img.shields.io/crates/l/rgb-std)](./LICENSE)RGB is confidential & scalable client-validated smart contracts for Bitcoin &
Lightning. To learn more about RGB please check [RGB blueprint][Blueprint] and
[RGB FAQ][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][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][Max] basing or earlier ideas of client-side-validation
and RGB as "assets for bitcoin and LN" by [Peter Todd][Todd] and
[Giacomo Zucco][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:
* [RGB Node][RGB Node]: standalone & embeddable node for running RGB.
* [MyCitadel Node][MyCitadel Node]: wallet node providing RGB smart contract
functionality integrated with Lightning network, bitcoin blockchain indexers,
decentralized data storage and propagation (Storm) and wallet services. It can
run as embedded, desktop, server or cloud-based node.## Library
The library can be integrated into other rust projects via `Cargo.toml`
`[dependencies]` section:```toml
rgb-std = "0.11.0"
```For serialization purposes library provides `serde` feature, which is turned off
by default.### MSRV
Minimum supported rust compiler version (MSRV) is shown in `rust-version` of `Cargo.toml`.
## Contributing
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.## License
See [LICENCE](LICENSE) file.
[LNPBPs]: https://github.com/LNP-BP/LNPBPs
[Association]: https://lnp-bp.org
[Blueprint]: https://rgb.network
[FAQ]: https://rgbfaq.com
[Foundation]: https://github.com/LNP-BP/client_side_validation
[BP]: https://github.com/BP-WG/bp-core
[RGB Std]: https://github.com/RGB-WG/rgb-std
[RGB Node]: https://github.com/RGB-WG/rgb-node
[Max]: https://github.com/dr-orlovsky
[Todd]: https://petertodd.org/
[Zucco]: https://giacomozucco.com/