0.0.9 • Published 5 years ago

algernon v0.0.9

Weekly downloads
13
License
MIT
Repository
github
Last release
5 years ago

Algernon

Algernon is a library for generating Typescript interfaces from solc compiled solidity abi definitions.

npm install algernon

Usage

Usage: algernon -p <path>

Options:
  -p, --path  The pwd to the abi files                                [required]
  --version   Show version number                                      [boolean]
  --help      Show help                                                [boolean]

To use algernon you must first compile you .sol files using solc compiler...

  solcjs *.sol --abi -o ../abis

This will create an abi dir with .abi files inside for use with algernon.

Once solc has compiled the abi files you can run algernon on them.

algernon -p ./abis

This will create a folder named algernon in your current directory with the interfaces inside.

Programatically

You can also use algernon programatically

npm install algernon
var Algernon = require('algernon')

let a = new Algernon({
  path : './abis'
}).parse()
0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago