Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Build your own Solana dApp with NextJS and TypeScript
The Nextjs Solana Starter Kit is a boilerplate for building Solana dApps with Next.js and TypeScript, providing wallet connection, on-chain transactions, and data fetching via Helius API out of the box.
The Nextjs Solana Starter Kit is an open-source boilerplate by aeminium-labs that gives developers a foundation for building Solana dApps. It runs on Next.js with TypeScript and includes examples for wallet authentication, SOL and SPL token transfers, transaction confirmation, and name-service lookups. The template is distributed as a GitHub repository that can be bootstrapped with npx create-next-app -e https://github.com/aeminium-labs/nextjs-solana-starter-kit.
@solana/wallet-adapter with Phantom and Backpack pre-configured, and auto-connect enabled for returning users.@solana/web3.js and @solana/spl-token.@solana/name-service to find the Twitter handle associated with a wallet address.react-hot-toast for transaction feedback.@solana/web3.js into Next.js API routes.npx create-next-app -e https://github.com/aeminium-labs/nextjs-solana-starter-kit..env.local file.npm run dev to start the development server and interact with the wallet connection and examples.Yes, both Phantom and Backpack are pre-configured in the wallet-adapter setup, and you can easily add other wallets by changing the configuration.
Yes, the template uses Helius API to fetch on-chain data, such as the NFT list. You can get an API key from helius.xyz and add it to your .env.local file.
Yes, the template is designed for deployment on Vercel. Run npm run build locally to check for errors, link your repository, and push to the main branch to trigger automatic deployments.