🟢 Pactus Blockchain
Pactus is a community-run blockchain technology with a revolutionary, secure, Solid State Proof of Stake Consensus. Come join us and build a decentralized future together!
System Requirements:
Ubuntu 22.04\ Open port: 21888 TCP and UDP\ Min: 1 CPU; 1Gb Ram; 20Gb SSD
-
Bootstrap node
-
Snapshort: Once a day
Pactus Blockchain layer 1
Website: https://pactus.org
Explorer: https://pacviewer.com
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.7.1: (amd64)
ver="1.7.1" && \
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_pactus
Download Pactus v1.7.1: (arm64)
ver="1.7.1" && \
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_pactus
Create 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>"
Sync:
rm -rf $HOME/pactus/.pactus.lock
rm -rf $HOME/pactus/data
cd $HOME/node_pactus
./pactus-daemon import
Start Pactus: 1/ Run in tmux (Only start: tmux or systemd.)
sudo ./pactus-daemon start
Start Pactus: 2/ Run systemd (Only start: tmux or systemd.)
sudo tee /etc/systemd/system/pactusd.service > /dev/null <<EOF
[Unit]
Description=Pactus Node
After=network-online.target
StartLimitIntervalSec=0
[Service]
User=root
ExecStart=/root/node_pactus/pactus-daemon start -w /root/pactus --password "<Your-Password>"
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload
sudo systemctl enable pactusd
Command
Transfer token:
./pactus-wallet tx transfer <reward address> <receiver address> <AMOUNT>
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>
Unbond: (Unbonding 21 days | 181440 block)
./pactus-wallet tx unbond <validador_address>
Withdraw token:
./pactus-wallet tx withdraw <Validator address> <Reward address> <AMOUNT>
Transfer token
./pactus-wallet tx transfer <reward address> <receiver address> <AMOUNT>
Command to recover the old reward wallet (Each validator has one reward wallet)
./pactus-wallet --path ~/pactus/wallets/default_wallet address new --type bls_account