StarkNet node

Install guide

Update packages

sudo apt update && sudo apt upgrade -y

Install Pyton

Install Pip to manage software packages for Python.

sudo apt install -y python3-pip

Install a few more packages and development tools

sudo apt install -y curl git screen build-essential libssl-dev libffi-dev python3-dev
sudo apt-get install libgmp-dev
pip3 install fastecdsa
sudo apt-get install -y pkg-config

Install Rust

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Install Cargo

sudo apt install cargo -y
source $HOME/.cargo/env

Update Rust to the latest version

Clone Pathfinder github repository

Create a virtual environment for a node

Assemble node

Create Infura or Alchemy account

  • Go to Alchemy (for ex.) and sing up.

  • On dashboard click on Create App

  • Give new app a name and choose either Mainnet or Goerli Network

  • You will now be able to see the endpoint on your dashboard. Copy the https one

Run node

To exit from screen tap CTRL+a and than d.

Update node

Enter to screen

To stop node tap CTRL+c, than CTRL+a and d

Update bin

Enter to screen

Run node

To exit from screen tap CTRL+a and than d.

Last updated