Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

bitcoin-l2-rgb

БесплатноБез исполняемых скриптовНе проверен

RGB protocol: client-side validated smart contracts on Bitcoin + Lightning. v0.12 consensus (zk-AluVM, issuers), the diverging v0.11.1 line…

claude-dev-suiteот claude-dev-suite★ 51 звезда на GitHub

Об этом скилле

RGB Protocol

RGB is a system of client-side validated smart contracts on Bitcoin and Lightning. Maintained by LNP/BP Standards Association

  • RGB Consortium.

Repos:

  • github.com/RGB-WG — main RGB working group (v0.12 line).
  • github.com/rgb-protocol — diverging v0.11.1 line (see below).
  • github.com/RGB-Tools/rgb-lightning-node — LN integration.

Two diverging lines (as of September 2026)

Read this before anything else — the ecosystem forked in mid-2025 and "RGB" now names two incompatible protocols.

Aspect RGB-WG v0.12 v0.11.1 line
Org RGB-WG (LNP/BP) rgb-protocol
Site rgb.tech rgb.info
Newest rgb-core v0.12.0, 10 Jul 2025 0.11.1-rc.11, 15 Jul 2026
VM zk-AluVM (40 instructions) classic AluVM (rgb-aluvm)
Contract defs issuers + contract API schemata (rgb-schemas)
Fungible state finite-field elements revealed u64 amounts
Used by rgb CLI, rgb-std rgb-lib, rgb-lightning-node
  • RGB-WG shipped the final v0.12 consensus layer on 10 July 2025 (rgb-core 0.12.0). Consensus is frozen; contracts issued against it are forward-compatible. The standard library and CLI above it are still at v0.12.0-rc.3 (15 July 2025) — no final tag as of September 2026.
  • RGB-WG published a security notice on 18 July 2025 stating that v0.11.1 is a fork of unreleased v0.11 code with "nearly absent" unit test coverage and removed smart-contracting capability, and that "the only version recommended by us for the production is v0.12".
  • The v0.11.1 line is nevertheless the one actually shipping in Lightning: rgb-lib 0.3.0-beta.7 (17 July 2026) pins rgb-ops, rgb-invoicing and rgb-schemas at =0.11.1-rc.11, and rgb-lightning-node builds on that rgb-lib. Its repos (rgb-consensus, rgb-aluvm, rgb-tests) were still being pushed in September 2026.
  • Contracts issued with pre-v0.12 RGB-WG releases are not compatible with v0.12; RGB-WG recommends re-issuing them.

Concepts

Client-side validation

RGB contracts don't put state on Bitcoin's chain. Instead:

  • Contracts publish a contract definition + state transitions (a schema on the v0.11.1 line; an issuer in v0.12).
  • Owners hold cryptographic proofs of their balances.
  • Bitcoin txs commit to RGB state via single-use seals. v0.12 unified the previously separate tapret (Taproot-tweak) and opret (OP_RETURN) seal types into one, keeping an OP_RETURN fallback for wallets that cannot use Taproot.
  • Verification: walk the proof chain back to issuance. In v0.12 consignments are streamed and validated on the go instead of being loaded into memory.

Contract definitions: schemata (v0.11.1) vs issuers (v0.12)

The v0.11.1 line keeps the classic schema model. rgb-schemas ships, as of 0.11.1-rc.11 (July 2026):

  • NIA — non-inflatable fungible asset.
  • UDA — unique digital asset (single-token NFT with attachment).
  • CFA — collectible fungible asset.
  • PFA / IFA — permissioned and inflatable fungible assets, both marked not production-ready in the repo.
  • Custom schemas (e.g. medical records, supply chain) written against AluVM by the issuer.

RGB v0.12 removed schemata from the wallet-facing model. Per the 10 July 2025 release post, instead of importing schemata, interfaces and other components, wallets consume issuers published by contract developers plus a contract API — "a simple non-generic object explaining to a wallet how to operate with a contract". Interfaces survive only inside the Contractum language, whose compiler emits those contract APIs.

AluVM / zk-AluVM

v0.11.1 line — classic AluVM (rgb-protocol/rgb-aluvm):

  • Register-machine with strict resource limits.
  • Smart contract code runs client-side during validation.

v0.12 — zk-AluVM, introduced in the 10 July 2025 consensus release:

  • Turing-complete zk-VM built for client-side validation.
  • Non-von-Neumann architecture, 40 instructions.
  • Read-once memory, matching single-use seal semantics.
  • Contract state unified into finite-field elements; the three state variants of RGB-WG's pre-v0.12 design (fungible via Pedersen commitments + Bulletproofs, structured non-fungible, binary attachments) are gone. The v0.11.1 fork's shipping code never had them: its FungibleState is a revealed u64 (Bits64).
  • Pedersen commitments and Bulletproofs removed — zk-STARKs replace them (Bulletproofs were never implemented for secp256k1).
  • Consensus validation reduced to a few hundred lines expressible as an arithmetic circuit, which is what enables recursive history compression by a zk prover.

RGB Lightning Network (RLN)

rgb-lightning-node (RLN node) is an RGB-enabled LN node:

  • Lightning channels can carry RGB assets.
  • Each commitment tx has an extra output anchoring the RGB state transition.
  • Asset transfers via
Полный SKILL.md на GitHub

Установить bitcoin-l2-rgb в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Grep
Glob

FAQ

Что делает скилл bitcoin-l2-rgb?

RGB protocol: client-side validated smart contracts on Bitcoin + Lightning. v0.12 consensus (zk-AluVM, issuers), the diverging v0.11.1 line, rgb-lightning-node for LN integration. USDT-on-RGB rollout. USE WHEN: building RGB contracts, integrating RGB Lightning, comparing with TAP.

Как установить скилл bitcoin-l2-rgb?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл bitcoin-l2-rgb запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить bitcoin-l2-rgb с