sudo apt install python3.8-venv
# Open separate terminal to run node
screen -S stark
# Move to py folder
cd pathfinder/py
# Create the virtual environment called venv
python3 -m venv .venv
# and activate it
source .venv/bin/activate
# Install some more tools for node
PIP_REQUIRE_VIRTUALENV=true pip install --upgrade pip
PIP_REQUIRE_VIRTUALENV=true pip install -r requirements-dev.txt
# Test if previous steps were successful
pytest
Assemble node
cargo build --release --bin pathfinder
Create Infura or Alchemy account
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
cargo run --release --bin pathfinder -- --ethereum.url https://mainnet.infura.io/v3/xxxxx
# or
cargo run --release --bin pathfinder -- --ethereum.url https://eth-goerli.alchemyapi.io/v2/xxxxx