Skip to content

highHumann/hardhat-nft-marketplace

Repository files navigation

NFT MARKETPLACE

Nft Marketplace is solidity smart contract for a decentralized marketplace for NFT's.

Functionalities

  • List new NFT's.
  • Update listed NFT's.
  • Buy NFT's.
  • Cancel listing of the listed NFT's.
  • Withdraw payments of the sold NFT's.

Getting Started

Requirements

  • git
  • node
  • yarn

Installation

First clone the repository and start the project by

git clone https://github.com/highHumann/hardhat-nft-marketplace.git
cd hardhat-nft-marketplace.git
yarn

Usage

Compile:

yarn hardhat compile

Deploy:

yarn hardhat deploy

Test:

yarn hardhat test

Deploying to a testnet

  • First setup environment variables Set your SEPOLIA_RPC_URL and PRIVATE_KEY as shown in .env.example in .env.

    • PRIVATE_KEY you have to export private key from your metamask wallet(if possible use a wallet with no real funds.
    • SEPOLIA_RPC_URL you can get your sepolia rpc url free from Alchemy
  • After setting the environment variables,now you can deploy on the testnet with

    bash yarn hardhat deploy --network sepolia

Contributing

=Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published