{"id":13560755,"url":"https://github.com/RGB-WG/rgb-std","last_synced_at":"2025-04-03T16:31:00.908Z","repository":{"id":37453260,"uuid":"504468738","full_name":"RGB-WG/rgb-std","owner":"RGB-WG","description":"RGB standard libs for WASM \u0026 low-level integrations (no FS/networking)","archived":false,"fork":false,"pushed_at":"2025-02-19T16:05:54.000Z","size":3959,"stargazers_count":67,"open_issues_count":14,"forks_count":29,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-02-26T03:34:46.045Z","etag":null,"topics":["bitcoin","lightning-network","rgb","rgb-smart-contracts","smart-contracts"],"latest_commit_sha":null,"homepage":"https://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":null,"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},"funding":{"github":["lnp-bp","RGB-WG","dr-orlovsky"]}},"created_at":"2022-06-17T09:16:40.000Z","updated_at":"2025-02-21T05:56:42.000Z","dependencies_parsed_at":"2022-07-15T21:30:42.543Z","dependency_job_id":"f5eaee02-7025-475f-a318-091835c01baa","html_url":"https://github.com/RGB-WG/rgb-std","commit_stats":{"total_commits":572,"total_committers":12,"mean_commits":"47.666666666666664","dds":"0.25874125874125875","last_synced_commit":"af48f5475eb68111525a8e8162ae5a7b586c6f62"},"previous_names":["rgb-wg/rgb-wallet"],"tags_count":37,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RGB-WG%2Frgb-std","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RGB-WG%2Frgb-std/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RGB-WG%2Frgb-std/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RGB-WG%2Frgb-std/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RGB-WG","download_url":"https://codeload.github.com/RGB-WG/rgb-std/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246970323,"owners_count":20862509,"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","lightning-network","rgb","rgb-smart-contracts","smart-contracts"],"created_at":"2024-08-01T13:00:49.216Z","updated_at":"2025-04-03T16:31:00.873Z","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":["Libraries and CLIs"],"sub_categories":["Main RGB Standards"],"readme":"# RGB wallet \u0026 standard libraries for smart contracts on Bitcoin \u0026 Lightning\n\n![Build](https://github.com/RGB-WG/rgb-std/workflows/Build/badge.svg)\n![Tests](https://github.com/RGB-WG/rgb-std/workflows/Tests/badge.svg)\n![Lints](https://github.com/RGB-WG/rgb-std/workflows/Lints/badge.svg)\n[![codecov](https://codecov.io/gh/RGB-WG/rgb-std/branch/master/graph/badge.svg)](https://codecov.io/gh/RGB-WG/rgb-std)\n\n[![crates.io](https://img.shields.io/crates/v/rgb-std)](https://crates.io/crates/rgb-std)\n[![Docs](https://docs.rs/rgb-std/badge.svg)](https://docs.rs/rgb-std)\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-std)](./LICENSE)\n\nRGB is confidential \u0026 scalable client-validated smart contracts for Bitcoin \u0026\nLightning. To learn more about RGB please check [RGB blueprint][Blueprint] and\n[RGB FAQ][FAQ] websites.\n\nRGB wallet standard library provides non-consensus-critical high-level API for\nRGB applications. It is based on [RGB Core Lib][Core], implementing validation\nand consensus rules for 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-2022\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\n* [RGB Node][RGB Node]: standalone \u0026 embeddable node for running RGB.\n* [MyCitadel Node][MyCitadel Node]: wallet node providing RGB smart contract\n  functionality integrated with Lightning network, bitcoin blockchain indexers,\n  decentralized data storage and propagation (Storm) and wallet services. It can\n  run as embedded, desktop, server or cloud-based node.\n\n## Library\n\nThe library can be integrated into other rust projects via `Cargo.toml`\n`[dependencies]` section:\n\n```toml\nrgb-std = \"0.11.0\"\n```\n\nFor serialization purposes library provides `serde` feature, which is turned off\nby default.\n\n### MSRV\n\nMinimum supported rust compiler version (MSRV) is shown in `rust-version` of `Cargo.toml`.\n\n## Contributing\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\n[Association]: https://lnp-bp.org\n\n[Blueprint]: https://rgb.network\n\n[FAQ]: https://rgbfaq.com\n\n[Foundation]: https://github.com/LNP-BP/client_side_validation\n\n[BP]: https://github.com/BP-WG/bp-core\n\n[RGB Std]: https://github.com/RGB-WG/rgb-std\n\n[RGB Node]: https://github.com/RGB-WG/rgb-node\n\n[Max]: https://github.com/dr-orlovsky\n\n[Todd]: https://petertodd.org/\n\n[Zucco]: https://giacomozucco.com/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRGB-WG%2Frgb-std","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FRGB-WG%2Frgb-std","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRGB-WG%2Frgb-std/lists"}