@ethronjs/plugin.vyper

0.4.1 • Public • Published

@ethronjs/plugin.vyper

NPM version Total downloads

Ethron.js plugin for Vyper programming language.

Developed in Dogma, compiled to JavaScript.

Engineered in Valencia, Spain, EU by EthronLabs.

Use

const vyper = require("@ethronjs/plugin.vyper")

vyper.check()

This task checks Vyper files, using vyper:

vyper.check({src})
vyper.check(src)
  • src (string or string[]), one or more files and/or directions to check.

vyper.compile()

This task compiles Vyper files, using vyper:

vyper.compile({src, dst, opts})
vyper.compile(src, dst)
  • src (string or string[]), one or more files and/or directories to compile.
  • dst (string), the destination directory.
  • opts (object), compilation settings.

vyper.intf()

This task generates the Vyper interface of one or more contracts:

vyper.intf({src, dst})
vyper.intf(src, dst)
  • src (string or string[]), one or more files and/or interfaces to generate.
  • dst (string), the destination directory. The interface files are prefixed with I.

vyper.eIntf()

This task generates external interfaces of one or more contracts:

vyper.eIntf({src, dst})
vyper.eIntf(src, dst)
  • src (string or string[]), one or more files and/or interfaces to generate.
  • dst (string), the destination directory. The interface files are prefixed with E.

vyper.create()

This task creates an empty contract:

vyper.create({name, dir, dflt})
vyper.create(name, dir)
  • name (string), contract name such as, for example, Auction.
  • dir (string), directory where to create it.
  • dflt (bool), add default method? Default: false.

Readme

Keywords

none

Package Sidebar

Install

npm i @ethronjs/plugin.vyper

Weekly Downloads

0

Version

0.4.1

License

none

Unpacked Size

16.4 kB

Total Files

9

Last publish

Collaborators

  • ethronjs