0.0.9 • Published 7 years ago
algernon v0.0.9
Algernon
Algernon is a library for generating Typescript interfaces from solc compiled solidity abi definitions.
npm install algernonUsage
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 ../abisThis 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 ./abisThis will create a folder named algernon in your current directory with the interfaces inside.
Programatically
You can also use algernon programatically
npm install algernonvar Algernon = require('algernon')
let a = new Algernon({
path : './abis'
}).parse()