https://github.com/frixoe/ronin-active-set-checker
Periodically checks if a validator is in the active set on the Ronin Network
https://github.com/frixoe/ronin-active-set-checker
Last synced: 2 months ago
JSON representation
Periodically checks if a validator is in the active set on the Ronin Network
- Host: GitHub
- URL: https://github.com/frixoe/ronin-active-set-checker
- Owner: Frixoe
- Created: 2023-12-13T13:48:26.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-13T16:33:41.000Z (over 2 years ago)
- Last Synced: 2025-03-12T05:43:21.115Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ronin-active-set-checker
Periodically checks if a validator is in the active set on the Ronin Network.
## Install and Run
Make sure docker is installed on your system before beginning the installation. Visit [this link](https://docs.docker.com/engine/install/ubuntu/) to install docker on ubuntu.
### 1. Clone the Repo
```
git clone https://github.com/Frixoe/ronin-active-set-checker.git
cd ronin-active-set-checker
cp .env-example .env
```
### 2. Edit the `.env`
Now edit the variables in the `.env` file with the relevant values.
```
vim .env
```
```
BOT_TOKEN=
VALIDATOR_ADDRESS=
CHAT_ID=
````
You can find your validator address on your validator's [Ronin Staking Stats Page](https://app.roninchain.com/validator/ronin:6aaabf51c5f6d2d93212cf7dad73d67afa0148d0). You are looking for the address in the red box:

> Make sure to remove the 'ronin:' from the start and replace it with '0x' when adding it to the `.env` file.
### 3. Run the script!
```
sudo docker compose up -d
```
Docker will now build the image and start monitoring your validator's active set involvement.
Check the logs:
```
sudo docker compose logs -f --tail=10
```