Skip to content
プロジェクト

概要

Ethereum TypeScript Client Library - for perfect types and tiny builds.

開発ツール

この数値の測り方

計測したスター増加

24時間
0
7日間
0
15日間
0
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

web3x

Version Downloads GitHub Stars GitHub Issues Coverage

Ethereum TypeScript Client Library - for perfect types and tiny builds.

Demo

Overview

web3x was created originally as a pure TypeScript port of web3.js. Although its API has diverged slightly from web3.js, it still maintains a strong degree of alignment and porting from one to the other should be fairly trivial.

web3x provides full type safety when interacting with contracts by building type definitions from contract ABIs.

It has its own EVM implementation for testing contract behaviour fully in process using standard testing tools (e.g. Jest).

Packages

This monorepo is split into several sub-packages.

  • web3x - main client library.
  • web3x-codegen - tool for generating type safe contract classes from ABIs.
  • web3x-evm - EVM implementation for testing contract code completely in process or in browser.
  • web3x-node-example - Example backend TypeScript project with Jest for testing.
  • web3x-webpack-example - Example frontend TypeScript Webpack project with Jest for testing.

Versioning

Versioning is managed manually, and follows the same pattern as Lerna fixed mode. Lerna is not used due to a trilemma that the Lerna maintainer refuses to resolve:

  • A PR should correctly modify version.json and package version numbers.
  • For minor or patch changes, the packages that changed need their version set to the new version in version.json.
  • For major version changes, all packages should have their version numbers set to the new version in version.json.
  • All changes across all packages are tracked in the CHANGELOG.
  • After merging the PR to master, the repository should be tagged with the new version number.

関連プロジェクトを探す

読み込み中…