Replies: 1 comment 1 reply
-
Hi @sshmaxime thanks for your suggestion
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The idea of this additional option would transform the
json
abi totypescript
abi by providing an extra optionabi.ts
toContractArtifactField
that would print the abi as Typescript instead of json.Example:
ContractAbi.json
:ContractAbi.ts
:I understand the reason why we wouldn't want this as this would include some specific code for a specific language but as of today most of the web3 frameworks are all or almost using abitype under the hood so why not providing an extra option
abi.ts
that would print the abi as Typescript instead of just json.Any opinions or suggestions ? If this could be accepted I could open a PR this week.
Beta Was this translation helpful? Give feedback.
All reactions