Byte Ebi's Logo

Byte Ebi 🍀

A Bit everyday A Byte every week

Interacting with smart contracts using Golang

Generating a Go package with abigen tool to interact with smart contracts and perform contract operations

Ray

Previously, I was calling Smart Contracts through PHP, which raised two issues.
One was the slowness, and the other was the lack of maintenance of the package.
Fortunately, Golang provides an official package that is both fast and solves these two problems.
This article explains how to convert existing Smart Contract ABIs into a Go package for interacting with contracts.

Recent Posts

Categories

Tags