// the find
coinbase/build-onchain-apps
Accelerate your onchain creativity with the Build Onchain Apps Template. ⛵️
BOAT is a Next.js + Foundry monorepo template from Coinbase for building dApps on their Base L2 chain. It wires together wagmi/viem for contract interaction, Smart Wallet for account abstraction, and includes two working example contracts (BuyMeACoffee, ERC1155 mint). Aimed at hackathon participants and early-stage dApp builders who want a starting point that isn't a bare create-next-app.
Smart Wallet integration is the real differentiator here — account abstraction out of the box means users don't need MetaMask or gas, which removes the single biggest onboarding wall in web3. The monorepo structure with contracts/ and app/ is sensible and keeps ABI-to-frontend wiring explicit rather than magical. Foundry with Anvil for local testing is the right choice — faster and less painful than Hardhat. The paymaster proxy route avoids exposing your CDP API key to the browser, which is a security decision most tutorials skip.
Last push was February 2025 and wagmi/viem move fast — there's a real chance the dependency versions are already stale and you'll hit breaking changes on install. The ABI update workflow is manual copy-paste with jq, which will bite you the second you have more than one contract. No multichain support beyond Base Sepolia/mainnet, so if you want Ethereum mainnet or other L2s, you're refactoring the config yourself. Test coverage is thin — the example tests mostly check that components render, not that the contract interactions work end-to-end.