styx

Reserve pool liquidity, build and sign a PSBT, and broadcast BTC→sBTC deposits.

9|43|Updated Feb 19, 2026
One-click install
npx skills add https://github.com/aibtcdev/skills --skill styx-aibtcdev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: styx
Source: https://github.com/aibtcdev/skills/tree/main/styx
Command: npx skills add https://github.com/aibtcdev/skills --skill styx-aibtcdev

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires commander, @faktoryfun/styx-sdk, @scure/btc-signer, @scure/base.

What problem does it solve?

Enables end-to-end BTC→sBTC deposits and tracking using Styx, removing manual steps from liquidity management, signing, and broadcast workflows.

Core Features & Use Cases

  • Pool status & liquidity checks: quickly verify available sBTC for a deposit.
  • End-to-end deposit workflow: reserve liquidity, build and sign a PSBT, broadcast the BTC transaction, and track deposit status.
  • Safety & compliance: enforces minimum deposits, validates wallet state, and retries status updates to prevent liquidity locks.

Quick Start

Unlock your wallet, then perform a deposit to reserve liquidity, sign the PSBT, and broadcast the transaction.

Frequently Asked Questions about styx

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate BTC to sBTC swaps using a CLI wallet?

To automate BTC to sBTC swaps, you need an unlocked wallet with sufficient BTC balance. The workflow reserves pool liquidity, builds and signs a PSBT, broadcasts the transaction, and tracks the deposit status to completion.

What is the process for building and signing a PSBT for a Bitcoin deposit?

Building and signing a PSBT for a Bitcoin deposit involves reserving liquidity from a defined pool, constructing the transaction, signing it with an unlocked wallet, and broadcasting it to the mempool for tracking.

Do I need a minimum BTC balance to execute a trustless sBTC deposit?

Yes, a sufficient BTC balance is required to execute a trustless sBTC deposit. The system enforces minimum deposit limits and validates wallet state before allowing liquidity reservation and PSBT construction.

Why does my BTC to sBTC deposit workflow require tracking the transaction status?

Tracking the deposit status is required to prevent liquidity locks. The workflow retries status updates across defined pools to ensure the reserved liquidity is properly released or confirmed after the BTC transaction broadcasts.

Can I check sBTC pool liquidity and reserve it before signing a transaction?

Yes, you can verify available sBTC liquidity and reserve it before signing. The workflow performs pool status checks to validate available funds, then reserves the liquidity prior to building and signing the PSBT.

Does the Styx SDK handle the entire BTC to sBTC deposit lifecycle?

The Styx SDK handles the BTC to sBTC deposit lifecycle by integrating with external signing tooling. It manages pool liquidity reservation, PSBT creation, transaction broadcast, and deposit status tracking.