bitcoin-l2-liquid
Liquid Network: federated sidechain by Blockstream. Confidential Transactions, asset issuance (LBTC, USDt-Liquid, others), 2-min blocks, n-of-m federation peg-out. Elements codebase. USE WHEN: building on Liquid, peg-in/peg-out integrations, designing CT-based privacy.
What this skill does
# Liquid Network Liquid is a federated sidechain pegged to Bitcoin, developed by Blockstream. Funds are locked on Bitcoin via federation multisig and unlocked on Liquid as L-BTC. Codebase: **Elements** (`github.com/ElementsProject/elements`), a Bitcoin Core fork with extensions. ## Architecture - **Federation**: ~15 functionaries (Blockstream + partners). - **Block production**: round-robin among functionaries. - **2-minute target block time**. - **Peg-in**: send BTC to federation multisig → equivalent L-BTC appears on Liquid after 102 confirmations. - **Peg-out**: send L-BTC to federation → BTC released on Bitcoin after withdrawal queue. ## Confidential Transactions Liquid implements **Confidential Transactions** (CT): - Output amounts are hidden via Pedersen commitments. - Range proofs prove amount ≥ 0 and within valid range. - Asset IDs also blinded (via blinded amounts + blinded asset commitments). - Public key recipients can compute shared blinding factor and see the amount. ## Issued Assets (IA) Beyond L-BTC, Liquid supports: - **L-USDt** (Tether on Liquid). - **L-CAD**, **L-EUR**, **L-CNY** (some jurisdiction-specific). - Custom asset issuance: anyone with funds can issue an asset. Issuance specifies: - Total supply (or issuance ongoing via reissuance tokens). - Asset metadata (description, contract hash). - Asset ID = hash of issuance tx + entropy. ## Peg-in / Peg-out ### Peg-in (BTC → L-BTC) 1. User sends BTC to federation multisig with claim script. 2. Wait 102 confirmations on Bitcoin. 3. User submits claim on Liquid; L-BTC issued. ### Peg-out (L-BTC → BTC) 1. User submits L-BTC to federation address on Liquid. 2. Federation processes withdrawal queue. 3. BTC released to user's specified address on Bitcoin. Peg-out is **whitelist-based** (regulated; Liquid-Pro members can peg out; retail users typically use exchanges for peg-out). ## Implementation - **elementsd** — full node (similar to bitcoind). - **liquid-network/elements** — codebase, builds on Bitcoin Core. - Wallets: - **Blockstream Green** — mobile wallet with Liquid support. - **Sparrow** — desktop, Liquid support. - **Aqua** — multi-asset Liquid wallet. ## Use cases - **Stablecoin payments** with privacy (L-USDt). - **Faster settlement** between Liquid-aware exchanges (2 min vs 60 min). - **Asset issuance**: STOs, regulated tokens, gift cards. - **Confidential commercial flows**: amounts hidden from competitors. ## Federation governance - Functionaries hold multisig keys. - Block-signing rotation among them. - Transparent membership; replacements are governance events. ## Lightning on Liquid Liquid has Lightning compatibility: - **Lightning on Liquid** (LBTC channels). - Submarine swaps BTC ↔ L-BTC via Boltz, others. ## Compared to other L2s | Aspect | Liquid | RSK | Stacks | |--------|--------|-----|--------| | Trust model | Federation | Merge-mining + federation | PoX (uses BTC) | | Smart contracts | Limited (Elements opcodes) | EVM-compatible | Clarity | | Peg | 2-way | 2-way | 1-way (sBTC bidirectional) | | Privacy | CT default | None | Limited | ## Limitations - **Federation trust**: 11-of-15 multisig; large compromise = funds loss. - **Peg-out gated** for retail users (typically via exchanges). - **Smaller ecosystem** than EVM L2s. ## See also - [rgb/SKILL.md](../rgb/SKILL.md) - [taproot-assets/SKILL.md](../taproot-assets/SKILL.md) - [statechains/SKILL.md](../statechains/SKILL.md) - [../../infrastructure/btcpay/SKILL.md](../../infrastructure/btcpay/SKILL.md)
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.