@latticexyz/abi-ts
TypeScript icon, indicating that this package has built-in type declarations

2.0.11 • Public • Published

abi-ts

Create TypeScript type declaration files (.d.ts) for your ABI JSON files.

This allows you to import your JSON ABI and use it directly with libraries like viem and abitype.

pnpm add @latticexyz/abi-ts
pnpm abi-ts

By default, abi-ts looks for files with the glob **/*.abi.json, but you can customize this glob with the --input argument, e.g.

pnpm abi-ts --input 'abi/IWorld.sol/IWorld.abi.json'

Readme

Keywords

none

Package Sidebar

Install

npm i @latticexyz/abi-ts

Weekly Downloads

1,454

Version

2.0.11

License

MIT

Unpacked Size

11.1 kB

Total Files

14

Last publish

Collaborators

  • holic
  • alvarius
  • l_udens