- Autonity validator node with snap mode
- Autonite Oracle
- node-exporter
- grafana
- prometheus
- wireguard
- all official tooling (aut)
-
git clone https://github.com/web3cdnservices/autonity-validator-toolkit.git autonity-validator-toolkit
-
./tools/install_requirements_ubuntu.sh
Script will install docker, docker-compose.
Copy configuration file
cp .env.default .env
Open in editor and setup configuration.
nano .env
- Network name. Now available bakerloo OR piccadilly
- Password for Oracle wallet (generation later with aut command)
- Write any symbols. this internal key.
- Your password for Grafana. Use any symbols. (login admin)
- Keep unchanged (internal config. Local network for WG & docker)
- Wireguard server port. Keep as is.
- Keep unchanged (internal config. Local network for WG & docker)
- FILENAME OF UTC WALLET (located in .data/.autonity/keystore) (example: UTC--2023-12-08T17-21-55.320411000Z--1af84c27d8f561e77dd15eddd4f665330b3e7844). Below will be dock acount import or generation.
- Parameter required if you do not use wireguard. You can set internal ip (for true isolated access or 0.0.0.0 - but i'ts NOT securt). Example. You server have private network, so, you can use this IP.
Use wireguard guys and keep parameter unchanged.
-
./tools/start_autonity_with_wireguard
./tools/start_autonity
-
./tools/setup_shell_environment
source ~/.bashrc
-
aut account new
Please Use some password from .env file.
Copy yout keys to folder: .data/.autonity/keystore
aut account import-private-key --keyfile UTC_FILE_ABCD
-
Edit .env file with
nano
and changeORACLE_UTC_FILE=""
with your wallet name (from prevous step) -
You can repeat step 6. But password can be any.
cd /opt/subquery-indexer-toolkit
git pull
bash ./tools/start_indexer_with_wireguard
All your configs will be safe. You not need manually edit configurations anymore.
Macos (https://apps.apple.com/us/app/wireguard/id1451685025?mt=12)
Linux (see repos. yum install wireguard, emerge -av wireguard, apt install wireguard)
Windows (https://www.wireguard.com/install/) PS also you can have access to coordinator/grafana pr any service anywhere with your android,iphone. (Just import config)
https://play.google.com/store/apps/details?id=com.wireguard.android
https://apps.apple.com/us/app/wireguard/id1441195209
Archive SubqueryIndexerHandbook.tar.gz containes wireguard folder with 2 configuration files. You need only one. Secondary for secondary device or for team.
Fell free copy paste configuratin and connect with it. Nothing nedd to change.