Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Jumping off point for viewing Cardano Dapp Wallets within a Nextjs Application. With ChakraUI & TypeScript
Nextjs Cardano DappWallet Boilerplate is a Next.js and Chakra UI starter template built with TypeScript for integrating Cardano dapp wallets into a web application. It serves as a concrete jumping-off point for developers who want to see how to connect Cardano wallets and query blockchain data using the Blockfrost API.
This template bootstraps a Next.js application with Chakra UI and TypeScript, pre-configured for Cardano dapp wallet integration. It consumes a Blockfrost API key that you supply via a .env.local file and uses it to retrieve Cardano blockchain details. The project outputs a running web app with wallet connection capabilities, based on the community-maintained nextjs-chakra-boilerplate.
createComponent.sh shell script that creates new components in the ./components directory using -a ComponentName.nextjs-chakra-boilerplate, so you get conventional Next.js folders like pages, components, and public.First, install dependencies with npm install or yarn install. Next, copy .env.local.example to .env.local and add your Blockfrost API key. Then start the development server with npm run dev or yarn dev. The application runs on http://localhost:3000 and is ready for wallet integration.
Yes, the README states that you need an API key from blockfrost.io to retrieve details about the Cardano blockchain. You add it to a .env.local file.
It uses Next.js as the React framework, Chakra UI for styling, TypeScript for static typing, and the Blockfrost API for Cardano data.
Yes, it includes a shell script ./createComponent.sh -a ComponentName that generates a new component skeleton in the ./components directory.
