Mainnet

Chain ID: lambda_92000-1 | Node Version: v1.0.1

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.1.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 lambdavm

git clone https://github.com/LambdaIM/lambdavm.git

cd lambdavm

git checkout v1.0.1

make install

lambdavm version

Initialize Node

Replace NodeName with your own moniker.

lambdavm init NodeName --chain-id=lambda_92000-1

Download Genesis

curl -Ls https://ss.lambda.nodestake.org/genesis.json > $HOME/.lambdavm/config/genesis.json 

Download addrbook

curl -Ls https://ss.lambda.nodestake.org/addrbook.json > $HOME/.lambdavm/config/addrbook.json

Create Service

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

Download Snapshot(optional)

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

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

Launch Node

sudo systemctl restart lambdavm
journalctl -u lambdavm -f

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

 

https://rpc.lambda.nodestake.org

 

https://api.lambda.nodestake.org

 

https://grpc.lambda.nodestake.org:443

Chain Name: Lambda
RPC: https://jsonrpc.lambda.nodestake.org/
Chain ID: 92000
Symbol: LAMB
Explorer: https://explorer.lambda.im/

https://ss.lambda.nodestake.org/genesis.json

Download Genesis File

curl -Ls https://snapshots.nodestake.org/lambda/genesis.json > $HOME/.lambdavm/config/genesis.json 

https://ss.lambda.nodestake.org/addrbook.json

Download Addrbook

curl -Ls https://ss.lambda.nodestake.org/addrbook.json > $HOME/.lambdavm/config/addrbook.json 

Restart Node

sudo systemctl restart lambdavm
journalctl -u lambdavm -f

504ae03f50b45092514b4ad2bd7615f2ebcc3ff3@rpc.lambda.nodestake.org:666

Set Seed Node

seed="504ae03f50b45092514b4ad2bd7615f2ebcc3ff3@rpc.lambda.nodestake.org:666"
sed -i.bak -e "s/^seed *=.*/seed = \"$seed\"/" ~/.lambdavm/config/config.toml

Restart Node

sudo systemctl restart lambdavm
journalctl -u lambdavm -f

Set Peers

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

Restart Node

sudo systemctl restart lambdavm
journalctl -u lambdavm -f

Stop Node And Reset

sudo systemctl stop lambdavm

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

Configure State Sync

SNAP_RPC="https://rpc.lambda.nodestake.org: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\"|" ~/.lambdavm/config/config.toml

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

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

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

Restart Node

sudo systemctl restart lambdavm
journalctl -u lambdavm -f

Install lz4

sudo apt update

sudo apt-get install snapd lz4 -y

Off State Sync

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

Stop Node and Reset Date

sudo systemctl stop lambdavm

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

rm -rf $HOME/.lambdavm/data

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

Download Snapshot

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

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

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

Restart Node

sudo systemctl restart lambdavm
journalctl -u lambdavm -f

Get old Snapshots

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

Testnet

 

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

 

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

 

https://grpc-t.lambda.nodestake.top

Chain Name: Lambda
RPC: https://jsonrpc-t.
lambda.nodestake.top/
Chain ID: 92001
Symbol: LAMB
Explorer: https://explorer.lambda.top/

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

https://ss-t.lambda.nodestake.top/Addrbook.json

SNAP_RPC="https://rpc-t.lambda.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

 

sudo systemctl stop lambdavm

lambdavm tendermint unsafe-reset-all --home ~/.lambdavm/

 

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\"| ; \

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

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

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

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

 

sudo systemctl restart lambdavm

journalctl -u lambdavm -f -o cat

sudo apt update

sudo apt-get install snapd lz4 -y

 

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

sudo systemctl stop lambdavm

rm -rf $HOME/.lambdavm/data

lambdavm tendermint unsafe-reset-all --home $HOME/.lambdavm/

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

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

sudo systemctl restart lambdavm

journalctl -f -u lambdavm