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
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
Create
Buyer creates escrow with USDC payment and terms
Deliver
Seller delivers goods/services and marks as delivered
Confirm
Buyer confirms receipt — funds released to seller
Dispute?
If disputed, arbitrator votes to resolve fairly
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
Freelance Payments
Client deposits USDC in escrow. Freelancer delivers. Funds release on confirmation. No payment disputes.
OTC Trades
Trustless peer-to-peer token trades. No counterparty risk. Smart contract holds both sides until completion.
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.