Skip to content

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

Base NFT Creator

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.

Features

  • 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

Prerequisites

  • Node.js (v14 or higher)
  • MetaMask wallet with Base network configured
  • Some ETH on Base for gas fees

Installation

  1. Clone the repository:
git clone <repository-url>
cd base-nft-creator
  1. Install dependencies:
npm install
  1. Configure Base network in MetaMask:

Development

  1. Start the development server:
npm start
  1. The application will be available at http://localhost:3000

Smart Contract Deployment

  1. Create a .env file in the root directory with your private key:
PRIVATE_KEY=your_private_key_here
  1. Deploy the smart contract:
npx hardhat run scripts/deploy.js --network base
  1. Update the contract address in src/config.ts with the deployed contract address.

Usage

  1. Connect your MetaMask wallet
  2. Click "Let's Start" to open the drawing board
  3. Use the drawing tools to create your artwork
  4. Upload images if desired
  5. Click "Mint NFT" to mint your creation
  6. View your NFTs in the "My Collection" page

Technologies Used

  • React
  • TypeScript
  • Chakra UI
  • ethers.js
  • Web3-React
  • Solidity
  • Hardhat

License

MIT

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages