FLUTTER ECOSYSTEM

shamblett/ethereum

An ethereum RPC client for Dart

ethereum project cover
Stars
42
Forks
7
Last push (UTC)
May 11, 2025
Project status
Active
Steve Hamblett GitHub avatar
GITHUB User

Steve Hamblett ↗

Manchester UK
LanguagesDart

Technical topics

Packages published by this repository

Dependencies used

Dependency list 9 items

Original README

English project snapshot. Visit GitHub for the latest content.

Expand / collapse project README

ethereum

Build Status

An ethereum RPC 2 client for Dart.

This package provides a client to access the Ethereum JSON RPC API documented here It uses the JSON RPC2 interface and can be configured to use any of the endpoints described except ipc. The client runs on the server using HTTP, and in the browser using both HTTP and web sockets.

The package currently implements most of the eth API and some of the admin API. Work is ongoing to complete the implementation of the admin API.

The mapping of Ethereum RPC data types to Dart types is as follows :-

  • boolean - bool
  • string - String
  • quantity - int
  • data - BigInt

Examples can be found in the examples directory, also the unit test suite contains examples of calling every API interface.

The package was tested against a geth client.