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

# Connecting to peaq

On this reference page, you will find the network types, RPC/WSS URLs, chain identifiers, etc. to connect to peaq or agung.

## Networks:

| Network | Network type |
| ------- | ------------ |
| peaq    | Mainnet      |
| agung   | Testnet      |

### Chain ID

<CodeGroup>
  ```bash peaq theme={"theme":{"light":"github-light-default","dark":"github-dark"}}
  3338
  ```

  ```bash agung theme={"theme":{"light":"github-light-default","dark":"github-dark"}}
  9990
  ```
</CodeGroup>

### Public RPC URLs

<CodeGroup>
  ```bash peaq theme={"theme":{"light":"github-light-default","dark":"github-dark"}}
  https://quicknode1.peaq.xyz

  https://quicknode2.peaq.xyz

  https://quicknode3.peaq.xyz

  # Secondary Fallback Option
  https://peaq.api.onfinality.io/public

  https://peaq-rpc.publicnode.com
  ```

  ```bash agung theme={"theme":{"light":"github-light-default","dark":"github-dark"}}
  https://peaq-agung.api.onfinality.io/public

  https://wss-async-agung.peaq.xyz
  ```
</CodeGroup>

### Public WSS URLs

<CodeGroup>
  ```bash peaq theme={"theme":{"light":"github-light-default","dark":"github-dark"}}
  wss://quicknode1.peaq.xyz

  wss://quicknode2.peaq.xyz

  wss://quicknode3.peaq.xyz

  # Secondary Fallback Option
  wss://peaq.api.onfinality.io/public-ws

  wss://peaq-rpc.publicnode.com
  ```

  ```bash agung theme={"theme":{"light":"github-light-default","dark":"github-dark"}}
  wss://peaq-agung.api.onfinality.io/public-ws

  wss://wss-async-agung.peaq.xyz
  ```
</CodeGroup>

## Wallet Configuration Guides

<AccordionGroup>
  <Accordion title="How to manually update your RPC settings in your wallet">
    <CardGroup cols={1}>
      <Card title="RPC Settings Guide" icon="wrench" href="/peaqchain/build/getting-started/guides/update-rpc-settings">
        Complete guide with video tutorial on how to manually update your wallet's RPC settings for peaq network.
      </Card>
    </CardGroup>
  </Accordion>

  <Accordion title="How to remove and re-add peaq network from your wallet">
    <CardGroup cols={1}>
      <Card title="Network Management Guide" icon="wrench" href="/peaqchain/build/getting-started/guides/remove-readd-network">
        Step-by-step guide with desktop and mobile video tutorials on removing and re-adding the peaq network from your wallet.
      </Card>
    </CardGroup>
  </Accordion>
</AccordionGroup>

### Private URLs

You can create your custom peaq RPC/WSS endpoint with QuickNode or OnFinality. To do so, follow one of the guides below:

* [QuickNode guide](https://www.quicknode.com/guides/quicknode-products/how-to-use-the-quicknode-dashboard#create-a-quicknode-endpoint)
* [OnFinality guide](https://documentation.onfinality.io/support/the-enhanced-api-service)

## Block explorers

#### peaq

| Block Explorer | Type            | URL                                   |
| -------------- | --------------- | ------------------------------------- |
| peaqscan       | EVM             | [peaqscan](https://peaqscan.xyz/)     |
| Blockscout     | EVM             | [Blockscout](https://scout.peaq.xyz/) |
| Subscan        | EVM & Substrate | [Subscan](https://peaq.subscan.io/)   |

#### agung

| Block Explorer | Type            | URL                                               |
| -------------- | --------------- | ------------------------------------------------- |
| peaqscan       | EVM             | [peaqscan testnet](https://testnet.peaqscan.xyz/) |
| Blockscout     | EVM             | N/A                                               |
| Subscan        | EVM & Substrate | [Subscan](https://agung-testnet.subscan.io/)      |

## Node setup

### Node hardware requirements

```python theme={"theme":{"light":"github-light-default","dark":"github-dark"}}
OS - Ubuntu 20.04
CPU - 3.3 GHz AMD EPYC 7002
Storage - 1TB SSD
Memory - 8GB
```

### Docker image peaq

```python theme={"theme":{"light":"github-light-default","dark":"github-dark"}}
docker run -v peaq-storage:/chain-data -p 9944:9944 peaq/parachain:peaq-v0.0.104 \
--parachain-id 3338 \
--chain ./node/src/chain-specs/peaq-raw.json \
--base-path chain-data \
--port 30333 \
--rpc-port 9944 \
--rpc-cors=all \
--execution wasm \
--state-pruning archive \
-- \
--execution wasm \
--port 30343 --rpc-port 9977 \
--sync warp
```
