⌘
K
🛠️
Welcome Zstake Service
◻️
0G Labs
◻️
Story Protocol
◻️
Vana
◻️
Soneium
◻️
GenLayer
◻️
Ping.Pub Explorer
Docs powered by
Archbee
Welcome Zstake Service
Story Protocol
Validator (EN)
🖥️ Hardware Requirements
🛞 Auto installer
⌨️
1
wget https
:
/
/
raw
.
githubusercontent
.
com
/
zstake
-
xyz
/
story
/
refs
/
heads
/
main
/
Story_zstake
.
sh
&&
chmod
+
x
.
/
Story_zstake
.
sh
&&
.
/
Story_zstake
.
sh
wget https://raw.githubusercontent.com/zstake-xyz/story/refs/heads/main/Story_zstake.sh && chmod +x ./Story_zstake.sh && ./Story_zstake.sh
🛰️ Auto Version Update
⌨️
1
source
<
(
curl
-
s https
:
/
/
raw
.
githubusercontent
.
com
/
zstake
-
xyz
/
test
/
refs
/
heads
/
main
/
0
g_storage_update
.
sh
)
source <(curl -s https://raw.githubusercontent.com/zstake-xyz/test/refs/heads/main/0g_storage_update.sh)
🕹️ Manual installer without snapshot
Install
Text
1
sudo apt update
sudo apt update
Text
1
wget https
:
/
/
story
-
geth
-
binaries
.
s3
.
us
-
west
-
1.
amazonaws
.
com
/
geth
-
public
/
geth
-
linux
-
amd64
-
0.9
.2
-
ea9f0d2
.
tar
.
gz
2
tar
-
xzvf geth
-
linux
-
amd64
-
0.9
.2
-
ea9f0d2
.
tar
.
gz
3
sudo cp geth
-
linux
-
amd64
-
0.9
.2
-
ea9f0d2
/
geth $HOME
/
go
/
bin
/
story
-
geth
4
source $HOME
/
.
bash_profile
5
story
-
geth version
wget https://story-geth-binaries.s3.us-west-1.amazonaws.com/geth-public/geth-linux-amd64-0.9.2-ea9f0d2.tar.gz tar -xzvf geth-linux-amd64-0.9.2-ea9f0d2.tar.gz sudo cp geth-linux-amd64-0.9.2-ea9f0d2/geth $HOME/go/bin/story-geth source $HOME/.bash_profile story-geth version
Text
1
# Update or add MONIKER
2
grep
-
q
'^export MONIKER='
~
/
.
bash_profile
&&
\
3
sed
-
i
's/export MONIKER="[^"]*"/export MONIKER="zstake"/'
~
/
.
bash_profile
||
\
4
echo
'export MONIKER="zstake"'
>
>
~
/
.
bash_profile
5
6
source
~
/
.
bash_profile
# Update or add MONIKER grep -q '^export MONIKER=' ~/.bash_profile && \ sed -i 's/export MONIKER="[^"]*"/export MONIKER="zstake"/' ~/.bash_profile || \ echo 'export MONIKER="zstake"' >> ~/.bash_profile source ~/.bash_profile
Git install
Text
1
wget https
:
/
/
story
-
geth
-
binaries
.
s3
.
us
-
west
-
1.
amazonaws
.
com
/
story
-
public
/
story
-
linux
-
amd64
-
0.9
.11
-
2
a25df1
.
tar
.
gz
2
tar
-
xzvf story
-
linux
-
amd64
-
0.9
.11
-
2
a25df1
.
tar
.
gz
3
sudo cp story
-
linux
-
amd64
-
0.9
.11
-
2
a25df1
/
story $HOME
/
go
/
bin
/
story
4
source $HOME
/
.
bash_profile
5
story version
wget https://story-geth-binaries.s3.us-west-1.amazonaws.com/story-public/story-linux-amd64-0.9.11-2a25df1.tar.gz tar -xzvf story-linux-amd64-0.9.11-2a25df1.tar.gz sudo cp story-linux-amd64-0.9.11-2a25df1/story $HOME/go/bin/story source $HOME/.bash_profile story version
0gchain Install
Text
1
story init
--
network iliad
story init --network iliad
0gchain Service create
Text
1
sudo tee
/
etc
/
systemd
/
system
/
story
-
geth
.
service
>
/
dev
/
null
<
<
EOF
2
[
Unit
]
3
Description
=
Story Geth Client
4
After
=
network
.
target
5
[
Service
]
6
User
=
rootExecStart
=
/
root
/
go
/
bin
/
story
-
geth
--
iliad
--
syncmode full
7
Restart
=
on
-
failure
8
RestartSec
=
3
9
LimitNOFILE
=
4096
10
[
Install
]
11
WantedBy
=
multi
-
user
.
targetEOF
sudo tee /etc/systemd/system/story-geth.service > /dev/null <<EOF [Unit] Description=Story Geth Client After=network.target [Service] User=rootExecStart=/root/go/bin/story-geth --iliad --syncmode full Restart=on-failure RestartSec=3 LimitNOFILE=4096 [Install] WantedBy=multi-user.targetEOF
Snapshot Download
Text
1
sudo tee
/
etc
/
systemd
/
system
/
story
.
service
>
/
dev
/
null
<
<
EOF
2
[
Unit
]
3
Description
=
Story Consensus Client
4
After
=
network
.
target
5
6
[
Service
]
7
User
=
root
8
ExecStart
=
/
root
/
go
/
bin
/
story run
9
Restart
=
on
-
failure
10
RestartSec
=
3
11
LimitNOFILE
=
4096
12
13
[
Install
]
14
WantedBy
=
multi
-
user
.
target
15
EOF
sudo tee /etc/systemd/system/story.service > /dev/null <<EOF [Unit] Description=Story Consensus Client After=network.target [Service] User=root ExecStart=/root/go/bin/story run Restart=on-failure RestartSec=3 LimitNOFILE=4096 [Install] WantedBy=multi-user.target EOF
story Service Restart
Text
1
sudo systemctl daemon
-
reload
&&
\
2
sudo systemctl start story
&&
\
3
sudo systemctl enable story
&&
\
4
sudo systemctl status story
sudo systemctl daemon-reload && \ sudo systemctl start story && \ sudo systemctl enable story && \ sudo systemctl status story
story-geth Service Restart
Text
1
sudo systemctl daemon
-
reload
&&
\
2
sudo systemctl start story
-
geth
&&
\
3
sudo systemctl enable story
-
geth
&&
\
4
sudo systemctl status story
-
geth
sudo systemctl daemon-reload && \ sudo systemctl start story-geth && \ sudo systemctl enable story-geth && \ sudo systemctl status story-geth
Log Check
Text
1
sudo journalctl
-
u story
-
geth
-
f
-
o cat
2
sudo journalctl
-
u story
-
f
-
o cat
sudo journalctl -u story-geth -f -o cat sudo journalctl -u story -f -o cat
Block Sync Check
Text
1
curl localhost
:
26657
/
status
|
jq
curl localhost:26657/status | jq
PREVIOUS
Service - RPC, Snapshot
NEXT
Validator (KOR)
Docs powered by
Archbee
TABLE OF CONTENTS
🖥️ Hardware Requirements
🛞 Auto installer
🛰️ Auto Version Update
🕹️ Manual installer without snapshot
Docs powered by
Archbee