βοΈInstallation
Server preparation:
sudo apt update && sudo apt upgrade -y && sudo apt install tmux git curl -y && sudo apt install make clang pkg-config libssl-dev build-essential -y Download Pactus v1.6.4: (amd64)
ver="1.6.4" && \
cd $HOME && rm -rf node_pactus && \
wget https://github.com/pactus-project/pactus/releases/download/v${ver}/pactus-cli_${ver}_linux_amd64.tar.gz && \
tar -xzf pactus-cli_${ver}_linux_amd64.tar.gz && \
rm -rf pactus-cli_${ver}_linux_amd64.tar.gz && \
mv pactus-cli_${ver} node_pactus && cd node_pactusDownload Pactus v1.6.4: (arm64)
ver="1.6.4" && \
cd $HOME && rm -rf node_pactus && \
wget https://github.com/pactus-project/pactus/releases/download/v${ver}/pactus-cli_${ver}_linux_arm64.tar.gz && \
tar -xzf pactus-cli_${ver}_linux_arm64.tar.gz && \
rm -rf pactus-cli_${ver}_linux_arm64.tar.gz && \
mv pactus-cli_${ver} node_pactus && cd node_pactusCreate Wallet:
./pactus-daemon init*Note: It is recommended to run 1-32 validator. Save all important information in this step (Address validator, Wallet & seed).
If you already had a wallet before, you can use this command to restore the wallet
Restore wallet:
./pactus-daemon init --restore "<your-seed>"Start Pactus: Run in tmux
sudo ./pactus-daemon startWallet seed:
./pactus-wallet seedList of Addresses:
./pactus-wallet address allCheck Balance:
./pactus-wallet address balance <ADDRESS>Bond to the validator
./pactus-wallet tx bond <Reward address> <Validator address> <AMOUNT>Send token
./pactus-wallet tx transfer <reward address> <receiver address> <AMOUNT>Last updated