DevLog250328

> Log Date: 250328

LoreleiNobleGenesis

A Genesis NFT Collection by Lorelei Noble

This project represents the first complete on-chain NFT collection deployed to the Polygon Amoy testnet by Lorelei Noble. It contains 10 original digital paintings, each one permanently stored on IPFS and minted as a unique token.


Project Overview


IPFS Details

Each NFT points to a metadata file:

metadata1.json  
metadata2.json  
...  
metadata10.json

Each metadata file includes: - name - description - image (e.g. painting_01.png)


Burn Function

The contract includes a burn function to permanently destroy an NFT if needed. This can only be called by the token owner or an approved operator.

function burn(uint256 tokenId) public

Tools Used


Interacting with the Contract

Mint a New NFT

cast send \
  --rpc-url https://rpc-amoy.polygon.technology \
  --private-key YOUR_PRIVATE_KEY \
  0x1C5ec3De32C1cA8e1da93A99c176fa0eF2711783 \
  "mintNFT(address)" 0xYourWalletAddress

Burn an NFT

cast send \
  --rpc-url https://rpc-amoy.polygon.technology \
  --private-key YOUR_PRIVATE_KEY \
  0x1C5ec3De32C1cA8e1da93A99c176fa0eF2711783 \
  "burn(uint256)" 5

License

This project is licensed under the MIT License.