Getting Started
w3
Package w3 implements a blazing fast and modular Ethereum JSON RPC client with first-class ABI support.
![W3 Gopher](https://user-images.githubusercontent.com/3458786/153202258-24bf253e-5ab0-4efd-a0ed-43dc1bf093c9.png)
- Batch request support significantly reduces the duration of requests to
both remote and local endpoints. Up to 85x faster than sequential requests
with
go-ethereum/ethclient
. - ABI bindings are specified for individual functions using Solidity syntax.
No need for
abigen
and ABI JSON files. - Modular API allows to create custom RPC method integrations that can be used alongside the methods implemented by the package.
w3
is closely linked to go-ethereum
and uses a variety of its types, such as common.Address
or types.Transaction
.
Install
go get github.com/lmittmann/w3