{"id":60003,"library":"rgb-core","title":"RGB Core","description":"RGB Core Library: confidential & scalable smart contracts on Bitcoin & Lightning (consensus layer)","status":"active","version":"0.12.0","language":"rust","source_language":null,"source_url":"https://github.com/RGB-WG/rgb-core","tags":["bitcoin","lightning","smart-contracts","consensus","rgb"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nrgb-core = \"0.12.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add rgb-core","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"Contract","correct":"use rgb_core::Contract;"}],"quickstart":{"code":"use rgb_core::Contract;\n\nfn main() {\n    let contract = Contract::default();\n    println!(\"RGB contract created\");\n}","lang":"rust","description":"Creates a default RGB contract instance"},"warnings":[{"fix":"Review RGB specification before using in production","message":"Requires understanding of Bitcoin/Lightning consensus rules","severity":"gotcha","affected_versions":">=0.10.0"}],"env_vars":null,"search_vec":"'bitcoin':11,15 'confidenti':6 'consensus':13,20 'contract':9,19 'core':2,4 'layer':14 'librari':5 'lightn':12,16 'rgb':1,3,21 'scalabl':7 'smart':8,18 'smart-contract':17","created_at":"2026-06-16T17:24:08.892574+00:00","updated_at":"2026-06-16T17:24:08.892574+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://rgb.tech","github":"https://github.com/RGB-WG/rgb-core","docs":"https://docs.rs/rgb-core/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["crypto","other"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-16","next_check":"2026-12-13","install_tag":null}}