Explorer-backend and frontend help
Okay, I'm new to all this so please bear with me.. I'm setting up the explorer-backend in support of my project. The reason I believe I need it is to take snapshots for airdrops to NFT holders. Problem is now that I've got chain-grabber syncing I'm not sure where I go from here. Do I need to install the explorer-frontend as well? Would anyone be able to explain how to actually take a snapshot of the chain and how I can isolate the wallets that hold NFTs from a specific project?
17 Replies
you don't need to setup your own explorer for this
I would just make api requests to track down who holds what
Okay, how would I go about doing that? Total noob here when it comes to this stuff. I've only ever really done server admin type stuff...
Ironically I also have a question for you in regard to your bulk minter 😅
Would it be with the Token search function I'm seeing on the api site?
what is your backend code written in?
I used the explorer-backend repo on github so scala I believe
no like to call api what language are you using?
Ah, I was following an ergotutorials video to try and figure it was using java
so you can go to gql https://gql.ergoplatform.com/
and make this query
and you will see all address that held your token

you can also go here
and it will show the box the token is in currently
and you can also see address there
Okay, am I able to input multiple token IDs with this?
no
@MGpai I can't send messages in that channel. I have it set up with multiple queries in one file but they don't all run at the same time.
@Sepehr (Simon), do you have an example of what the syntax is to run a batch query?
This is one example, you can batch multiple
Ids and get all of them in one query.
Thank you!
If this is not the appropriate place for this question let me know. I am working on a website that has to display the balance of several wallets. I didn't know if I needed my own ergo node to do this but I figure it would probably be more reliable if I did. What I want to know is how to request the balance of a wallet from my node?
It worked thanks. Is it possible to make the request to my own node?