Skip to content
This repository has been archived by the owner on Aug 26, 2020. It is now read-only.

Generate typescript type definitions from Ethereum smart contracts ABI that will allow you to write static typed Typescript tests in your Truffle projects

License

Notifications You must be signed in to change notification settings

EdsonAlcala/sol-ts-generator

Repository files navigation

Generate Typescript type definitions from Solidity

Generate typescript type definitions from Ethereum smart contracts ABI that will allow you to write static typed Typescript tests in your Truffle projects

Background

Inspired by the amazing work of Bloom and TypeChain

I decided to turn those ideas into a simple package

For a sample project check this boilerplate

Install

npm install sol-ts-generator

Options

Usage: sol-ts-generator [options]

Options:
   --outDir, output directory to write the type definitions; default is "./types" [string]
   --glob, pattern to get existing abi code; default is "./build/contracts/*.json" [string]

Commands

npm test

npm run build

About

Generate typescript type definitions from Ethereum smart contracts ABI that will allow you to write static typed Typescript tests in your Truffle projects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published