1.0.1 • Published 3 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.js
ortruffle-config.js
filemodule.exports = { plugins: [ // . // . // . // . "@aorticweb/truffle-plugin-gobind" ] }
Run
Compile solidity files using truffle
truffle compile
Generate go bindings for a list of contract (or one):
truffle run abigen SomeContractName AnotherContractName
Generate go bindings for all the contracts:
truffle run abigen