# Node Management

### Node Initialization

Pharos Full Nodes automatically generate cryptographic keys on startup — no manual configuration is needed. To start a validator node, run the following command in your working directory:

```sh
docker start pharos-devnet
```

### Entering the container

```sh
docker exec -it pharos-devnet /bin/bash
```

### Join validator sets

If your full node has synced up with the latest block, you can convert it to a validator.

If you need to join Pharos Devnet as a Validator, please contact and send domain file and pubkeys to [janesh@dplabs.xyz](mailto:janesh@dplabs.xyz) or TG ([@janesh\_dani](https://t.me/janesh_dani/))

⚠️ Note: If more than one-third of validators go offline, the Devnet may halt due to consensus safety constraints.

⚠️ To join the network, the corresponding account needs to stake a certain amount of tokens. Please contact us to obtain the staking tokens.

* Pack needed files into `node_info.tar.gz`
  * <mark style="color:green;">`tar -zcvf node_info.tar.gz /data/pharos-devnet/domain.json`</mark> \ <mark style="color:green;">`/data/pharos-devnet/resources/domain_keys/prime256v1/domain/new.pub`</mark> \ <mark style="color:green;">`/data/pharos-devnet/resources/domain_keys/bls12381/domain/new.pub`</mark>
  * <mark style="color:green;">`tar -zcvf node_info.tar.gz /data/testnet/domain.json`</mark> \ <mark style="color:green;">`/data/testnet/resources/domain_keys/prime256v1/domain/new.pub`</mark> \ <mark style="color:green;">`/data/testnet/resources/domain_keys/bls12381/domain/new.pub`</mark>
* Domain config:
  * <mark style="color:green;">`/data/pharos-devnet/domain.json`</mark>
* Node pubkeys:
  * <mark style="color:green;">`/data/pharos-devnet/resources/domain_keys/prime256v1/domain/new.pub`</mark>
  * <mark style="color:green;">`/data/pharos-devnet/resources/domain_keys/bls12381/domain/new.pub`</mark>
