Fully on-Chain NFTs

NMKR Studio also allows fully on-chain NFTs

Fully on-chain NFTs are NFTs where the art is not like regular tokens where the file sits on IPFSarrow-up-right and is linked in the metadata to the NFT. You can also mint these fully on-chain NFTs with NMKR Studio by adding the file as Base64 to your metadataarrow-up-right. The Base64 encoding method is used to encode binary data in ASCII text. It is primarily used to store or transfer images, audio files, and other forms of media.

circle-exclamation

As there are images typically linked to the metadata of your token with an IPFS link ("ipfs://qmudas..."), you would add an image or other media file to your NFT base64 encoded for a fully on-chain NFT.

            "src": [
              "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAlYAAAJWCAYAAACapc",
              "kfAAAM5UlEQVR4nO3YMYveVR6G4czyR0ewUNSdURLSpBAsBAe02cg2FltYCIKQXk",
              .....
              "SEFQBARFgBAESEFQBARFgBAESEFQBARFgBAESEFQBARFgBAESEFQBA5FdySWoe28",
              "2w6gAAAABJRU5ErkJggg=="
            ]
circle-exclamation

Base64 in the filesection:

You can add a base64 encoded media file in the filesection of your metadata to set the main file in base64.

"files": [
          {
            "mediaType": "image/png",
            "name": "tokenname",
            "src": [
              "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAlYAAAJWCAYAAACapc",
              "kfAAAM5UlEQVR4nO3YMYveVR6G4czyR0ewUNSdURLSpBAsBAe02cg2FltYCIKQXk",
              ....
              "SEFQBARFgBAESEFQBARFgBAESEFQBARFgBAESEFQBARFgBAESEFQBA5FdySWoe28",
              "2w6gAAAABJRU5ErkJggg=="
            ]

Base64 as image:

You can also add a downscaled version of your base64 encoded image as thumbnail.

Fully on-chain NFT example metadata

The following code shows an example of a fully on-chain NFT that uses base64 encoded images as thumbnail and also mainfile in the filesection.

And here is how it would be displayed on-chain. You can see under Storage that it says "On-Chain immutable". An NFT that uses IPFS for the thumbnail would show "IPFS, On-Chain immutable"

Preview of the NFT with bas64 encoded images on pool.pm