Skip to content

This repo contains code for the blog (published on dev.to) which demonstrates how to use Chainlink VRF v2 to request a random number and use it to mint an NFT along with listing it on Opensea.

Notifications You must be signed in to change notification settings

abhik-99/Chainlink-VRF-Demo

Repository files navigation

Chainlink VRF v2 Blog Project

Contract Address on Mumbai Testnet: 0xf8b64a4273F13C2521ACC715d3022b8Bd31e1bE8

This project demonstrates how to use Chainlink VRF v2 in a NFT smart contract and then list the minted NFTs on OpenSea.

It has been made using an Advance template of Hardhat as such the following commands are available:

npx hardhat accounts
npx hardhat compile
npx hardhat clean
npx hardhat test
npx hardhat node
npx hardhat help
REPORT_GAS=true npx hardhat test
npx hardhat coverage
npx hardhat run scripts/deploy.js
node scripts/deploy.js
npx eslint '**/*.js'
npx eslint '**/*.js' --fix
npx prettier '**/*.{json,sol,md}' --check
npx prettier '**/*.{json,sol,md}' --write
npx solhint 'contracts/**/*.sol'
npx solhint 'contracts/**/*.sol' --fix

About

This repo contains code for the blog (published on dev.to) which demonstrates how to use Chainlink VRF v2 to request a random number and use it to mint an NFT along with listing it on Opensea.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published