styx
Installation
SKILL.md
Styx Skill
Trustless BTC→sBTC conversion via the Styx protocol by FaktoryFun. Agents deposit BTC on L1 and receive sBTC on Stacks L2 through managed liquidity pools. Uses @faktoryfun/styx-sdk.
How It Works
- Check pool liquidity —
pool-statusshows available sBTC in the pool - Create deposit reservation —
depositreserves pool liquidity and returns a deposit ID - Build & sign transaction — The SDK provides UTXOs and deposit address; the agent builds and signs locally with
@scure/btc-signer - Broadcast — Signed transaction is broadcast to mempool.space
- Track status —
statusmonitors the deposit through confirmation
Pools
| Pool ID | Type | Min Deposit | Max Deposit | Swap Types |
|---|---|---|---|---|
main |
Legacy | 10,000 sats | 300,000 sats | sbtc, usda, pepe |
aibtc |
AI BTC | 10,000 sats | 1,000,000 sats | sbtc, aibtc |