Skip to main content
Ready for the Atlas Upgrade

Incorruptible ZKsync power
in your favorite
libraries

Extend viem and ethers with optimized L1↔L2 flows: deposits, withdrawals, and clean status/wait helpers—tuned for the Elastic Network and great DX.

Install with bun
Prefer npm or pnpm? Try npm i or pnpm add.

Quickstart guides

Quickstart

Install the viem or ethers adapter, connect clients, and run your first deposit.

Deposit (L1 → L2)

Send ETH or ERC-20 from Ethereum to ZKsync, then track L1 inclusion and L2 execution.

Withdraw (L2 → L1)

Create the withdrawal on ZKsync, monitor execution, and finalize back on Ethereum.

Status & Wait helpers

Understand statuses vs waits and how to poll each phase of a flow.

Withdrawal Finalization

Understand the finalization process for withdrawals and how to ensure they are completed.

ZKsync RPC helpers

Utilities like getBridgehubAddress, getL2ToL1LogProof.

Resources

SDK Reference

Fully typed clients, methods, and errors for core and adapters.

Changelog

See what’s new, fixed, and changed across releases.

Support

Questions or issues? Reach out and we’ll help you.