Borrow STX or canonical sBTC with zero collateral in a single atomic transaction. Repay in the same block or the whole thing reverts — trustless by design.
6+
30 STX
STX + sBTC
0.05%
Whether you're building strategies or providing liquidity.
Borrow STX or canonical sBTC instantly with no collateral. Execute arbitrage, liquidations, or any on-chain strategy — the loan is atomic. No repayment = full revert. Zero risk to the protocol.
Deposit STX into the liquidity pool and earn a share of every flash loan fee. Like Aave but for flash loans — your share value grows automatically as fees accumulate. Withdraw anytime.
Everything happens in a single Stacks transaction block.
Call flash-loan with the amount and your receiver contract address.
FlashStack sends you the full loan amount instantly, no questions asked.
Your receiver contract runs — arbitrage, liquidate, swap, anything on-chain.
Return principal + 0.05% fee. If you don't, the whole transaction reverts.
Any Clarity contract can be a FlashStack receiver. Implement one function, deploy, get whitelisted, and access up to 5,000 STX or 0.1 BTC per transaction.
;; Implement this one function
(define-public (execute-stx-flash
(amount uint)
(core principal))
(let (
;; fee = 0.05% of amount
(fee (/ (* amount u5) u10000))
)
;; --- YOUR STRATEGY HERE ---
;; arbitrage, liquidate, swap...
;; --------------------------
;; Repay principal + fee
(stx-transfer?
(+ amount fee)
tx-sender core)
)
)Connect your Leather wallet on Stacks mainnet. No registration, no KYC, no custodians — just code.