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.