> ## 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.

# Base

## Overview

[Base](https://base.org/), a Layer 2 blockchain compatible with the Ethereum Virtual Machine (EVM), offers developers a robust platform for building decentralized apps. It integrates seamlessly with Coinbase products and distribution, ensuring scalability and accessibility.

**As Base 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 Base

Ensure you have installed the Magic SDK and have access to your API key, follow the [quickstart](/embedded-wallets/quickstart/overview) to get started. You can use Magic's network aliases to connect to either testnet or mainnet on Base.

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

  ```js Mainnet icon="square-js" theme={null}
  // Setting network to point to Base mainnet
  const magic = new Magic('YOUR_PUBLISHABLE_API_KEY', {
    network: {
      rpcUrl: 'https://mainnet.base.org',
      chainId: 8453,
    }
  });
  ```
</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.base.org/](https://docs.base.org/)
* Block Explorer:
  * [https://basescan.org/](https://basescan.org/) (Mainnet)
  * [https://base-sepolia.blockscout.com/](https://base-sepolia.blockscout.com/) (Testnet)
* Faucets: [https://docs.base.org/tools/network-faucets/](https://docs.base.org/tools/network-faucets/)
