NFT-MArketplace Smart Contract users can set royalty of NFT, buy with ERC20 token & 2.5% platform fees.
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
Clone the project
git clone https://github.com/karangorania/nft-marketplace-smart-contract-ERC1155Go to the project directory
cd nft-marketplace-smart-contract-Install dependencies
npm installCompile
npx hardhat compileTest
npx hardhat testDeploy
node scripts/deploy.jsDeploy on Rinkeby
npx hardhat run scripts/deploy.js --network rinkebyVerify Contract
npx hardhat verify --network rinkeby <YOUR_CONTRACT_ADDRESS>Help
npx hardhat help