RPC https://kujira-rpc.theamsolutions.info | API https://kujira-api.theamsolutions.info
Official docs : https://docs.kujira.app/run-a-node
NODE SETUP
Install GO and dependencies HERE
cd $HOME
git clone https://github.com/Team-Kujira/core ; cd core
ver=v$(curl -s https://kujira-rpc.theamsolutions.info/abci_info? | jq -r ."result"."response"."version")
git checkout ${ver}
make install
kujirad version
kujirad init <moniker> --chain-id=kaiyo-1
wget -q -O $HOME/.kujira/config/genesis.json https://raw.githubusercontent.com/Team-Kujira/networks/master/mainnet/kaiyo-1.json
#set minimum-gas-prices at $HOME/.kujira/config/app.toml
minimum-gas-prices = "0.0034ukuji,0.01186factory/kujira1qk00h5atutpsv900x202pxx42npjr9thg58dnqpa72f2p7m2luase444a7/uusk,0.0119ibc/295548A78785A1007F232DE286149A6FF512F180AF5657780FC89C009E2C348F,0.00129ibc/27394FB092D2ECCD56123C74F36E4C1F926001CEADA9CA97EA622B25F41E5EB2,0.01795ibc/47BD209179859CDE4A2806763D7189B6E6FE13A17880FE2B42DE1E6C1E329E23,0.65943ibc/3607EB5B5E64DD1C0E12E07F077FF470D5BC4706AFCBC98FE1BA960E5AE4CE07,160416396197ibc/F3AA7EF362EC5E791FE78A0F4CCC69FEE1F9A7485EB1A8CAB3F6601C00522F10,0.02689ibc/EFF323CC632EC4F747C61BCE238A758EFDB7699C3226565F7C20DA06509D59A5,0.01495ibc/DA59C009A0B3B95E0549E6BF7B075C8239285989FF457A8EDDBB56F10B2A6986,0.03139ibc/A358D7F19237777AF6D8AD0E0F53268F8B18AE8A53ED318095C14D6D7F3B2DB5,0.90403ibc/4F393C3FCA4190C0A6756CE7F6D897D5D1BE57D6CCB80D0BC87393566A7B6602,559196837ibc/004EBF085BBED1029326D56BE8A2E67C08CECE670A94AC1947DF413EF5130EB2,5772801ibc/1B38805B1C75352B28169284F96DF56BDEBD9E8FAC005BDCC8CF0378C82AA8E7,0.01807factory/kujira1643jxg8wasy5cfcn7xm8rd742yeazcksqlg4d7/umnta,0.01194ibc/FE98AAD68F02F03565E9FA39A5E627946699B2B07115889ED812D8BA639576A9,0.00019ibc/E5CA126979E2FFB4C70C072F8094D07ECF27773B37623AD2BF7582AD0726F0F3"
sed -i "s/^timeout_commit =.*/timeout_commit = \"1500ms\"/" $HOME/.kujira/config/config.toml
sudo tee /etc/systemd/system/kujirad.service << EOF
[Unit]
Description=Kujirad Node
After=network.target
#
[Service]
User=$USER
Type=simple
ExecStart=$(which kujirad) start
RestartSec=10
Restart=on-failure
LimitNOFILE=65535
#
[Install]
WantedBy=multi-user.target
EOF
STATE SYNC
kujirad tendermint unsafe-reset-all --home $HOME/.kujira
SNAP_RPC="https://kujira-rpc.theamsolutions.info:443"; \
LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \
BLOCK_HEIGHT=$((LATEST_HEIGHT - 2000)); \
TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash) \
&& echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH
sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \
s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \
s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \
s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"|" $HOME/.kujira/config/config.toml
wget -qO $HOME/.kujira/config/addrbook.json https://snapshots.theamsolutions.info/kujira-addr-book.json
sudo systemctl enable kujirad.service && sudo systemctl daemon-reload \
&& sudo systemctl restart kujirad && sudo journalctl -u kujirad -fn 50 -o cat
DATA SNAPSHOT SERVICE
(updated every 6 hrs.)
#check snapshot height: curl -s https://snapshots.theamsolutions.info | egrep -o ">kujira-snap*.*tar" | tr -d ">"
snap=$(curl -s https://snapshots.theamsolutions.info | egrep -o ">kujira-snap*.*tar" | tr -d ">")
wget -P $HOME https://snapshots.theamsolutions.info/${snap}
sudo systemctl stop kujirad
mv $HOME/.kujira/data/priv_validator_state.json $HOME
rm -rf $HOME/.kujira/data; rm -rf $HOME/.kujira/wasm
tar xf $HOME/${snap} -C $HOME/.kujira; rm $HOME/${snap}
mv $HOME/priv_validator_state.json $HOME/.kujirad/data
wget -q -O $HOME/.kujira/config/addrbook.json https://snapshots.theamsolutions.info/kujira-addr-book.json
sudo systemctl restart kujirad
journalctl -u kujirad -fn 50 -o cat
GOOD LUCK!
AM Solutions © Copyright. All rights reserved.
We need your consent to load the translations
We use a third-party service to translate the website content that may collect data about your activity. Please review the details in the privacy policy and accept the service to view the translations.