/nft-marketplace

Basic sample Hardhat project.

Primary LanguageJavaScript

Basic Sample Hardhat Project

This project demonstrates a basic Hardhat use case. It comes with a sample contract, a test for that contract, a sample script that deploys that contract, and an example of a task implementation, which simply lists the available accounts.

Try running some of the following tasks:

npx hardhat accounts
npx hardhat compile
npx hardhat clean
npx hardhat test
npx hardhat node
node scripts/sample-script.js
npx hardhat help

Useful Links

  • The package openzepplin/contracts contains ERC-721, a Non-Fungible Token Standard that implements an API for tokens within Smart Contracts. It also provides us with reusable Solidity components. The package is used by Decentraland, Aztec Protocol, and Gnosis.

  • Mumbai Testnet replicates the Polygon Mainnet

  • Infura.io - Infrastructure provider for Ethereum. Create a new project in the dashboard, set the project key endpointt to Polygon Mumbai for testing. Infura will give us back a polygon-mumbai.infura.io endpoint with our project id as a var. Add it to the hardhat.config.js file

  • Polygon Dapp Developer Docs

  • Mumbai Testnet replicates the Polygon Mainnet