Skip to main content
First, upload an image of your newly almost minted NFT. The minting function will receive it as one of its parameters.
Image hosting optionsYou 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. Now we will use Hardhat for the actual deployment. First, we need to make sure it is well set up as described in the Fireblocks Hardhat Plugin guide and then we follow the steps described in this guide.

Using Hardhat

Hardhat Runtime Environment requiredWe specifically require the Hardhat Runtime Environment.This is optional but useful for running the script in a standalone fashion through node <script>.You can also run a script with npx 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.
In the scripts directory, create a new minting script titled: 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

  1. Visit Rarible using the following URL: https://testnet.rarible.com/user/your_wallet_address/owned
  2. Look for your NFT collection in your Rarible account.
The your_wallet_address value is the address you used to receive the NFT (the vault that deployed the contract).