Dispose

Generate disposable wallets with true randomness from Pyth Network. Smart accounts + Zero Gas Fee

Repo
Dispose banner

About

Dispose: Pyth Network-Powered Disposable Wallets ๐ŸŽฏ Project Overview Dispose is a cutting-edge Web3 application that generates truly secure, ephemeral cryptocurrency wallets using Pyth Network's verifiable randomness and Pimlico smart account infrastructure on Base mainnet. It's designed for users who need temporary, gasless wallets with enterprise-grade security for one-time transactions, testing, or privacy-focused operations.

๐Ÿ—๏ธ Architecture & Technology Stack

Frontend (React + TypeScript) Framework: React 19 with TypeScript and Vite for lightning-fast development Styling: TailwindCSS with Radix UI components for a polished, accessible interface State Management: React Context for wallet management with localStorage persistence Blockchain Integration: Viem for type-safe Ethereum interactions, Ethers.js for wallet operations Smart Contract Layer (Solidity + Foundry) Contract: EntropyWallet.sol - A custom smart contract implementing Pyth Network's IEntropyConsumer interface Deployed Address: 0x9EfBc6B348CA65bCEda3f4C2afAfbd000d504c79 (Base Mainnet) Development: Foundry framework for testing, deployment, and verification Infrastructure & Services Randomness Source: Pyth Network Entropy (verifiable, tamper-proof randomness) Smart Accounts: Pimlico's account abstraction for gasless transactions Network: Base mainnet for low fees and fast transactions Storage: localStorage for wallet persistence across sessions ๐Ÿ” Core Security Features 1. Pyth Network Entropy Integration The project leverages Pyth Network's entropy system, which provides:

Verifiable Randomness: Cryptographically secure random numbers generated by a decentralized network Tamper-Proof: No single entity can manipulate the randomness generation On-Chain Verification: All randomness is verifiable on-chain through Pyth's infrastructure 2. Smart Contract Randomness Flow 3. Account Abstraction with Pimlico Gasless Transactions: Users don't need ETH to interact with the application Smart Account Benefits: Enhanced security, batch transactions, and custom logic ERC-4337 Compliant: Industry-standard account abstraction implementation ๐ŸŽฒ How It Works: The Complete Flow Step 1: Initial Access User visits the application System checks localStorage for existing wallet If none exists, automatically generates a new disposable wallet Step 2: Entropy-Based Wallet Generation Frontend: Generates initial entropy seed using cryptographically secure random numbers Smart Account Creation: Uses Pimlico's toSimpleSmartAccount to create an ERC-4337 smart account Contract Interaction: Smart account calls the deployed EntropyWallet contract's requestRandomWallet() function Step 3: Pyth Network Randomness Fee Payment: Contract pays Pyth Network's entropy fee (~$0.000013 USD) Randomness Request: Calls Pyth's requestV2() function with the fee Callback Execution: Pyth Network calls back with verifiable randomness via entropyCallback() Wallet Generation: Contract uses the random bytes to generate a deterministic wallet address Step 4: Persistence & Management localStorage Storage: Wallet data is stored locally for session persistence History Tracking: Maintains history of generated wallets (up to 10) Clean UI: Displays as "Disposable Wallet" without technical complexity ๐Ÿ“ Project Structure ๐ŸŒ Live Deployment Details Smart Contract (Base Mainnet) Contract Address: 0x9EfBc6B348CA65bCEda3f4C2afAfbd000d504c79 Pyth Entropy Contract: 0x6E7D74FA7d5c90FEF9F0512987605a6d546181Bb Deployment Cost: ~0.001 ETH Entropy Fee per Wallet: 5,000,000,000,001 wei (~$0.000013 USD) Frontend Application Development: http://localhost:5173/ (Vite dev server) Build: Production-ready with optimized bundles Responsive: Mobile-first design with TailwindCSS ๐Ÿ”ง Key Features & Benefits For Users โœ… Zero Gas Fees: All transactions are gasless through Pimlico paymaster โœ… True Security: Wallet generation uses verifiable, decentralized randomness โœ… Instant Access: Auto-generation on first visit, persistent across sessions โœ… Clean Interface: Simple "Disposable Wallet" branding, no technical jargon โœ… Privacy Focused: Ephemeral wallets for temporary use cases For Developers โœ… Production Ready: Deployed on Base mainnet with real Pyth entropy โœ… Type Safety: Full TypeScript implementation with Viem โœ… Modern Stack: React 19, Foundry, account abstraction โœ… Security First: No client-side private key generation fallbacks โœ… KISS Principle: Simple, focused implementation without unnecessary complexity ๐ŸŽฏ Use Cases Primary Applications Testing & Development: Developers need clean wallets for dApp testing Privacy Transactions: Users want temporary addresses for specific transactions Airdrops & Campaigns: Generate fresh addresses for token distributions Demo & Education: Teaching blockchain concepts without permanent commitments Burner Wallets: One-time use addresses for specific purposes Enterprise Applications DeFi Protocols: Integration for temporary wallet generation Gaming Platforms: Disposable wallets for game-specific transactions DApp Onboarding: Frictionless wallet creation for new users Audit & Compliance: Traceable but ephemeral wallet generation ๐Ÿ›ก๏ธ Security & Trust Model Randomness Security Source: Pyth Network's decentralized oracle network Verification: All randomness is cryptographically verifiable on-chain No Single Points of Failure: Distributed entropy generation across multiple validators Smart Contract Security Audited Patterns: Uses official Pyth SDK interfaces Minimal Attack Surface: Simple, focused contract with clear responsibilities Upgradeable: Can be enhanced while maintaining backward compatibility Infrastructure Security Account Abstraction: ERC-4337 standard implementation Pimlico Infrastructure: Enterprise-grade paymaster and bundler services Base Network: Ethereum L2 with strong security guarantees ๐Ÿ“Š Technical Specifications Dependencies & Versions Performance Metrics Wallet Generation Time: ~30-60 seconds (depends on Pyth callback) Gas Costs: $0 for users (paymaster covers costs) Contract Deployment: 857,258 gas (~$0.002 USD) Storage Efficiency: Minimal localStorage footprint Network Requirements Primary Network: Base Mainnet (Chain ID: 8453) RPC Endpoint: https://mainnet.base.org Required Services: Pyth Network, Pimlico bundler Fallback: Graceful degradation if services are unavailable ๐Ÿš€ Innovation & Differentiation Dispose stands out in the Web3 ecosystem by combining:

True Randomness: Unlike pseudo-random generators, uses Pyth's verifiable entropy Zero Friction: Gasless transactions remove blockchain complexity for users Enterprise Grade: Built with production-ready infrastructure and security practices Developer Friendly: Clean APIs and comprehensive documentation Privacy by Design: Ephemeral nature aligns with privacy-first Web3 principles This project represents the intersection of decentralized randomness, account abstraction, and user experience optimization - creating a new paradigm for temporary wallet generation in the Web3 ecosystem.

From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.

NOCTURN

A secure browser extension wallet with seamless React app integration, encrypted transactions, and persistent session management for a smooth Web3 experience.

Commit >Test >Groan

Our web app lets users connect an Ethereum wallet via WalletConnect, Privy, or Coinbase Wallet to fetch on-chain data. Indexed with **The Graph** and processed by an AI engine, it generates insightful, data-driven reports on wallet activity and trends.