github.com/lmittmann/w3@v0.20.0/docs/pages/index.mdx (about)

     1  ---
     2  description: 'w3: Enhanced Ethereum Integration for Go'
     3  ---
     4  
     5  # `w3`: Enhanced Ethereum Integration for Go
     6  
     7  <div className="flex flex-wrap gap-2 my-2">
     8    <a href="https://pkg.go.dev/github.com/lmittmann/w3">
     9      <img src="https://pkg.go.dev/badge/github.com/lmittmann/w3.svg" alt="Go Reference" />
    10    </a>
    11    <a href="https://goreportcard.com/report/github.com/lmittmann/w3">
    12      <img src="https://goreportcard.com/badge/github.com/lmittmann/w3" alt="Go Report Card" />
    13    </a>
    14    <a href="https://coveralls.io/github/lmittmann/w3?branch=main">
    15      <img src="https://coveralls.io/repos/github/lmittmann/w3/badge.svg?branch=main" alt="Coverage Status" />
    16    </a>
    17    <a href="https://github.com/lmittmann/w3/releases">
    18      <img src="https://img.shields.io/github/v/release/lmittmann/w3" alt="Latest Release" />
    19    </a>
    20    <a href="https://t.me/w3_golang">
    21      <img src="https://img.shields.io/badge/Telegram-blue?logo=telegram&logoColor=white" alt="Chat on Telegram" />
    22    </a>
    23  </div>
    24  
    25  <Image src="/gopher.png" alt="W3 Gopher" width={158} height={224} align="right" className="ml-2 md:ml-6 mb-2"/>
    26  
    27  `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**.
    28  
    29  
    30  ```txt
    31  go get github.com/lmittmann/w3
    32  ```
    33  
    34  
    35  ## At a Glance
    36  
    37  * 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&nbsp;more&nbsp;➔](/rpc-overview)
    38  * Use `w3vm.VM` to simulate EVM execution with optional tracing and Mainnet state forking, or test Smart Contracts. [learn&nbsp;more&nbsp;➔](/vm-overview)
    39  * Use `w3.Func` and `w3.Event` to create ABI bindings from Solidity function and event signatures. [learn&nbsp;more&nbsp;➔](/helper-abi)
    40  * Use `w3.A`, `w3.H`, and many other utility functions to parse addresses, hashes, and other common types from strings. [learn&nbsp;more&nbsp;➔](/helper-utils)
    41  
    42  
    43  ## Sponsors
    44  
    45  <div class="mt-4">
    46    <img src="/assets/ef-logo.svg" alt="EF Logo" class="w-full max-w-72 dark:hidden" />
    47    <img src="/assets/ef-logo-dark.svg" alt="EF Logo Dark" class="w-full max-w-72 hidden dark:block" />
    48  </div>