Agora Mainnet
How to install a node for the Agora Mainnet
Install Docker Engine
For Linux or macOS users
Install mainnet
mkdir agora-chain
cd agora-chain
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/bosagora/agora-chain/v0.x.x/agora.sh)"
./agora.sh network mainnet./agora.sh agora.sh version 2.0.0 Usage: ./agora.sh PROCESS FLAGS. PROCESS can be el-node, cl-node, validator, docker-compose, docker-compose-monitoring, start, stop, upgrade ./agora.sh network <network to change> - <network to change> is one of mainnet, testnet, and devnet, and the default is mainnet. - If <network to change> is not specified, it shows the currently set up network. ./agora.sh el-node ( init, run ) el-node init - Initialize agora-el. At this point, all existing block data is deleted. el-node run - Run agora-el. ./agora.sh cl-node ( run ) cl-node run - Run agora-cl. ./agora.sh validator ( accounts, exit, withdraw, slashing-protection-history ) ./agora.sh validator accounts ( import, list, backup ) validator accounts import <validator keys folder> - Add the validator's keys to the local wallet. validator accounts list - Show the validator's keys stored in the local wallet. validator accounts delete - Delete the validator's keys from the local wallet. validator accounts backup <validator keys folder> - Back up the validator's keys stored in the local wallet. validator exit - Used to voluntarily exit the validator's function. After this is done, you will see a screen where you select the validator's keys. validator withdraw <data folder> - Send pre-created withdrawal address registration data to the network. - Currently, only devnet is supported. Other networks will be supported later. ./agora.sh validator slashing-protection-history ( export, import ) validator slashing-protection-history export <data folder> - Save the information that the verifiers worked on as a file. At this point, the validator on the current server must be stopped. - One validator must validate only once per block. Otherwise, the validator may be slashed. - If a validator runs on multiple servers, that validator may violate the above condition. - If a validator's server is changed to another server, the validator may violate the above condition. - To avoid this, you need to transfer the block verification information that the validators has performed so far. validator slashing-protection-history import <data folder> - Register block verification information performed by validators. ./agora.sh deposit-cli ( new-mnemonic, existing-mnemonic, generate-bls-to-execution-change ) deposit-cli new-mnemonic - This command is used to generate keystores with a new mnemonic. deposit-cli existing-mnemonic - This command is used to re-generate or derive new keys from your existing mnemonic. deposit-cli generate-bls-to-execution-change <data folder> - Generates the data required to register the address to which the validator's amount will be withdrawn. - Currently, only devnet is supported. Other networks will be supported later. ./agora.sh docker-compose ( up, down ) docker-compose up - Run agora-el, agora-cl, validator. docker-compose down - Stop agora-el, agora-cl, validator. ./agora.sh docker-compose-monitoring ( up, down ) docker-compose-monitoring up - Run agora-el, agora-cl, validator, and containers required for monitoring. docker-compose-monitoring down - Stop agora-el, agora-cl, validator, and containers required for monitoring. ./agora.sh start - Run agora-el, agora-cl, validator, and containers required for monitoring. - It's the same as './agora.sh docker-compose-monitoring up' ./agora.sh stop - Stop agora-el, agora-cl, validator, and containers required for monitoring. - It's the same as './agora.sh docker-compose-monitoring down' ./agora.sh upgrade - The latest version is installed, at which point the user data is preserved.
Upgrade for Linux or macOS
Execution Layer for Linux or MacOS
Consensus Layer for Linux or MacOS
Validator accounts for Linux or MacOS
Validator execution for Linux or MacOS
Validator exit for Linux or MacOS
Validator withdrawals for Linux or MacOS
Validator slashing protection for Linux or MacOS
Using docker-compose for Linux or MacOS
Using docker-compose with monitoring for Linux or MacOS
For Windows users
Install Mainnet for Windows
Upgrade for Windows
Execution Layer for Windows
Consensus Layer for Windows
Validator accounts for Windows
Validator execution for Windows
Validator exit for Windows
Validator withdrawals for Windows
Validator slashing protection for Windows
Using docker-compose for Windows
Using docker-compose with monitoring for Windows
Other features
Documentation of Agora-cl
To check the status and rewards of the validator
Last updated