Introducing the New Web3.js
summary
New web3.js is a smaller, faster library: the full browser bundle drops from ~90 KB to ~33 KB (and to ~17 KB if native ed25519 is available), a simple token-transfer app goes 67 → 42 KB, and an AWS Lambda image trims 5.4 MB → 1.7 MB. Signing throughput and latency improve (500 txs with 5 signers: 750 ms → 200 ms; raw ops 700 → ~7000 with native crypto). Features: tree-shakable RPC via proxies, async-iterator subscriptions with gap recovery, WebCrypto keys with leak resistance, unified transaction builders and stronger TypeScript checks.
AI-written summary · about







