zkBridge
  • Polyhedra Network
  • zkBridge: Trustless Cross-chain Bridges Made Practical
    • Introducing zkBridge protocol
    • Block header relay network
    • Updater contract
    • Proof systems of zkBridge
    • zkBridge Research Paper
  • zkLightClient Overview
    • Introduction
    • zkLightClient on LayerZero ​
  • LayerZero zkLightClient Configurations
    • LayerZero V1 zkLightClient Oracle Addresses
    • LayerZero V2 zkLightClient DVN Addresses
    • LayerZero UA Configuration
  • Proving Ethereum Full PoS Consensus in ZK
    • Overview
    • Why Proving Ethereum full consensus?
    • System design for proving Ethereum full consensus
    • Efficient proof system for proving Ethereum full consensus
    • Performance evaluation
    • Concluding remarks
  • Application Use Cases
    • NFT transfer
    • Message passing
  • Tutorial
    • Import and transfer NFTs
  • Code Examples
    • Deploying Cross-chain NFTs
      • Cross-chain ERC-721
      • Cross-chain ERC-1155
Powered by GitBook
On this page
  1. Application Use Cases

NFT transfer

PreviousConcluding remarksNextMessage passing

Last updated 1 year ago

Cross-chain NFT transfer is a powerful feature implemented in zkBridge, enabling the secure and efficient transfer of Non-Fungible Tokens (NFTs) between different blockchain networks. This functionality allows users to seamlessly move their unique digital assets from one chain to another, taking advantage of the unique features and benefits provided by various blockchain ecosystems.

To achieve cross-chain NFT transfers, zkBridge leverages its zero-knowledge proof (ZKP) technology, SendAPI and ReceiveAPI interfaces, and the block header relay network. These components work together to ensure the security and efficiency of NFT transfers across different chains.

The cross-chain NFT transfer functionality provided by zkBridge paves the way for a more interconnected and interoperable blockchain landscape, allowing users to freely move their unique digital assets across various networks and opening up new opportunities for creators, collectors, and traders.

You may try out our on zkBridge.

Cross-Chain NFT Transfer Process

The following steps outline the process of transferring NFTs across chains using zkBridge:

1. Prepare the NFT transfer details

On the sender chain, gather the necessary information for the NFT transfer, including the NFT's token address, token chain, token ID, recipient's address, and destination chain.

2. Send the NFT transfer details using zkBridge entrypoint

Utilize the zkBridge entrypoint interface to initiate the NFT transfer. Package the NFT transfer details into a custom payload using the abi.encode function. Then, call the send function and provide the payload as an argument.

3. Generate and verify zkProof

The block header relay network generates a zkProof for the sender chain's block header, which is then verified by the updater contract on the receiver chain. This process ensures the integrity and security of the cross-chain NFT transfer.

4. Receive and process the NFT transfer using zkBridge receiver API

On the destination chain, use the zkBridge receiver interface to receive and process the NFT transfer. Call the zkReceive function, providing the source chain ID, source block hash, and zkProof as arguments. The function returns the decoded payload, allowing you to process the NFT transfer.

5. Complete the NFT transfer

With the NFT transfer details obtained from the decoded payload, perform any necessary actions to finalize the transfer, such as minting or transferring the NFT on the destination chain.

By following the above cross-chain NFT transfer process with zkBridge, users can seamlessly move their unique digital assets between various blockchain networks, unlocking new opportunities and interactions within the decentralized ecosystem.

NFT Transfer