In order to import NFT on Poly Bridge, please make sure that your source chain NFT contract can support ERC-721
, ERC-721Metadata
and ERC-721Enumerable
interfaces with the ERC-721 standard.
Besides source chain NFT contract, you need to develop and deploy the mapping NFT contracts on target chain. Here are the three steps to assist you in completing the process.
-
There is a mapping NFT contract template provided by Poly Network.
-
The mapping contracts should support
ERC-721
,ERC-721Metadata
andERC-721Enumerable
interfaces with the ERC-721 standard. -
The mapping contracts need to implement a minting interface. The method will be invoked by NFTLockProxy in Poly Network. Here is an example:
function mintWithURI(address to, uint256 tokenId, string memory uri) external { require(!_exists(tokenId), "token id already exist"); _safeMint(to, tokenId); _setTokenURI(tokenId, uri); }
- Submit your NFT information to the Poly Network team.
- Contact Poly Network via
- Waiting for feedback from Poly Network. We'll send you an email when everything is complete.
- Click here and follow the User Manual to test the NFT cross-chain transfer.