Custodia

Custodia is a decentralized escrow platform built on Ethereum that revolutionizes secure transactions between buyers and sellers. By leveraging blockchain technology, we eliminate intermediaries while ensuring funds are protected until all agreement terms are met. Custodia provides a transparent, tamper-proof system where transactions are recorded on-chain, giving both parties unprecedented confidence in digital commerce.

Inspiration

We were inspired by:

  1. The $5.5B lost annually to online payment fraud

  2. Centralized escrow services charging exorbitant fees (5-10% per transaction)

  3. The lack of transparency in traditional escrow systems

  4. Ethereum's potential to create trustless financial systems

What it does

Custodia is a decentralized escrow platform that:

🔐 Secures transactions between buyers and sellers using Ethereum smart contracts.

💼 Holds funds in escrow until all agreement terms are met.

⚖️ Provides neutral arbitration for dispute resolution.

🔍 Offers complete transparency with all transactions recorded on blockchain.

💸 Reduces fees by 90%+ compared to traditional escrow services.

🌐 Enables global transactions without intermediaries.

How we built it

Research Phase

  1. Analyzed existing escrow solutions and their limitations

  2. Defined user personas and transaction workflows

  3. Created threat models for fund security

Smart Contract Development

  1. Designed state machine for escrow lifecycle

  2. Implemented multi-signature dispute resolution

  3. Added comprehensive event logging

  4. Conducted 3 audit cycles with test coverage >95%

Frontend Development

  1. Created responsive UI with TailwindCSS

  2. Integrated ethers.js for blockchain interaction

  3. Developed real-time transaction monitoring

  4. Built toast notification system

Challenges we ran into

Smart Contract Security

Preventing vulnerabilities like reentrancy attacks while handling funds.

State Management

Ensuring proper escrow lifecycle transitions (Created → Funded → Delivered → Completed)

Gas Optimization

Reducing transaction costs for end users

User Experience

Making blockchain interactions intuitive for non-technical users

Dispute Resolution

Designing a fair arbitration system without central authority

Testing Complexity

Simulating real-world transaction scenarios and edge cases

Wallet Integration

Supporting multiple Ethereum wallets (MetaMask, Brave Wallet)

Accomplishments that we're proud of

✅ Achieved 95%+ test coverage for smart contracts

✅ Reduced transaction fees to <1% compared to traditional 5-10% escrow fees

✅ Created an intuitive UI that simplifies complex blockchain interactions

✅ Implemented real-time transaction tracking with event notifications

✅ Deployed on Ethereum Sepolia testnet with successful real-world simulations

What we learned

  1. State machine design for financial agreements

  2. Security best practices for DeFi applications

What's next for Custodia

Multi-Chain Expansion

Deploy on Polygon, Arbitrum, and Optimism for lower fees

Token Integration

Support ERC-20 tokens in addition to ETH

Mobile App

Develop native iOS and Android applications

Escrow Templates

Create customizable agreement templates for common use cases

Fiat On-Ramp

Integrate fiat-to-crypto gateways for easier adoption

Team Members

1. Kushal Sapra

Role: Full stack Developer

Mail: Kushalsapra1999@gmail.com

2. Renu Sapra

Role: Product Manager

Mail: renusapra485@gmail.com

Built With

Share this project:

Updates