Open zk1tty opened 9 months ago
@toufique-imam
case where a token is in polygon and you are minting in other network.
- It's possible and potential future requirement on 2nd release. When we deploy the contract on other networks, we will change this
mintNFTInToken ()
as follows.
- ACL: only MINTER_ROLE, the secret key of MINTER_ROLE is managed on Env valuables on Vercel.
- Tx flow: 2 txs occur.
- A user will send the Pinky Token on Polygon to Team wallet.
- Web BE confirm that Tx1 is finalized.
- MINTER_ROLE wallet on Web BE call
mintNFTInToken ()
.- A minted NFT token will be send to the wallet address of User.
Conclusion: @toufique-imam
Current PinkyNFT
contract is only for Polygon deployment.
In case of other networks, please update the part of point 1 as I mentioned above.
Okay I will update it
@zkitty-norika please check the new contract
@toufique-imam I confirmed that you update mintNFTInToken
.
Looks good to me.
Can you please mention the commit link with your comment for fast review from next time?
Okay sure. like this, the commit b49ccd262ed012c6c8c093da54fd32b5e1dcff55
if this is done, can you close it please
could you tell me which function call happend in case that we accept payment with PInkyToken on Polygon mainnet to issue NFT on other networks, like Aster zKatana mainnet. https://github.com/PinkyNFT/pinky-contracs/blob/289918f4eea7f974d49d90bd75c270a95df615a5/contracts/PinkyNFT.sol#L66-L90
Please remove the commnet out to show the value of private valuables. https://github.com/PinkyNFT/pinky-contracs/blob/289918f4eea7f974d49d90bd75c270a95df615a5/contracts/PinkyNFT.sol#L17-L29