NFT Fetcher is a tool that allows developers to easily integrate NFT (Non-Fungible Tokens) into game engines like Unity and Unreal. With just a few clicks, developers can fetch NFT from specific chains and contracts and integrate them into their game.
Please get your API key before downloading the SDK from https://www.lync.world/form.html
Download the LYNC - NFT Fetcher SDK from here. Import the SDK .unitypackage file to your project. or simply drag and drop .unitypackage file to your project.
Once the NFT Fetcher SDK has finished importing into your Unity project, you can begin integrating it into your game. To do this, open the NFTFetcher scene provided by the LYNC NFT Fetcher SDK.
Path : Assets ->LYNC-NFT-Fetcher -> NFTFetcher Scene
To choose the blockchain network, simply go to the ChooseChain drop-down menu and pick the network of your contract address
Pass the Contract Address on the selected chain. It will start fetching all the NFTs of that contract address.
If you want gamers to fetch their NFTs from the wallet address, mark "Show User NFTS" as True (Mark Tick).
For testing in Unity Editor, Pass Wallet Address and NFTs will start showing. If you wish to see logs, enable Debug Logs as True (Mark Tick).
Integrate LYNC Metamask Wallet SDK https://github.com/LYNC-WORLD/Metamask-Unity-Wallet-SDK
Once done, when you build on WebGL, it will fetch the gamer's NFTs from the specific wallet.