MemoryNFT

Description:

Smart contract deployed on Ethereum.

Blockchain: Ethereum

Source Code: View Code On The Blockchain

Solidity Source Code:

// SPDX-License-Identifier: MIT
pragma solidity 0.8.20;

contract MemoryNFT {
  mapping(uint256 => string) public memories;
  uint256 public memoryCount;

  function mintMemory(string memory _memory) public {
    memories[memoryCount] = _memory;
    memoryCount++;
  }

  function getMemory(uint256 _id) public view returns (string memory) {
    return memories[_id];
  }
}

Tags:
addr:0xb581c0b12470fc470c759fdc462bbb3b1f64f1ff|verified:true|block:23503172|tx:0x17766b6480ba53139f61da3c53f31b597d324923cc28392c198698aebb000565|first_check:1759572182

Submitted on: 2025-10-04 12:03:02

Comments

Log in to comment.

No comments yet.