jingswap-v2
Installation
SKILL.md
Jingswap V2 Skill
Limit-price auction for swapping sBTC against STX on Stacks. Two markets:
| Market | Contract | Premium |
|---|---|---|
sbtc-stx-market (default) |
SPV9K21TBFAK4KNRJXF5DFP8N7W46G4V9RCJDC22.sbtc-stx-0-jing-v2 |
0% (oracle price) |
sbtc-stx-20bp-stx-premium |
SPV9K21TBFAK4KNRJXF5DFP8N7W46G4V9RCJDC22.sbtc-stx-20-jing-v2 |
0.20% STX bonus |
Key Differences from V1
- Limit prices required on all deposits (in sats/STX)
- 2 phases only: deposit (10 blocks ~20s) then settle (no buffer)
- Bundled settlement:
close-and-settlein a single atomic tx (reverts entirely if fails) - No separate close-deposits — avoids stuck cycles
- Limit updates without re-depositing via
set-stx-limit/set-sbtc-limit