# Jaсkal Testnet **Published by:** [maiden](https://paragraph.com/@maiden/) **Published on:** 2023-01-31 **URL:** https://paragraph.com/@maiden/ja-kal-testnet ## Content Official Linkshttps://jackalprotocol.com/ExplorerExplorerServer requirements:No. of CPUs: 4Memory: 8GBDisk: 150GBOS: Ubuntu 22.04 LTSInstall Node Guide (Testnet)Preparing the serversudo apt update && sudo apt upgrade -y && \ sudo apt install curl tar wget clang pkg-config libssl-dev jq build-essential bsdmainutils git make ncdu gcc git jq chrony liblz4-tool -y GO 19 (one command)version="1.19.3" \ && cd $HOME \ && wget "https://golang.org/dl/go$version.linux-amd64.tar.gz" \ && sudo rm -rf /usr/local/go \ && sudo tar -C /usr/local -xzf "go$version.linux-amd64.tar.gz" \ && rm "go$version.linux-amd64.tar.gz" \ && echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> $HOME/.bash_profile \ && source $HOME/.bash_profile Download and install Binariescd $HOME git clone https://github.com/JackalLabs/canine-chain cd canine-chain git checkout v23.01-beta make install UPDATE 28.01.23cd $HOME/canine-chain git fetch --all git checkout v23.01-beta make install canined version #23.01-beta sudo systemctl restart canined && sudo journalctl -u canined -f -o cat Initcanined init <MONIKER> --chain-id lupulella-2 canined config chain-id lupulella-2 Replace To your monikerCreate/recover walletcanined keys add <walletname> canined keys add <walletname> --recover when creating, do not forget to write down the seed phraseGenesiscd $HOME wget -O $HOME/.canine/config/genesis.json "https://raw.githubusercontent.com/JackalLabs/jackal-chain-assets/main/testnet/genesis.json" Memory optimization (optional)Memory optimization. Removes unused data from the database. | ONE COMMAND CONFIG=.canine indexer="null" && \ snapshot_interval="100" && \ pruning="custom" && \ pruning_keep_recent="100" && \ pruning_keep_every="0" && \ pruning_interval="10" && \ min_retain_blocks="1" && \ inter_block_cache="false" && \ sed -i.bak -e "s/^indexer *=.*/indexer = \"$indexer\"/" $HOME/$CONFIG/config/config.toml && \ sed -i.bak -e "s/^snapshot-interval *=.*/snapshot-interval = \"$snapshot_interval\"/" $HOME/$CONFIG/config/app.toml && \ sed -i.bak -e "s/^pruning *=.*/pruning = \"$pruning\"/" $HOME/$CONFIG/config/app.toml && \ sed -i.bak -e "s/^pruning-keep-recent *=.*/pruning-keep-recent = \"$pruning_keep_recent\"/" $HOME/$CONFIG/config/app.toml && \ sed -i.bak -e "s/^pruning-keep-every *=.*/pruning-keep-every = \"$pruning_keep_every\"/" $HOME/$CONFIG/config/app.toml && \ sed -i.bak -e "s/^pruning-interval *=.*/pruning-interval = \"$pruning_interval\"/" $HOME/$CONFIG/config/app.toml && \ sed -i.bak -e "s/^min-retain-blocks *=.*/min-retain-blocks = \"$min_retain_blocks\"/" $HOME/$CONFIG/config/app.toml && \ sed -i.bak -e "s/^inter-block-cache *=.*/inter-block-cache = \"$inter_block_cache\"/" $HOME/$CONFIG/config/app.tomlLive Peers for JackalHere is a script for you to update persistent_peers setting with these peers in config.toml.PEERS=5eedbfbe64b942f4ab54db3842acf3bfab034c24@161.97.74.88:46656 sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.canine/config/config.toml Download addrbookwget -O $HOME/.canine/config/addrbook.json "https://raw.githubusercontent.com/obajay/nodes-Guides/main/Jakal/Jackal-Testnet/addrbook.json" Create a service filesudo tee /etc/systemd/system/canined.service > /dev/null <<EOF [Unit] Description=Jackal Node After=network-online.target [Service] User=$USER ExecStart=$(which canined) start Restart=on-failure RestartSec=3 LimitNOFILE=65535 [Install] WantedBy=multi-user.target EOF Start your nodesudo systemctl daemon-reload sudo systemctl enable canined sudo systemctl restart canined sudo journalctl -u canined -f -o cat Create validatorAfter your node is synced , Create your mainnet validatorcanined tx staking create-validator \ --amount=1000000ujkl \ --pubkey=$(canined tendermint show-validator) \ --moniker="<Moniker>" \ --identity="" \ --details="" \ --website="" \ --chain-id="lupulella-2" \ --commission-rate="0.10" \ --commission-max-rate="0.20" \ --commission-max-change-rate="0.1" \ --min-self-delegation="1" \ --fees 500ujkl \ --from=<wallet> -y Replace With your moniker and replace with your wallet nameUsefull comlambsService management Check logsjournalctl -fu canined -o cat Start servicesudo systemctl start canined Stop servicesudo systemctl stop canined Restart serviceNode infoSynchronization infocanined status 2>&1 | jq .SyncInfo Validator infocanined status 2>&1 | jq .ValidatorInfo Node infocanined status 2>&1 | jq .NodeInfo Show node idcanined tendermint show-node-id Wallet operationsList of walletscanined keys list Recover walletcanined keys add <wallet> --recover Delete walletcanined keys delete <wallet> Get wallet balancecanined query bank balances <address> Transfer fundscanined tx bank send <FROM ADDRESS> <TO_jackal_WALLET_ADDRESS> 10000000ujkl Votingcanined tx gov vote 1 yes --from <wallet> --chain-id=lupulella-2 Staking, Delegation and RewardsDelegate stakecanined tx staking delegate <jackal valoper> 10000000ujkl --from=<wallet> --chain-id=lupulella-2 --gas=auto Redelegate stake from validator to another validatorcanined tx staking redelegate <srcValidatorAddress> <destValidatorAddress> 10000000ujkl --from=<wallet> --chain-id=lupulella-2 --gas=auto Withdraw all rewardscanined tx distribution withdraw-all-rewards --from=<wallet> --chain-id=lupulella-2 --gas=auto Withdraw rewards with commisioncanined tx distribution withdraw-rewards <jackal valoper> --from=<wallet> --commission --chain-id=lupulella-2 Validator managementEdit validatorcanined tx staking edit-validator \ --moniker=<moniker> \ --identity=<your_keybase_id> \ --website="<your_website>" \ --details="<your_validator_description>" \ --chain-id=lupulella-2 \ --from=<wallet> Unjail validatorcanined tx slashing unjail \ --broadcast-mode=block \ --from=<wallet> \ --chain-id=lupulella-2 \ --gas=auto Delete nodeThis comlambs will completely remove node from server. Use at your own risk!sudo systemctl stop canined sudo systemctl disable canined sudo rm /etc/systemd/system/canined* -rf sudo rm $(which canined) -rf sudo rm $HOME/.canined* -rf sudo rm $HOME/canine-chain -rf sed -i '/JACKAL_/d' ~/.bash_profile ## Publication Information - [maiden](https://paragraph.com/@maiden/): Publication homepage - [All Posts](https://paragraph.com/@maiden/): More posts from this publication - [RSS Feed](https://api.paragraph.com/blogs/rss/@maiden): Subscribe to updates