abigen: go install

This commit is contained in:
Nasfame 2024-02-05 15:28:22 +05:30
parent a0f8ccec38
commit a88fc64d8c
No known key found for this signature in database
GPG key ID: C9FB9DF973DC5C96

View file

@ -3,7 +3,7 @@ title: Abigen
description: Introduction to the Go binding generator tool, Abigen description: Introduction to the Go binding generator tool, Abigen
--- ---
Abigen is a binding-generator for easily interacting with Ethereum using Go. Abigen creates easy-to-use, type-safe Go packages from Ethereum smart contract definitions known as ABIs. This abstracts away a lot of the complexity of handling smart contract deployment and interaction in Go native applications such as encoding and decoding smart contracts into EVM bytecode. Abigen comes bundled with Geth. A full Geth installation includes the abigen binary. Abigen can also be built independently by navigating to `go-ethereum/cmd/abigen` and running `go build`, or equivalently: Abigen is a binding-generator for easily interacting with Ethereum using Go. Abigen creates easy-to-use, type-safe Go packages from Ethereum smart contract definitions known as ABIs. This abstracts away a lot of the complexity of handling smart contract deployment and interaction in Go native applications such as encoding and decoding smart contracts into EVM bytecode. Abigen comes bundled with Geth. A full Geth installation includes the abigen binary. Abigen can also be built independently by running the below `go install` command:
```sh ```sh
go install github.com/ethereum/go-ethereum/cmd/abigen@latest go install github.com/ethereum/go-ethereum/cmd/abigen@latest