πPactus
Pactus is a community-run blockchain technology with a revolutionary and secure Solid Proof of Stake Consensus.
Guide Install
System installation
sudo apt update && apt upgrade -y
sudo apt install tmux git curl -y
sudo apt install make clang pkg-config libssl-dev build-essential -y
Download Binary
cd $HOME && rm -rf node_pactus && wget https://github.com/pactus-project/pactus/releases/download/v1.1.4/pactus-cli_1.1.4_linux_amd64.tar.gz && tar -xzf pactus-cli_1.1.4_linux_amd64.tar.gz && rm -rf pactus-cli_1.1.4_linux_amd64.tar.gz && mv pactus-cli_1.1.4 node_pactus && cd node_pactus
Initi the Node - ( choose number 1 Validator )
sudo ./pactus-daemon init
Run node ( Create a new tmux session )
sudo ./pactus-daemon start
Service command ( Note: Need to run < cd node_pactus > before doing this )
Restore wallet
./pactus-daemon init --restore "<your-mnemonic>"
Get seeds
./pactus-wallet seed
Get balance
./pactus-wallet address balance <Your_wallet>
Bond ( stake )
./pactus-wallet tx bond <Reward address> <Validator address> <AMOUNT>
Transfer
./pactus-wallet tx transfer <sender address> <receiver address> <amount>
Unstake ( wait 21 days )
./pactus-wallet tx unbond <your_Validator_wallet>
Withdraw tokens from validator wallet to reward wallet. (unstake after 21 days)
./pactus-wallet tx withdraw --password <pass_wallet> <validator_wallet> <reward_wallet> <amount>
DONE
Last updated