Files
pezkuwi-validator-v1.0.0/beta_testnet/validators/validator8/config/keys.sh
T
pezkuwichain f08f0017d1 refactor: Reorganize validator architecture for distributed deployment
BREAKING CHANGE: Complete restructuring to support multi-network distributed validator deployment

Architecture Changes:
- Changed from shared single-machine to distributed multi-machine deployment
- 8 separate machines for 8 validators (beta testnet)
- Each validator builds own SDK and frontend locally
- Sequential bootnode connection (V2→V1, V3→V2, etc.)

New Structure:
- Multi-network support: beta_testnet, staging, mainnet
- Beta testnet: 8 validators with complete keys
- Staging: 20 validator slots (validator1 ready)
- Mainnet: 100 validator slots (validator1 ready)

Setup Script v3.0.0:
- Automatic dependency detection and installation
- Builds as actual user (fixes permission issues)
- Interactive bootnode configuration for validators > 1
- Systemd service generation per validator per network
- Nginx frontend deployment per validator

Usage:
sudo ./setup.sh <network> <validator_number>
Example: sudo ./setup.sh beta_testnet 8

Removed:
- scripts/ directory (helper scripts for shared deployment)
- validators/ directory (moved to beta_testnet/validators/)

Added:
- beta_testnet/ (8 validators with keys)
- staging/ (20 validator structure)
- mainnet/ (100 validator structure)
- Multi-network chain-specs directories
2025-11-06 08:24:12 +03:00

40 lines
1.6 KiB
Bash
Executable File

#!/bin/bash
# ========================================
# Validator 8 - Real Beta Testnet Keys
# ========================================
# Validator Name: Validator-beta-8
# RPC Port: 9951
# P2P Port: 30340
# BABE Keys (Block Authorship)
export BABE_SEED="clinic father over industry blame coast trophy walnut panel giant barely aunt"
export BABE_PUBLIC_KEY="0x520e1de89062667c8980666fd8cc83914d43ce5dd69fa4db2bec7a23bec16e61"
# GRANDPA Keys (Finality)
export GRAN_SEED="invite mule belt fix risk piece grant benefit type park best aisle"
export GRAN_PUBLIC_KEY="0x7bab34ff06d0e24da37e861bc9683381934e390febe05cec2060b5d4b9c8d746"
# PARA Keys (Parachain)
export PARA_SEED="close render flip cable sail drop job drum kiss brief corn wild"
export PARA_PUBLIC_KEY="0x4e169330a7089ffc0be8f85edb9b5c35556bee1a0111f14dc7ee00cd43478232"
# ASGN Keys (Assignment)
export ASGN_SEED="pipe crack swing minimum supply divide tenant solution foil prevent depend wedding"
export ASGN_PUBLIC_KEY="0xdc8556675a56246d3227c4544e58a602df65b154e09086c0b2b0aa879dfab249"
# AUDI Keys (Authority Discovery)
export AUDI_SEED="faint tunnel east jeans raise bundle grief unaware gospel solar dish number"
export AUDI_PUBLIC_KEY="0x1ec224f7441c0f95d817ccbf0cce3d1cdbd0ffb0f8169654672570dbd6e66608"
# BEEF Keys (BEEFY)
export BEEF_SEED="live impact struggle furnace sentence sail true spin waste museum symbol able"
export BEEF_PUBLIC_KEY="0x030bd33780a8a632630c3dd75624c4e6d1ff3fdfa58d88ddebe087e237cc0cd11d"
# Validator Configuration
export VALIDATOR_NAME="Validator-beta-8"
export RPC_PORT=9951
export P2P_PORT=30340
export WS_PORT=9951
export PROMETHEUS_PORT=9622