Welcome to validator AlxVoy ⚡ ANODE.TEAM



Lambda

Links

Mainnet service

Explorers

Sync

RPC & API

Peers and seeds

Genesis and addrbook

Service script (Install, State-Sync, Snapshot, Delete)

wget -O Lambda.sh https://anode.team/Lambda/main/Lambda.sh && chmod u+x Lambda.sh && ./Lambda.sh

Installation

Software Requirements

  • Prerequisite: go1.18.5+ required. ref
  • Prerequisite: git. ref

Install last binary

git clone https://github.com/LambdaIM/lambdavm.git
cd lambdavm
git checkout v1.0.1
make install

Init the config files

lambdavm init <moniker> --chain-id lambda_92000-1
lambdavm config chain-id lambda_92000-1

Create a wallet

lambdavm keys add <wallet_name>

Download genesis and addrbook

curl https://anode.team/Lambda/main/genesis.json > ~/.lambdavm/config/genesis.json
curl https://anode.team/Lambda/main/addrbook.json > ~/.lambdavm/config/addrbook.json

Add peers, seed

SEEDS="2c4f8e193fd10ab3a2bc919b484fd1c78eceffb3@13.213.214.88:26656"
PEERS="2c4f8e193fd10ab3a2bc919b484fd1c78eceffb3@13.213.214.88:26656"
sed -i.bak -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.lambdavm/config/config.toml

Add min gas

sed -i.bak -e "s/^minimum-gas-prices *=.*/minimum-gas-prices = \"0.0001ulamb\"/" $HOME/.lambdavm/config/app.toml

Create the service file

sudo tee /etc/systemd/system/lambdavm.service > /dev/null <<EOF
[Unit]
Description=Lambda
After=network-online.target

[Service]
User=$USER
ExecStart=$(which lambdavm) start
Restart=always
RestartSec=3
LimitNOFILE=4096

[Install]
WantedBy=multi-user.target
EOF

Load service and start

sudo systemctl daemon-reload && sudo systemctl enable lambdavm
sudo systemctl restart lambdavm && journalctl -fu lambdavm -o cat

Create Validator

lambdavm tx staking create-validator \
  --amount=1000000ulamb \
  --pubkey=$(lambdavm tendermint show-validator) \
  --moniker="<moniker>" \
  --identity="<identity>" \
  --website="<website>" \
  --details="<details>" \
  --security-contact="<contact>" \
  --chain-id="lambda_92000-1" \
  --commission-rate="0.10" \
  --commission-max-rate="0.20" \
  --commission-max-change-rate="0.01" \
  --min-self-delegation="1" \
  --fees="0ulamb" \
  --gas-prices="0.025ulamb" \
  --min-self-delegation="1" \
  --broadcast-mode block \
  --from=<wallet_name>

State-Sync

SNAP_RPC=https://lambda.rpc.m.anode.team:443 && \
LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \
BLOCK_HEIGHT=$((LATEST_HEIGHT - 2000)); \
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 $HOME/.lambdavm --keep-addr-book
peers="59b74a8b4870ab3f914ca4d9d9fd50e715cc0a58@144.76.97.251:45656"
sed -i.bak -e  "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" $HOME/.lambdavm/config/config.toml
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\"\"|" $HOME/.lambdavm/config/config.toml
sudo systemctl restart lambdavm && journalctl -fu lambdavm -o cat

Testnet service

Explorers

Sync

RPC & API

Peers and seeds

Genesis and addrbook

Service script (Install, State-Sync, Snapshot, Delete)

wget -O Lambda.sh https://anode.team/Lambda/test/Lambda.sh && chmod u+x Lambda.sh && ./Lambda.sh

Installation

Software Requirements

  • Prerequisite: go1.18.5+ required. ref
  • Prerequisite: git. ref

Install last binary

git clone https://github.com/LambdaIM/lambdavm.git
cd lambdavm
git checkout 3863ede6bf506de67cf9dcb1a15254c3ed4e0444
make install

Init the config files

lambdavm init <moniker> --chain-id lambdatest_92001-2
lambdavm config chain-id lambdatest_92001-2

Create a wallet

lambdavm keys add <wallet_name>

Download genesis and addrbook

curl https://anode.team/Lambda/test/genesis.json > ~/.lambdavm/config/genesis.json
curl https://anode.team/Lambda/test/addrbook.json > ~/.lambdavm/config/addrbook.json

Add peers, seed

SEEDS="ef150ce05782b05bd58ffc90a70d777d96482909@18.143.13.243:26656"
PEERS="ef150ce05782b05bd58ffc90a70d777d96482909@18.143.13.243:26656"
sed -i.bak -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.lambdavm/config/config.toml

Add min gas

sed -i.bak -e "s/^minimum-gas-prices *=.*/minimum-gas-prices = \"0.0001ulamb\"/" $HOME/.lambdavm/config/app.toml

Create the service file

sudo tee /etc/systemd/system/lambdavm.service > /dev/null <<EOF
[Unit]
Description=Lambda Testnet
After=network-online.target

[Service]
User=$USER
ExecStart=$(which lambdavm) start
Restart=always
RestartSec=3
LimitNOFILE=4096

[Install]
WantedBy=multi-user.target
EOF

Load service and start

sudo systemctl daemon-reload && sudo systemctl enable lambdavm
sudo systemctl restart lambdavm && journalctl -fu lambdavm -o cat

Create Validator

lambdavm tx staking create-validator \
  --amount=1000000ulamb \
  --pubkey=$(lambdavm tendermint show-validator) \
  --moniker="<moniker>" \
  --identity="<identity>" \
  --website="<website>" \
  --details="<details>" \
  --security-contact="<contact>" \
  --chain-id="lambdatest_92001-2" \
  --commission-rate="0.10" \
  --commission-max-rate="0.20" \
  --commission-max-change-rate="0.01" \
  --min-self-delegation="1" \
  --fees="0ulamb" \
  --gas-prices="0.025ulamb" \
  --min-self-delegation="1" \
  --broadcast-mode block \
  --from=<wallet_name>

State-Sync

SNAP_RPC=https://lambda.rpc.t.anode.team:443 && \
LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \
BLOCK_HEIGHT=$((LATEST_HEIGHT - 100)); \
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 $HOME/.lambdavm --keep-addr-book
peers="3da933459886bcf1435ec42aa92c87d4de6f1f95@65.109.28.177:45656"
sed -i.bak -e  "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" $HOME/.lambdavm/config/config.toml
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\"\"|" $HOME/.lambdavm/config/config.toml
sudo systemctl restart lambdavm && journalctl -fu lambdavm -o cat