dethcrypto / TypeChain

🔌 TypeScript bindings for Ethereum smart contracts
MIT License
2.76k stars 365 forks source link

Feature request: add support for viem #844

Closed bitbyrey closed 1 year ago

bitbyrey commented 1 year ago

I was happily using wagmi and typechain together. But the latest version of wagmi merged to viem (https://viem.sh/) instead of ethers. Please consider supporting viem if possible. ❤️

krzkaczor commented 1 year ago

With viem, there is no longer a need for TypeChain. Smart contract interactions are typed using abi-type. Users simply need to store ABI in TypeScript files and declared as const.

Please reopen if I am missing something.