w3: Enhanced Ethereum Integration for Go

Go ReferenceGo Report CardCoverage StatusLatest Release
W3 Gopher

w3 is your toolbelt for integrating with Ethereum in Go. Closely linked to go‑ethereum, it provides an ergonomic wrapper for working with RPC, ABI’s, and the EVM.

go get github.com/lmittmann/w3

At a Glance

  • Use w3.Client to connect to an RPC endpoint. The client features batch request support for up to 80x faster requests and easy extendibility. learn more ➔
  • Use w3vm.VM to simulate EVM execution with optional tracing and Mainnet state forking, or test Smart Contracts. learn more ➔
  • Use w3.Func and w3.Event to create ABI bindings from Solidity function and event signatures. learn more ➔
  • Use w3.A, w3.H, and many other utility functions to parse addresses, hashes, and other common types from strings. learn more ➔