Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
D

dequanto

> 编程语言
Open source

Blockchain Client

99 stars0 likes0 views
WebsiteGitHub

About

Blockchain Client

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 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

TypeScript

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

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