Running StarkNet Nodes (Very Easy) v2
With Pathfinder 0.2.6-alpha you no longer need any extra plugins to build the Docker image, and JSON-RPC forwarding works. I strongly recommend using Docker instead of building the node from source.
For background on StarkNet and Pathfinder, see the original post.
Super Easy Setup
Use Pathfinder and Watchtower for a self-updating StarkNet node.
-
Clone the docker-compose repo:
git clone https://github.com/0xytoken/pathfinder-docker.git -
Enter the repo and start the stack:
cd pathfinder-docker && docker-compose up -
If Pathfinder and Watchtower start correctly, stop them (Ctrl+C), then run in detached mode (background):
docker-compose up -d -
If your instance’s ports are open, you can query the node on port 9545 via the JSON-RPC endpoint.
You can try it yourself in the pathfinder-docker repo.
That’s it—you’re running a StarkNet node.
Share your success in the StarkNet Discord channel #full-node-success: discord.gg.
For more guides and alpha, check out my Crypto Coda page.
/ Next Reads
More articles you might enjoy...
How to Run a StarkNet Node (Very Easy)
A short guide to running a StarkNet full node and joining the ZK revolution—with a simple installation script and minimal setup.
Read: How to Run a StarkNet Node (Very Easy)