feat: expose useRecentTransactions hook
@spennyp is attempting to deploy a commit to the rainbowdotme Team on Vercel.
A member of the Team first needs to authorize it.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Updated |
|---|---|---|---|
| rainbowkit-site | ✅ Ready (Inspect) | Visit Preview | Aug 27, 2022 at 10:41PM (UTC) |
Adds feature discussed here: https://github.com/rainbow-me/rainbowkit/discussions/373
++ access to the rainbowkit transaction store would be a nice upgrade for my project — the tx store does exactly what i want, (although would also like to be able to annotate txs with additional info so i can filter them app-side) so i've resorted to copying the TransactionStore itself into my project and writing my own hooks, then dual-publishing to rainbow's internal store.
++ access to the rainbowkit transaction store would be a nice upgrade for my project — the tx store does exactly what i want, (although would also like to be able to annotate txs with additional info so i can filter them app-side) so i've resorted to copying the TransactionStore itself into my project and writing my own hooks, then dual-publishing to rainbow's internal store.
About to do the same thing. Feels bad having the same code around when the solution needs just to be exported.
Can/should we add docs for this? 📚
Thanks for the contribution @spennyp. I think we need a more sophisticated Transactions API rather than exposing this hook. Open to ideas. We've had other inquires about plugging in historical transaction data to the RainbowKit Profile. Let's continue discussing in #373