Skip to content

bxdoan/Starknet-Node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Starknet-Node

Starknet Full Node

1) Before installing node, get your endpoint from Alchemy.

read alchemy

2) Install the node.

2a) Scripted installation

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"

2b) Manual installation

You can also install the node manually to improve your Node knowledge.

Continue.

Open a screen.

screen -S starknet

Start your node.

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

3) Check your logs.

Learn Docker Container ID with following command.

docker ps

image

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>`

image

Your node is syncing

image

Contact

If you have any questions, please contact me at Telegram

Thanks for use

paypal

Releases

No releases published

Packages

No packages published

Languages