Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

algernon

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

algernon

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

  • 0.0.9
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

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()

FAQs

Package last updated on 15 Feb 2019

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc