Ravenode Documentation
  • About
  • Testnet
    • Tangle
      • 🖥️Installation
    • Union
      • 🖥️Installation
    • Waku
      • 🖥️Installation
    • Dusk
      • 🖥️Installation
      • 🔄Update
    • Stratis
      • 🖥️Installation
    • hyperbridge
      • 🖥️Installation
    • Initia
      • 🖥️Installation
    • Nubit
      • 🖥️Installation
    • Analog
      • 🖥️Installation
      • 🖥️Update Timechain Node
      • ⚠️Timechain Node Deletion
    • Dill
      • 🖥️Installation (Andes)
      • 🖥️Installation (Alps)
      • ⚠️Validator Deletion
    • Symphony
      • 🖥️Installation
      • 🖥️Oracle Voter Setup
      • 📝Cheat Sheet
      • ⚠️Node Deletion
    • Nillion Verifier
      • 🖥️Installation
      • 🖥️Update Verifier
      • ⚠️Verifier Deletion
Powered by GitBook
On this page
  • Prerequisites
  • Install Dependencies
  • Navigate to the project directory and checkout current version
  • Create a .env file
  • Create python virtual environment
  • Activate the virtual environment
  • Install the required packages
  • Deactivate the virtual environment
  • Modify oracle.service file
  • Copy the service file to the systemd directory
  • Start oracle.service
  • Check oracle logs
  1. Testnet
  2. Symphony

Oracle Voter Setup

This guide provides step-by-step instructions for setting up the Symphony Oracle Voter on your system node running with Cosmovisor.

Prerequisites

  • Git

  • Python 3 - Python3.11 Recommended

  • Systemd (usually pre-installed on most Linux distributions)

  • Sudo privileges

  • Server running symphonyd with synced status

Install Dependencies

sudo apt -q update
sudo apt -qy install curl git jq lz4 build-essential
sudo apt -qy upgrade
sudo apt-get update && apt-get install -y libssl-dev

Navigate to the project directory and checkout current version

cd symphony-oracle-voter
git checkout v0.0.4r3

Create a .env file

nano .env

Use the below format for .env identity

VALIDATOR_ADDRESS= symphonyvaloperxxx
VALIDATOR_ACC_ADDRESS = symphonyxxx
KEY_PASSWORD= keyringpassword
SYMPHONY_LCD = https://api.symphony.ravenode.xyz/
TENDERMINT_RPC = https://rpc.symphony.ravenode.xyz/

Adjust VALIDATOR_ADDRESS, VALIDATOR_ACC_ADDRESS, and KEY_PASSWORD with your own validator details.

Create python virtual environment

python3 -m venv venv

Activate the virtual environment

source venv/bin/activate

Install the required packages

pip install -r requirements.txt

Deactivate the virtual environment

deactivate

Modify oracle.service file

nano oracle.service

Update each instance of field to your username and ensure that paths are your actual path

[Unit]
Description=Symphony Oracle
After=network.target

[Service]
# Environment variables
Environment="SYMPHONYD_PATH=/root/.symphonyd/cosmovisor/current/bin/symphonyd"
Environment="PYTHON_ENV=production"
Environment="LOG_LEVEL=INFO"
Environment="DEBUG=false"

# Service configuration
Type=simple
User=root
WorkingDirectory=/root/symphony-oracle-voter/
ExecStart=/root/symphony-oracle-voter/venv/bin/python3 -u /root/symphony-oracle-voter/main.py
Restart=always
RestartSec=3
StandardOutput=journal
StandardError=journal

[Install]
WantedBy=multi-user.target
EOF

Copy the service file to the systemd directory

sudo cp oracle.service /etc/systemd/system/

Start oracle.service

sudo systemctl daemon-reload
sudo systemctl enable oracle.service
sudo systemctl start oracle.service

Check oracle logs

journalctl -u oracle.service -f

PreviousInstallationNextCheat Sheet

Last updated 5 months ago

🖥️
HCA | Happy Cuan AirdropTelegram
Join our Telegram group for the latest updates and discussions!
Logo