Jsonrpc-To-Firestark Docker

Author: [ jLeopoldA ]

circle-info

jsonrpc-to-firestark is a community implementation. It does require a fully synced Starknet node - which for the sake of completeness, this guide covers. If you already have a fully synced Starknet node, proceed past the Starknet node set up. The Starknet node used here is Juno.

Setting up Juno Starknet Node

System Requirements for Juno Starknet Node

CPU
OS
RAM
DISK

4 Core

Ubuntu 24.04.1 LTS

8GB RAM

500GB

circle-info

Starknet Juno has a size of 337GB as of 4/28/2025.

Pre-Requisites

circle-info

Starknet Juno requires Rust and GO.

circle-exclamation

Before you start, make sure that you have your own synced Ethereum mainnet L1 RPC URL ready with WS port enabled

Update System

sudo apt update -y && sudo apt upgrade -y && sudo apt autoremove -y
sudo apt install -y git gcc make --fix-missing

sudo apt-get install -y libjemalloc-dev libjemalloc2 pkg-config libbz2-dev
make install-deps

Install Rust

Install GO

Firewall Configuration

Set Explicit Firewall Rules

Allow SSH

Allow Connections for Juno

Enable Firewall

View Current UFW Rules and Status

Set up Starknet Juno

Create Directories

Build Starknet Juno

Download Juno

Build Juno

Create System Service for Starknet Juno

Run Starknet Juno

Start System Service

Access Starknet Juno Logs

Query Starknet Juno

Check Sync Status

Check Block Number

References

Setting Up Jsonrpc-To-Firestark

circle-info

This set up Jsonrpc-To-Firestark requires Docker and Docker-Compose.

Create Directories

Pull Latest Docker Image

Create Docker-Compose.yml

Start jsonrpc-to-firestark

Check Logs

Stop jsonrpc-to-firestark

References

Last updated