Creating Go Bindings for Ethereum Smart Contracts

1 · Chris Hager · May 30, 2021, 8:47 p.m.
To interact with Ethereum smart contracts in Go programs, you need bindings for the specific type of contract. This post is a quick guide for generating these bindings from various sources: Manually compiled Solidity contract Smart contracts with Truffle (eg. OpenZeppelin contracts) Compiling a contract on remix.ethereum.org Using the Etherscan ABI API Prebuilt Go bindings ...