- Ensure you have
wget
,curl
, andsystemd
installed on your system. git
is required if you plan to download the latest version ofpaxd
from the repository.
To connect to the Unigrid testnet automatically, run the following command in your terminal:
Before running the script its recommened to upgrade the server.
sudo apt update
sudo apt upgrade
wget -4qO i.py raw.githubusercontent.com/unigrid-project/unigrid-cosmos-networks/master/unigrid-testnet-5/scripts/i.py && python3 i.py
If the above command does not work for you, follow these instructions.
wget -4qO i.py raw.githubusercontent.com/unigrid-project/unigrid-cosmos-networks/master/unigrid-testnet-5/scripts/i.py
# Run the script with Python 3
python3 i.py
This script will:
- Stop the existing
paxd
service (if it exists). - Clear existing data and log files.
- Download and verify the
genesis.json
file. - Download and set up the
paxd
binary. - Set up and start the
paxd
service.
Note: The script will tail the paxd
log file at the end. You can exit the log view by pressing Ctrl+C
and access it again anytime with the command tail -f ~/.pax/paxd.log
.
Add
pax
to keplr: https://docs.unigrid.org/unigrid-cosmos-networks/
🚰 Faucet The pax testnet faucet is available via our discord server
If you are a validator and in need of more funds, you can request them via this form.
Params | Value |
---|---|
Validator min_self_delegation: | 100000000 |
Decimals: | 8 |
Denom: | uugd |
Gov min_deposit amount: | 5000000000 |
To stop the paxd
service, use:
sudo systemctl stop paxd.service
To start the paxd
service, use:
sudo systemctl start paxd.service
To restart the paxd
service, use:
sudo systemctl restart paxd.service
To check the status of the paxd
service, use:
sudo systemctl status paxd.service
To enable paxd
to start automatically on boot, use:
sudo systemctl enable paxd.service
To prevent paxd
from starting automatically on boot, use:
sudo systemctl disable paxd.service
Ensure wget
, curl
, systemd
, and git
are installed on your system.
If paxd
service is running, stop it using:
sudo systemctl stop paxd.service
Remove existing data and log files from ~/.pax/data
directory.
Download the genesis.json
:
wget -O genesis.json https://raw.githubusercontent.com/unigrid-project/unigrid-cosmos-networks/master/unigrid-testnet-5/genesis/genesis.json
Verify the checksum:
wget -O sha256sum.txt https://raw.githubusercontent.com/unigrid-project/unigrid-cosmos-networks/master/unigrid-testnet-5/genesis/sha256sum.txt
sha256sum -c sha256sum.txt
Clone and build paxd
from the repository or download the binary:
git clone https://github.com/unigrid-project/cosmos-daemon.git
cd cosmos-daemon
# Follow the build instructions
Create a service file at /etc/systemd/system/paxd.service
with the following content:
[Unit]
Description=Pax Daemon Service
After=network.target
[Service]
User=<username>
ExecStart=/usr/local/bin/paxd start --p2p.seeds "8cc2192d6de0936632e0818c3b030a465a40d2dc@149.102.133.13:26656,06ed85d8b34ca3a4275072894fc297dce416b708@194.233.95.48:26656,e339ab8163a2774fccbc78ff09ffbf0991adc310@38.242.156.2:26656" --home=%h/.pax
Restart=always
Restart=always
RestartSec=3
StandardOutput=file:%h/.pax/paxd.log
StandardError=file:%h/.pax/paxd-error.log
[Install]
WantedBy=multi-user.target
Replace <username>
with your username. Then enable and start the service:
sudo systemctl enable paxd.service
sudo systemctl start paxd.service
To create your keys and Unigrid address plase change <key-name>
to whatever you would like to call them and follow the below commands.
# Create new keypair
paxd keys add <key-name>
# Restore existing wallet with mnemonic seed phrase.
paxd keys add <key-name> --recover
# Query the keystore for your public address
paxd keys show <key-name> -a
# Show all keys
paxd keys list
To monitor the logs of paxd
:
tail -f $HOME/.pax/paxd.log