Maintaining & updating your Node

Releases of Veriscope occur frequently. Before deploying a new release, ensure you have backed-up your trust anchor account (TRUST_ANCHOR_ACCOUNT) and trust anchor private key (TRUST_ANCHOR_PK).

In the event you wish to do a clean deploy, after you complete the installation, replace the newly created trust anchor account with your backup.

cd /opt/veriscope/veriscope_ta_node/.env
#DO NOT INCLUDE "0x" prefix in TRUST_ANCHOR_PK
TRUST_ANCHOR_PK=9b................17
TRUST_ANCHOR_PREFNAME="Singapore VASP"
TRUST_ANCHOR_ACCOUNT=0x........60
`WEBHOOK_CLIENT_SECRET`=abcdefg*

HTTP="http://localhost:8545"
WS="ws://localhost:8545"
WEBHOOK="http://localhost:8000/webhook"
HTTP_API_PORT=8080
TEMPLATE_HELPER_PORT=8090

CONTRACTS=/opt/veriscope/veriscope_ta_node/artifacts/

#veriscope testnet
TRUST_ANCHOR_MANAGER_CONTRACT_ADDRESS="0x........06"
TRUST_ANCHOR_STORAGE_CONTRACT_ADDRESS="0x........66"
TRUST_ANCHOR_EXTRA_DATA_GENERIC_CONTRACT_ADDRESS="0x.......4c"
TRUST_ANCHOR_EXTRA_DATA_UNIQUE_CONTRACT_ADDRESS="0x........a8"

#redis
REDIS_URI=redis://127.0.0.1:6379
LOG_LEVEL=info

SIGN_MESSAGE="VERISCOPE"
Do not include "0x" prefix in TRUST_ANCHOR_PK

Then restart ta-node-1 and ta-node-2 as as follows:

sudo systemctl stop nethermind
sudo systemctl restart ta-node-1
sudo systemctl restart ta-node-2