web3-validator
JSON →JSON-Schema compatible validator used internally by web3.js v4 for validating addresses, bytes, numbers, and other Ethereum data types. Current version 2.0.6 (stable), part of the web3.js v4 monorepo with a release cadence aligned to web3.js releases. It wraps ajv and adds Ethereum-specific validators. Key differentiator: integrates directly with web3.js 4.x for automatic input validation, but can be used standalone. Compared to @ethersproject/address or @ethereumjs/util, it provides a full JSON Schema validator with custom keywords (e.g., 'bytes', 'address') and supports Ethereum ABI types.
Resources
packageweb3-validator ↗