Cross-chain NFT Minting
Last updated
Last updated
Implement NFT minting on the Ethereum side using proxy accounts to represent Solana users.
EVM Side: Users mint NFTs via a proxy account on Ethereum.
Proxy Representation: Solana users authorize proxy accounts to mint NFTs on their behalf.
Multi-NFT Support: Multiple NFT collections (e.g., NFT1, NFT2) are supported.
Standard ERC-721 smart contract.
Proxy accounts mint NFTs instead of users.
Main functions:
mint()
ownerOf()
transferFrom()
Verifies NFT ownership by proxy accounts.
Relays proof to Solana using Wormhole messaging.
Key functions:
sendProof(address nftContract, uint256 tokenId, address solanaReceiver)
verifyOwnership(address nftContract, address proxyAccount, uint256 tokenId)
Relays ownership proof from Ethereum to Solana.
Message content:
Proxy account address
NFT contract address
Token ID
Solana recipient address