Pactus Blockchain

System Requirements: Ubuntu 22.04 Open port: 21888 TCP and UDP Min: 1 CPU; 2Gb Ram; 20Gb SSD

Important: Set tx_pool = 100 -> 50

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

Update Pactus version 1.1.8

amd64 - x86

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

arm64 -m1

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

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.1.8: (amd64 - x86)

cd $HOME && rm -rf node_pactus && wget https://github.com/pactus-project/pactus/releases/download/v1.1.8/pactus-cli_1.1.8_linux_amd64.tar.gz && tar -xzf pactus-cli_1.1.8_linux_amd64.tar.gz && rm -rf pactus-cli_1.1.8_linux_amd64.tar.gz && mv pactus-cli_1.1.8 node_pactus && cd node_pactusDownload Pactus v1.1.6: (arm64 - M1)

Download Pactus v1.1.8: (arm64 - m1)

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

Setup:

sudo ./pactus-daemon init

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

Download snapshort: Once a day

Start Pactus: Run in tmux

Wallet seed:

List of Addresses:

Check Balance:

Bond to the validator

Send token

Bootstrap node: (option)

Edit config:

Find [http]

Start node: (Run in tmux)

Check node: Save info Peer ID and Your ID

Fork: https://github.com/pactus-project/pactus

Pull requests: edit bootstrap.json

-> Pull request

Add a title: chore: add bootstrap address for (Change name)

-> DONE PR.

Edit Config:

Find [network] and [sync]

Save: Ctrl + o and Ctrl + x

Last updated