Bitcoin / Stacks· Pre-launch
Stacks Capital
One non-custodial place to put Bitcoin to work on Stacks.
ArchitecturePre-launch
Stacks Capital
01Protocol reads
02Evidence + freshness
03Signed registry
04Guarded plan
05Wallet signs
TypeScriptClarityEd25519 registryPartner SDKPlaywright
Overview
Moves BTC into sBTC, compares verified yield, borrows against Bitcoin collateral and swaps, with the risk and evidence behind every number. The repo holds the platform (adapters, signed registry, guarded plans, a durable workflow engine and a public SDK) and the app built on it.
The problem
DeFi dashboards average away disagreements between price sources, show stale rates as current, and present unsupported positions as zero. For Bitcoin holders that's how liquidations happen.
By the numbers
700+Automated tests
4Protocol adapters
K01–K40Release gates
What I built
- Evidence-gated reads: readings older than 300 seconds can't drive a ranking, and disagreeing price sources withhold the price
- An Ed25519-signed capability registry, where an unreviewed contract can never produce an executable plan
- Guarded plans whose minimum output is enforced both as a contract argument and as a deny-mode post-condition
- Adapters for sBTC, Zest, Granite and Bitflow, each conformance-tested against fixtures
- Backup, restore and rollback drills, a threat model and a published pilot checklist
Decisions
Publish the no-go
The launch decision is recorded as no-go until named blockers close, and the README says so. A green test suite is not evidence that a product works.
How it flows
ArchitecturePre-launch
Stacks Capital
01Protocol reads
02Evidence + freshness
03Signed registry
04Guarded plan
05Wallet signs
TypeScriptClarityEd25519 registryPartner SDKPlaywright