Overview
After generating your dApp, you can customize it to fit your specific needs. This guide covers common customization patterns.Project Structure
Your generated project follows this structure:Wallet Configuration
Adding More Chains
The CLI supports EVM and Solana chains. You can add additional networks to your configuration:EVM Chains
For EVM-based dApps, edit your provider configuration to include more chains:Solana Clusters
For Solana dApps, you can switch between mainnet, devnet, and testnet:Customizing Wallet Options
Each wallet provider has different customization options:RainbowKit (EVM)
ConnectKit (EVM)
Dynamic (Multi-chain)
Adding Custom Components
Creating a Custom Hook
Add custom contract interaction hooks in thehooks/ directory:
Adding New Pages
Create new pages in theapp/ directory:
Styling and Theming
Tailwind Customization
The generated project uses Tailwind CSS. Customize your theme intailwind.config.ts:
Dark Mode
The generated project includes a theme toggle. Customize dark mode colors inapp/globals.css:
Environment Variables
Configure API keys and environment-specific values in.env.local:
src/generators/env.ts for environment variable setup
Contract ABIs
Add your contract ABIs to theabi/ directory:
Adding Dependencies
Install additional packages as needed:src/config/dependencies.ts for version information
TypeScript Configuration
The generated project uses strict TypeScript. Adjust settings intsconfig.json:
Next Steps
- Check out Troubleshooting for common issues
- Review CLI Options for all available flags
- Explore Wallet Providers for provider-specific guides