From eb93fd065b84ce51489843f6edb0c15cfb3417d4 Mon Sep 17 00:00:00 2001 From: Nasfame Date: Mon, 5 Feb 2024 15:27:03 +0530 Subject: [PATCH] go install: abigen --- docs/developers/dapp-developer/native-bindings.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/developers/dapp-developer/native-bindings.md b/docs/developers/dapp-developer/native-bindings.md index 071227a85c..5d82391ba9 100644 --- a/docs/developers/dapp-developer/native-bindings.md +++ b/docs/developers/dapp-developer/native-bindings.md @@ -22,8 +22,7 @@ Ethereum smart contracts have a schema that defines its functions and return typ Geth includes a source code generator called `abigen` that can convert Ethereum ABI definitions into easy to use, type-safe Go packages. With a valid Go development environment set up and the go-ethereum repository checked out correctly, `abigen` can be built as follows: ```sh -$ cd $GOPATH/src/github.com/ethereum/go-ethereum -$ go build ./cmd/abigen +go install github.com/ethereum/go-ethereum/cmd/abigen@latest ``` ### Generating the bindings {#generating-bindings}