Repo with public services for OG: kv, RPC, storage-node, peers, snapshots etc
Chain Id: zgtendermint_16600-1
- 0G Testnet Newton Onboarding: https://tinyurl.com/4eyjk5fe
- 0G gitbook/docs: https://zerogravity.gitbook.io/0g-doc
- OG Github repo: https://github.com/0glabs
- 0G Youtube Channel: https://www.youtube.com/@0G_Labs
- 0G Faucet Link: https://faucet.0g.ai
- 0G Scan: https://scan-testnet.0g.ai
- 0G Newton explorer: https://chainscan-newton.0g.ai/
- OG StorageScan: https://storagescan-newton.0g.ai/
og-protocol-services
│
├── README.md # Overview and general information
├── LICENSE # Legal licensing information for the repository
│
├── docs # Documentation
│ ├── configuration_parameters.md # Configuration Parameters details
│ ├── access_points.md # Access Points details
│ ├── metamask_chain_settings.md # MetaMask Chain OG settings
│ ├── state_management.md # State Management guides
│ ├── live_monitoring_tools.md # Live Monitoring Tools details
│ ├── updates_and_maintenance.md # Updates and maintenance schedules
│ ├── peers.md # Peer configurations and scripts
│
├── scripts # Scripts for various operations
│ ├── install_node.sh # Script for quick NODE OG Installation
│ ├── check_sync_status.sh # Script to check node sync status
│ ├── check_block.sh # Script to check the latest block
│
├── services # Directory for various services
│ ├── kv # Key-Value store service configurations and scripts
│ ├── rpc # RPC service configurations and scripts
│ ├── storage-node # Storage node service configurations and scripts
│ ├── peers # Peer configurations and scripts
│ ├── snapshots # Snapshot configurations and scripts
│
└── network # Network configuration and scripts
├── fresh_peers.md # Network Fresh Peers details
└── fetch_peers_script.sh # Script to fetch fresh peers
This section details the specific configuration parameters set for the OG Services.
Parameter | Value |
---|---|
indexing |
kv |
pruning |
custom (100/50) |
min-retain-blocks |
0 |
snapshot-interval |
2000 |
snapshot-keep-recent |
2 |
minimum-gas-prices |
0.00252ua0gi |
Services provide various endpoints for access and interaction through different protocols:
- RPC: https://rpc-og.papadritta.com or http://rpc-og.papadritta.com:8545
- REST API: api-og.papadritta.com
- WebSocket (WSS): wss-og.papadritta.com
- gRPC: grpc-og.papadritta.com
- kv: kv-og.papadritta.com
- Storage: storage-og.papadritta.com
Network Fresh Peers fetch_script (TBA)
- P2P Persistent Peer:
7379543f98e0015dcf53b3eaa596138fb9c75fca@83.246.253.4:26656,2dacc36d2458627d7b972e1cf76ce5c28550f322@185.252.232.16:26656,cfe299faebfa81a2a4191ff93c8f6136887238da@185.250.36.142:26656,fd5b7f303e24649dcfb7ea5251b3ba65189c6623@158.220.115.143:12656,b2f647c3704b04b03700b67fcca7477d3f3d4c9b@173.212.242.60:26656,adb020421007751d1fa3fe779796460e3889839e@161.97.94.69:12656,334a34478c82e8669aace6f1ee04b4c3e04a50bb@92.118.56.200:26656,3c820ec2075e297c013b2e2f083f6c15a4fad594@62.169.26.95:26656,2d1f251c61b707e2c3521b1f5d8d431765366bfd@193.233.164.82:26656,56715db4fbe48028778ebb7cfeeeb689d0d2fb9b@37.60.252.203:26656,8cecd90d6d0d2d64afea9735dbab5e6e21e7bf6f@195.179.229.40:26656,01f53ba9f8b1f1cbcd274c52751136a741633187@5.189.142.98:26656,8f1880f4140e3d8187d0d0ac003e10443f9216b0@89.117.55.63:26656,f397ebb8b1180d71c47e69fa685d1cf525769031@45.94.209.123:26656,ac25a6be1272692d3fc73dc84b749df870072370@5.189.146.123:26656
Example how to mapping the ports for different chains in one server
!WARNING!: Safe mode is always hit the 'Enter'
- Copy-and-paste the script, it will download script and run it automaticly, choose your option: for remap ports 'Y/y' or hit Enter to check ports in use. (It's a safe mode to use script - just hit always Enter.).
- When you have any conflicts between ports and projects, you can choose option - install 'Y/y' and script ask you which project do you need to remap and change each port by confirmation 'Y/y', (To skip, just always hit the Enter).
- To re-run script again use:
./ports_mapper.sh
wget -O ports_mapper.sh https://raw.githubusercontent.com/papadritta/og-protocol-services/main/box/ports_mapper.sh && chmod +x ports_mapper.sh && ./ports_mapper.sh
- You can use a Script for quick STORAGE NODE OG Installation
wget -O run.sh https://raw.githubusercontent.com/papadritta/og-protocol-services/main/box/run.sh && chmod +x run.sh && ./run.sh
Tested on Ubuntu 24.04 LTS (GNU/Linux 6.8.0-31-generic x86_64)
0gchaind status | jq '.sync_info'
check node status > false > add vars > Create a Validator
curl -s -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}' http://rpc-og.papadritta.com | jq -r '.result' | xargs printf "%d\n"
- Full step-by-step Guide you can find here in Installation
- If you want to run a STORAGE Node on the same server where the main OG Node installed, you can use a Script for quick STORAGE NODE OG Installation
wget -O storage.sh https://raw.githubusercontent.com/papadritta/og-protocol-services/main/box/storage.sh && chmod +x storage.sh && ./storage.sh
Network name : 0g Chain Testnet
New RPC URL : https://rpc-testnet.0g.ai
Chain ID : 16600
Currency symbol: A0GI
Block explorer URL (Optional) : https://scan-testnet.0g.ai/
- State Sync: Guide
- Fresh Snapshot: Guide (Being updated every 5 hours)
- Fresh Addrbook: Guide (Being updated every 15 minutes)
- Live Peers Scanner: Guide (Being updated every 5 minutes)
For further details on updates, maintenance schedules, and historical data, refer to the specific guides linked above.