FractalPay
Trustless Escrow & DCA on Base
Smart contract-powered payments with built-in dispute resolution, anti-griefing mechanisms, and automated dollar-cost averaging. V2 with security audit fixes.
FractalEscrow V2
FractalDCA V2
Trade — connect your wallet
Real transactions against the FractalEscrow contract above. No demo data — every action here sends a real Base transaction and reads the trade's current on-chain state.
Escrow — Trustless Payments
Trustless Escrow
Funds held in smart contract until both parties confirm. No middleman. No trust required.
Dispute Resolution
Built-in arbitration with reentrancy-guarded voting. Fair resolution for both parties.
Anti-Griefing Cancel
Prevents buyers from locking seller funds indefinitely. Timeout-based auto-resolution.
Emergency Withdraw
30-day safety mechanism ensures funds are never permanently locked in any scenario.
How Escrow Works
A P2P wFRAC-for-fiat trade with a named counterparty — not an open marketplace. Fiat moves off-chain (bank transfer, Nequi, SPEI, etc); only the wFRAC leg is on-chain.
Create
Seller deposits wFRAC into escrow, naming a specific buyer address, fiat amount & method
Fiat Sent
Buyer confirms the trade, then marks fiat as sent (off-chain, outside the contract)
Release
Seller confirms fiat receipt off-chain — releases the escrowed wFRAC to the buyer
Dispute?
Either party can open a dispute; 3 named arbitrators vote off-UI to resolve it
DCA — Dollar Cost Averaging
Automated DCA
Set recurring purchases at any interval. Smart contract executes automatically — no need to check markets.
Minimum Amount Out
Set slippage protection per swap. Never execute a trade below your price threshold.
Swap Deadline
Time-bounded execution prevents stale swaps from executing at unfavorable prices.
Router Timelock (48h)
DEX router changes require 48h delay. Prevents malicious router swaps.
V2 Security Improvements
Escrow V2 Fixes
- Reentrancy guard on voteOnDispute
- FiatSent/Disputed timeout (3x multiplier)
- No duplicate arbitrators
- Anti-griefing cancel mechanism
- Emergency withdraw (30 days)
DCA V2 Fixes
- minAmountOut param for slippage control
- Swap deadline prevents stale execution
- Router timelock (48h delay)
- SafeERC20 for all token transfers
- Enhanced event emissions
Use Cases
P2P OTC Trades
Sell wFRAC for fiat to a specific counterparty without trusting them first. wFRAC stays escrowed until you confirm fiat receipt.
Cross-Border Settlement
Named buyer + seller, any fiat currency/payment method recorded on-chain (informational). No open order book — you already know who you're trading with.
DCA into Any Token
Automate regular purchases of any ERC-20. Set your schedule, amount, and slippage. Contract executes for you.
FractalPay: Real DeFi Infrastructure
Verified smart contracts on Base. 62 tests passing. V2 security audit complete. Part of the FractalAI ecosystem — invest in FRAC at $0.25.