百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
D

dequanto

> 编程语言
开源

区块链客户端

99 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

区块链客户端

dequanto

dequanto is a TypeScript toolkit for EVM development. It can generate typed contract clients from ABI or Solidity sources, submit and monitor transactions, query RPC nodes, read blockchain explorer data, index events, and work with common Ethereum data formats.

The library can be used at different abstraction levels:

  • Use generated contract classes for typed calls, transactions, and event parsing
  • Use RPC clients directly when you need low-level node access
  • Use transaction builders for fine-grained signing and submission flows
  • Use storage, ABI, and bytecode utilities when inspecting contracts or chain data

Features

Typed Contract Clients

Generate ES6/TypeScript classes from ABI, compiled artifacts, Solidity files, or verified source code fetched from blockchain explorers. Generated clients can call read methods, submit transactions, parse logs, and expose typed helpers around contract metadata.

RPC Clients

Connect to one or more blockchain nodes through a shared client layer. The RPC client supports node pools, request balancing, throttling, rate limits, and automatic retries.

Transactions

Build, sign, submit, and wait for transactions with lower-level control over transaction data. The transaction layer also includes support for Gnosis Safe, Account Abstraction, and Flashbots flows.

Explorer Integration

Use Etherscan-compatible explorers and related APIs to fetch ABIs, source code, contract creation metadata, token data, and other chain information.

Event Indexing

Fetch and persist contract events with resumable progress. The event indexer is designed for long-running indexing jobs that need file-backed state.

Watchers

Subscribe to contract events and monitor transactions in real time.

Numeric Utilities

Work with native bigint values and BigFloat helpers for mantissa-based math.

Prebuilt Contracts

Use pre-generated TypeScript wrappers for commonly used contracts, including OpenZeppelin contracts.

Installation

Install the package from npm:

bash
npm i dequanto

The package ships with:

  • CommonJS files under node_modules/dequanto/lib/cjs
  • ESM files under node_modules/dequanto/lib/esm
  • TypeScript declarations under node_modules/dequanto/lib/types
  • TypeScript sources under node_modules/dequanto/src

Node and build tools can resolve the correct entry point through the package exports.

0xweb CLI

You can also use the 0xweb CLI to generate contract clients and install contract dependencies.

Configuration

dequanto includes default configuration for several chains and Safe infrastructure. For project-specific settings, add RPC URLs, explorer API keys, and other overrides through YAML config files.

Development

Useful repository commands:

bash
npm run typecheck
npm run build
npm test

The main validation command for TypeScript changes is:

bash
npm run typecheck -- --pretty false

Documentation

Full documentation is available at:

https://docs.0xweb.org/dequanto

License

Copyright (c) 2026 0xweb.org

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

TypeScript

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言