Skip to content

NFT-Marketplace-Samrt-Contract were you can buy sell list your NFT & creator can set a royalty for their NFT.

Notifications You must be signed in to change notification settings

karangoraniya/nft-marketplace-smart-contract

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NFT-Marketplace-Smart-Contract

NFT-MArketplace Smart Contract users can set royalty of NFT, buy with ERC20 token & 2.5% platform fees.

Important Step

create .env file in root directory.
    API_URL = "https://eth-ropsten.alchemyapi.io/v2/your-api-key"
    PRIVATE_KEY = "YOUR-METAMASK-PRIVATE_KEY"
    ETHERSCAN_API_KEY = "YOUR-ETHERSCAN_API_KEY"

-Get Your API Key

-Get Your Rinkeby Faucet

NPM Packages

Tech Stack

Run Locally

Clone the project

  git clone https://github.com/karangorania/nft-marketplace-smart-contract

Go to the project directory

  cd nft-marketplace-smart-contract

Install dependencies

  npm install

Compile

  npx hardhat compile

Test

  npx hardhat test

Deploy

  node scripts/deploy.js

Deploy on Rinkeby

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

Verify Contract

npx hardhat verify --network rinkeby <YOUR_CONTRACT_ADDRESS>

Help

  npx hardhat help

Check on Rinkeby Explorer

About

NFT-Marketplace-Samrt-Contract were you can buy sell list your NFT & creator can set a royalty for their NFT.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published