Skip to content

Conversation

@Gbangbolaoluwagbemiga
Copy link
Contributor

Title: Add batch membership + check-in badges to address dropdown

Summary

  • Add visual indicators for batch membership and check-in status in the address dropdown.
  • Uses BatchRegistry contract to check membership (allowList[address]) and whether the address has checked in
  • Displays subtle badges next to the connected address:
    • Member: green badge with icon
    • Checked-in: info badge

Description

  • UI entry: packages/nextjs/components/scaffold-eth/RainbowKitCustomConnectButton/AddressInfoDropdown.tsx
  • Contract reads:
    • allowList(address) at packages/nextjs/components/scaffold-eth/RainbowKitCustomConnectButton/AddressInfoDropdown.tsx:48
    • yourContractAddress(address) at packages/nextjs/components/scaffold-eth/RainbowKitCustomConnectButton/AddressInfoDropdown.tsx:53
  • Badge rendering near the address:
    • Member badge and Checked-in badge at packages/nextjs/components/scaffold-eth/RainbowKitCustomConnectButton/AddressInfoDropdown.tsx:75
  • Contract reference: BatchRegistry ABI and address configured for Arbitrum in packages/nextjs/contracts/externalContracts.ts:10
image

Additional Information

  • I have read the contributing docs: /scaffold-eth/scaffold-eth-2/blob/main/CONTRIBUTING.md
  • This is not a duplicate of any https://github.com/scaffold-eth/scaffold-eth-2/pulls

Related Issues

Your ENS/address

  • 0x3Be7fbBDbC73Fc4731D60EF09c4BA1A94DC58E41

…us to address dropdown

Add visual indicators for batch membership and check-in status in the address dropdown. Uses BatchRegistry contract to check if the address is a member and has checked in, displaying appropriate badges.
@vercel
Copy link

vercel bot commented Dec 13, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
batch22.buidlguidl.com Ready Ready Preview, Comment Dec 16, 2025 9:26pm

Copy link
Collaborator

@melanke melanke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your PR!

⚠ Please, fix the conflicts on the PR. LMK if you need help.

And here's my review:

…us to address dropdown

Add visual indicators for batch membership and check-in status in the address dropdown. Uses BatchRegistry contract to check if the address is a member and has checked in, displaying appropriate badges.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

f) Show connected wallet info

2 participants