romariokav.in
  • home
  • timeline
  • projects
  • travel
  • gallery
projects/1 AD · Aug 2025

PDFi

Prize winner, ETHGlobal New York

PDFi, 1 of 4
hackathon
ETHGlobal New York 2025
when
Aug 2025 · 1 AD
where
New York · in person
won
  • Coinbase Developer Platform Build a Great Onchain App Using CDP
  • Fern Best Finance App on Fern
made with
  • Ethereum
  • Circle / USDC
  • Coinbase CDP
  • Solidity
  • TypeScript
  • Hardhat
live demoshowcasesourceon the timeline

what it is

PDFi: The First Interactive PDF Blockchain Platform

PDFs have been static documents for 30+ years. We've cracked the code to make them interactive with blockchain networks. A PDF that can actually send cryptocurrency transactions is revolutionary.

Why PDFs Are Perfect

Universal Familiarity

  • Everyone knows PDFs - from your grandma to corporate executives
  • No learning curve - people already understand how to open, view, and interact with PDFs
  • Trusted format - PDFs are the gold standard for official documents
  • Works everywhere - every device, every operating system, every browser

Traditional Finance Still Runs on PDFs

  • Invoices are sent as PDFs
  • Contracts are signed as PDFs
  • Receipts are generated as PDFs
  • Bank statements come as PDFs
  • Tax documents are PDFs

The entire financial world already operates on PDFs. We're just making them functional.

Real-World Impact: Hackathon Example

The Problem: Hackathon organizers spend weeks chasing winners for payment details, bank accounts, wire transfers, international fees, currency conversions.

The PDFi Solution

  • Winner gets a PDF invoice
  • Clicks "Pay Now"
  • Money is sent instantly
  • No back-and-forth emails
  • No bank account sharing
  • No international wire fees
  • The PDF pays for itself

Multi-Chain, Multi-Token Support

Users can withdraw from

  • Ethereum (ETH, USDC, USDT, DAI)
  • Base (ETH, USDC, USDT)
  • And more chains coming...

One PDF wallet, access to the entire crypto ecosystem.

The Core Innovation: PDF + Blockchain Connection

We've connected the world's most trusted document format to the world's most innovative financial technology.

Endless Use Cases

Business & Finance

  • Invoices that pay themselves
  • Credit memos with instant settlement
  • Purchase orders with automatic payment
  • Expense reports with direct reimbursement

Digital Assets

  • Gift cards that work globally
  • Vouchers with blockchain verification
  • Burner wallets for temporary use
  • Prepaid cards without physical cards

Events & Services

  • Event tickets with built-in payment
  • Service contracts with automatic billing
  • Subscription renewals via PDF
  • Membership cards with crypto benefits

�� Why This Changes Everything

1. No More App Downloads

  • Users don't need MetaMask, Coinbase Wallet, or any crypto app
  • Just open the PDF and start using it
  • Works on any device with a PDF reader

2. Instant Global Payments

  • Send money to anyone, anywhere, instantly
  • No bank accounts needed
  • No international wire fees
  • No currency conversion delays

3. Self-Executing Documents

  • PDFs that actually do what they say
  • Invoices that pay themselves
  • Contracts that execute automatically

how it's made

How PDFi Was Built: The Technical Deep Dive

The Core Architecture

PDFi is built on a three-tier architecture that bridges the gap between static PDF documents and dynamic blockchain networks. The frontend creates interactive PDFs, the backend handles blockchain operations, and the PDFs themselves contain embedded JavaScript that communicates with our infrastructure.

CDP (Coinbase Developer Platform) Integration

The backbone of our blockchain operations is CDP, which provides enterprise-grade account management and transaction capabilities. CDP handles the complex aspects of blockchain interaction that would be impossible to implement securely in a PDF environment.

Key CDP Features We Leverage

  • Account Management: Each PDF wallet gets a dedicated CDP account with its own address
  • Transaction Signing: CDP handles the cryptographic signing of transactions
  • Multi-Chain Support: Seamless switching between Ethereum, Base, and other networks
  • Balance Management: Real-time balance checking across multiple tokens
  • Gas Optimization: Automatic gas estimation and fee management

Technical Implementation

The CDP service handles all blockchain operations through their REST API, creating accounts for PDF wallets with unique identifiers and managing the entire lifecycle of each wallet. When a user creates a PDF wallet, we instantiate a new CDP account that becomes the underlying blockchain address for that specific PDF.

FERN API Integration

FERN provides the swap functionality that enables PDF wallets to exchange between different cryptocurrencies. This is particularly crucial for the "send-eth-with-swap" PDF variant.

FERN's Role

  • Quote Generation: Real-time exchange rates for crypto pairs
  • Swap Execution: Atomic swaps between different tokens
  • Slippage Protection: Ensures users get fair exchange rates
  • Multi-DEX Aggregation: Routes through multiple decentralized exchanges

Technical Challenges with FERN

  • Quote Expiration: FERN quotes expire quickly, requiring careful timing
  • Slippage Management: Need to handle price movements during transaction confirmation

Dynamic Wallet Integration

Dynamic provides the wallet connection layer that allows users to interact with PDFs using their existing crypto wallets. This eliminates the need for users to manage private keys within PDFs.

Dynamic's Benefits

  • Multi-Wallet Support: Works with MetaMask, Coinbase Wallet, WalletConnect, etc.
  • Cross-Platform: Functions on web, mobile, and desktop
  • Security: Private keys never leave the user's wallet
  • User Experience: Familiar wallet connection flow

Implementation Details

nearby

  • CAASalso Ethereum, Circle / USDC, Coinbase CDP
  • blockchAInalso Ethereum, Coinbase CDP
  • WalletSheetsalso Ethereum, Circle / USDC
  • ApprovalGuardianalso Ethereum, Circle / USDC
← earlierintoStellarlater →Hide&Seek