Skip to content

Mikhail11235/LeningradTile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NFT generator LeningradTile

1

  1. initialize a new project:
mkdir leningrad_tile
cd leningrad_tile
npm init
  1. install dependencies:
npm install --save-dev hardhat
npm install --save-dev @nomiclabs/hardhat-ethers
npm install --save-dev @nomiclabs/hardhat-etherscan
npm install --save-dev ethers@^5.0.0
npm install --save-dev node-fetch@2
npm install --save nft.storage
npm install @openzeppelin/contracts
npm install dotenv --save
npm install fs --save 
npm install https --save 
npm install jimp --save 
npm install child_process --save 
npm install @ipld/car --save 
  1. initialize the Hardhat ("Create an empty hardhat.config.js"):
npx hardhat
  1. deploy new contract:
npx hardhat compile
npx hardhat deploy
  1. verify your smart contract on Etherscan:
npx hardhat verify $NFT_CONTRACT_ADDRESS $BASE_TOKEN_URI
  1. mint (set a new NFT_CONTRACT_ADDRESS before):
npx hardhat mint --address $ADDRESS

References:

https://docs.opensea.io/docs/getting-started-1