All Projects → rgb-org → rgb-core

rgb-org / rgb-core

Licence: MIT license
RGB Core Library: consensus validation for private & scalable client-validated smart contracts on Bitcoin & Lightning

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to rgb-core

rgb-node
RGB node for both servers and mobiles
Stars: ✭ 70 (-29.29%)
Mutual labels:  smart-contracts, rgb, client-side-validation, lnp-bp
storm-spec
Specification for Storm: L2/L3 distributed storage and messaging with economic incentivisation leveraging LNP/BP ecosystem
Stars: ✭ 62 (-37.37%)
Mutual labels:  smart-contracts, lightning-network, lnp-bp
LNPBPs
LNP/BP standards for bitcoin layer 2 & 3 protocols
Stars: ✭ 158 (+59.6%)
Mutual labels:  smart-contracts, lightning-network, lnp-bp
Spec
[OLD!] RGB Protocol specifications for Bitcoin-based digital assets
Stars: ✭ 145 (+46.46%)
Mutual labels:  rgb, lightning-network
spec
[OLD!] RGB Protocol specifications for Bitcoin-based digital assets
Stars: ✭ 149 (+50.51%)
Mutual labels:  rgb, lightning-network
mqtt-dmx-controller
A simple ArtNet / DMX Controller with MQTT Interface 💡🎬
Stars: ✭ 48 (-51.52%)
Mutual labels:  rgb
ethereum-solidity-course-updated-code
Up-to-date Solidity/web3.js/React/Next.js code for the udemy.com course Ethereum and Solidity: The Complete Developer's Guide.
Stars: ✭ 161 (+62.63%)
Mutual labels:  smart-contracts
bcdhub
Better Call Dev backend
Stars: ✭ 30 (-69.7%)
Mutual labels:  smart-contracts
starter-kit-gsn
An OpenZeppelin starter kit focused on GSN.
Stars: ✭ 39 (-60.61%)
Mutual labels:  smart-contracts
Sand-Table
An open-source platform for building DIY sand tables (like the Sisyphus or ZenXY)
Stars: ✭ 99 (+0%)
Mutual labels:  rgb
fcl-js
FCL (Flow Client Library) - The best tool for building JavaScript (browser & NodeJS) applications on Flow 🌊
Stars: ✭ 302 (+205.05%)
Mutual labels:  smart-contracts
bloqly
Bloqly: JavaScript Smart Contracts Engine + SQL database
Stars: ✭ 29 (-70.71%)
Mutual labels:  smart-contracts
sublimetext-stringutilities
Sublime Text 2/3 plugin for string manipulations
Stars: ✭ 81 (-18.18%)
Mutual labels:  rgb
web3j-example
Android web3j example
Stars: ✭ 27 (-72.73%)
Mutual labels:  smart-contracts
create-ether-dapp
A template for building Full-Stack Blockchain Dapps using Next.js (React), TypeScript, Tailwind CSS, Hardhat, Solidity, and many more!
Stars: ✭ 100 (+1.01%)
Mutual labels:  smart-contracts
pi-factory
Bootstrap a bitcoin lightning box for Raspberry Pi 3 based on Alpine Linux
Stars: ✭ 17 (-82.83%)
Mutual labels:  lightning-network
ColorHelper
No description or website provided.
Stars: ✭ 34 (-65.66%)
Mutual labels:  rgb
pact-todomvc
Demo of integrating a JS webapp with the Pact smart contract langauge
Stars: ✭ 20 (-79.8%)
Mutual labels:  smart-contracts
flow-ft
The Fungible Token standard on the Flow Blockchain
Stars: ✭ 120 (+21.21%)
Mutual labels:  smart-contracts
TZComet
Contract Metadata Viewer on Tezos
Stars: ✭ 24 (-75.76%)
Mutual labels:  smart-contracts

RGB Core Library

Build Tests Lints codecov

crates.io Docs unsafe forbidden MIT licensed

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 Core library provides consensus-critical and validation code for RGB. It is a standard implementation, jointly with LNP/BP Standards defining RGB consensus and validation rules.

The consensus-critical code library is shared with the following libraries:

  1. Client-side-validation Foundation Lib. It is non-bitcoin-specific library, covering concepts related to client-side-validation (commitments, single-use-seals abstracted from bitcoin, consensus-critical data encoding protocols).
  2. BP Core Lib. This is client-side-validation applied to bitcoin protocol with deterministic bitcoin commitments (tapret) and TXO-based single-use-seals.
  3. AluVM virtual machine used by RGB for Turing-complete smart contract functionality.
  4. Encoding schema, defining structured data types used in 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:

  • RGB Standard Lib: library providing high-level RGB smart contract API in rust.
  • RGB Node: standalone & embeddable node for running RGB.
  • 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.

Use

Minimum supported rust compiler version (MSRV): 1.59, rust 2022 edition.

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

[dependencies]
rgb-core = "0.8"

If the library will be used for wallet applications and work with PSBT files, than use wallet feature, which is non-default:

[dependencies]
rgb-core = "0.8"

For serialization purposes library provides serde feature, which is turned off by default.

Contributing

Currently, library functionality is freezed and as a part of ossification only bugfixes are accepted.

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 file.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].