🐳Docker
Author: Godwin
System Requirements
4-Core CPU
Debian 12/Ubuntu 22.04
=> 8 GB RAM
500 GB+
(SSD or NVMe)
Juno is a Go implementation of a Starknet full-node client created by Nethermind to allow node operators to easily and reliably support the network and advance its decentralisation goals. Juno supports various node setups, from casual to production-grade indexers.
Before you start, make sure that you have your own synced Ethereum mainnet L1 RPC URL ready with WS port enabled
Pre-Requisites
sudo apt update -y && sudo apt upgrade -y && sudo apt autoremove -y
sudo apt install -y wget curl screen git ufwSetting up Firewall
sudo ufw default deny incoming
sudo ufw default allow outgoing
sudo ufw allow 22/tcp
sudo ufw allow 80
sudo ufw allow 443Enable Firewall
Install Docker
Run this command to remove any conflicting docker
Add Docker's official GPG key:
Add the repository to ppt sources:
Install docker
Create Starknet directory
Juno only recognizes an endpoint through WebSocket protocol, so make sure to specify it using the wss:// scheme (e.g., wss://your-endpoint)
Launch Starknet full node
Paste the following into the docker-compose.yml:
Monitor Logs
Use docker logs to monitor your starknet node. The -f flag ensures you are following the log output
Once your Juno Starknet node starts syncing, the logs are expected to look like this:
1. Block Number
This confirms which Starknet network the node is connected to:
Expected Response:
Sync Status
This ensures that your node is syncing correctly and producing up-to-date data.
Expected Response:
You get the below result if the node has caught up to the latest block.
Juno starkent node takes approximately 5 days to fully catch up to the latest chain head when syncing from Genesis
References
Last updated
Was this helpful?