This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let abi = [ | |
{ | |
inputs: [ | |
{ | |
internalType: "string", | |
name: "_name", | |
type: "string", | |
}, | |
{ | |
internalType: "string", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.9; | |
import "@openzeppelin/[email protected]/token/ERC721/ERC721.sol"; | |
import "@openzeppelin/[email protected]/access/Ownable.sol"; | |
contract MyToken is ERC721, Ownable { | |
constructor() ERC721("MyToken", "MTK") {} | |
function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"name":"TinaNFT","description":"lalala","image":"your_photo_url"} |
OlderNewer