Blockchain Client
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:
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.
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.
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.
Use Etherscan-compatible explorers and related APIs to fetch ABIs, source code, contract creation metadata, token data, and other chain information.
Fetch and persist contract events with resumable progress. The event indexer is designed for long-running indexing jobs that need file-backed state.
Subscribe to contract events and monitor transactions in real time.
Work with native bigint values and BigFloat helpers for mantissa-based math.
Use pre-generated TypeScript wrappers for commonly used contracts, including OpenZeppelin contracts.
Install the package from npm:
npm i dequantoThe package ships with:
node_modules/dequanto/lib/cjsnode_modules/dequanto/lib/esmnode_modules/dequanto/lib/typesnode_modules/dequanto/srcNode and build tools can resolve the correct entry point through the package exports.
You can also use the 0xweb CLI to generate contract clients and install contract dependencies.
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.
Useful repository commands:
npm run typecheck
npm run build
npm testThe main validation command for TypeScript changes is:
npm run typecheck -- --pretty falseFull documentation is available at:
https://docs.0xweb.org/dequantoCopyright (c) 2026 0xweb.org
No open issues yet, or sync has not completed.