BTC→sBTC conversion via Styx protocol (btc2sbtc.com) — pool status, fee estimates, deposit creation, PSBT signing, broadcast, and deposit tracking.
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.
pool-status shows available sBTC in the pooldeposit reserves pool liquidity and returns a deposit ID@scure/btc-signerstatus monitors the deposit through confirmation| 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 |
bun run styx/styx.ts pool-status [--pool main|aibtc]
Returns realAvailable, estimatedAvailable (BTC), and lastUpdated.
bun run styx/styx.ts pools
Lists all available pools with configs and active status.
bun run styx/styx.ts fees
Returns current Bitcoin network fee estimates (low/medium/high in sat/vB).
bun run styx/styx.ts price
Returns current BTC price in USD.
bun run styx/styx.ts deposit --amount <sats> --stx-receiver <addr> --btc-sender <addr> [--pool main|aibtc] [--fee low|medium|high]
Full headless deposit flow: creates reservation, prepares PSBT, signs with wallet key, broadcasts to mempool.space, and updates deposit status. Requires an unlocked wallet.
bun run styx/styx.ts status --id <deposit-id>
bun run styx/styx.ts status --txid <btc-txid>
Check deposit status by deposit ID or Bitcoin transaction ID.
bun run styx/styx.ts history --address <stx-addr>
Get deposit history for a Stacks address.
initiated — Deposit record created, liquidity reservedbroadcast — Bitcoin tx broadcast to mempoolprocessing — At least 1 BTC confirmationconfirmed — Required confirmations reached, sBTC mintedrefund-requested — User requested refundcanceled — Deposit canceled, liquidity releasedpool-status before depositing to verify sufficient liquidity