Socket
Book a DemoInstallSign in
Socket

@latticexyz/abi-ts

Package Overview
Dependencies
Maintainers
4
Versions
1343
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@latticexyz/abi-ts

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

2.0.0-main-55377ffe
Source
npmnpm
Version published
Weekly downloads
525
44.63%
Maintainers
4
Weekly downloads
 
Created
Source

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'

FAQs

Package last updated on 07 Sep 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.