# Nahmi NFT token Creation Code

By [Saroj](https://paragraph.com/@saroj980) · 2023-03-18

---

    // SPDX-License-Identifier: MIT
    pragma solidity 0.8.6;
     
    import "https://github.com/0xcert/ethereum-erc721/src/contracts/tokens/nf-token-metadata.sol";
    import "https://github.com/0xcert/ethereum-erc721/src/contracts/ownership/ownable.sol";
     
    contract newNFT is NFTokenMetadata, Ownable {
     
      constructor() {
        nftName = "Synth NFT";
        nftSymbol = "SYN";
      }
     
      function mint(address _to, uint256 _tokenId, string calldata _uri) external onlyOwner {
        super._mint(_to, _tokenId);
        super._setTokenUri(_tokenId, _uri);
      }
     
    }

---

*Originally published on [Saroj](https://paragraph.com/@saroj980/nahmi-nft-token-creation-code)*
