Fig is React hooks for xmtp. Use Fig to build secure, permissionless, open applications.
Fig provides everything you need to build a complete application on top of XMTP:
- useAuth
- useMessages
- useStream
- useTopic
- useFunction
- useRouter
- useKv (coming soon!)
- useSql (coming soon!)
- Overview
- Features
- Contents
- Quick Start
- API Reference
- Built with Fig
- Support
- Community
- Contributing
- Sponsors
- Authors
- License
- Roadmap
- Notes
npm install @killthebuddh4/fig
- useAuth
- useMessages
- useStream
- useTopic
- useFunction
- useRouter
- shh is private, ephemeral group chat.
- txt is an experimental, text-based, realtime social network
- More coming soon!
The best place to get real-time support is the #fig
channel in Discord or by sending Achilles a DM on X. Also, please don't hesitate to open an issue.
If you're interested in contributing, please read the contributing docs before submitting a pull request.
You can be the first ❤️!
MIT License
Quiver API
const quiver = createQuiver();
quiver.use();
const routerA = createRouter();
routerA.use();
routerA.use();
const routerB = createRouter();
routerB.use();
quiver.router(a);
quiver.router(b);
quiver.start();
// later
us to talk to Quiver through (and about) specific router instances.
router.detach();
router.attach();