Deploy your own ERC20 tokens on Base mainnet with one click. No coding required.
- ⚡ Instant Deployment - Create ERC20 tokens in seconds
- 💰 Low Cost - Base's low gas fees mean deployment costs ~$0.01
- 🎨 Beautiful UI - Modern, forge-themed dark interface
- 🔗 On-chain - 100% on-chain, fully decentralized
- 📱 Farcaster Ready - Works as a Farcaster Mini App
- 🔒 Secure - Standard OpenZeppelin ERC20 implementation
- Node.js 18+
- Foundry (for contracts)
- A wallet with ETH on Base mainnet
- Install Foundry dependencies:
cd contracts
forge install OpenZeppelin/openzeppelin-contracts --no-commit
forge install foundry-rs/forge-std --no-commit- Create
.envfile incontracts/:
PRIVATE_KEY=your_private_key_here
FEE_RECIPIENT=0xYourAddress
BASE_RPC_URL=https://mainnet.base.org
BASESCAN_API_KEY=your_basescan_api_key- Deploy to Base mainnet:
forge script script/Deploy.s.sol:DeployScript \
--rpc-url $BASE_RPC_URL \
--broadcast \
--verify- Note the deployed TokenFactory address for the frontend.
- Install dependencies:
cd frontend
npm install- Create
.env.localfile:
NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID=your_project_id
NEXT_PUBLIC_FACTORY_ADDRESS=0xYourDeployedFactoryAddress
NEXT_PUBLIC_APP_URL=https://your-domain.com- Run development server:
npm run dev- Go to WalletConnect Cloud
- Create a new project
- Copy the Project ID to your
.env.local
Each token you create has:
- Custom Name & Symbol - Choose your branding
- Custom Decimals - Standard 18, or 6/8 for stablecoin-like tokens
- Fixed Supply - All tokens minted to your wallet on creation
- Ownership - You're the owner with burn capability
A small creation fee (0.0005 ETH, ~$1.50) is charged per token deployment. This covers:
- Gas optimization
- Contract verification
- Platform maintenance
Base Token Forge works as a Farcaster Frame/Mini App:
- Deploy to Vercel or similar
- Update
NEXT_PUBLIC_APP_URLin your environment - Share the link on Farcaster - it will render as an interactive Frame
- Contracts: Solidity, Foundry, OpenZeppelin
- Frontend: Next.js 14, TypeScript, Tailwind CSS
- Web3: wagmi, viem, RainbowKit
- Chain: Base (Ethereum L2)
- Contracts use battle-tested OpenZeppelin ERC20
- No admin functions on deployed tokens
- Fully auditable, open source code
MIT License - feel free to fork and build your own!
Built with 🔥 on Base
