FLUTTER ECOSYSTEM

shamblett/ethereum

适用于 Dart 的以太坊 RPC 客户端

以太坊 项目封面
Stars
42
Forks
7
最近推送(UTC)
2025年5月11日
项目状态
未归档
Steve Hamblett GitHub avatar
GITHUB User

Steve Hamblett ↗

Manchester UK
语言Dart

技术话题

此仓库发布的插件

使用的依赖

依赖清单 9 项

原始 README

以下为英文项目原文快照,最新内容请访问 GitHub。

展开 / 收起项目 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.