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

feat: Change the type of contracts and make it available only through the getter. #239

Closed nicosampler closed 2 months ago

nicosampler commented 2 months ago

contracts.address was modified to allow setting addresses for any, some, or all chains supported.

contracts can not be consumed outside the file it was defined, forcing it to be consumed through the getter, which makes it safe to try to get an address if it was not defined.

vercel[bot] commented 2 months ago

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

Name Status Preview Updated (UTC)
dappbooster ✅ Ready (Inspect) Visit Preview Aug 22, 2024 1:53pm
fernandomg commented 2 months ago

@nicosampler, shall we discard this in favor of #250?

nicosampler commented 2 months ago

yes!