BootNodeDev / dAppBooster

A modern blockchain boilerplate built to quickly get you started with your next project.
https://dappbooster.dev
MIT License
5 stars 1 forks source link

fix: balance check in OP #288

Closed fernandomg closed 1 month ago

fernandomg commented 1 month ago

Description:

This PR fixes https://github.com/BootNodeDev/dAppBoosterLandingPage/issues/5#issuecomment-2306487913

If the network is not supported by the dApp, the balance check will fail.

With this change, we switch to a most robust read solution, as it won't depend on the dApp configuration and can read balances for any viem-supported networks.

Steps:

Check the deployed example in dAppBoosterLandingPage

Type of change:

How Has This Been Tested?

Remember to check that:

Screenshots

(Add screenshots or videos to help test this pull request)

vercel[bot] commented 1 month ago

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

Name Status Preview Comments Updated (UTC)
dappbooster ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 9, 2024 6:35pm
docs.dappbooster ❌ Failed (Inspect) Sep 9, 2024 6:35pm