mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
abigen: go install
This commit is contained in:
parent
eb93fd065b
commit
a0f8ccec38
1 changed files with 1 additions and 2 deletions
|
|
@ -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:
|
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
|
```sh
|
||||||
$ cd $GOPATH/src/github.com/ethereum/go-ethereum
|
go install github.com/ethereum/go-ethereum/cmd/abigen@latest
|
||||||
$ go build ./cmd/abigen
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## What is an ABI? {#what-is-an-abi}
|
## What is an ABI? {#what-is-an-abi}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue