Hardhat | Ethers | Typescript | Nextjs to compile and test a Marketplace Smart Contract
- Node >= 16.0
- yarn
- Compile marketplace NFT smart contract
+ Set PRIVATE_KEY in .env file ( Create new .env file , get configuration from .env.example) + npx hardhat compile
- Testing contract
npx hardhat test
- Deploying contract
Contract address will be shown in the terminal:
npx hardhat run --network thunder_testnet scripts/deploy.ts
Marketplace contract deployed to: 0xE1F9b6ba798AB0830703Fc964A5FdC4B7d181D1B
- Add 5ire Thunder testnet in Metamask manually Link
- Install required dependencies
yarn install
- Set marketplace contract address that deployed in env.development
- Run project
yarn dev
- IPFS
- Collections
- ...