Solana.Unity-SDK icon indicating copy to clipboard operation
Solana.Unity-SDK copied to clipboard

Add Support for the Digital Asset Standard (DAS) API

Open GabrielePicco opened this issue 2 years ago • 2 comments

Is your feature request related to a problem? Please describe. Missing support retrieving Compressed NFTs & Digital Asset Standard (DAS) API

Describe the solution you'd like Following the DAS API specification, implement an enhanced Rpc which use the API for things such as retrieving compressed NFTs

GabrielePicco avatar Aug 25 '23 15:08 GabrielePicco

Hello Gabriel,

Can you please explain me more about the issue so that I can start working on this ASAP?

coolestnick avatar Mar 17 '24 17:03 coolestnick

Hey @coolestnick, thanks for the interest to work on this.

  • The issue is to support the DAS api, defined here: https://github.com/metaplex-foundation/digital-asset-standard-api?tab=readme-ov-file#methods An implementation would require:
  1. Write a class to call the DAS API.
  2. Expose in the Web3.cs script an additional configuration to specify the DAS API endpoint
  3. If the DAS API endpoint is defined, use the wrapper object to get the list of NFTs, rather than hitting directly the RPC (current implementation). Changing the (LoadNFTs methods)[https://github.com/magicblock-labs/Solana.Unity-SDK/blob/main/Runtime/codebase/Web3.cs#L364].

Happy to review an approach or a potential implementation if you want to draft a PR

GabrielePicco avatar Mar 17 '24 17:03 GabrielePicco