> ## Documentation Index
> Fetch the complete documentation index at: https://docs.magic.link/llms.txt
> Use this file to discover all available pages before exploring further.

# zkSync

## Overview

[zkSync](https://zksync.io/) is a Layer 2 scaling solution for Ethereum, leveraging zk-rollup technology to offer fast and low-cost transactions while maintaining a high level of security.

**As zkSync is EVM compatible**, you can follow the [Ethereum](/embedded-wallets/blockchains/ethereum/javascript) documentation to send your first transaction and utilize all other wallet features.

## Configure zkSync

Ensure you have installed the Magic SDK and have access to your API key, follow the [quickstart](/embedded-wallets/quickstart/overview) to get started.

<CodeGroup>
  ```js Testnet icon="square-js" theme={null}
  // Setting network to point to zkSync testnet
  const magic = new Magic('YOUR_PUBLISHABLE_API_KEY', {
    network: {
      rpcUrl: 'https://sepolia.era.zksync.dev',
      chainId: 300,
    },
  });
  ```

  ```js Mainnet icon="square-js" theme={null}
  // Setting network to point to zkSync mainnet
  const magic = new Magic('YOUR_PUBLISHABLE_API_KEY', {
    network: {
      rpcUrl: 'https://mainnet.era.zksync.io',
      chainId: 324,
    },
  });
  ```
</CodeGroup>

## Compatibility

* All `Auth`, `User` and `Wallet` module methods
* All EVM Provider functionality to respond to supported [RPC methods](/embedded-wallets/sdk/client-side/javascript#evm-rpc-methods)

*Need a feature or see a problem?* File an issue on our [github repo](https://github.com/magiclabs/magic-js).

## Resources & Tools

* Documentation: [https://docs.zksync.io/](https://docs.zksync.io/)

* Block Explorer:

  * [https://explorer.zksync.io/](https://explorer.zksync.io/) (Mainnet)
  * [https://sepolia.explorer.zksync.io/](https://sepolia.explorer.zksync.io/) (Testnet)

* Faucets: [https://faucet.chainstack.com/zksync-testnet-faucet](https://faucet.chainstack.com/zksync-testnet-faucet)
