Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yuichiroaoki/polygon-node-manager

Polygon Node Manager
https://github.com/yuichiroaoki/polygon-node-manager

blockchain ethereum polygon rust telegram

Last synced: 3 months ago
JSON representation

Polygon Node Manager

Awesome Lists containing this project

README

        

# polygon-node-manager

## setup

1. Install dependencies
```bash
sudo apt install pkg-config libssl-dev
```

2. Add .env file with your credentials
```
API_KEY=
CHAT_ID=
JSON_RPC_URL= (e.g. http://localhost:8545)
ALCHEMY_JSON_RPC_URL=
```

## Check disk space
```bash
env RUST_LOG=info cargo run -- --disk
```

## Delete logs
```bash
env RUST_LOG=info cargo run -- --clean
```

## Check if bor is fully synced
```bash
env RUST_LOG=info cargo run -- --bor
```

## Send a message with telegram
```bash
env RUST_LOG=info cargo run -- --msg "message"
```