Vibeleaderboard
Index / tool
Visit github.com
Category
Crypto
Rank
No. 1035Tools index
Pricing
Open Source
Type
TOOL
GitHub
249 stars
Latest release
v1.4.7
Date

About

Drop-in Web3.js replacement with Alchemy integration — better retry logic, websockets, and enhanced APIs for Ethereum apps.

What it does

Alchemy Web3 is a TypeScript client that keeps the familiar Web3 interface while routing reads through Alchemy and account or signing requests through an injected or custom wallet provider. It supports HTTP and WebSocket connections, plus typed access to transfers, token data, NFTs, transaction receipts, and private transactions.

Why it's ranked here

This remains useful for applications already built around Web3 because migration requires little interface change and the client handles several awkward transport concerns. The verdict is mixed for new work: the repository explicitly sits in maintenance mode, receives best-effort updates, and directs developers toward a newer SDK with stronger typing, abstractions, and documentation.

What's good

Read and write routing separates hosted queries from wallet-controlled signing without automatically requesting account access. Rate-limit retries expose retry count, interval, and jitter controls. WebSocket reconnection can recover subscription events from recent blocks. The library also accepts custom write providers and offers both promises and callbacks.

Tradeoffs

Maintenance mode is the central constraint, especially for projects expecting new features or active support. Reconnected subscriptions can still miss events after an outage longer than 120 blocks, and outgoing WebSocket requests can still disappear. Alchemy access requires an account, wallet permissions remain the application's responsibility, and the enhanced APIs bind the client to Alchemy services.

How to use it well

Use it when maintaining a Web3-based Ethereum application that needs Alchemy reads, wallet-backed writes, enhanced data endpoints, or resilient subscriptions with minimal migration work. Configure retry behavior, retain normal network error handling, and request wallet access only near a signing action. For new applications seeking richer abstractions and current documentation, choose the successor SDK instead.

Technical notes+

package.json publishes @alch/alchemy-web3 as side-effect-free ESM and CommonJS builds with declarations from the ESM output. src/index.ts constructs AlchemyWeb3, patches subscriptions and custom RPC support, exposes typed Alchemy JSON-RPC and REST methods, converts token balances from hexadecimal to decimal strings, and blocks replacement of the main provider while permitting setWriteProvider. src/web3-adapter/alchemyContext.ts selects HTTP or WebSocket transport from the URL and supplies a Node-specific WebSocket constructor with 100 MB frame limits. src/web3-adapter/alchemySendHttp.ts classifies HTTP 429 responses as rate limits. src/types.ts defines JSON-RPC request, response, provider, middleware, and subscription shapes, while src/alchemy-apis/types.ts covers transfers, tokens, NFTs, receipts, and private transaction preferences.

Observed

License
MIT
Primary language
TypeScript
Package
Published as @alch/alchemy-web3 through npm or Yarn
Browser distribution
Minified and unminified CDN bundles are documented
Interface
JavaScript and TypeScript library with Web3-compatible, JSON-RPC, REST, and subscription APIs
Module formats
Package metadata exposes ESM, CommonJS, and TypeScript declarations
Platform support
Code provides browser and Node.js WebSocket handling
Lifecycle
Repository documentation marks the library as maintenance mode with best-effort updates

Read from README.md, package.json, src/index.ts, src/types.ts, src/version.ts, src/util/hex.ts, src/util/jsonRpc.ts, src/util/promises.ts, src/alchemy-apis/types.ts, src/types/web3-eth-abi.d.ts, src/web3-adapter/customRPC.ts, src/web3-adapter/alchemySend.ts, src/web3-adapter/httpProvider.ts, src/web3-adapter/alchemyContext.ts, src/web3-adapter/alchemySendHttp.ts.

What it can do

  • Connect to Ethereum blockchain with enhanced reliability

    Ethereum network endpoint and configurationStable blockchain connection with improved retry logic

  • Establish real-time WebSocket connections to Ethereum

    WebSocket endpoint and subscription parametersLive blockchain data stream

  • Query Ethereum blockchain data with enhanced APIs

    Blockchain query parameters and filtersFormatted blockchain data and transaction information

  • Send transactions to Ethereum network

    Transaction data and wallet credentialsTransaction hash and confirmation status

  • Subscribe to blockchain events and logs

    Event filter criteria and contract addressesReal-time event notifications and log data

  • Interact with smart contracts

    Contract ABI, address, and method parametersContract execution results and state changes

Tags

web3ethereumalchemytypescriptsdk

Tech Stack

Node.jsTypeScript

Comments (0)

No comments yet

Editorially curated, with community endorsements as a secondary signal. Corrections welcome.