First, upload an image of your newly almost minted NFT. The minting function will receive it as one of its parameters.Documentation Index
Fetch the complete documentation index at: https://developers.fireblocks.com/llms.txt
Use this file to discover all available pages before exploring further.
Image hosting options You can upload your selected image using any image-hosting site. While not covered in this guide, another option would be to use a system like IPFS protocol to store your image on-chain as a decentralized solution.Then we call upon the function while passing these values with it.
| Parameter | Description |
|---|---|
sender | The transaction signer address (your address) |
tokenId | The ID value of the newly minted NFT |
uri | The NFT’s name, description, properties, and image location |
Using Hardhat
Hardhat Runtime Environment required We specifically require the Hardhat Runtime Environment. This is optional but useful for running the script in a standalone fashion throughIn the scripts directory, create a new minting script titled:node <script>. You can also run a script withnpx hardhat run <script>. If you run that script, Hardhat will compile your contracts, add the Hardhat Runtime Environment’s members to the global scope, and execute the script.
scripts/mint.js
Verify your NFT
Now that you have your very own NFT collection, verify it on your Fireblocks workspace and the NFT marketplace Rarible.In your Fireblocks workspace
Log in to your Fireblocks Console to see whether the last transaction was completed successfully. It will be a Contract Call type.On Rarible
- Visit Rarible using the following URL: https://testnet.rarible.com/user/your_wallet_address/owned
- Look for your NFT collection in your Rarible account.
Note
The your_wallet_address value is the address you used to receive the NFT (the vault that deployed the contract).