CodeBlockLabs
CommunityPromo VPS
  • Welcome
  • Getting Started
    • What is Node?
    • Your First Nodes
  • Blockchain Nodes
    • Banano
      • Installation
      • Node Configuration
      • RPC Command
      • Cli Command
      • Other
    • BlockCast
      • Installation
    • BlockX
      • Installation
      • Useful Command
    • Elys
      • Installation
      • Useful Command
    • LayerEdge
      • Installation
      • Automation
    • Lumera
      • Installation
      • Useful Command
      • Snapshot
    • RaiBlocksOne
      • Installation
      • RPC Command
      • Other
    • RaiCoin
      • Installation
      • Node Configuration
      • RPC Command
      • Other
    • Selfchain
      • Installation
      • Useful Command
      • Snapshot
    • Symphony
      • Installation
      • Useful Command
      • Snapshot
      • Oracle
      • Patch
  • Other
    • Automation Scripts
      • Auto Send
    • Blockchain Explorer
    • Go Version Manager (Multi Go)
    • NodeJS
    • Proxmox
      • Proxmox Installation
      • Proxmox FAQ
    • WSL
      • Linux Packages
Powered by GitBook
On this page
  1. Blockchain Nodes
  2. Symphony

Oracle

Install Oracle

cd $HOME
rm -rf symphony-oracle-voter
git clone https://github.com/cmancrypto/symphony-oracle-voter.git
cd symphony-oracle-voter
git checkout v0.0.4r3

If Update from v0.0.4r2, please use code below

cd $HOME/symphony-oracle-voter
git pull 
git checkout v0.0.4r3

Make File

nano $HOME/symphony-oracle-voter/.env

Edit with Ur Address and Valoper and Password

VALIDATOR_ADDRESS=symphonyvaloper************
VALIDATOR_ACC_ADDRESS=symphony***************
KEY_PASSWORD=********
SYMPHONY_LCD = https://symphony-apitest.codeblocklabs.com/
TENDERMINT_RPC= https://symphony-rpctest.codeblocklabs.com/

Install Python

sudo apt install python3.12
sudo apt install python3.12-venv
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
deactivate

Make System Service

sudo tee /etc/systemd/system/symphony-oracle.service > /dev/null << EOF
[Unit]
Description=Symphony Oracle
After=network.target

[Service]
# Environment variables
Environment="SYMPHONYD_PATH=/root/go/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

Starting Services

sudo systemctl daemon-reload
sudo systemctl enable symphony-oracle.service
sudo systemctl start symphony-oracle.service
journalctl -u symphony-oracle.service -f
PreviousSnapshotNextPatch

Last updated 4 days ago