NFT Mart is a decentralized marketplace for discovering, collecting, and selling extraordinary NFTs. Built with Next.js, Hardhat, and Ethers.js, this project provides a seamless experience for NFT enthusiasts and creators.
- Browse and explore a wide range of NFTs
- Create and mint your own NFTs
- Buy and sell NFTs using cryptocurrency
- Real-time bidding and auction system
- User-friendly interface with responsive design
- Secure wallet integration using Rainbow Kit
- Smart contract integration for NFT transactions
- Next.js 13
- React 18
- TypeScript
- Hardhat
- Ethers.js
- Tailwind CSS
- Redux Toolkit
- Rainbow Kit
- Framer Motion
- Node.js (v14 or later)
- npm or yarn
- MetaMask or any Ethereum wallet
-
Clone the repository:
git clone https://github.com/mujeebSulayman/nft-mart.git -
Navigate to the project directory:
cd nft-mart -
Install dependencies:
npm installor
yarn install -
Create a
.envfile in the root directory and add the following environment variables:NEXT_PUBLIC_ALCHEMY_ID=your_alchemy_api_key NEXT_PUBLIC_PROJECT_ID=your_project_id
-
Start the Hardhat node:
npx hardhat node -
In a new terminal, run the development server:
npm run devor
yarn dev -
Open http://localhost:3000 in your browser to view the application.
The main smart contract for this project is Nftmart.sol, which handles the creation, minting, and trading of NFTs. You can find it in the contracts/ directory.
To deploy the smart contract:
-
Compile the contract:
npx hardhat compile -
Deploy the contract:
npx hardhat run scripts/deploy.js --network localhost
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License. See the LICENSE file for details.
- OpenZeppelin for secure smart contract libraries
- Rainbow Kit for wallet integration
- Hardhat for Ethereum development environment