Skip to content

jigstack-dev/gallery-contracts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage

Pre Requisites

Before running any command, make sure to install dependencies:

$ yarn

Compile

Compile the smart contracts with Hardhat:

$ npx hardhat compile

Deploy

Deploy the contracts to Hardhat Network:

$ npx hardhat run scripts/deploy-gallery.script.js 

Deploy the contracts to a specific network, such as the Rinkeby testnet:

$ npx hardhat run scripts/deploy-gallery.script.js --network rinkeby

You can mint NFTs by running

$ npx hardhat run scripts/mint-nft.script.js --network rinkeby