Numerous Problems Multiplied
    Have ideas to improve npm?Join in the discussion! »

    @chainsafe/truffle-plugin-abigen

    0.0.2 • Public • Published

    truffle-plugin-abigen

    This truffle plugin generates the required files needed to use Geths abigen to generate contract bindings in golang.

    Installation

    1. Install the plugin with npm
      npm install @chainsafe/truffle-plugin-abigen
    2. Add the plugin to your truffle.js or truffle-config.js file
      module.exports = {
        /* ... rest of truffle-config */
       
        plugins: [
          "@chainsafe/truffle-plugin-abigen"
        ]
      }

    Usage

    Before running ensure that you've compiled your contracts:

    truffle compile

    To generate specific contract bindings:

    truffle run abigen SomeContractName AnotherContractName

    Alternatively, to generate bindings for all your contracts:

    truffle run abigen

    Debugging

    You can pass an optional --debug flag into the plugin to display debug messages during the verification process. This is generally not necessary, but can be used to provide additional information when the plugin appears to malfunction.

    Keywords

    none

    Install

    npm i @chainsafe/truffle-plugin-abigen

    DownloadsWeekly Downloads

    52

    Version

    0.0.2

    License

    Apache-2.0

    Unpacked Size

    561 kB

    Total Files

    50

    Last publish

    Collaborators

    • avatar
    • avatar