Socket
Book a DemoInstallSign in
Socket

@imtbl/isaac

Package Overview
Dependencies
Maintainers
4
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@imtbl/isaac

A lightweight library and CLI for generating Typescript/ethers.js bindings from Solidity smart contract ABIs.

unpublished
latest
Source
npmnpm
Version
0.1.5
Version published
Maintainers
4
Created
Source

Isaac

A lightweight library and CLI for generating Typescript/ethers.js bindings from Solidity smart contract ABIs.

Features

  • Caches unchanged ABIs between runs
  • Generates one class per contract
  • 20% faster than Typechain from a cold start
  • 86% faster than Typechain for cached ABIs

Basic Usage

// Typechain
const factory = new BeaconFactory(signer);
const beacon = await factory.deploy(params);
await beacon.commit(0);
// Isaac
const beacon = await Beacon.deploy(signer, params);
await beacon.commit(0);

Installation

Run with npm package runner:

npx @imtbl/isaac contracts -o bindings

Install globally:

yarn global add @imtbl/isaac
isaac contracts -o bindings

Install and run as a devDependency:

yarn add -D @imtbl/isaac
yarn isaac contracts -o bindings

Advanced Usage

It is also possible to use isaac as a library, and substitute the generator etc. where necessary.

Keywords

solidity

FAQs

Package last updated on 30 Jan 2021

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