Skip to content

Latest commit

 

History

History
90 lines (54 loc) · 2.56 KB

StarknetEN.md

File metadata and controls

90 lines (54 loc) · 2.56 KB

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

image

If you do not have an account on Alchemy, open an account and click Create App.

image

Enter a name and click Create App.

image

Click View key for the App you created.

image

Copy the https part in the opened section.

2) Install the node.

2a) Scripted installation

wget -O StarknetEN.sh https://raw.githubusercontent.com/thisislexar/Starknet-Node/main/StarknetEN.sh && chmod +x StarknetEN.sh && ./StarknetEN.sh

2b) Manual installation

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

3) 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

Your node is syncing

image

Lastly, there is a something like tweeting and sending the tweet link to Discord, you can do it if you wish.

Go to Alchemy and click View Details.

image

Take screenshot and tweet it.

image

Go to Discord and send your tweet link.

image