An open API service indexing awesome lists of open source software.

https://github.com/cybervoid0/dutch-mills-nft

Deploy and mint NFTs with a collection of Dutch windmill/watermill photos via Hardhat
https://github.com/cybervoid0/dutch-mills-nft

Last synced: 10 months ago
JSON representation

Deploy and mint NFTs with a collection of Dutch windmill/watermill photos via Hardhat

Awesome Lists containing this project

README

          

# Dutch Mills NFTs

## Deploy and mint NFTs with a collection of Dutch windmill/watermill photos

- Rename `template.secret.json` to `.secret.json` and put there your account mnemonic phrase.

- Install dependencies
```bash
npm install
```
- To compile the smart contract
```bash
npx hardhat compile
```
- To deploy the s/c
```bash
npx hardhat deploy --network yourNetwork
```
see the available networks in `hardhat.config.js`

- To mint new items modify `hardhat.config.js`. Add new CIDs to `newCIDsToMint` array. Then run
```bash
npx hardhat mint --network yourNetwork
```