> For the complete documentation index, see [llms.txt](https://guides.validatorsg.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guides.validatorsg.com/viper-private-phase-2.md).

# Viper Private Phase 2

Follow this guide

// Discord DYM <https://discord.gg/dymension>

//Docs DYM <https://docs.dymension.xyz/build/roller/start/install>

//Faucet Celestia <https://faucet.celestia-arabica-11.com>

**Install Package:**

Copy

```
sudo apt update && sudo apt upgrade -y
sudo apt install curl git make wget htop tmux build-essential jq make lz4 gcc unzip -y  
```

**Install Roller DYM:**

Copy

```
curl -L https://dymensionxyz.github.io/roller/install.sh | bash
```

**Check version:**

Copy

```
roller version
```

**Run config init:**

Copy

```
roller config init --interactive
```

Note: Select your network: Froopyland Select your execution environment: EVM Specify your RollApp denom: Name options (You should choose a personal name to avoid duplicates) Set the genesis token supply: Enter for default Choose your data layer: Celestia

**Faucet**:

Copy

```
// Faucet for DYM: Discord channel #froodyland-faucet
Command: 
$request <dym-address> 
$request <dym-address>

//Faucet for Celestia: https://faucet.celestia-arabica-11.com or Discord
```

**Register**:

Copy

```
roller tx register

//Rollapp '<rollapp-id>' has been successfully registered on the hub.
```

Run:

Copy

```
roller run
```

* &#x20;**Create Relayer:**

Copy

```
nano ~/.roller/relayer/config/~/.roller/relayer/config

// Edit:
min-loop-duration: 100ms

and

src-channel-filter:
      rule: "allowlist"
      channel-list: ["channel-0", "channel-49"]

// Download & tar binary relayer new version:
wget https://github.com/dymensionxyz/go-relayer/releases/download/v0.3.1-v2.5.2-relayer/Cosmos.Relayer_0.3.1-v2.5.2-relayer_linux_amd64.tar.gz

tar -xvf Cosmos.Relayer_0.3.1-v2.5.2-relayer_linux_arm64.tar.gz

mv Cosmos\ Relayer_0.3.1-v2.5.2-relayer_linux_arm64/rly /usr/local/bin/roller_bins/
```

**Setup & Config Viper phase 2:**

Copy

```
echo "[
  {
    "id": "0001",
    "url": "http://localhost:8082/",
    "basic_auth": {
      "username": "",
      "password": ""
    }
  },
  {
    "id": "0002",
    "url": "$DYM(EVM) URL",
    "basic_auth": {
      "username": "",
      "password": ""
    }
  }
]" > ~/.viper/config/blockchains.json
```

Note: Change your url DYM (Ex: 111.222.333.444:8545)

Faucet Viper phase 2: Discord

**Stake**:

Copy

```
viper servicers stake self <addr> <amt> 0001,0002 $GEO-ID <viper node URL:443> testnet
```

**Check Node & Validator status:**

Copy

```
curl http://127.0.0.1:26657/status
```

**Wallet & Backup:**

Copy

```
// Check balance
viper wallet query account-balance your_wallet_address

// Recovery Wallet
viper wallet import-encrypted
or
viper wallet import-raw

// Fetch Wallet Info
viper wallet fetch-account your_wallet_address

// List all account
viper wallet list-accounts

//Change wallet password
viper wallet change-pass your_wallet_address --pwd-new input-new-passwd --pwd-old input-old-passwd

// See Private key
viper wallet export-encrypted
or
viper wallet export-raw

// Query Your Validator
viper servicers query servicer your_wallet_address

// Backup
Folder .viper or validator_private_key.json
```

**Command**:

Copy

```
// Check logs of the node
sudo journalctl -u viper -f -o cat

// Restart the node
sudo systemctl restart viper.service

//Stop the node
sudo systemctl stop viper.service 
```
