-
Notifications
You must be signed in to change notification settings - Fork 202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Proposal] Integrate Gateway as a Data Provider #1434
Comments
Notes
|
Agree with this, again The Graph well be more welcomed than Dune 😅 |
I had a quick look on BigQuery, we can query the token_transfers which returns an array of objects like this:
Here we have the owner and tokenId but not the Credential Name, Credential Type, or Organization Id. Not sure how to use Arweave as it looks like these NFT's don't have metadata stored on Arweave. Do you know how I can use BigQuery + Arweave? |
By using BigQuery (especially the |
Awesome, thanks @MartinGbz, I'll have a play with the BigQuery, it looks like we just need to add a node env RE Arweave - it seems some NFT metadata is stored on Arweave and some isn't
or this is on Pinata
|
Hey @sampolgar, in order to use BigQuery, you need to have a Google Cloud account and run this command Regarding your remark: but here you are comparing 2 different NFTs, so that's normal, maybe the second one don't have attributes at all (it seems possible isn't it?) |
Ok, I think we're stuck, can we meet to discuss how we will do this? Here is what I see: On Chain Data
Off Chain Data
There are over 750 000 NFTs minted, so querying Arweave/IPFS would be a 1 to 1 query (query 750000 times) or querying Alchemy is 65 NFTs at a time We should definitely cache the results somewhere and query on a schedule, etc. |
An update - the Alchemy SDK supports async queries & rate-limit handling. This would significantly reduce the time to bulk query the endpoint. edit |
📢 Recap and Current State of the Issue - Integrate Gateway as a Data Provider
🔍 Solution found
👉 Next Steps Implement one of these 2 solutions If there are any further suggestions or ideas, please share them here. |
Integrate Gateway as a Data Provider will enable to create new Groups from holders of a specific Gateway Credential NFT.
Specifications
Tips on how to integrate the Data Provider
Gateway NFTs are non-transferrable ERC-721 NFTs minted on Polygon with this contract address.
They don’t have an API, so the easiest way to extract the list of addresses is by using BigQuery & Arweave.
Have a look at Sismo documentation to understand what is a Data Provider, and checkout the tutorial to know how to integrate a Data Provider.
Have fun!
The text was updated successfully, but these errors were encountered: