Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mikhail11235/leningradtile
NFT generator
https://github.com/mikhail11235/leningradtile
car-file erc721 etherscan google-maps-api hardhat nft nft-storage
Last synced: 8 days ago
JSON representation
NFT generator
- Host: GitHub
- URL: https://github.com/mikhail11235/leningradtile
- Owner: Mikhail11235
- Created: 2022-05-10T06:13:57.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-05-10T06:50:50.000Z (over 2 years ago)
- Last Synced: 2024-03-06T18:18:11.993Z (9 months ago)
- Topics: car-file, erc721, etherscan, google-maps-api, hardhat, nft, nft-storage
- Language: JavaScript
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NFT generator LeningradTile
1) initialize a new project:
```
mkdir leningrad_tile
cd leningrad_tile
npm init
```2) 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
```3) initialize the Hardhat ("Create an empty hardhat.config.js"):
```
npx hardhat
```4) deploy new contract:
```
npx hardhat compile
npx hardhat deploy
```5) verify your smart contract on Etherscan:
```
npx hardhat verify $NFT_CONTRACT_ADDRESS $BASE_TOKEN_URI
```6) mint (set a new NFT_CONTRACT_ADDRESS before):
```
npx hardhat mint --address $ADDRESS
```## References:
https://docs.opensea.io/docs/getting-started-1