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

# Connect to SKALE

> Connect to the SKALE Network

SKALE is a network of many chains. You can connect to SKALE Chains with a variety of tools and SDKs, just like you do other EVM chains.

## Connect via CLI

To connect via your command line interface, we recommend starting with [cast](https://getfoundry.sh/cast/overview), a command-line tool for interacting with Ethereum-based networks.

```bash theme={null}
# Check the latest block number
cast block-number --rpc-url https://skale-base.skalenodes.com/v1/base

# Get chain ID
cast chain-id --rpc-url https://skale-base.skalenodes.com/v1/base
```

<Note>
  To install cast, first install [Foundry](https://book.getfoundry.sh/getting-started/installation).
</Note>

## Network Details

SKALE Base is the first permissionless chain on SKALE. Below are the connection details for mainnet and testnet.

<Tabs>
  <Tab title="Mainnet">
    | Name           | Value                                                                             |
    | -------------- | --------------------------------------------------------------------------------- |
    | Network Name   | SKALE Base                                                                        |
    | RPC URL        | `https://skale-base.skalenodes.com/v1/base`                                       |
    | WSS URL        | `wss://skale-base.skalenodes.com/v1/ws/base`                                      |
    | Chain ID       | `1187947933`                                                                      |
    | Chain ID (Hex) | `0x46cea59d`                                                                      |
    | Explorer       | [skale-base-explorer.skalenodes.com](https://skale-base-explorer.skalenodes.com/) |
    | Native Token   | CREDIT                                                                            |
    | Portal         | [base.skalenodes.com](https://base.skalenodes.com/chains/base)                    |
  </Tab>

  <Tab title="Testnet">
    | Name           | Value                                                                                                 |
    | -------------- | ----------------------------------------------------------------------------------------------------- |
    | Network Name   | SKALE Base Sepolia                                                                                    |
    | RPC URL        | `https://base-sepolia-testnet.skalenodes.com/v1/jubilant-horrible-ancha`                              |
    | Explorer       | [base-sepolia-testnet-explorer.skalenodes.com](https://base-sepolia-testnet-explorer.skalenodes.com/) |
    | Chain ID       | `324705682`                                                                                           |
    | Chain ID (Hex) | `0x135A9D92`                                                                                          |
    | Native Token   | CREDIT                                                                                                |
    | Faucet         | [base-sepolia-faucet.skale.space](https://base-sepolia-faucet.skale.space)                            |
  </Tab>
</Tabs>

<Note>
  **Next:** [Buy CREDITS →](/developers/integrate-skale/buy-credits)
</Note>

For a complete list of all SKALE Chains, see [SKALE Chains](/developers/resources/skale-chains).
