Solana.Unity-SDK
Solana.Unity-SDK copied to clipboard
Add Support for the Digital Asset Standard (DAS) API
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
Hello Gabriel,
Can you please explain me more about the issue so that I can start working on this ASAP?
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:
- Write a class to call the DAS API.
- Expose in the Web3.cs script an additional configuration to specify the DAS API endpoint
- 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