⚙️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.4.0: (amd64)

cd $HOME && rm -rf node_pactus && \
wget https://github.com/pactus-project/pactus/releases/download/v1.4.0/pactus-cli_1.4.0_linux_amd64.tar.gz && \
tar -xzf pactus-cli_1.4.0_linux_amd64.tar.gz && \
rm -rf pactus-cli_1.4.0_linux_amd64.tar.gz && \
mv pactus-cli_1.4.0 node_pactus && cd node_pactus

Download Pactus v1.4.0: (arm64)

cd $HOME && rm -rf node_pactus && \
wget https://github.com/pactus-project/pactus/releases/download/v1.4.0/pactus-cli_1.4.0_linux_arm64.tar.gz && \
tar -xzf pactus-cli_1.4.0_linux_arm64.tar.gz && \
rm -rf pactus-cli_1.4.0_linux_arm64.tar.gz && \
mv pactus-cli_1.4.0 node_pactus && cd node_pactus

Setup:

./pactus-daemon init

*Note: It is recommended to run 1-7 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

./pactus-daemon init --restore "<your-seed>"

Important: Set tx_pool = 1000 -> 50

sed -i.bak '/^\s*[tx_pool]/, /^\s*[/{s/(max_size = )100/\150/;}' $HOME/pactus/config.toml

Command

Start Pactus: Run in tmux

sudo ./pactus-daemon start

Wallet seed:

./pactus-wallet seed

List of Addresses:

./pactus-wallet address all

Check 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