{"id":20246787,"url":"https://github.com/rgb-wg/rgb","last_synced_at":"2025-05-15T15:08:56.600Z","repository":{"id":148848378,"uuid":"611490538","full_name":"RGB-WG/rgb","owner":"RGB-WG","description":"RGB smart contracts: command-line tool \u0026 wallet runtime library for desktop and mobile integration","archived":false,"fork":false,"pushed_at":"2025-02-21T09:03:20.000Z","size":1135,"stargazers_count":147,"open_issues_count":17,"forks_count":38,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-02-26T03:34:45.978Z","etag":null,"topics":["bitcoin","command-line-tool","lightning","lightning-network","lnp-bp","rgb","rgb-contracts","rust","smat-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":"2023-03-08T23:42:14.000Z","updated_at":"2025-02-22T03:27:24.000Z","dependencies_parsed_at":"2023-07-10T02:45:47.434Z","dependency_job_id":"25f17540-9f60-4e8a-9e0d-c13f027bb602","html_url":"https://github.com/RGB-WG/rgb","commit_stats":null,"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RGB-WG%2Frgb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RGB-WG%2Frgb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RGB-WG%2Frgb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RGB-WG%2Frgb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RGB-WG","download_url":"https://codeload.github.com/RGB-WG/rgb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247730068,"owners_count":20986404,"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","command-line-tool","lightning","lightning-network","lnp-bp","rgb","rgb-contracts","rust","smat-contracts"],"created_at":"2024-11-14T09:33:08.878Z","updated_at":"2025-04-07T21:11:03.591Z","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 smart contracts\n\n![Build](https://github.com/RGB-WG/rgb/workflows/Build/badge.svg)\n![Tests](https://github.com/RGB-WG/rgb/workflows/Tests/badge.svg)\n![Lints](https://github.com/RGB-WG/rgb/workflows/Lints/badge.svg)\n[![codecov](https://codecov.io/gh/RGB-WG/rgb/branch/master/graph/badge.svg)](https://codecov.io/gh/RGB-WG/rgb)\n\n[![crates.io](https://img.shields.io/crates/v/rgb-wallet)](https://crates.io/crates/rgb-wallet)\n[![Docs](https://docs.rs/rgb-wallet/badge.svg)](https://docs.rs/rgb-wallet)\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-wallet)](./LICENSE)\n\nRGB is confidential \u0026 scalable client-validated smart contracts for Bitcoin \u0026\nLightning. It embraces the concepts of private \u0026 mutual ownership, abstraction\nand separation of concerns and represents \"post-blockchain\", Turing-complete\nform of trustless distributed computing which does not require introduction of\n\"tokens\". To learn more about RGB please check [RGB black paper][Blackpaper]\nand [RGB Tech] websites.\n\nThis repository provides client-facing library which can be used by desktop\napps and mobile wallets for integrating RGB support. It also provides binary\n`rgb` which runs in the command-line and exposes all RGB functionality locally,\nrequiring only Electrum server.\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-2023\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].\n\n## Installing\n\nFirst, you need to install [cargo](https://doc.rust-lang.org/cargo/).\nMinimum supported rust compiler version (MSRV) is shown in `rust-version` of `Cargo.toml`.\n\nNext, you need to install developer components, which are OS-specific:\n\n* Linux\n  ```\n  sudo apt update\n  sudo apt install -y build-essential cmake pkg-config\n  ```\n\n* MacOS\n  ```\n  brew install cmake pkg-config\n  ```\n\n* Windows: download and install the\n  latest [Build Tools for Visual Studio](https://aka.ms/vs/17/release/vs_BuildTools.exe), including the 'Desktop\n  development with C++' workflow and recommended optional features\n\nFinally, install RGB command-line utility shipped with this repo by running\n\n```\ncargo install rgb-wallet\n```\n\nTo use the library from other rust code add dependency to the `Cargo.toml` file:\n\n```toml\n[dependencies]\nrgb-std = \"0.11.0-beta.7\" # use the latest version\nrgb-runtime = \"0.11.0-beta.7\" # use the latest version\n```\n\n## Using command-line\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[Association]: https://lnp-bp.org\n\n[Blackpaper]: https://blackpaper.rgb.tech\n\n[RGB Tech]: https://rgb.tech\n\n[FAQ]: https://rgbfaq.com\n\n[Max]: https://github.com/dr-orlovsky\n\n[Todd]: https://petertodd.org/\n\n[Zucco]: https://giacomozucco.com/\n\n[VS]: https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frgb-wg%2Frgb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frgb-wg%2Frgb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frgb-wg%2Frgb/lists"}