A decentralized application (DApp) for creating and minting NFTs on the Base blockchain. This application provides a full-featured drawing board with various tools and the ability to mint your creations as NFTs.
- Connect your Web3 wallet (MetaMask)
- Full-featured drawing board with:
- Pen and eraser tools
- Color picker
- Line width adjustment
- Undo/Redo functionality
- Image upload and manipulation
- Mint your creations as NFTs on Base
- View your NFT collection
- Node.js (v14 or higher)
- MetaMask wallet with Base network configured
- Some ETH on Base for gas fees
- Clone the repository:
git clone <repository-url>
cd base-nft-creator- Install dependencies:
npm install- Configure Base network in MetaMask:
- Network Name: Base
- RPC URL: https://mainnet.base.org
- Chain ID: 8453
- Currency Symbol: ETH
- Block Explorer URL: https://basescan.org
- Start the development server:
npm start- The application will be available at
http://localhost:3000
- Create a
.envfile in the root directory with your private key:
PRIVATE_KEY=your_private_key_here
- Deploy the smart contract:
npx hardhat run scripts/deploy.js --network base- Update the contract address in
src/config.tswith the deployed contract address.
- Connect your MetaMask wallet
- Click "Let's Start" to open the drawing board
- Use the drawing tools to create your artwork
- Upload images if desired
- Click "Mint NFT" to mint your creation
- View your NFTs in the "My Collection" page
- React
- TypeScript
- Chakra UI
- ethers.js
- Web3-React
- Solidity
- Hardhat
MIT