Open Net Worth
Open Net Worth is an open-source personal AI wealth assistant you run yourself: one ledger for your whole financial life, worked by an AI agent you control.
翻訳待ち
Atomic flash loan protocol for Bitcoin Layer 2 (Stacks blockchain)
翻訳待ち
Loading the full README. The saved excerpt is shown below.
Open flash-liquidity infrastructure for Bitcoin Layer 2
Atomic, uncollateralized flash loans on Stacks (Bitcoin L2). Borrow STX or canonical sBTC with zero collateral, run any on-chain strategy, and repay — all in a single transaction. If repayment fails, the whole transaction reverts. Zero risk to the protocol.
FlashStack is neutral, standalone flash-liquidity any Clarity contract can integrate — no lending market to join. It is also the rail behind DeepStack, a Bitcoin-native market-making agent that rebalances through it:Read the full README ↗Open flash-liquidity infrastructure for Bitcoin Layer 2
Atomic, uncollateralized flash loans on Stacks (Bitcoin L2). Borrow STX or canonical sBTC with zero collateral, run any on-chain strategy, and repay — all in a single transaction. If repayment fails, the whole transaction reverts. Zero risk to the protocol.
FlashStack is neutral, standalone flash-liquidity any Clarity contract can integrate — no lending market to join. It is also the rail behind DeepStack, a Bitcoin-native market-making agent that rebalances through it:
DeepStack volume → FlashStack fees → LP yield → deeper reserves → more DeepStack capacity ↻
The first live DeepStack → FlashStack → Bitflow flash-rebalance ran on mainnet in one atomic transaction.
Flash loan. Call flash-loan(amount, receiver) on a core. The core sends the asset to your receiver, invokes its callback, and requires the reserve to grow by at least the fee before the transaction ends — otherwise everything reverts. Repayment is never trusted; it is measured. This is the Aave live-reserve model, so a malicious receiver can only fail, never drain the pool.
LP pool. Anyone deposits STX or sBTC and receives shares. Every flash-loan fee stays in the pool, so each share appreciates. Withdraw principal + accrued yield anytime. Share value is exposed to lending protocols via a collateral oracle (get-share-price / get-lp-value).
Fee: 0.05% per loan. Assets: STX and canonical sBTC (SM3VDXK3WZZSA84XXFKAFAF15NNZX32CTSG82JFQ4.sbtc-token).
Flash-loan engines & receivers — SP20XD46NGAX05ZQZDKFYCCX49A3852BQABNP0VG5
| Contract | Description |
|---|---|
flashstack-stx-core | STX flash-loan engine (reserve model) |
flashstack-sbtc-core | Canonical sBTC flash-loan engine |
bitflow-arb-receiver-v4 | Bitflow STX/stSTX arbitrage — de-approved (F-10): no contract-caller check. Hardened rewrite: bitflow-arb-receiver-v5, not yet deployed |
velar-sbtc-arb-receiver | Velar wSTX↔sBTC arbitrage — non-functional, de-approved: hardcodes Velar pool u70, which is not an sBTC/STX pool |
zest-v2-liquidation-receiver | Zero-capital Zest liquidator, v0-8-market (5 modes) — not yet deployed |
alex-arb-receiver-v2 | ALEX STX/ALEX arbitrage — de-approved (F-10): no contract-caller check. Approved successor: alex-arb-receiver-v5 |
stx-test-receiver / sbtc-test-receiver | Minimal borrow-and-repay receivers — de-approved (F-10): no contract-caller check. A loan naming either returns (err u306) |
Hardened LP pools & oracle (v2) — SPR9PQANV6XHSDNRAX2GNKCA5Z1KH61961KE0BYG
| Contract | Description |
|---|---|
flashstack-stx-pool-v2 | STX LP pool — virtual-shares hardened |
flashstack-sbtc-pool-v2 | sBTC LP pool — virtual-shares hardened, built-in oracle |
flashstack-pool-oracle-v2 | STX collateral oracle |
The v2 pools add virtual shares/assets (OpenZeppelin ERC-4626 style) against first-depositor share inflation. The earlier v1 pools are deprecated.
Status: mainnet, not yet professionally audited. Use at your own risk.
This is the beginning of the README. Read the rest at the original. Read the full README ↗