xmtp / example-chat-react

This repo has been archived. Replacement apps include the XMTP Quickstart React and XMTP Inbox chat apps. For more details and links, see the README in this repo.
MIT License
74 stars 52 forks source link

Handle cb.id #167

Closed neekolas closed 1 year ago

neekolas commented 1 year ago

Summary

I wanted to add support for *.cb.id addresses via an offchain resolver. We could choose to support more offchain resolvers, but I figured we should just start with 1.

I noticed a bunch of different code paths hardcoding the .eth and 0x checks, so I refactored a bit to use helper functions.

https://user-images.githubusercontent.com/65710/208723935-8cde3f8c-ce6f-4a7a-afb1-dfa93234cd73.mp4

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
demo-xmtp-chat ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Dec 20, 2022 at 5:20PM (UTC)
dev-dot-xmtp-dot-chat ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Dec 20, 2022 at 5:20PM (UTC)
example-chat-react ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Dec 20, 2022 at 5:20PM (UTC)
cloudflare-workers-and-pages[bot] commented 1 year ago

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: b4678d8
Status: ✅  Deploy successful!
Preview URL: https://fb9b532a.chat-3hb.pages.dev
Branch Preview URL: https://support-cb-id.chat-3hb.pages.dev

View logs