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

contract returned by getContract is of type Abi making it lose reference to the specific types of the contract. #224

Closed nicosampler closed 3 months ago

nicosampler commented 3 months ago

The contract returned by getContract method is of type import { type Abi } from 'viem' making it lose reference to the specific types of the contract.

Ideally, when calling getContract, it. should be smart enough to infer the Abi type based on the Abi provided when the contract was declared.