-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathSTARKNET
More file actions
54 lines (46 loc) · 1.29 KB
/
STARKNET
File metadata and controls
54 lines (46 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
ALCHEMY=YOUR_ALCHEMY_HTTP_ADDRESS
echo 'export ALCHEMY='$ALCHEMY >> $HOME/.bash_profile
wget -O starknet.sh https://api.nodes.guru/starknet.sh && chmod +x starknet.sh && ./starknet.sh
Logs
journalctl -u starknetd -f
Restart
systemctl restart starknetd
Delite
systemctl stop starknetd
systemctl disable starknetd
rm -rf ~/pathfinder/
rm -rf /etc/systemd/system/starknetd.service
rm -rf /usr/local/bin/pathfinder
The testnet continues. Nodes updated
Update v 0.4.2
cd ~/pathfinder
rustup update
git fetch
git checkout v0.4.2
cargo build --release --bin pathfinder
mv ~/pathfinder/target/release/pathfinder /usr/local/bin/
cd py
source .venv/bin/activate
PIP_REQUIRE_VIRTUALENV=true pip install -e .[dev]
pip install --upgrade pip
systemctl restart starknetd
pathfinder -V
Out of memory:
systemctl stop starknetd
rm -rf ~/pathfinder/
wget -O starknet.sh https://api.nodes.guru/starknet.sh && chmod +x starknet.sh && ./starknet.sh
cd ~/pathfinder
rustup update
git fetch
git checkout v0.5.4
source $HOME/.cargo/env
cargo build --release --bin pathfinder
mv ~/pathfinder/target/release/pathfinder /usr/local/bin/
cd py
python3.10 -m venv .venv
source .venv/bin/activate
PIP_REQUIRE_VIRTUALENV=true pip install -r requirements-dev.txt
pip install --upgrade pip
systemctl restart starknetd
pathfinder -V
Pathfinder v0.5.4