Airchains is a revolutionary multichain zkFHE privacy-focused modular framework that enables seamless interoperability between EVM, SVM, and Cosmwasm networks. It allows developers to build customizable zero-knowledge rollups with built-in privacy features and flexible data availability options through a low-code deployment process
NODE | CPU | RAM | SSD | OS |
---|---|---|---|---|
junctiond | 4 | 8 | 200 GB | Ubuntu 22.04 LTS |
sudo apt update && sudo apt upgrade -y
sudo apt install curl git wget htop tmux build-essential jq make lz4 gcc unzip -y
cd $HOME
VER="1.21.6"
wget "https://golang.org/dl/go$VER.linux-amd64.tar.gz"
sudo rm -rf /usr/local/go
sudo tar -C /usr/local -xzf "go$VER.linux-amd64.tar.gz"
rm "go$VER.linux-amd64.tar.gz"
[ ! -f ~/.bash_profile ] && touch ~/.bash_profile
echo "export PATH=$PATH:/usr/local/go/bin:~/go/bin" >> ~/.bash_profile
source $HOME/.bash_profile
[ ! -d ~/go/bin ] && mkdir -p ~/go/bin
echo "export WALLET="wallet"" >> $HOME/.bash_profile
echo "export MONIKER="test"" >> $HOME/.bash_profile
echo "export AIRCHAIN_CHAIN_ID="varanasi-1"" >> $HOME/.bash_profile
echo "export AIRCHAIN_PORT="19"" >> $HOME/.bash_profile
source $HOME/.bash_profile
cd $HOME
wget -O junctiond https://github.com/airchains-network/junction/releases/download/v0.3.1/junctiond-linux-amd64
chmod +x junctiond
mv junctiond $HOME/go/bin/
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
source $HOME/.cargo/env
junctiond init $MONIKER --chain-id $CHAIN_ID
sed -i -e "s|^node *=.*|node = \"tcp://localhost:${AIRCHAIN_PORT}657\"|" $HOME/.junctiond/config/client.toml
wget -O $HOME/.junctiond/config/genesis.json https://server-3.itrocket.net/testnet/airchains/genesis.json
wget -O $HOME/.junctiond/config/addrbook.json https://server-3.itrocket.net/testnet/airchains/addrbook.json
SEEDS="97cadd453fa35cee05f72611fdb15a49112575cb@airchains-testnet-seed.itrocket.net:19656"
PEERS="79f26210777e84efb600bf776c32615a72675d9f@airchains-testnet-peer.itrocket.net:19656,b82f3cb589b730da922484a2a2c44b252bd3d5db@152.53.121.42:41656,db686fcfdf0b4676d601d5beb11faee5ad96bff1@37.27.71.199:28656,4aaa6f76a1009feccffa90e8a00dd6343ca9b01f@152.53.49.146:19656,8c229309660496e71b8a9d1edee46a18693b8e70@65.109.111.234:19656,9f6bb00d809be06b2603145e7f8f197780869dd8@78.46.58.241:60656,1d7a1809b616ce2437a5978bebbfcefec4bc3aa0@193.34.212.80:60656,39e1e9378427f3df60938e2a4e684f0421fcc2b9@65.109.83.40:30856,ca0a4b67fd6ffd6a70ea8d0e3c8d284de0f8222f@37.27.132.57:19656,0b4e78189c9148dda5b1b98c6e46b764337558a3@91.227.33.18:19656,d0c51af72a58a2d69051b1d1667a94a2e099660d@37.27.57.2:19656"
sed -i -e "/^\[p2p\]/,/^\[/{s/^[[:space:]]*seeds *=.*/seeds = \"$SEEDS\"/}" \
-e "/^\[p2p\]/,/^\[/{s/^[[:space:]]*persistent_peers *=.*/persistent_peers = \"$PEERS\"/}" $HOME/.junctiond/config/config.toml
sed -i.bak -e "s%:1317%:${AIRCHAIN_PORT}317%g;
s%:8080%:${AIRCHAIN_PORT}080%g;
s%:9090%:${AIRCHAIN_PORT}090%g;
s%:9091%:${AIRCHAIN_PORT}091%g;
s%:8545%:${AIRCHAIN_PORT}545%g;
s%:8546%:${AIRCHAIN_PORT}546%g;
s%:6065%:${AIRCHAIN_PORT}065%g" $HOME/.junctiond/config/app.toml
sed -i.bak -e "s%:26658%:${AIRCHAIN_PORT}658%g;
s%:26657%:${AIRCHAIN_PORT}657%g;
s%:6060%:${AIRCHAIN_PORT}060%g;
s%:26656%:${AIRCHAIN_PORT}656%g;
s%^external_address = \"\"%external_address = \"$(wget -qO- eth0.me):${AIRCHAIN_PORT}656\"%;
s%:26660%:${AIRCHAIN_PORT}660%g" $HOME/.junctiond/config/config.toml
sed -i -e "s/^pruning *=.*/pruning = \"custom\"/" $HOME/.junctiond/config/app.toml
sed -i -e "s/^pruning-keep-recent *=.*/pruning-keep-recent = \"100\"/" $HOME/.junctiond/config/app.toml
sed -i -e "s/^pruning-interval *=.*/pruning-interval = \"19\"/" $HOME/.junctiond/config/app.toml
sed -i 's|minimum-gas-prices =.*|minimum-gas-prices = "0.001uamf"|g' $HOME/.junctiond/config/app.toml
sed -i -e "s/prometheus = false/prometheus = true/" $HOME/.junctiond/config/config.toml
sed -i -e "s/^indexer *=.*/indexer = \"null\"/" $HOME/.junctiond/config/config.toml
sudo tee /etc/systemd/system/junctiond.service > /dev/null << EOF
[Unit]
Description=Airchains node
After=network-online.target
[Service]
User=$USER
WorkingDirectory=$HOME/.junctiond
ExecStart=$(which junctiond) start --home $HOME/.junctiond
Restart=on-failure
RestartSec=5
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload
sudo systemctl enable junctiond
sudo systemctl restart junctiond && sudo journalctl -u junctiond -fo cat
junctiond tendermint unsafe-reset-all --home $HOME/.junctiond
if curl -s --head curl https://server-3.itrocket.net/testnet/airchains/airchains_2025-07-02_1531424_snap.tar.lz4 | head -n 1 | grep "200" > /dev/null; then
curl https://server-3.itrocket.net/testnet/airchains/airchains_2025-07-02_1531424_snap.tar.lz4 | lz4 -dc - | tar -xf - -C $HOME/.junctiond
else
echo "no snapshot found"
fi
junctiond keys add wallet
# Restore wallet
junctiond keys add wallet --recover
# List
junctiond keys list
junctiond query bank balances wallet
cd $HOME
echo "{\"pubkey\":{\"@type\":\"/cosmos.crypto.ed25519.PubKey\",\"key\":\"$(junctiond comet show-validator | grep -Po '\"key\":\s*\"\K[^"]*')\"},
\"amount\": \"1000000uamf\",
\"moniker\": \"test\",
\"identity\": \"\",
\"website\": \"\",
\"security\": \"\",
\"details\": \"catsmile.cloud\",
\"commission-rate\": \"0.1\",
\"commission-max-rate\": \"0.2\",
\"commission-max-change-rate\": \"0.01\",
\"min-self-delegation\": \"1\"
}" > validator.json
junctiond tx staking create-validator validator.json \
--from $WALLET \
--chain-id varanasi-1 \
--fees 5000uamf
junctiond tx staking delegate $(junctiond keys show $WALLET --bech val -a) 1000000uamf --from $WALLET --chain-id varanasi-1 --fees 5000uamf -y
junctiond tx slashing unjail --from $WALLET --chain-id varanasi-1 --fees 5000uamf -y
junctiond tx gov vote 1 yes --from $WALLET --chain-id varanasi-1 --fees 5000uamf -y
cd $HOME
wget -O junctiond https://github.com/airchains-network/junction/releases/download/v0.3.2/junctiond-linux-amd64
chmod +x junctiond
sudo mv $HOME/junctiond $(which junctiond)
sudo systemctl restart junctiond && sudo journalctl -u junctiond -f
sudo systemctl stop junctiond
sudo systemctl disable junctiond
sudo rm -rf /etc/systemd/system/junctiond.service
sudo rm $(which junctiond)
sudo rm -rf $HOME/.junctiond
sed -i "/AIRCHAIN_/d" $HOME/.bash_profile