❗Approve NFT
This is the manual way of approving NFT (NFTs Minted from other sources and chains that originX currently not support).
If you had minted NFTs from other sources (eg. https://www.testnetmint.com/ ), you can also follow the below steps to approve the NFT.
Polygon Mumbai Testnet Address of originX dApp:
0xd58C5093f079D4c98d9acbB0CBa6D0dD287b85d8How to approve NFT(s) using polygonscan with contract address & Token ID of the NFT:
Connect your web3 provider.
Connect your web3 provider with the account with which you own the NFT. In this case:
0xEE8062a19bF3B9a66A222F9bc15aC8b97f56A2FA. After connecting your wallet, you can write the function.

Recommended method to approve NFT(s): Approve NFT
Using approve function to approve One NFT:
In this example, i'm using an NFT minted from BoredApeYacthClub, with token id #1669, in the address #0xEE8062a19bF3B9a66A222F9bc15aC8b97f56A2FA. You can visit the contract address on the minting page, if you minted a different NFT and follow the same procedure to approve it.
Navigate to Contract --> Write Contract --> approve function.
to (address): 0x8c61805CA0c496b29578F19a753e5AF101B4591a
tokenId (uint256): Token ID

Using setApprovalForAll to approve all the NFTs you own.
Contract --> Write Contract --> setApprovalForAll function.
operator (address): 0x8c61805CA0c496b29578F19a753e5AF101B4591a
approved (bool): true

On sucessful approve of the contract, you can proceed to create raffle. Creating a Raffle
Last updated