Skip to content

Latest commit

 

History

History
57 lines (36 loc) · 1.23 KB

README.md

File metadata and controls

57 lines (36 loc) · 1.23 KB

KwolfNFT Marketplace

This project is a Solidity smart contract for managing an NFT marketplace using the ERC721 standard. The smart contract allows minting, listing, buying, and canceling NFTs. This repository also includes scripts for interacting with the smart contract using Hardhat.

Prerequisites

  • Node.js
  • npm
  • Hardhat
  • local meta service
  • ngork

Setup

  1. Clone the repository:
git clone https://github.com/your-repo/kwolfnft-marketplace.git
cd kwolfnft-marketplace
  1. Install dependencies:
npm install
  1. Create a .env file in the root directory and add the following environment variables:
PRIVATE_KEY=your_private_key
ENDPOINT=your_rpc_endpoint
CONTRACT_ADDRESS=your_contract_address

Replace your_private_key, your_rpc_endpoint, and your_contract_address with your actual private key, RPC endpoint, and deployed contract address.

Deploying the Contract

To deploy the contract, you can use the following Hardhat script. Make sure to update the deployment script if necessary.

npx hardhat run scripts/deploy.js --network espaceTestnet

Interacting with the Contract

Mint:

npx hardhat run scripts/mint.js --network espaceTestnet

List, query, cancel...