-
Notifications
You must be signed in to change notification settings - Fork 8
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
7. List the members of the batch (read BatchRegistry contract) #4
Comments
I made a start on it in this branch. I am using events to watch check-in's, and I am seeing one address checked in twice. How should we handle this? Just filter out duplicates before displaying them? |
Also I just made a simple list of addresses, that link to builder profile. Maybe we could extract the ENS profile picture and display some nice cards instead. What do you guys think? |
@arjanjohan The const {
data: events,
isLoading: isLoadingEvents,
error: errorReadingEvents,
} = useScaffoldEventHistory({
contractName: "BatchRegistry",
eventName: "CheckedIn",
fromBlock: 31231n,
watch: true,
filters: { first: true },
blockData: true,
transactionData: true,
receiptData: true,
}); You will get wallets not duplicated I think. Hope it helps |
@arjanjohan can you submit a PR so I can help you with the development process? What do you think about it? |
Hi, I started working on this issue. I will post a PR in case somebody else want to help :) Related PR: #29 |
Goal
Show the current members of your batch in the app.
The text was updated successfully, but these errors were encountered: