I want to mint NFT on matic and then transfer the NFT to Ethereum network. There is no straightforward extensive tutorial or article on this.
Hello @shubhangi well the use case is not manual. I mean the use case is
- Deploy contract to Matic
- Mint tokens on matic and immediately transfer that to ethereum using code programmatically and not manually using a GUI interface
- Purchase/Transfer that NFT from ethereum network
Can you please share any step by step tutorials or article available. My apologies, if I am asking any dump question, as I am new to this Solidity/NFT space.
To mint NFT, you can use this link : https://mintnft.today/
After Minting you have to submit this form to add the NFT in OpenSea :
Hi @shubhangi thanks for your reply. What I am asking is do you have a source code or any article reference which can guide us. We cannot use a gui interface as we are building one for our client.
You can assume we are building the same software the link which you sent me. I am trying to get some help on the source code end.
Hi @Nilanjan_Maity , here are some steps.
Matic mintable assets - https://docs.matic.network/docs/develop/ethereum-matic/pos/mintable-assets/
deploy DummyMintableERC721 on root chain ( pos-portal/DummyMintableERC721.sol at master · maticnetwork/pos-portal · GitHub )
deploy ChildMintableERC721 on child chain ( pos-portal/ChildMintableERC721.sol at master · maticnetwork/pos-portal · GitHub )
allocate proper roles, submit mapping request and wait for it to get mapped.
once it is mapped, mint nft on child chain, burn nft (call withdraw()) function and after it is checkpointed and submit proof and get it on ethereum. this process can be done using matic.js (note: use mintable predicates in maticPosClient initialization )