Node's Power Meal

    @pigi/vyper-js

    0.0.1-alpha.4 • Public • Published

    vyper-js

    vyper-js is a simple JavaScript binding to the Vyper python compiler. vyper-js does not install Vyper for you (yet). As a result, you currently need to install Vyper before you can use this library.

    Usage

    Node.js

    It's pretty easy to use vyper-js in a Node.js application. Simply install the package via npm:

    npm install --save @pigi/vyper-js
    

    Now just import it into your project:

    const vyperjs = require('@pigi/vyper-js')
    ...
    const contract = await vyperjs.compile('./path/to/your/Contract.vy')
    console.log(contract) // { bytecode: '0x.....', abi: [....], ... }

    Install

    npm i @pigi/vyper-js

    DownloadsWeekly Downloads

    1

    Version

    0.0.1-alpha.4

    License

    MIT

    Unpacked Size

    2.66 kB

    Total Files

    4

    Last publish

    Collaborators

    • karlfloersch
    • kelvinfichter