This repository provides a template for building decentralized applications (dApps) on the Solana ecosystem using the Next.js framework. It aims to streamline the development process by including essential packages commonly used in Solana dApp development. Also includes the basic wallet setup and a few extra components for convenient handling of NFTs.
- NFT Gallery: showcase NFTs owned by user.
- Improve default theme/add dark theme
- Header w/ MobileMenu and wallet connection button.
- NFT Select.
- Next.js: A popular React framework for server-rendered applications.
- @solana/web3.js: Solana's JavaScript library for interacting with the Solana blockchain.
- @metaplex-foundation/js: A collection of JavaScript libraries for building NFT and decentralized marketplace applications on the Solana network.
- @headlessui/react: A set of completely unstyled, fully accessible UI components for building user interfaces.
- @heroicons/react: A set of icons designed for use with React.
- Prettier: A code formatter that ensures consistent code style and readability.
- Tailwind CSS: A utility-first CSS framework for rapidly building custom user interfaces.
- TypeScript: A statically typed superset of JavaScript that enables better code organization and helps catch errors early.
Follow the steps below to set up your Solana dApp using this template:
- Clone this repository to your local machine.
- Install the dependencies by running
pnpm install
. - Customize the project according to your dApp's requirements (start at
app/page.tsx
). - Start the development server with
pnpm run dev
. - Access your dApp in a web browser at
http://localhost:3000
.
- Solana Documentation
- Next.js Documentation
- Tailwind CSS Documentation
- TypeScript Documentation
- React Documentation
This project is licensed under the MIT License. See the LICENSE file for details.
Contributions are welcome! If you have any suggestions, bug reports, or feature requests, please create an issue or submit a pull request.