For the current Base Account, missions, sponsored badge, and Base Dashboard setup, see Base App and Missions setup.
Create and trade hand-drawn art tokens on Base blockchain
DrawCoin is a decentralized platform for creating and trading hand-drawn art tokens. Built for Base App with Base Account and the Zora SDK, it combines a guided drawing flow with verified missions and non-transferable achievement badges.
- Hand-drawn Canvas: Interactive drawing canvas with professional tools
- Custom Drawing Tools: Brushes, colors, shapes, and layers
- High-Quality Output: 1024x1024 resolution artwork
- Base App: The primary DrawCoin experience, with Base Account wallet support
- Web Browser: Full desktop and mobile browser support
- Farcaster Social: Optional sharing and profile discovery
- Wallet Integration: Base Account, MetaMask, Coinbase Wallet, and more
- Responsive Design: Optimized for all screen sizes
- Real-time Market Data: Live coin prices and trading volumes
- Portfolio Management: Track your coin holdings and performance
- Search & Discovery: Find coins by name, symbol, or creator
- Next.js 15 - React framework with App Router
- TypeScript - Type-safe development
- Tailwind CSS - Utility-first styling
- React Query - Data fetching and caching
- Wagmi - Ethereum React hooks
- Base Network - Ethereum L2 for fast, cheap transactions
- Zora SDK - Coin creation and trading infrastructure
- Viem - TypeScript Ethereum library
- IPFS - Decentralized storage for artwork and metadata
- Canvas API - Drawing functionality
- Pinata - IPFS pinning service
- Supabase - PostgreSQL database and real-time subscriptions
- Next.js API Routes - Server-side functionality
- Vercel - Deployment and hosting
- Base Account - Primary wallet experience in Base App and on the web
- Farcaster Web - Optional social sharing intent and profile enrichment
- Coinbase Wallet - Wallet connectivity
- Ethers.js - Ethereum interactions
- Node.js 18+ and npm/yarn
- Git for version control
- A wallet (MetaMask, Coinbase Wallet, etc.)
- Clone the repository
git clone https://github.com/yusufky63/drawcoin.git
cd drawcoin- Install dependencies
npm install
# or
yarn install-
Environment Setup Copy
.env.exampleto.env.local, replace every placeholder, and follow the Base App missions setup. -
Database Setup
# Run Supabase migrations
npx supabase db reset- Start Development Server
npm run devVisit http://localhost:3000 to see the application.
DrawCoin makes it easy for anyone to create, trade, and manage art-backed tokens. Whether you're on your phone or computer, the entire platform is designed to be simple and accessible. Here's everything you can do:
Create Art by Hand:
Draw it Yourself (Custom Canvas)
- Open the drawing canvas on any device - mobile or desktop
- Use professional drawing tools: different brush sizes, colors, shapes
- On mobile: Touch and draw with your finger or stylus
- On desktop: Use your mouse or drawing tablet for precise control
- Preview your artwork in real-time as you create
- Capture your masterpiece when you're happy with it
Adding Your Token Details:
- Give your token a creative name and symbol (like "SpaceCat" - $SCAT)
- Write a description of what makes your artwork special
- Optional: Add trusted co-owners who can help administer the token
Making it Official:
- Your artwork is saved permanently on IPFS (decentralized storage that never goes away)
- Your token is created on the Base blockchain using Zora's trusted protocol
- You receive 10 million initial tokens - these are yours!
- Everything happens in seconds, and you're ready to trade
Finding Tokens to Trade:
- Home Page: See trending tokens with live price ticker at the top
- Search: Find tokens by name, symbol, or creator
- Filters: Sort by price, market cap, 24h volume, or newest
- Watchlist: Save your favorite tokens for quick access (works on all devices)
- Live Updates: Prices and market data refresh in real-time
Buying Tokens:
- Buy with ETH on Base using a supported EOA wallet
- Use quick percentage buttons (25%, 50%, 75%, 100% of your balance)
- Slippage protection: Set how much price change you'll accept
- See the USD value before you confirm
- Instant wallet confirmation - no complicated steps
Selling Tokens:
- Sell any amount you own with one click
- Same easy interface as buying
- Convert back to ETH on Base
- See your profit/loss in real-time
Smart Trading Features:
- Price Charts: View interactive price history (powered by GeckoTerminal)
- Recent Trades: See what others are buying and selling
- Live Market Data: Market cap, 24h volume, holder count
- Slippage Control: Protect yourself from price changes during busy times
Track Everything in One Place:
- Total Balance: See your entire portfolio value in USD
- Holdings Tab: All tokens you own with current prices and 24h changes
- Your Tokens Tab: Tokens you created with performance stats
- Transaction History: Complete record of all your trades
- Mobile Optimized: Swipe through tabs easily on your phone
Portfolio Features:
- Sort & Filter: Organize by name, market cap, volume, or balance
- Quick Actions: Buy more or sell directly from your portfolio
- Performance Tracking: See gains/losses on each token
- Share Portfolio: Share your success on social media with one click
- Zora Profile Integration: Your Web3 identity displayed beautifully
Works Everywhere:
- Base App: The primary experience for creating, discovering, and trading DrawCoins
- Mobile Browsers: Full experience on iPhone, Android, any mobile browser
- Desktop Browsers: Large screen optimized for serious trading
- Farcaster Social: Optional token sharing and creator profile links
- Progressive Design: Interface adapts perfectly to your screen size
Mobile-Specific Features:
- Compact navigation with bottom menu bar
- Touch-optimized drawing canvas
- Swipe gestures for tab navigation
- One-handed operation friendly
- Fast loading even on slower connections
Desktop-Specific Features:
- Larger drawing canvas (1024x1024 resolution)
- Multiple windows support
- Keyboard shortcuts
- Advanced chart analysis
- Side-by-side token comparison
For Your Security & Convenience:
- Wallet Connection: MetaMask, Coinbase Wallet, WalletConnect supported
- Network Switching: Automatically switches to Base network for you
- Transaction History: Every buy, sell, and creation is recorded
- Real-Time Notifications: Toast messages keep you informed of every action
- Error Recovery: Smart retry system if something goes wrong
Social & Community:
- Share Tokens: Share your favorite tokens on Twitter and Farcaster
- Creator Profiles: See all tokens created by an artist
- Recent Transactions: Community-wide trade feed
- Global Stats: Platform statistics and top performers
- Comments (Coming Soon): Discuss tokens with other traders
Advanced Features (Simple to Use):
- Multiple Trading Pairs: Trade between any supported tokens
- Onchain Data Display: See blockchain details without being technical
- Price Feeds: Accurate prices from multiple sources (Binance, CoinGecko, etc.)
- IPFS Integration: Your art is stored forever, decentralized
- Analytics: Track platform growth and your personal stats
Complete Beginner?
- No coding knowledge needed - ever
- Clear instructions at every step
- Help tooltips throughout the platform
- Start with the guided hand-drawn canvas
Experienced Trader?
- Advanced slippage controls
- Quick percentage trading buttons
- Live price charts and analytics
- Multi-token portfolio management
Artist?
- Professional drawing tools
- High-resolution artwork (1024x1024)
- Your art stored permanently
- Keep creating - no limits
Mobile User?
- Everything works perfectly on your phone
- Create, trade, and manage on the go
- Touch-optimized for one-handed use
- No desktop required
- No Barriers: Anyone can create tokens, no technical skills required
- Your Art, Forever: IPFS ensures your artwork never disappears
- Fast & Cheap: Base network means quick transactions and low fees
- Mobile First: Full power in your pocket
- Community Driven: Built for artists, traders, and collectors
- Transparent: Everything on blockchain, fully verifiable
- Growing: New features added regularly based on user feedback
βββββββββββββββββββ ββββββββββββββββββββ βββββββββββββββββββ
β Frontend β β Backend APIs β β Blockchain β
β β β β β β
β β’ Next.js App βββββΊβ β’ Coin Creation βββββΊβ β’ Base Network β
β β’ Drawing Canvasβ β β’ Mission Checks β β β’ Zora Protocol β
β β’ Wallet UI β β β’ IPFS Upload β β β’ Smart Contractsβ
β β’ Market View β β β’ Market Data β β β
βββββββββββββββββββ ββββββββββββββββββββ βββββββββββββββββββ
β β β
β ββββββββββββββββββββ β
ββββββββββββββββΊβ External APIs ββββββββββββββ
β β
β β’ Supabase DB β
β β’ IPFS/Pinata β
β β’ Base Dashboard β
β β’ Price Feeds β
ββββββββββββββββββββ
- Monetize Digital Art: Turn drawings into tradeable coins
- Build Community: Engage with collectors and fans
- Retain Ownership: Keep creator rights and royalties
- Global Reach: Access worldwide traders instantly
- Discover Unique Art: Find one-of-a-kind digital artwork-backed coins
- Support Artists: Directly support creators you love
- Investment Potential: Trade coins as they appreciate
- Portfolio Diversification: Add art-backed coins to your holdings
- Open Source: Learn from production-ready Web3 code
- Extensible Platform: Build additional features and integrations
- Modern Stack: Next.js, TypeScript, and Web3 best practices
- Scalable Architecture: Handle thousands of users and transactions
- Default Network: Base Mainnet (Chain ID: 8453)
- Supported Wallets: MetaMask, Coinbase Wallet, WalletConnect
- Gas Optimization: Automatic gas price optimization
- Primary Gateway: Custom Pinata gateway for fast access
- Fallback Gateways: Multiple IPFS gateways for reliability
- Metadata Format: Standard coin metadata with image references
- Wallet Identity: Base Account with SIWE and Basename resolution
- Verified Progress: Official Zora/Base events and signed watchlist changes
- Badges: Soulbound ERC-1155 claims with optional sponsored gas
- Notifications: Base App pin and opt-in status through Base Dashboard
- Zora SDK: Battle-tested smart contracts for coin creation
- Base Network: Ethereum L2 with full security guarantees
- Mission Badges: A focused soulbound contract with expiring, replay-safe claims
- IPFS Storage: Decentralized, immutable artwork storage
- Metadata Validation: Input sanitization and validation
- Rate Limiting: API protection against abuse
- User Keys: User private keys never leave their wallet; the badge signer is a separate server-only operational key
- User Consent: All transactions require explicit user approval
- Network Validation: Automatic network switching for safety
- Zora SDK - For providing robust token infrastructure
- Base Network - For fast and affordable transactions
- Farcaster - For optional social sharing and profile enrichment
- Supabase - For database and real-time functionality
- Vercel - For deployment and hosting
Made with β€οΈ for the Web3 art community