{"id":16036533,"url":"https://github.com/rgb-wg/rgb-core","last_synced_at":"2025-12-12T11:54:01.847Z","repository":{"id":37088254,"uuid":"333385210","full_name":"RGB-WG/rgb-core","owner":"RGB-WG","description":"RGB Core Library: consensus validation for private \u0026 scalable client-validated smart contracts on Bitcoin \u0026 Lightning","archived":false,"fork":false,"pushed_at":"2025-05-05T10:18:03.000Z","size":4971,"stargazers_count":213,"open_issues_count":13,"forks_count":52,"subscribers_count":25,"default_branch":"master","last_synced_at":"2025-05-11T04:11:12.317Z","etag":null,"topics":["bitcoin","blockchain","client-side-validation","lightning-network","lnp-bp","rgb","smart-contracts"],"latest_commit_sha":null,"homepage":"https://spec.rgb.tech","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RGB-WG.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["lnp-bp","RGB-WG","dr-orlovsky"]}},"created_at":"2021-01-27T10:35:14.000Z","updated_at":"2025-04-17T20:07:25.000Z","dependencies_parsed_at":"2023-11-16T16:44:09.349Z","dependency_job_id":"9178b588-1d0e-47a5-996c-94493ac8a2e6","html_url":"https://github.com/RGB-WG/rgb-core","commit_stats":{"total_commits":2018,"total_committers":19,"mean_commits":"106.21052631578948","dds":0.07829534192269572,"last_synced_commit":"52592c62f9f0ba32b3deab69725f2fd6cd6784c4"},"previous_names":["rgb-org/rgb-core"],"tags_count":74,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RGB-WG%2Frgb-core","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RGB-WG%2Frgb-core/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RGB-WG%2Frgb-core/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RGB-WG%2Frgb-core/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RGB-WG","download_url":"https://codeload.github.com/RGB-WG/rgb-core/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254270641,"owners_count":22042858,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bitcoin","blockchain","client-side-validation","lightning-network","lnp-bp","rgb","smart-contracts"],"created_at":"2024-10-08T22:05:16.095Z","updated_at":"2025-12-12T11:54:01.765Z","avatar_url":"https://github.com/RGB-WG.png","language":"Rust","funding_links":["https://github.com/sponsors/lnp-bp","https://github.com/sponsors/RGB-WG","https://github.com/sponsors/dr-orlovsky"],"categories":[],"sub_categories":[],"readme":"# RGB Core Library\n\n![Build](https://github.com/RGB-WG/rgb-core/workflows/Build/badge.svg)\n![Tests](https://github.com/RGB-WG/rgb-core/workflows/Tests/badge.svg)\n![Lints](https://github.com/RGB-WG/rgb-core/workflows/Lints/badge.svg)\n[![codecov](https://codecov.io/gh/RGB-WG/rgb-core/branch/master/graph/badge.svg)](https://codecov.io/gh/RGB-WG/rgb-core)\n\n[![crates.io](https://img.shields.io/crates/v/rgb-core)](https://crates.io/crates/rgb-core)\n[![Docs](https://docs.rs/rgb-core/badge.svg)](https://docs.rs/rgb-core)\n[![unsafe forbidden](https://img.shields.io/badge/unsafe-forbidden-success.svg)](https://github.com/rust-secure-code/safety-dance/)\n[![Apache-2 licensed](https://img.shields.io/crates/l/rgb-core)](./LICENSE)\n\nRGB is confidential \u0026 scalable client-validated smart contracts for Bitcoin \u0026 \nLightning. To learn more about RGB please check [RGB website][Site].\n\nRGB Core library provides consensus-critical and validation code for RGB. \nIt is a standard implementation, jointly with [LNP/BP Standards][LNPBPs] \ndefining RGB consensus and validation rules.\n\nThe consensus-critical code library is shared with the following libraries:\n1. [Client-side-validation Lib][Foundation]. It is\n   non-bitcoin-specific library, covering concepts related to\n   client-side-validation (commitments, single-use-seals abstracted from\n   bitcoin, consensus-critical data encoding protocols).\n2. [BP Core Lib][BP]. This is client-side-validation applied to bitcoin protocol\n   with deterministic bitcoin commitments (tapret) and TXO-based\n   single-use-seals.\n3. [AluVM virtual machine][AluVM] used by RGB for Turing-complete smart contract\n   functionality.\n4. [Strict types][StrictTypes], defining memory layout and serialization of \n   structured data types used in RGB smart contracts.\n\nThe development of the project is supported and managed by [LNP/BP Standards \nAssociation][Association]. The design of RGB smart contract system and \nimplementation of this and underlying consensus libraries was done in 2019-2024 \nby [Dr Maxim Orlovsky][Max] basing or earlier ideas of client-side-validation \nand RGB as \"assets for bitcoin and LN\" by [Peter Todd][Todd] and \n[Giacomo Zucco][Zucco]. Upon the release of RGBv1 the protocol will be immutable\nand this library will accept only bugfixes; i.e. it will be ossified by \nrequiring consensus ACK for the new changes across the large set of maintainers.\n\nThe current list of the projects based on the library include:\n* [RGB Standard Lib][RGB Std]: library providing high-level RGB smart contract\n  API in rust.\n* [RGB Wallet][RGB Wallet]: runtime and command-line tool for working with RGB.\n\n## Contributing\n\nCurrently, library functionality is frozen and as a part of ossification only\nbugfixes are accepted.\n\nAltcoins and \"blockchains\" other than Bitcoin blockchain/Bitcoin protocols are \nnot supported and not planned to be supported; pull requests targeting them will \nbe declined.\n\n## License\n\nSee [LICENCE](LICENSE) file.\n\n\n[LNPBPs]: https://github.com/LNP-BP/LNPBPs\n[Association]: https://lnp-bp.org\n[Site]: https://rgb.tech\n[Foundation]: https://github.com/LNP-BP/client_side_validation\n[BP]: https://github.com/BP-WG/bp-core\n[AluVM]: https://www.aluvm.org\n[StrictTypes]: https://www.strict-types.org\n[RGB Std]: https://github.com/RGB-WG/rgb-std\n[RGB Wallet]: https://github.com/RGB-WG/rgb\n[Max]: https://dr.orlovsky.ch\n[Todd]: https://petertodd.org/\n[Zucco]: https://giacomozucco.com/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frgb-wg%2Frgb-core","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frgb-wg%2Frgb-core","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frgb-wg%2Frgb-core/lists"}