This project is a component that manages wallet connection and NFT state, as well as generating and updating minted NFT details.
- Manages wallet connection: Handles the user's wallet connection and updates the NFT state.
- State management: Updates and passes data to child components.
- Fetches NFTs: Retrieves and displays the user's NFTs, including images and token IDs.
- Generates random images: Generates random images for NFTs and updates the parent component with minted NFT details.
Before installing this component, ensure that your environment meets the following requirements:
- Node.js (v14 or higher)
- npm or yarn
- An Ethereum-compatible wallet like MetaMask
Follow these steps to install and run the project from GitHub:
Open your terminal and clone the repository:
git clone https://github.com/your-username/nft-manager-component.git
cd nft-manager-component
npm install
Once the dependencies are installed, run the following command to start the application:
If you are using npm:
npm install
Once the dependencies are installed, run the following command to start the application:
If you are using npm:
npm start
To create an optimized production build, run:
npm run build