Guildeline for Namada crew members in SE (delegation/staking/withdrawal)

Hi dear Namada CREW members! I know that may hurt when you don’t know what to do so feel free to use this guide to operate as CREW member in Namada shielded expedition.

We are working on hosting our RPC for you right now so you won’t need to synchronize directly with Namada SE chain, until that — please use VPS providers such as Hetzner, Vultr or anything else you like.

#install rust

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y

source $HOME/.cargo/env

#install CometBft

cd $HOME; mkdir cometbft

wget https://github.com/cometbft/cometbft/releases/download/v0.37.2/cometbft_0.37.2_linux_amd64.tar.gz
tar xvf cometbft_0.37.2_linux_amd64.tar.gz -C ./cometbft
chmod +x cometbft/cometbft
sudo mv cometbft/cometbft /usr/local/bin/
rm -rf cometbft*

#install pre-compiled Namada binaries - v0.31.0 (Ubuntu 22.04)
mkdir -p $HOME/namada_bin
cd $HOME/namada_bin

wget -O namada.tar.gz https://github.com/anoma/namada/releases/download/v0.31.0/namada-v0.31.0-Linux-x86_64.tar.gz

tar xvf namada.tar.gz
cd namada-*
sudo chmod +x namada namada[c,n,w]
sudo mv namada /usr/local/bin/
sudo mv namada[c,n,w] /usr/local/bin/
cd $HOME && rm -rf $HOME/namada_bin

namada --version
output: namada v0.31.0

#or compile binaries yourself

git clone https://github.com/anoma/namada.git
cd namada
git checkout v0.31.0
make install
sudo chmod +x ~/.cargo/bin/namada*
sudo mv ~/.cargo/bin/namada* /usr/local/bin

#set variables
CHAIN_ID=“shielded-expedition.b40d8e9055”
echo 'export CHAIN_ID='\"${CHAIN_ID}\" >> $HOME/.bash_profile
#make variables permanent

echo 'export CHAIN_ID='\"${CHAIN_ID}\" >> $HOME/.bash_profile
source $HOME/.bash_profile

#check
cat ~/.bash_profile

#initialize chain and working directory
namada client utils join-network --chain-id $CHAIN_ID

#add service file

sudo tee /etc/systemd/system/namadad.service << EOF
[Unit]
Description=Namada Node
After=network.target
[Service]
User=$USER
WorkingDirectory=$HOME/.local/share/namada
Type=simple
ExecStart=/usr/local/bin/namada --base-dir=$HOME/.local/share/namada node ledger run
Environment=NAMADA_CMT_STDOUT=true
Environment=TM_LOG_LEVEL=p2p:none,pex:error
RemainAfterExit=no
Restart=on-failure
RestartSec=10s
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF

#enable Namada service
sudo systemctl daemon-reload
sudo systemctl start namadad.service && sudo systemctl enable namadad.service

You can import your wallet from the namada extension. In the future, remember to use the --memo flag when sending each transaction
namadaw derive --alias <walletname>
enter password
same enter password
BIP39 (empty for skip)
enter mnemonic

#check logs
sudo journalctl -u namadad.service -fn 50 -o cat

#full node status (if u dont use standard port 26657, change to a right one) curl localhost:26657/status | jq`

#sync status (false = node synced)
curl -s localhost:26657/status | jq .result.sync_info.catching_up

#delegate to validator cryptomolot
namadac bond --source <walletname> --validator tnam1q82nwzkyjv79mj42mmk5h5qaf0nsewquwc9wl38k --amount 1000 --memo <your wallet address tpknam1...>

#undelegate
namadac unbond --source <walletname> --validator tnam1q82nwzkyjv79mj42mmk5h5qaf0nsewquwc9wl38k --amount 1000 --memo <your wallet address tpknam1...>

#withdrawing unbonded tokens
namadac withdraw --source <walletname> --validator tnam1q82nwzkyjv79mj42mmk5h5qaf0nsewquwc9wl38k --memo <your wallet address tpknam1...>

Hope that was useful for someone!

1 Like