Configuration Validator client or LiteServer
TON global config file update
Last updated
TON global config file update
Last updated
By default, it is located at:
Modify or download ton global configuration file:
Mainnet: wget https://raw.githubusercontent.com/sova-network/mytonctrl/refs/heads/master/sova-mainnet-global.config.json -O /usr/bin/ton/global.config.json
Testnet: wget https://raw.githubusercontent.com/sova-network/mytonctrl/refs/heads/master/sova-testnet-global.config.json -O /usr/bin/ton/global.config.json
Change the TON node global configuration file, add the sova
section, and set the enabled
parameter to true
. Add the server_addr
parameter and set it to the address of the SovaTON Engine. Add the private_key_path
parameter.
The Engine for TON Testnet is currently accessible at:
The Engine for TON Mainnet is currently accessible at:
Example:
To generate an ed25519 private key, you can use
Please provide the public key so we can whitelist it.
To apply the configuration file, you need to restart your validator
Generate a new private key using the ed25519 algorithm
Clone the repository:
Generate a new key pair:
The new private key will also be saved as private_key.bin
.
Backup your new private key securely and never share it with anyone.
Add the path to the key to the section "sova.private_key_path"
Share the Public Key (Hex) with us for witelisting
This guide helps you migrate your old Base64-encoded private key to a new format using a Python script.
Enter your old Base64-encoded private key when prompted.
The new private key will also be saved as private_key.bin
.
Backup your new private key securely and never share it with anyone.
By default, the validator saves logs to a file located in a folder /var/ton-work/
You can increase verbosity level for validator-engine in file /etc/systemd/system/validator.service
set to --verbosity 3
then restart the validator sudo systemctl restart validator
You should see the authentication success logs:
If you see the log as below, your public key will not be whitelisted. Contact us to add your key to the whitelist.
Optionally, you can set up logging in the journal.
Update sudo nano /etc/systemd/system/validator.service
to include logging redirection in the [Service] section:
remove the parameter --logname /var/ton-work/log
from ExecStart Then save changes and reload and restart the service:
And now you can monitor the logs using the command:
mev-testnet)
Backup config.json
and keyring
dir from the old database directory:
3. Stop the validator service:
Rename the existing database directory:
Create a new and empty database directory:
Extract the downloaded archive into the new database directory:
Move back config.json
and keyring
to the new database directory:
Ensure correct ownership of the new database directory:
Start the validator service:
Monitor logs and wait for synchronization:
Run the
Download the latest testnet dump from