turbo-eth / template-web3-app

⚡️ Web3 App Template built using Next.js, RainbowKit, SIWE, Disco, and more!
https://www.turboeth.xyz
MIT License
334 stars 89 forks source link

[integrations] Refactor: update wagmi to V1 and Refactor Components #90

Closed marthendalnunes closed 1 year ago

marthendalnunes commented 1 year ago

This Pull Request introduces significant upgrades to the wagmi, incorporating changes specified in issue #89. It also refactors components that directly interact with contracts, standardizing the UX for error and loading messages inspired by create-wagmi template components.

The contract interaction refactors primarily focus on the ERC20 and ERC721 integrations, introducing new components such as <BlockExplorerLink />, <ContractWriteButton /> and <TransactionStatus />, which aim to standardize contract interactions across the template.

The PR also addresses minor TypeScript-related issues, such as fixing type annotations.

The Pool Together integration has not been updated with these new patterns as it still requires major refactoring to its logic. These changes will be implemented in an upcoming PR

vercel[bot] commented 1 year ago

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

Name Status Preview Comments Updated (UTC)
light-turbo-eth ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 9, 2023 3:16pm
turbo-eth ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 9, 2023 3:16pm