Registry / networking / umbracle-go-web3

umbracle-go-web3

JSON →
library0.1.3gogounverified

A Go client library for interacting with Ethereum and Web3-compatible blockchains.

go get github.com/umbracle/go-web3
INSTALL
IMPORT
SIG · UMBRACLE-GO-WEB3
U
umbracle-go-web3
networkinggov0.1.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

web3
github.com/umbracle/go-web3

Connects to an Ethereum node and fetches the latest block number.

package main import ( "github.com/umbracle/go-web3" "github.com/umbracle/go-web3/jsonrpc" ) func main() { client, _ := jsonrpc.NewClient("https://mainnet.infura.io/v3/YOUR_PROJECT_ID") blockNumber, _ := client.Eth().BlockNumber() println(blockNumber) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.3latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
31 hits · last 30 days
node
26
Amazon
1
OpenAI (training)
1
Resources
umbracle-go-web3 — go get umbracle-go-web3 · libregistry