1.0.1 • Published 4 years ago
@aorticweb/truffle-plugin-gobind v1.0.1
truffle-plugin-gobind
This truffle plugin generates gobinding from truffle json files using abigen.
Installation
- Install the plugin with npm
npm install @aorticweb/truffle-plugin-gobind Add the plugin to your
truffle.jsortruffle-config.jsfilemodule.exports = { plugins: [ // . // . // . // . "@aorticweb/truffle-plugin-gobind" ] }
Run
Compile solidity files using truffle
truffle compileGenerate go bindings for a list of contract (or one):
truffle run abigen SomeContractName AnotherContractNameGenerate go bindings for all the contracts:
truffle run abigen