Using CrossTalk to Mint NFTs Across Chains
In this guide, we'll show you how to use Router's CrossTalk library to mint NFTs across chains.
Purpose: Users can pay on any chain for minting the NFT; however, the NFT will be minted to them only on the specified chain. In other words, the minting fee can be taken on any chain, but the minting shall happen only on the specified chain.
As we are all aware, with ERC-721, for one token ID, only one NFT can exist. Hence, to give NFTs cross-chain capabilities while avoiding multiples of instances of the same token ID on different chains, we mint NFTs only on one chain. However, we ensure that the minting fee can be collected on any chain. This workflow gave birth to the concepts of Fee Chains and Minting Chain.
In this guide, we'll take a look at how we can achieve this using our ERC721-minting-libraries. This guide is divided into two sections -
  • Steps that need to be followed on the fee chain (chain where the fee for minting NFTs can be collected):
  • Steps that need to be followed on the minting chain (chain where NFTs can be minted):
Copy link