-
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 RabbitHole as a Data Provider #1436
Comments
I can see they're on Polygon too https://polygonscan.com/token/0xec3a9c7d612e0e0326e70d97c9310a5f57f9af9e |
Hey @sampolgar , good catch! |
Copying correspondence here from DM Current options are either Dune or Alchemy or others we haven't looked into |
Hey, @sampolgar, @MartinGbz! Just wanted to notify you that I'll be finishing integration ( https://github.com/polux0/sismo-rabbithole-provider ) Any advice/comment is more than welcome :) |
@sampolgar Just a precision, this can be done with BigQuery (we can get the questId with BigQuery) but the main problem is that BigQuery is not available on Optimism. |
Hey @polux0 sorry for the late answer, |
@MartinGbz is Sismo wanting "holders of the token" or "addresses that completed a certain quest" - because holding the token doesn't necessarily mean they've completed the quest (because a user could buy the token) |
We want only the holders of the tokens (not the addresses that completed the quest) And, for info: I've just noticed that there is a
But I don't know the cost of doing this in time (we can use ANKR RPC it's fastest with the API key) |
ANKR can call 90,000 call per minute: #1434 (comment) |
Okay so let's do it like this! |
📢 Recap and Current State of the Issue - Integrating RabbitHole as a Data Provider 🔧 Previous Solutions & remarks (last month by sampolgar):
🛠 Side Integration Work (last month by polux0): Polux0 has been working on the integration and has created a separate repository for it. 🔍 Solution found (3 weeks ago by sampolgar and MartinGbz): Sismo needs "holders of the tokens" not "addresses that completed a certain quest". A possible solution:
ANKR can be used as it can make 90,000 calls per minute. So the group generation will be around 2 minutes, which is ok. 👉 Next Steps:
Thank you all for your valuable inputs and collaboration! 🙌 If there are any further suggestions or ideas, please share them here. |
Integrate RabbitHole as a Data Provider will enable to create new Groups from holders of a specific RabbitHole Quest NFT.
Specifications
Tips on how to integrate the Data Provider
RabbitHole NFTs are non-transferrable ERC-721 NFTs.
All contracts are deployed with the same addresses on Goerli, Mainnet and Optimism.
It is important to rely on the Quest Id from RabbitHole Receipt NFT contract address to extract the list of addresses.
They don’t have an API, so the easiest way is by using BigQuery & Etherscan.
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: