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

## Network Details

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

> [tab] 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] 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) |

> [!NOTE]
>
> **Next:** [Buy CREDITS →](https://docs.skale.space/developers/integrate-skale/buy-credits.md)

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


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.