Skip to content

Manages wallet connection and NFT state, updating and passing data to child components. Fetches and displays the user's NFTs, including images and token IDs.NFTs, generates random images, and updates the parent with minted NFT details.

Notifications You must be signed in to change notification settings

CallejaJ/nft-manager-component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NFT Manager Component

This project is a component that manages wallet connection and NFT state, as well as generating and updating minted NFT details.

Features

  • 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.

Prerequisites

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

Installation

Follow these steps to install and run the project from GitHub:

1. Clone the repository

Open your terminal and clone the repository:

git clone https://github.com/your-username/nft-manager-component.git

2. Navigate to the project directory

cd nft-manager-component

3. Install dependencies

npm install

4. Set up environment variables

Once the dependencies are installed, run the following command to start the application:

If you are using npm:

npm install

5. Run the project in development mode

Once the dependencies are installed, run the following command to start the application:

If you are using npm:

npm start

6. Build for production

To create an optimized production build, run:

npm run build

About

Manages wallet connection and NFT state, updating and passing data to child components. Fetches and displays the user's NFTs, including images and token IDs.NFTs, generates random images, and updates the parent with minted NFT details.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published