It's the fastest way to add xmtp-js to your React app.
- 🦾 Ergonomic hooks for working with the XMTP API.
- 🔥 Utilizes web workers, so crypto operations don't nuke your UI.
- 💼 Built-in multi-client support, switch between accounts seamlessly.
- 🌀 Auto-refresh data and message streaming
- 🦄 TypeScript native!
- 🙈 component library -- headless, fully customizable UI components for painless integration
- 🚀 useRpc -- makes requests to an XMTP-powered RPC server
- 🤝 useGroupChat -- group chat for XMTP!
- 🤖 useBot -- think #ChatGXMTP (streaming, cancellable, etc.)
- 🔒 useVault -- an e2ee encrypted self-custodial kv store
- and more!
Check out the live walkthrough!
Additional documentation, complete with a full API reference, coming soon!
npm install @relay-network/receiver
./scripts.dev.sh
We've "inlined" working use cases along with their corresponding hooks (e.g., see the useClient example). To see them in action, check out the demo.
The best place to get real-time support is the #developers
channel in
Discord. You'll get extra special attention and
tons of kudos 🎉 if you also open an issue.
If you're interested in contributing, please read the contributing docs before submitting a pull request.
- killthebuddha.eth (@killthebuddha_) – Relay
MIT License