@ethronpi/vyper
v0.4.1
Published
Ethron.js plugin for Vyper programming language.
Downloads
1
Readme
@ethronpi/vyper
Ethron.js plugin for Vyper programming language.
Developed in Dogma, compiled to JavaScript.
Engineered in Valencia, Spain, EU by EthronLabs.
Use
const vyper = require("@ethronpi/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 withI
.
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 withE
.
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
.