Mainnet

Chain ID: source-1 | Node Version: v3.0.0

Auto-compound(every 1 hour),NodeStake will pay the gas fees

Node Installation Guide

Update system and install build tools

sudo apt update

sudo apt-get install git curl build-essential make jq gcc snapd chrony lz4 tmux unzip bc -y

Install Go

rm -rf $HOME/go
sudo rm -rf /usr/local/go
cd $HOME
curl https://dl.google.com/go/go1.20.5.linux-amd64.tar.gz | sudo tar -C/usr/local -zxvf -
cat <<'EOF' >>$HOME/.profile
export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export GO111MODULE=on
export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin
EOF
source $HOME/.profile
go version

Install Node

cd $HOME

rm -rf source

git clone https://github.com/Source-Protocol-Cosmos/source.git

cd source

git checkout v3.0.0

make install

sourced version

Initialize Node

Replace NodeName with your own moniker.

sourced init NodeName --chain-id=source-1

Download Genesis

curl -Ls https://ss.source.nodestake.top/genesis.json > $HOME/.source/config/genesis.json 

Download addrbook

curl -Ls https://ss.source.nodestake.top/addrbook.json > $HOME/.source/config/addrbook.json

Create Service

sudo tee /etc/systemd/system/sourced.service > /dev/null <<EOF
[Unit]
Description=sourced Daemon
After=network-online.target
[Service]
User=$USER
ExecStart=$(which sourced) start
Restart=always
RestartSec=3
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload
sudo systemctl enable sourced

Download Snapshot(optional)

SNAP_NAME=$(curl -s https://ss.source.nodestake.top/ | egrep -o ">20.*\.tar.lz4" | tr -d ">")

curl -o - -L https://ss.source.nodestake.top/${SNAP_NAME}  | lz4 -c -d - | tar -x -C $HOME/.source

Launch Node

sudo systemctl restart sourced
journalctl -u sourced -f

If you have any questions, please reach out to our Discord

 

https://rpc.source.nodestake.top

 

https://api.source.nodestake.top

 

https://grpc.source.nodestake.top:443

https://ss.source.nodestake.top/genesis.json

Download Genesis File

curl -Ls https://ss.source.nodestake.top/genesis.json > $HOME/.source/config/genesis.json 

https://ss.source.nodestake.top/addrbook.json

Download Addrbook

curl -Ls https://ss.source.nodestake.top/addrbook.json > $HOME/.source/config/addrbook.json 

Restart Node

sudo systemctl restart sourced
journalctl -u sourced -f

738be29546d9504b3845d781b9dc35bc6f996c5f@rpc.source.nodestake.top:666

Set Seed Node

seed="738be29546d9504b3845d781b9dc35bc6f996c5f@rpc.source.nodestake.top:666"
sed -i.bak -e "s/^seed *=.*/seed = \"$seed\"/" ~/.source/config/config.toml

Restart Node

sudo systemctl restart sourced
journalctl -u sourced -f

Set Peers

peers=$(curl -s https://ss.source.nodestake.top/peers.txt)
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" ~/.source/config/config.toml

Restart Node

sudo systemctl restart sourced
journalctl -u sourced -f

Stop Node And Reset

sudo systemctl stop sourced

sourced tendermint unsafe-reset-all --home ~/.source/ --keep-addr-book

Configure State Sync

SNAP_RPC="https://rpc.source.nodestake.top:443"

LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \

BLOCK_HEIGHT=$((LATEST_HEIGHT - 1000)); \

TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash)

echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH

 

sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \

s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \

s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \

s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"|" ~/.source/config/config.toml

more ~/.source/config/config.toml | grep 'rpc_servers'

more ~/.source/config/config.toml | grep 'trust_height'

more ~/.source/config/config.toml | grep 'trust_hash'

Download Wasm

rm -rf ~/.source/data/wasm

curl -o - -L https://ss.source.nodestake.top/wasm.tar.lz4 | lz4 -dc - | tar -xf - -C $HOME/.source/data/

Restart Node

sudo systemctl restart sourced
journalctl -u sourced -f

We make the node snapshot every day

Install lz4

sudo apt update

sudo apt-get install snapd lz4 -y

Off State Sync

sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1false|" ~/.source/config/config.toml

Stop Node and Reset Date

sudo systemctl stop sourced

cp $HOME/.source/data/priv_validator_state.json $HOME/.source/priv_validator_state.json.backup

rm -rf $HOME/.source/data

sourced tendermint unsafe-reset-all --home ~/.source/ --keep-addr-book

Download Snapshot

SNAP_NAME=$(curl -s https://ss.source.nodestake.top/ | egrep -o ">20.*\.tar.lz4" | tr -d ">")

curl -o - -L https://ss.source.nodestake.top/${SNAP_NAME}  | lz4 -c -d - | tar -x -C $HOME/.source

mv $HOME/.source/priv_validator_state.json.backup $HOME/.source/data/priv_validator_state.json

Restart Node

sudo systemctl restart sourced
journalctl -u sourced -f

Get old Snapshots

If you have any questions, please reach out to our Discord

Contact us for price

Name *
E-mail *
Network *

Testnet

Chain ID: sourcetest-1 | Node Version: v3.0.0

Node Installation Guide

Update system and install build tools

sudo apt update

sudo apt-get install git curl build-essential make jq gcc snapd chrony lz4 tmux unzip bc -y

Install Go

rm -rf $HOME/go
sudo rm -rf /usr/local/go
cd $HOME
curl https://dl.google.com/go/go1.20.5.linux-amd64.tar.gz | sudo tar -C/usr/local -zxvf -
cat <<'EOF' >>$HOME/.profile
export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export GO111MODULE=on
export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin
EOF
source $HOME/.profile
go version

Install Node

cd $HOME

rm -rf source

git clone https://github.com/Source-Protocol-Cosmos/source.git

cd source

git checkout v3.0.0

make install

sourced version

Initialize Node

Replace NodeName with your own moniker.

sourced init NodeName --chain-id=sourcetest-1

Download Genesis

curl -Ls https://ss-t.source.nodestake.top/genesis.json > $HOME/.source/config/genesis.json 

Download addrbook

curl -Ls https://ss-t.source.nodestake.top/addrbook.json > $HOME/.source/config/addrbook.json

Create Service

sudo tee /etc/systemd/system/sourced.service > /dev/null <<EOF
[Unit]
Description=sourced Daemon
After=network-online.target
[Service]
User=$USER
ExecStart=$(which sourced) start
Restart=always
RestartSec=3
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload
sudo systemctl enable sourced

Download Snapshot(optional)

SNAP_NAME=$(curl -s https://ss-t.source.nodestake.top/ | egrep -o ">20.*\.tar.lz4" | tr -d ">")

curl -o - -L https://ss-t.source.nodestake.top/${SNAP_NAME}  | lz4 -c -d - | tar -x -C $HOME/.source

Launch Node

sudo systemctl restart sourced
journalctl -u sourced -f

If you have any questions, please reach out to our Discord

 

https://rpc-t.source.nodestake.top

 

https://api-t.source.nodestake.top

 

https://grpc-t.source.nodestake.top:443

https://ss-t.source.nodestake.top/genesis.json

Download Genesis File

curl -Ls https://ss-t.source.nodestake.top/genesis.json > $HOME/.source/config/genesis.json 

https://ss-t.source.nodestake.top/addrbook.json

Download Addrbook

curl -Ls https://ss-t.source.nodestake.top/addrbook.json > $HOME/.source/config/addrbook.json 

Restart Node

sudo systemctl restart sourced
journalctl -u sourced -f

67c55549a4eb9ce0651c270a7f531ee5b50198ef@rpc-t.source.nodestake.top:666

Set Seed Node

seed="67c55549a4eb9ce0651c270a7f531ee5b50198ef@rpc-t.source.nodestake.top:666"
sed -i.bak -e "s/^seed *=.*/seed = \"$seed\"/" ~/.source/config/config.toml

Restart Node

sudo systemctl restart sourced
journalctl -u sourced -f

Set Peers

peers=$(curl -s https://ss-t.source.nodestake.top/peers.txt)
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" ~/.source/config/config.toml

Restart Node

sudo systemctl restart sourced
journalctl -u sourced -f

Stop Node And Reset

sudo systemctl stop sourced

sourced tendermint unsafe-reset-all --home ~/.source/ --keep-addr-book

Configure State Sync

SNAP_RPC="https://rpc-t.source.nodestake.top:443"

LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \

BLOCK_HEIGHT=$((LATEST_HEIGHT - 1000)); \

TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash)

echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH

 

sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \

s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \

s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \

s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"|" ~/.source/config/config.toml

more ~/.source/config/config.toml | grep 'rpc_servers'

more ~/.source/config/config.toml | grep 'trust_height'

more ~/.source/config/config.toml | grep 'trust_hash'

Download Wasm

rm -rf ~/.source/data/wasm

curl -o - -L https://ss-t.source.nodestake.top/wasm.tar.lz4 | lz4 -dc - | tar -xf - -C $HOME/.source/data/

Restart Node

sudo systemctl restart sourced
journalctl -u sourced -f

We make the node snapshot every 6h

Install lz4

sudo apt update

sudo apt-get install snapd lz4 -y

Off State Sync

sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1false|" ~/.source/config/config.toml

Stop Node and Reset Date

sudo systemctl stop sourced

cp $HOME/.source/data/priv_validator_state.json $HOME/.source/priv_validator_state.json.backup

rm -rf $HOME/.source/data

sourced tendermint unsafe-reset-all --home ~/.source/ --keep-addr-book

Download Snapshot

SNAP_NAME=$(curl -s https://ss-t.source.nodestake.top/ | egrep -o ">20.*\.tar.lz4" | tr -d ">")

curl -o - -L https://ss-t.source.nodestake.top/${SNAP_NAME}  | lz4 -c -d - | tar -x -C $HOME/.source

mv $HOME/.source/priv_validator_state.json.backup $HOME/.source/data/priv_validator_state.json

Restart Node

sudo systemctl restart sourced
journalctl -u sourced -f

If you have any questions, please reach out to our Discord