Page MenuHomePhabricator

[patch] Export `emojiAvatarForAddress` from `rainbowkit`
ClosedPublic

Authored by atul on Feb 2 2023, 3:26 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Oct 30, 2:25 AM
Unknown Object (File)
Wed, Oct 30, 2:25 AM
Unknown Object (File)
Wed, Oct 30, 2:25 AM
Unknown Object (File)
Wed, Oct 30, 2:22 AM
Unknown Object (File)
Sep 26 2024, 8:34 AM
Unknown Object (File)
Sep 18 2024, 11:07 AM
Unknown Object (File)
Sep 13 2024, 10:52 AM
Unknown Object (File)
Sep 13 2024, 10:52 AM
Subscribers

Details

Summary

We want to export the emojiAvatarForAddress function from rainbowkit so we can "create our own ConnectButton".

With the address (via useAccount()), the emoji (via emojiAvatarForAddress), the AccountModal (via useAccountModal()), and (potentially) the ENS Avatar (via wagmi:useEnsAvatar()): we have everything we need.

Test Plan

Able to log the avatar from SIWELoginForm:

dd31ad.png (1×2 px, 264 KB)

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable