Function Repository Resource:

MintNFT

Source Notebook

Mint a non-fungible token (NFT) on a blockchain

Contributed by: Piero Sanchez and Christian Pasquel

ResourceFunction["MintNFT"][nftSpec, transactionSpec]

mints a non-fungible token (NFT) specified by nftSpec, using the transaction specifications given by transactionSpec.

ResourceFunction["MintNFT"][{nftSpec1,nftSpec2,]},transactionSpec]

mints multiple non-fungible tokens (NFTs) specified by nftSpeci, using the transaction specifications given by transactionSpec.

Details and Options

nftSpec is an association with the following keys:
"AssetName"asset name
"Name"NFT metadata name
"Thumbnail"thumbnail image of the NFT
"ThumbnailMIMEType"thumbnail image MIME type
"Source"source data of the NFT
"SourceMIMEType"source data MIME type
"Description"description of the NFT
"Expression"Wolfram Language expression associated with the NFT
"Notebook"Wolfram Notebook associated with the NFT
"NFTID"whether to create an autogenerated ID for the NFT
"NFTQuantity"number of NFTs to mint
"OwnerAddress"recipient address that will own this particular NFT
"AdditionalMetadata"association containing custom "other properties" as specified by the CIP 25 NFT Metadata Standard
The maximum string length of "AssetName" is 32 characters.
The maximum string length of "Name" is 64 characters.
The maximum string length of "Description" is 64 characters.
The maximum string length of "Expression" is 64 characters.
"Thumbnail" can be a File containing the path to an image file, or an expression such as Image, Graphics or Graphics3D. Ideally, the image size should be less than 1 MB. ResourceFunction["MintNFT"] will automatically use ExternalStorageUpload to upload the contents to IPFS. "Thumbnail" can also be a String with a custom URI. In this last case, MintNFT will not upload the file to IPFS and, instead, use the provided String. You need to specify the file MIME type using the "ThumbnailMIMEType" key when providing a String as "Thumbnail".
"Source" can be a File containing the path to the source file associated with the NFT, or an expression such as Image, Graphics or Graphics3D. ResourceFunction["MintNFT"] will automatically use ExternalStorageUpload to upload the contents to IPFS. "Source" can also be a String with a custom URI. In this last case, MintNFT will not upload the file to IPFS and, instead, use the provided String. You need to specify the file MIME type using the "SourceMIMEType" key when providing a String as "Thumbnail".
"Notebook" is a File containing the path to a notebook associated with the NFT.
With "NFTID"True, an ID will be autogenerated using the current UnixTime and a random integer. Note that this is an accessory metadata ID used for readability when sharing the NFT details. This ID does not identify the NFT on the blockchain.
"NFTQuantity" has a default value of 1. With "NFTQuantity"n, n copies of the NFT will be minted under the same transaction.
Files associated with the NFT, such as the ones specified by "Thumbnail", "Source" and "Notebook", will be automatically uploaded to IPFS and their content identifiers (CIDs) will be added to the NFT's on-chain metadata.
transactionSpec is an association with the following keys:
"OwnerAddress"recipient address that will own the NFT
"PrivateKey"private key used to sign the minting transaction
"Fee"transaction fee
"OutputAmount"amount of cryptocurrency to include in the new transaction output
"TimeLock"minting policy time-lock slot number
"OwnerAddress" can be any valid address, including the address associated with "PrivateKey". If used in the transactionSpec association, all assets in nftSpec will be owned by the specified address. For multiple different owners, specify "OwnerAddress" in each nftSpec association and omit it in transactionSpec.
"PrivateKey" should be a PrivateKey associated with the address with enough balance to mint the NFT.
If "Fee" is not included, it will be automatically computed.
If "OutputAmount" is not included, it will be automatically computed.
If the "OwnerAddress" is the same address associated with the "PrivateKey", "OutputAmount" will not be used.
"TimeLock" can be used to specify a slot number for the time-lock mint policy. Assets under the policy ID can only be minted before the specified slot. Possible values include:
Noneno time-lock
nnumber of slots after the current one
{n}specific slot number
Default value is "TimeLock"4000.
ResourceFunction["MintNFT"] has the following options:
"Preview"Truewhether to preview a transaction instead of submitting to the blockchain
BlockchainBase{"Cardano","Testnet"}blockchain to use
The BlockchainBase option for this function currently supports only "Cardano" (Cardano mainnet) and {"Cardano","Testnet"} (Cardano testnet) as values. $BlockchainBase can also be used to set the default BlockchainBase value.

Examples

Basic Examples (13) 

Set the default blockchain to the Cardano testnet:

In[1]:=
$BlockchainBase = {"Cardano", "Testnet"}
Out[1]=

Create an image:

In[2]:=
image = \!\(\*
GraphicsBox[RasterBox[CompressedData["
1:eJzt2e3NI7kRReEBHIkjcQx2CAb82zE5Q4fgXRj6sYNeTrPF6jqXPA+wgHH9
qkWV+FWav/7z3//4119+/Pjx99/++89v//3+v6/9929/+n/d+rvZ/On7rPr7
KtZnzPqslTruj7fmQzXquKp8e15U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
FrameLabel->{None, None},
FrameTicks->{{None, None}, {None, None}},
GridLinesStyle->Directive[
GrayLevel[0.5, 0.4]],
ImageSize->250,
Method->{"DefaultBoundaryStyle" -> Automatic, "DefaultGraphicsInteraction" -> {"Version" -> 1.2, "TrackMousePosition" -> {True, False}, "Effects" -> {"Highlight" -> {"ratio" -> 2}, "HighlightPoint" -> {"ratio" -> 2}, "Droplines" -> {"freeformCursorMode" -> True, "placement" -> {"x" -> "All", "y" -> "None"}}}}, "DefaultPlotStyle" -> Automatic},
PlotRangePadding->0]\);

Get your keys and address:

In[3]:=
myKeys = GenerateAsymmetricKeyPair[
  Method -> <|"Type" -> "EdwardsCurve", "CurveName" -> "ed25519"|>]
Out[3]=
In[4]:=
myAddress = BlockchainKeyEncode[myKeys["PublicKey"], "Address"]
Out[4]=

You need some tADA (the Cardano cryptocurrency) in your address to send transactions. To achieve this, you will use a Cardano Testnet Faucet. This is a website that will send some amount of tADA to your address.

To use it, copy your address to the clipboard and visit the Cardano Testnet Faucet:

In[5]:=
CopyToClipboard[myAddress]
In[6]:=
SystemOpen["https://developers.cardano.org/en/testnets/cardano/tools/faucet/"]

Paste your address in the Address field (double-check that your address is complete and does not have extra characters such as double quotes). Make sure both the Environment "Preprod Testnet" and the Action "Receive test ADA" are selected in the drop-down menus. Click the "I'm not a robot" captcha and then the Request funds button:

Once you request funds, it may take about a minute for the transaction to be added to the blockchain.

Once the transaction has been added to the blockchain, check your address balance (and other details) with the BlockchainAddressData function by running this line:

In[7]:=
BlockchainAddressData[myAddress] // Dataset
Out[7]=

If this line returns an error, that means the transaction has not been added to the blockchain yet. Wait a moment, then try running the line of code again. You will see here the details of your address, including your balance (given in Lovelace units). If you just want to extract your balance, you can evaluate the following:

In[8]:=
BlockchainAddressData[myAddress, "Balance"]
Out[8]=

Mint the NFT:

In[9]:=
myNFT = ResourceFunction["MintNFT"][<|
    "AssetName" -> "MyFirstNFT",
    "Name" -> "My First NFT",
    "Thumbnail" -> ImageResize[image, 100],
    "Source" -> image,
    "Description" -> "Minting my first NFT"
    |>,
   <|"OwnerAddress" -> myAddress ,
    "PrivateKey" -> myKeys["PrivateKey"]
    |>, "Preview" -> False];

See the details of the minted NFT:

In[10]:=
Dataset[myNFT]
Out[10]=

Get the data of the transaction that minted the NFT. It may take some time for the transaction to be added to the blockchain:

In[11]:=
txData = BlockchainTransactionData[myNFT["TransactionID"]];
txData // Dataset
Out[12]=

Get the NFT metadata:

In[13]:=
txData["Metadata"] // Dataset
Out[13]=

Download the NFT image that was uploaded to IPFS by extracting its content identifier and using ExternalStorageDownload:

In[14]:=
cid = StringDrop[
  First[Cases[txData["Metadata"], KeyValuePattern["src" -> x_] -> x, Infinity]], 7]
Out[14]=
In[15]:=
myNFTFile = ExternalStorageDownload[cid, ExternalStorageBase -> "IPFS"];
In[16]:=
Import[myNFTFile]
Out[16]=

Reset the blockchain settings:

In[17]:=
$BlockchainBase = Automatic;

Scope (3) 

Use a File as the NFT source or thumbnail.

Set the default blockchain to the Cardano testnet:

In[18]:=
$BlockchainBase = {"Cardano", "Testnet"}
Out[18]=

Get your cryptographic keys and blockchain address. For this example, you will need key pairs with an associated balance of at least 1850000 lovelace (see first example on this page for creating and funding a key pair):

In[19]:=
myAddress = BlockchainKeyEncode[myKeys["PublicKey"], "Address"]
Out[19]=

Export an image and JSON file to use them in the NFT:

In[20]:=
certificateThumbnail = \!\(\*
GraphicsBox[
TagBox[RasterBox[CompressedData["
1:eJztnQu0FdWdp287Sa/J9GTaPMaoY2xjnNgaWztZyepk5bFiJ/bEZNLJtEk6
EkYg8jBqjPgEEQ2+oKNBEEGMz/hGlCggvnMVxPjAtxhUfKCgKAqiIojgf+o3
dc/igOfeU1Wnqv51zv6+tb4Y5Z6qvfcp9u9W1X585he//rehW3V1dR35n6P/
+bdBx+59xBGDRu63dfQvPznsyF8OO2zI4H0PO2rIsCFHfOUX/yn6j3P/KvZD
XdXB+nV9JPLbkcdEnh95V+SSyFWRGyMNERHbSvXd6sPVl6tPv8Di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7vUsCXkIABANq7/bboMlMfs
GT9LhepADgIApOfN18wOTJmBNede6l16qIccBABIz2UjsmWgPHQbs3ff8a4B
1CAHAQDS8cpzZgdkzMCasyd41wJqkIMAUCXWvu1dguZM+UVrGSgHR779undN
GrNmldn6dd6lKA9yEACqxA3RfdKYb5nNn1bN/fueezju11rNQXnFcd612Ry9
85x+cvzec91b3qUpD3IQAKrEfddtyomDtor3tF3xgnepNjH2+/lkoNSz1RUv
etcoXgf8ilFmg3rKNSiwfpscBIAq8fwjH8wL9SPjf2L2yG1m72/0K9tj3fll
YM2pQ/3qo98vLjly077BNY/c1a9MHpCDAFAl1rzRd24M39lszqTy360pf0d9
Of8cVB+55LFy67J8sdl5B5v176VMp+xTbnm8IQcBoGoMTZAfuof5/UFmzz5Y
Tpnuvjr/DKx5+g/LqYP2CT7nwA/uFbylkwaUU56qQA4CQNUY/bV0OaKfv/My
s/VriymPxuscvmNxOSgX3llM2YXG9mi/i6Tjey4fWVxZqgg5aKtWrbKZM2fa
2WefbePHj0dsW3UN61rWNd3WTB6YLUuGRF55fPzcL09umlJsBv7/LP9qvI9h
nmh/izP+T/qyhDa3MfAcXLlypU2ePNm9/0LMU13TurbbluljWssU9Tt61qg1
rTduaK0s76xO9pw2D++ZkU/7PTHP7LR9s5dj3hX5lKNdCDwH9buzd5+FWIS6
ttuWOy7JL1sO38Fs1nizN1dkK0urmZzGI3Yxe299tnLqXvLhW8xO2rv1cmhc
bEgEnoM8C8VOddKkSd5/vbKj+5m8M0Zz9bQOzNP3JC/HypfMBpaUgTVvPTdd
W2kc64JZZqP+Kb8yvPB4ujK0O4HnoHdfhVikbYvmlheZNcd9yaz74uZrplzw
q3IzUB7012Zr32zeRnre++drzEbslX8Zst47tyvkIGLH2raoj291Heskao3P
S481W/bkB8uwbFHz+QVFee1pvbeNnptqbKzmuhdxbs0pzHu8TtUhBxE71ram
qH6+keqnxn7P7P6ZZht69sg982c+GSi1rtnqVzZvD617fdv5ZodtX+y5D/1E
+d+1N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, 255},
ColorFunction->RGBColor,
ImageResolution->{72, 72}],
BoxForm`ImageTag[
      "Byte", ColorSpace -> ColorProfileData[CompressedData["
1:eJx9kT9IHEEUhz9P5USUSHKICSlWMFYKwUiwjJeACAaOVUETC/ffrQe3e8fs
igiWgbRCCpM0uSRFmtRJa2ErCIImENKlS6VoI7K+2Tu4QzwHZuab37zfY96b
YbtiFjNA1COLaW1MK2Vtzg/IYTGMSn7oubNh7PmemrI7RKzpWDK1shNEXY8h
CGNlzuSNpeVXRvYfWQbJcZf7lhNVpwuFOdqO8yN0Qg7Hda72cTeOfteLHOgw
hJ85VRULrwo/3Yirmt8L55w1yxX+Ljym5IHCv7Ru1/m/Zj/ltKicWjCfC+eE
Db+F7RZ21lQgPCk84gah5M8s1dnVvKU5KK87jXfqCvu8cHFe6zIfMsMsLylg
YLNOiTIx47KHokSYcp9v43+Q+gvissVVwhHHCyoEWKkf/QfXexsVn0zUM/Xl
oftvkpw+guw7uNxOkovPSXL5BTr/wG7Y9FdqMHUm+nZTG/kEd97Aj72mZu/A
z7cw9LtqKSuVOmVmikU4+SbftAz3DqD3db1vjXu+HsOC9GpuHz58hFFfcq+0
qbuntW+3xjT6dwW8NX+V
"], "RGB", "XYZ"], Interleaving -> True, MetaInformation -> <|"Exif" -> <|"ImageWidth" -> 256, "ImageLength" -> 256, "BitsPerSample" -> {8, 8, 8}, "Compression" -> "JPEG (old-style)", "PhotometricInterpretation" -> "YCbCr", "Orientation" -> <|"CameraTopOrientation" -> Top, "Mirrored" -> False|>, "SamplesPerPixel" -> 3, "XResolution" -> 72, "YResolution" -> 72, "ResolutionUnit" -> "Inch", "Software" -> "GIMP 2.10.24", "DateTime" -> DateObject[{2021, 7, 22, 16, 39, 49.}, "Instant", "Gregorian", None], "JPEGInterchangeFormat" -> 316, "JPEGInterchangeFormatLength" -> 8699, "ExifTag" -> 190, "ColorSpace" -> "RGBColor"|>, "XMP" -> <|"XMPMediaManagementSchema" -> <|"DocumentID" -> "gimp:docid:gimp:4057f25f-598e-4de6-bf29-b8ffad04f0e2", "InstanceID" -> "xmp.iid:07eb4e97-fe57-40d2-b506-5101718e363b", "OriginalDocumentID" -> "xmp.did:2e85196f-2700-4f9e-90c7-cf3a07557a2c", "History[1]" -> <|"Event" -> <|"Action" -> "saved", "Changed" -> "/", "InstanceID" -> "xmp.iid:3a750f2b-2356-450b-8e90-71207fff4894", "SoftwareAgent" -> "Gimp 2.10 (Linux)", "When" -> DateObject[{2021, 7, 22, 16, 39, 50.}, "Instant", "Gregorian", -5.]|>|>|>, "DublinCoreSchema" -> <|"Format" -> "image/png"|>, "GIMP" -> <|"API" -> 2., "Platform" -> "Linux", "TimeStamp" -> 1626989990937103, "Version" -> "2..10.24"|>,
            "XMPBasicSchema" -> <|"CreatorTool" -> "GIMP 2.10"|>|>|>],
      
Selectable->False],
DefaultBaseStyle->"ImageGraphics",
ImageSizeRaw->{450., 450.},
PlotRange->{{0, 450.}, {0, 450.}}]\);
In[21]:=
certificateData = <|"Name" -> "NFT Certificate", "Creator" -> "Dr. Wily", "PublicKey" -> myKeys["PublicKey"]["PublicHexString"], "Country" -> "Peru"|>;
In[22]:=
Export[FileNameJoin[{$TemporaryDirectory, "CertificateThumbnail.png"}], certificateThumbnail, "PNG"];
In[23]:=
Export[FileNameJoin[{$TemporaryDirectory, "NFTCertificate.json"}], certificateData, "JSON"];

Mint the NFT and specify the thumbnail and source using File:

In[24]:=
myNFTCertificate = ResourceFunction["MintNFT"][<|
    "AssetName" -> "NFTCertificate",
    "Name" -> "My NFT Certificate",
    "Thumbnail" -> File[FileNameJoin[{$TemporaryDirectory, "CertificateThumbnail.png"}]],
    "Source" -> File[FileNameJoin[{$TemporaryDirectory, "NFTCertificate.json"}]],
    "Description" -> "Minting my first NFT Certificate"
    |>,
   <|"OwnerAddress" -> myAddress ,
    "PrivateKey" -> myKeys["PrivateKey"]
    |>, "Preview" -> False];

Download the files linked to the NFT:

In[25]:=
certificateTXID = myNFTCertificate["TransactionID"]
Out[25]=

You have to wait around 20 seconds (up to about two minutes) for the transaction to be added to a block, so if you run this right away you will most probably get an error:

In[26]:=
BlockchainTransactionData[certificateTXID]
Out[26]=

Once the transaction is added to the blockchain, save the transaction data:

In[27]:=
certificateTXData = BlockchainTransactionData[certificateTXID];

Recover IPFS content identifiers for the certificate thumbnail and data from the Metadata property of the transaction:

In[28]:=
thumbnailCID = StringDrop[
  First[Cases[
    certificateTXData["Metadata"], <|__, "image" -> x_, ___|> -> x, Infinity]], 7]
Out[28]=
In[29]:=
jsonCID = StringDrop[
  First[Cases[
    certificateTXData["Metadata"], <|___, "src" -> x_, ___|> -> x, Infinity]], 7]
Out[29]=

Download and visualize the files using ExternalStorageDownload:

In[30]:=
jsonFile = ExternalStorageDownload[jsonCID, FileNameJoin[{$TemporaryDirectory, "certificate.json"}], ExternalStorageBase -> "IPFS"]
Out[30]=
In[31]:=
Dataset[Import[jsonFile, "RawJSON"]]
Out[31]=
In[32]:=
thumbnailFile = ExternalStorageDownload[thumbnailCID, FileNameJoin[{$TemporaryDirectory, "certificate.png"}], ExternalStorageBase -> "IPFS"]
Out[32]=
In[33]:=
Import[thumbnailFile]
Out[33]=

Reset the blockchain settings:

In[34]:=
$BlockchainBase = Automatic;

You can mint multiple NFTs in one single transaction and assign them to different owners.

Set the default blockchain to the Cardano testnet:

In[35]:=
$BlockchainBase = {"Cardano", "Testnet"}
Out[35]=

Copy your cryptographic keys from above. For this example, you will need key pairs with an associated balance of at least 5295701 lovelace (see first example on this page for creating and funding a key pair):

Create the metadata for three NFTs. Start by producing three images:

In[36]:=
images = ArrayPlot[
    CellularAutomaton[{Mod[Total[#]/2, 1] &, {}, 1}, {{1}, 0}, 200], ColorFunction -> ColorData[#], Background -> Black, ImageSize -> 400] & /@ {"LakeColors", "NeonColors", "SolarColors"}
Out[36]=

And assign to them different properties and owners:

In[37]:=
properties = {<|"AssetName" -> "TMPL01", "Name" -> "Ice Temple", "Description" -> "C.A. Temples Collection v0.1", "AdditionalMetadata" -> <|"attributes" -> <|"type" -> "Lake", "rarity" -> "uncommon"|>|>|>, <|"AssetName" -> "TMPL02", "Name" -> "Shroom Temple", "Description" -> "C.A. Temples Collection v0.1", "AdditionalMetadata" -> <|"attributes" -> <|"type" -> "Neon", "rarity" -> "unique"|>|>|>, <|"AssetName" -> "TMPL03", "Name" -> "Fire Temple", "Description" -> "C.A. Temples Collection v0.1", "AdditionalMetadata" -> <|"attributes" -> <|"type" -> "Solar", "rarity" -> "rare"|>|>|>};
In[38]:=
owners = {"addr_test1qznxhpnmh2lrr436kyapq290s8qstndkctqrvx3xdulsqcta5nwc39ejfjvduc0gjagfkvcj5ln8ldd96hrp3p53r5nsnv0ueu", "addr_test1vp7ncuaksvhz9dgrrutpm800c67wu46red407mykk7kyaqsqzt2jr", "addr_test1vpnr0japmkm3f488rtckx7mngchmcd99hk0ryhd5ppdlstcqtfuhx"};
In[39]:=
nftMetadata = Function[u, Fold[Append, u[[1]], {"OwnerAddress" -> u[[2]], "Thumbnail" -> u[[3]], "Source" -> u[[3]]}]] /@ MapThread[List, {properties, owners, images}];

Check the metadata and owners before minting:

In[40]:=
Dataset[nftMetadata]
Out[40]=

Compute a policy script time-lock slot happening in one week from now:

In[41]:=
timelock = QuantityMagnitude[UnitConvert[Quantity[1, "Weeks"], "Seconds"]]
Out[41]=
In[42]:=
multipleNFTs = ResourceFunction["MintNFT"][
   nftMetadata,
   <|"TimeLock" -> timelock,
    "Fee" -> 915701,
    "OutputAmount" -> 1460000,
    "PrivateKey" -> myKeys["PrivateKey"]|>,
   "Preview" -> False,
   BlockchainBase -> {"Cardano", "Testnet"}
   ];

See the details of the minted NFTs:

In[43]:=
Dataset[multipleNFTs]
Out[43]=

You can use a wallet like Nami Wallet to hold and visualize your NFT:


If you already have the associated files stored in an external storage system, you can provide custom URIs with the "Thumbnail" and "Source" keys. MintNFT will not try to determine the format of the file in this case so you also need to provide the MIME types using "ThumbnailMIMEType" and "SourceMIMEType" keys:

In[44]:=
$BlockchainBase = {"Cardano", "Testnet"}
Out[44]=

Copy your cryptographic keys from above:

In[45]:=
customURINFT = ResourceFunction["MintNFT"][<|
    "AssetName" -> "NFTCertificate-Preloaded",
    "Name" -> "My NFT Certificate",
    "Thumbnail" -> "ipfs://QmPGiWw8Y3LrgnXgk5wpvtqbvXfoRFMDyEDHjsu6JuvpMH",
    "ThumbnailMIMEType" -> "image/png",
    "Source" -> "ipfs://QmSZiTqePV2bnb2bCGVQEP968intTvmQzcdjK3sKRe32Gw",
    "SourceMIMEType" -> "application/json",
    "Description" -> "NFT Certificate With Preloaded Data"
    |>,
   <|"OwnerAddress" -> myAddress ,
    "PrivateKey" -> myKeys["PrivateKey"]
    |>, "Preview" -> False];

Check its metadata:

In[46]:=
BlockchainTransactionData[customURINFT["TransactionID"], "Metadata"] // Dataset
Out[46]=

Options (5) 

BlockchainBase (2) 

Mint an NFT on the Cardano testnet by using the BlockchainBase option:

In[47]:=
tempKeys = \!\(\*
TagBox[
FrameBox["\<\"Private and Public Keys Association\"\>"],
"Placeholder"]\);
In[48]:=
tempAddress = BlockchainKeyEncode[tempKeys["PublicKey"], "Address"];
In[49]:=
(* Evaluate this cell to get the example input *) CloudGet["https://www.wolframcloud.com/obj/f670c407-eee0-418e-8702-43bbdeb626af"]
In[50]:=
thumbnailImage = ImageCrop[
   ImageResize[finalImage, {Automatic, 400}, Resampling -> "Nearest"], {400, 400}];
In[51]:=
nftAlphaTest2 = ResourceFunction["MintNFT"][<|
   "Name" -> "Alpha-Test-1",
   "Thumbnail" -> thumbnailImage,
   "Source" -> finalImage,
   "Description" -> "Alpha-Test Minting 3",
   "NFTQuantity" -> 10
   |>,
  <|"OwnerAddress" -> tempAddress ,
   "PrivateKey" -> tempKeys["PrivateKey"]
   |>, "Preview" -> False, BlockchainBase -> {"Cardano", "Testnet"}]
Out[4]=

Get the NFT metadata from the Cardano blockchain:

In[52]:=
nftMetadata = BlockchainTransactionData[nftAlphaTest2["TransactionID"], "Metadata", BlockchainBase -> {"Cardano", "Testnet"}];
In[53]:=
Flatten[Nest[Values, nftMetadata, 3]]
Out[53]=
In[54]:=
Dataset[Flatten[Nest[Values, nftMetadata, 3]]]
Out[54]=

Preview (3) 

Set the default blockchain:

In[55]:=
$BlockchainBase = {"Cardano", "Testnet"}
Out[55]=

Get an image to use for the NFT, and your keys and address:

In[56]:=
image = \!\(\*
GraphicsBox[RasterBox[CompressedData["
1:eJzt2e3NI7kRReEBHIkjcQx2CAb82zE5Q4fgXRj6sYNeTrPF6jqXPA+wgHH9
qkWV+FWav/7z3//4119+/Pjx99/++89v//3+v6/9929/+n/d+rvZ/On7rPr7
KtZnzPqslTruj7fmQzXquKp8e15UjyNl/qSMp6ueb+3/6SiflzZ/qqWP/6Pq
vrTLfLA+Y+n1+fl1tDrbN41Zn7H0+uxyz6TMhw/6vp2er5I+b7593ern71LP
b59/Wv4r7udrnjuL9n3R9v+nrM+Y9bm2ejyUfWaW586Y9Rmj7QMp98yn7/Pt
39O+r1NR1kHKeknbT6jj0h+5n6+Vsp90O2U+PGV9rnWdR9S62Tc9e59Vf1/F
+oyln+OzqPvPXbT5mTKe3ftEipR7e8r+v8t4qtDW76xT9xP6/t/N+oxR7ttp
9aTNE8r3OMv6jJ1WH+o5TpkPH5R7Jm3fpo3nLZR1Q11fqd8zbT6njKfqdVXo
+3n3+9Du29Wsz1h6fd6uK/X33irU75FSJ+szRq0P5fld+0n3/kOZnx+U8dD2
h/T5Rh3/Kf8e+kEbl/v5WpTzl1qfWfT9vJv1ubbLfrJK6rmZfg+pZn3GqPsA
pT5vofdZ3d8v/R6eYtfxd39f9Htm2npPR/9+u9HXSzfrc23X/Ye2n6efm9Wo
56b1Wfv3FLR9YJf9h4K6XqpV/+5K//emqtdVOeWeWY22r7qf32NfNmZ9xij3
Vdo+QP2+VqHNc8o8nGV9xtLrQ6njLvx+x2jnXVe/6vjX5l1c73tL+X5T1suH
9RlLrw+1rk/Rzrv0eU6dh5Q6WZ8x2vyn1Z82nlXj6N7fKPWhSf+c6eN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zc3Nz871zSZJI7p5X6efaqeNP/9ySpD3R+nRzc3Nzc/NK
s+9D6dPf6kOrPgdtXpmbm5ubm0uStItv+9auc7Pr+as/r/cLSdIOaH26ubm5
ubn5N3mX9D56Fu17Nzc3Nzc3/yaXJOkkd8/D9D736fO9L0iSTkTr083Nzc3N
zd/MV6P2u0+fa25ubm5ufkIuSZL+3N3zk3qOe/5LkvRrtD7d3Nzc3NycnKeg
1c3c3Nzc3JycS5Kkde6et0/PZc9zSZLWo/Xp5ubm5ubmO+Wr0D6Xubm5ubn5
TrkkSXqP57EkSQT/A3ntk+c=
"], {{0, 0}, {161, 81}}, {0, 1}],
Frame->False,
FrameLabel->{None, None},
FrameTicks->{{None, None}, {None, None}},
GridLinesStyle->Directive[
GrayLevel[0.5, 0.4]],
ImageSize->250,
Method->{"DefaultBoundaryStyle" -> Automatic, "DefaultGraphicsInteraction" -> {"Version" -> 1.2, "TrackMousePosition" -> {True, False}, "Effects" -> {"Highlight" -> {"ratio" -> 2}, "HighlightPoint" -> {"ratio" -> 2}, "Droplines" -> {"freeformCursorMode" -> True, "placement" -> {"x" -> "All", "y" -> "None"}}}}, "DefaultPlotStyle" -> Automatic},
PlotRangePadding->0]\);
In[57]:=
myKeys = \!\(\*
TagBox[
FrameBox["\<\"Private and Public Keys Association\"\>"],
"Placeholder"]\);
In[58]:=
myAddress = BlockchainKeyEncode[myKeys["PublicKey"], "Address"];

To get a preview of the NFT without submitting the transaction to the blockchain, use the "Preview" option:

In[59]:=
ResourceFunction["MintNFT"][<|
   "Name" -> "My First NFT",
   "Thumbnail" -> ImageResize[image, 100],
   "Source" -> image,
   "Description" -> "Minting my first NFT"
   |>,
  <|"OwnerAddress" -> myAddress ,
   "PrivateKey" -> myKeys["PrivateKey"]
   |>, "Preview" -> True] // Dataset
Out[59]=
In[60]:=
%["BlockchainTransaction"]
Out[61]=

Version History

  • 1.2.0 – 07 June 2023
  • 1.1.0 – 31 May 2022
  • 1.0.0 – 26 July 2021

Source Metadata

Related Resources

Author Notes

The current implementation of MintNFT only works with the Cardano blockchain and follow the CIP 25 NFT Metadata Standard. Future versions will support other blockchains.

License Information