Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Overview

The @zksync-sdk is a lightweight extension for viem and ethers that makes ZKsync cross-chain actions simple and consistent.

Instead of re-implementing accounts or RPC logic, this SDK focuses only on ZKsync-specific flows:

  • Deposits (L1 → L2)
  • Withdrawals (L2 → L1, with finalization)
  • Status & wait helpers
  • ZKsync specific JSON-RPC methods

What you’ll find here

Next steps

👉 If you want to get hands-on right away, jump to the Quickstart.