From a0f8ccec3868c7e6100abf2801d3694194f64426 Mon Sep 17 00:00:00 2001 From: Nasfame Date: Mon, 5 Feb 2024 15:27:27 +0530 Subject: [PATCH] abigen: go install --- docs/tools/abigen.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/tools/abigen.md b/docs/tools/abigen.md index 3950f2d981..401634ddd4 100644 --- a/docs/tools/abigen.md +++ b/docs/tools/abigen.md @@ -6,8 +6,7 @@ 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: ```sh -$ cd $GOPATH/src/github.com/ethereum/go-ethereum -$ go build ./cmd/abigen +go install github.com/ethereum/go-ethereum/cmd/abigen@latest ``` ## What is an ABI? {#what-is-an-abi}