rainbowkit icon indicating copy to clipboard operation
rainbowkit copied to clipboard

feat: expose useRecentTransactions hook

Open spennyp opened this issue 3 years ago • 4 comments

spennyp avatar Aug 22 '22 04:08 spennyp

@spennyp is attempting to deploy a commit to the rainbowdotme Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Aug 22 '22 04:08 vercel[bot]

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)

vercel[bot] avatar Aug 22 '22 04:08 vercel[bot]

Adds feature discussed here: https://github.com/rainbow-me/rainbowkit/discussions/373

spennyp avatar Aug 22 '22 04:08 spennyp

++ 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.

shrugs avatar Sep 08 '22 18:09 shrugs

++ 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.

smakosh avatar Nov 15 '22 16:11 smakosh

Can/should we add docs for this? 📚

aj-may avatar Jan 23 '23 20:01 aj-may

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

DanielSinclair avatar Jan 30 '23 22:01 DanielSinclair