Skip to content
项目

关于

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

开发工具

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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.

探索相关项目

加载中…