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.
- Node.js
- npm
- Hardhat
- local meta service
- ngork
- Clone the repository:
git clone https://github.com/your-repo/kwolfnft-marketplace.git
cd kwolfnft-marketplace
- Install dependencies:
npm install
- 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.
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
Mint:
npx hardhat run scripts/mint.js --network espaceTestnet
List, query, cancel...