Skip to content

Commands to activate the Agora chain for users

Notifications You must be signed in to change notification settings

MichaelKim20/agora-chain

 
 

Repository files navigation

Agora Mainnet

Abort

Agora-el is an execution client that has an EVM.
Agora-el was forked from Ethereum's execution client, ethereum/go-ethereum version 1.10.23.
We implemented the function of issuing commons budget in Agora-el.

Agora-cl is a consensus client with a focus on usability, security, and reliability.
Agora-cl was forked from Ethereum's consensus client, prysmaticlabs/prysm version 3.1.1.
We modified the block confirmation rewards in Agora-cl.

Install Docker Engine

To run the Agora node, you must first install the Docker Engine.
See here for instructions on how to install the Docker Engine
https://docs.docker.com/engine/install/

For Linux or MacOS users

Install for Linux or MacOS

wget https://github.com/bosagora/agora-chain/archive/refs/heads/mainnet.zip -O mainnet.zip
unzip mainnet.zip
cd agora-chain-mainnet

Upgrade for Linux or MacOS

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/bosagora/agora-chain/mainnet/upgrade.sh)"

Execution Layer for Linux or MacOS

Init execution node

./agora.sh el-node init

Run execution node

./agora.sh el-node run

Consensus Layer for Linux or MacOS

Run consensus node

./agora.sh cl-node run

Validator for Linux or MacOS

Import your key stores

./agora.sh validator import <your key stores folder>

or

./agora.sh validator accounts import <your key stores folder>

List your key stores in your wallet

./agora.sh validator accounts list

Run validator

./agora.sh validator run

Voluntary exit of the validator

./agora.sh validator accounts voluntary-exit

Using docker-compose for Linux or MacOS

  1. Init the execution node
./agora.sh el-node init
  1. Import your key stores
./agora.sh validator import <your key stores folder>

or

./agora.sh validator accounts import <your key stores folder>
  1. Edit wallet password
nano ./root/config/cl/password.txt
  1. Edit transaction fee receiving address
nano ./root/config/cl/proposer_config.json
  1. Run docker-compose
./agora.sh docker-compose up
  1. Stop docker-compose
./agora.sh docker-compose down

Using docker-compose with monitoring for Linux or MacOS

  1. Init the execution node
./agora.sh el-node init
  1. Import your key stores
./agora.sh validator import <your key stores folder>

or

./agora.sh validator accounts import <your key stores folder>
  1. Edit wallet password
nano ./root/config/cl/password.txt
  1. Edit transaction fee receiving address
nano ./root/config/cl/proposer_config.json
  1. Run docker-compose
./agora.sh docker-compose-monitoring up
  1. Stop docker-compose
./agora.sh docker-compose-monitoring down

For Windows users

Install for Windows

curl -f -s -S -L -o mainnet.zip https://github.com/bosagora/agora-chain/archive/refs/heads/mainnet.zip
tar -xf mainnet.zip
cd agora-chain-mainnet

Upgrade for Windows

curl -f -s -S -L -o upgrade.bat https://raw.githubusercontent.com/bosagora/agora-chain/mainnet/upgrade.bat
upgrade.bat

Execution Layer for Windows

Init execution node

agora.bat el-node init

Run execution node

agora.bat el-node run

Consensus Layer for Windows

Run consensus node

agora.bat cl-node run

Validator for Windows

Import your key stores

agora.bat validator import <your key stores folder>

or

agora.bat validator accounts import <your key stores folder>

List your key stores in your wallet

agora.bat validator accounts list

Run validator

agora.bat validator run

Voluntary exit of the validator

agora.bat validator accounts voluntary-exit

Using docker-compose for Windows

  1. Init the execution node
agora.bat el-node init
  1. Import your key stores
agora.bat validator import <your key stores folder>

or

agora.bat validator accounts import <your key stores folder>
  1. Edit wallet password
notepad ./root/config/cl/password.txt
  1. Edit transaction fee receiving address
notepad ./root/config/cl/proposer_config.json
  1. Run docker-compose
agora.bat docker-compose up
  1. Stop docker-compose
agora.bat docker-compose down

Using docker-compose with monitoring for Windows

  1. Init the execution node
agora.bat el-node init
  1. Import your key stores
agora.bat validator import <your key stores folder>

or

agora.bat validator accounts import <your key stores folder>
  1. Edit wallet password
notepad ./root/config/cl/password.txt
  1. Edit transaction fee receiving address
notepad ./root/config/cl/proposer_config.json
  1. Run docker-compose
agora.bat docker-compose-monitoring up
  1. Stop docker-compose
agora.bat docker-compose-monitoring down

Additional Information

AWS 의 Ubuntu 에 BOSagora 노드 설치하기
Installing the BOSagora's node on Ubuntu on AWS

About

Commands to activate the Agora chain for users

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 52.6%
  • Batchfile 47.4%