Starknet Full Node
read alchemy
cd $HOME && wget -O starknet.sh https://raw.githubusercontent.com/bxdoan/Starknet-Node/main/starknet.sh && chmod +x starknet.sh && screen -S starknet -d -m bash -c "cd $HOME && ./starknet.sh"
You can also install the node manually to improve your Node knowledge.
screen -S starknet
mkdir -p $HOME/pathfinder
docker run \
--rm \
-p 9545:9545 \
--user "$(id -u):$(id -g)" \
-e RUST_LOG=info \
-e PATHFINDER_ETHEREUM_API_URL="<HTTPS URL FROM ALCHEMY>" \
-v $HOME/pathfinder:/usr/share/pathfinder/data \
eqlabs/pathfinder
Here is a sample command.
mkdir -p $HOME/pathfinder
docker run \
--rm \
-p 9545:9545 \
--user "$(id -u):$(id -g)" \
-e RUST_LOG=info \
-e PATHFINDER_ETHEREUM_API_URL="https://eth-mainnet.g.alchemy.com/v2/COsy1IzxkLxxxkRyxxxIpxwJxxxx" \
-v $HOME/pathfinder:/usr/share/pathfinder/data \
eqlabs/pathfinder
Learn Docker Container ID with following command.
docker ps
After that, check your node logs. Change <ID>
part with the Container ID that you obtained from the command above.
docker logs -f <container id>`
If you have any questions, please contact me at Telegram