@aorticweb/truffle-plugin-gobind
v1.0.1
Published
generate go binding for smart contracts in truffle project
Downloads
6
Maintainers
Readme
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