Cross-chain ERC-1155
Deploying the ERC1155 NFT Contract on the Sender Chain
Below is an example of a standard ERC1155 contract. You can use the Remix - Ethereum IDE to deploy this contract on an EVM-compatible blockchain.
Once the contract is deployed, you can mint an NFT and conduct a cross-chain transfer via the zkBridge official website. If this is the first time you are transferring this NFT, zkBridge will automatically create a mapping contract on the receiver chain. If you wish to deploy the mapping contract for the NFT on the receiver chain by yourself, please refer to the tutorial below.
Deploying the Mapping Contract on the Receiver Chain
For ERC1155, you need to implement the IZKBridgeErc1155
interface and grant minting and burning permissions to the NFT bridge contract on the receiver chain.
After deploying the contract on the receiver chain, please notify us and provide both the sender chain's and receiver chain's contract addresses, so we can add the mapping relationship for you.
To get in touch, you may either:
Send an email to [email protected]
Reach out to our community moderators on our Discord Server
Fill out the from for Ecosystem Partnership
Example:
BscTestnet-NFT: 0x55D7680998778e2C8df1255a8b2FE57e56623126
OpbnbTestnet-NFT: 0x106d3cD51e1Af35F7328aab6e8C070500f9d517d
Last updated