Welcome to the first installment of the Help secure Starknet guide! 🛡️By operating your own full node, you become part of the distributed network that validates transactions, preserves blockchain history, and ensures Starknet remains decentralized and censorship-resistant.This installment of the series will thereforewalk you though downloading a data snapshot and using it to run your own Pathfinder node.
The easiest option to run a Starknet full node is using Docker. To install Docker, simply visit docs.docker.com/get-started/get-docker and choose whatever OS you’re using.
Running a Starknet full node requires an Ethereum websocket RPC URL. You can get your free Ethereum websocket RPC URL by creating an account with Alchemy, Infura, or Quicknode. Afterwhich, you can export it by running:
Running a full node involves using your local machine’s storage to maintain a full database of the blockchain, all the way from the genesis block.Database snapshots let you quickly start your node without having to download all blocks from the very beginning, and instead use a pre-made version of the database that’s already in sync up to a certain block.To download Pathfinder’s snapshot, you first need to download the rclone file manager by running:
Next, create a new $HOME/pathfinder directory, navigate into it, and use rclone to copy Pathfinder’s latest database snapshot to your local directory by running:
Once the docker container is up and running, you can check the docker image’s logs by running:
Copy
Ask AI
docker logs -f pathfinder
If successful, the result should resemble the following:
Copy
Ask AI
2025-05-12T18:29:45 INFO Downloading block 7665332025-05-12T18:30:36 INFO Updated Starknet state with block 7665342025-05-12T18:31:07 INFO Updated Starknet state with block 7665352025-05-12T18:31:35 INFO Updated Starknet state with block 7665362025-05-12T18:32:12 INFO Downloading block 766537