Stablecoin payments that protect you — automatic refunds when fraud is attested.

Bringing PayPal-like consumer protection to on-chain stablecoin payments using fraud oracles and transparent smart contracts.
Traditional payment systems on Web2 offer robust buyer protection and fraud detection, but can often come with high fees (ex: 2-3% per transaction) and centralized control. Meanwhile, Web3 payments offer low costs and transparency but lack consumer protection—once you send crypto, it's gone. Users are left choosing between safety and cost-efficiency.
SafeSend is a decentralized escrow platform built on Ethereum that combines the security of traditional payment processors with the low-cost transparency of blockchain technology. By using PYUSD (PayPal's regulated stablecoin) and a modular fraud oracle architecture, SafeSend enables:
Prototype built for the EthOnline 2025 hackathon.
Demo url: h (deployed on testnet)
SafeSend is built around three key partner technologies: PYUSD, Hardhat, and Blockscout.
PYUSD – PayPal's regulated stablecoin serves as the payment rail for all SafeSend escrow transactions. Because it's fully ERC-20 compatible and backed by real-world reserves, it provides the reliability and consumer confidence needed for escrow-based payments.
PYUSD Integration in SafeSend:
Hardhat – Used for contract development, deployment, and verification. Hardhat's comprehensive tooling environment made it possible to build a production-ready escrow system with modular oracle architecture.
Hardhat Integration in SafeSend:
yarn deploy:with-oracle script uses Hardhat to deploy both contracts to Sepolia/Mainnet and outputs addresses for frontend .env configurationBlockscout – Integrated as both a transparency layer and developer tool using the official Blockscout SDK (@blockscout/app-sdk). Every SafeSend action (deposit, fraud attestation, refund, release) emits an event visible through Blockscout's explorer and SDK, making the entire fraud arbitration process publicly auditable.
Blockscout SDK Integration in SafeSend:
🛡️ Enterprise-Grade Fraud Protection at Blockchain Costs
🔄 Evolving Security Without Contract Redeployment
💰 Cost-Effective Fraud Prevention
⚖️ Transparent Trust Model
SafeSend uses a oracle pattern where the payment escrow contract (SafeSendContract) consults an external fraud detection oracle (ex: SimpleFraudOracle) through a standardized interface (IFraudOracle). This architectural separation enables:
The oracle evaluates transactions against blacklists, amount limits, behavioral patterns, and manual flags—returning a simple pass/fail decision. Flagged transactions are automatically refunded, protecting buyers without manual dispute resolution.
Example contract transactions: h
SafeSend is designed for independent deployment—each service provider deploys their own SafeSendContract instance with their choice of fraud oracle. The public, auditable contract code ensures transparency while the separate oracle design allows upgrading fraud detection without redeploying the payment contract.
SafeSend combines on-chain logic, stablecoin security, and oracle-based fraud detection to create a protection system for consumer payments.

