BuidlGuidl / grants.buidlguidl.com

https://grants-bg.vercel.app
MIT License
3 stars 3 forks source link

Batch actions #61

Closed technophile-04 closed 8 months ago

technophile-04 commented 8 months ago

Description :

Playing around with batch actions

Branched out from #59, we could merge #59 and will later backmerge main into this 🙌

vercel[bot] commented 8 months ago

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

Name Status Preview Comments Updated (UTC)
grants-bg ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 6, 2024 10:52am
technophile-04 commented 8 months ago

Demo :

https://github.com/BuidlGuidl/grants.buidlguidl.com/assets/80153681/0ab56843-e511-4aa1-b494-770bfba5d534

Currently, the assumption is that all batch actions have the same txnHash (for now it's hardcoded but we can it later once we have the contract maybe) also please feel free to nitpick !!

carletex commented 8 months ago

Amazing stuff @technophile-04 Pushed a little tweak.

Currently, the assumption is that all batch actions have the same txnHash

Yep, great. We'd add a "send 50% Batch" button that interacts with the contract. I think I'm goona create a PR with a dummy contract so we can implement this. Also might change the networks (testnet + hardhat) so we can test properly.