Pactus is a community-run blockchain technology with a revolutionary and secure Solid Proof of Stake Consensus. Come join us and build a decentralized future together!
System: Ubuntu 22.04 , Open port: 21888 TCP and UDP
Min: 1CPU, 2G Ram, 40SSD
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
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
Run Command below and choose number 1 Validator (no choose 7 or 32)
Save all: Your wallet seed, Wallet address, Validator address
sudo ./pactus-daemon init
tmux new -s pactus
sudo ./pactus-daemon start
./pactus-daemon init --restore "<your-mnemonic>"
./pactus-wallet seed
./pactus-wallet address all
./pactus-wallet address balance <ADDRESS>
Replace <ADDRESS> with the address for which you want to retrieve your balance.
./pactus-wallet tx bond <Reward address> <Validator address> <AMOUNT>
./pactus-wallet tx transfer <sender address> <receiver address> <AMOUNT>
Operators are expected to adhere to the following guidelines:
Please read more: https://github.com/pactus-project/pactus/blob/main/docs/bootstrap.md
IMPORTANT
Only VPS for bootstrap, Please don't use HomeServer or PC for pull request bootstrap
Stop Node
ctrl + c
Change config.toml
nano $HOME/pactus/config.toml
Find and change your info bellow
Save them: ctrl + o , enter
Exit edit: ctrl + x
Run node again by step 4
sudo ./pactus-daemon start
http://your_ip_node:8085/node
Please change your_ip_node and view on browser.
Get info Peer ID and Your IP
Fork : https://github.com/pactus-project/pactus
Pull requests
Your fork, Edit file bootstrap.json in folder config
Please change input your info with format json bellow:
your_name
your_email
your_ip
your_peers_id
{
"name": "yourname",
"email": "your_email",
"website": "n/a",
"address": "/ip4/your_ip/tcp/21888/p2p/your_peers_id"
}
Save them, and Click Pull Request
Next step, Click New pull request
Next step, Click Create pull request .
Next step, Add a title with format bellow, important
chore: add bootstrap address for YourNamePR
Click Create pull request to completed
Team will review and check, then they approved
All right, you should return default file config, it height security.
Please again step 6.1 change your image 2 to image 1 and start node (default config)
Please recommended to adjust the Bootstrap node configuration as follows and restart node: https://github.com/pactus-project/pactus/blob/main/docs/bootstrap.md#bootstrap-node-configuration
Change your node: enable_nat_service, enable_relay, moniker