Categorías
Nodos

Instalar Nodo Kujira

# Clonamos el repositorio y lo instalamos
git clone https://github.com/Team-Kujira/core $HOME/kujira-core
cd $HOME/kujira-core
git checkout v0.7.1
make install
kujirad version 

# Arrancamos el nodo <moniker-name> es el nombre de validador
kujirad init <nomiker> --chain-id kaiyo-1

# Download genesis
curl -fsSL -o $HOME/.kujira/config/genesis.json https://raw.githubusercontent.com/Team-Kujira/networks/master/mainnet/kaiyo-1.json

kujirad config chain-id kaiyo-1

sed -i 's/^timeout_commit =.*/timeout_commit = "1500ms"/' $HOME/.kujira/config/config.toml
sed -i "s/^minimum-gas-prices *=.*/minimum-gas-prices = \"0.00119ukuji,0.00150ibc\/295548A78785A1007F232DE286149A6FF512F180AF5657780FC89C009E2C348F,0.000125ibc\/27394FB092D2ECCD56123C74F36E4C1F926001CEADA9CA97EA622B25F41E5EB2,0.00126ibc\/47BD209179859CDE4A2806763D7189B6E6FE13A17880FE2B42DE1E6C1E329E23,0.00652ibc\/3607EB5B5E64DD1C0E12E07F077FF470D5BC4706AFCBC98FE1BA960E5AE4CE07,617283951ibc\/F3AA7EF362EC5E791FE78A0F4CCC69FEE1F9A7485EB1A8CAB3F6601C00522F10,0.000288ibc\/EFF323CC632EC4F747C61BCE238A758EFDB7699C3226565F7C20DA06509D59A5,5ibc\/DA59C009A0B3B95E0549E6BF7B075C8239285989FF457A8EDDBB56F10B2A6986,0.00137ibc\/A358D7F19237777AF6D8AD0E0F53268F8B18AE8A53ED318095C14D6D7F3B2DB5,0.0488ibc\/4F393C3FCA4190C0A6756CE7F6D897D5D1BE57D6CCB80D0BC87393566A7B6602,78492936ibc\/004EBF085BBED1029326D56BE8A2E67C08CECE670A94AC1947DF413EF5130EB2,964351ibc\/1B38805B1C75352B28169284F96DF56BDEBD9E8FAC005BDCC8CF0378C82AA8E7\"/;" $HOME/.kujira/config/app.toml
sed -i 's/^seeds =.*/seeds = "[email protected]rg:31897,[email protected]:11856"/' $HOME/.kujira/config/config.toml



#Cambiar config.toml
# si no funciona poner esto
# https://starsquid.io/state-sync/kujira/kaiyo-1
# luego hay que dejarlo como estaba
[statesync]
enable = true

rpc_servers = "https://rpc-kujira.whispernode.com:443,https://rpc.kaiyo.kujira.setten.io:443,https://kujira-rpc.polkachu.com:443,https://rpc-kujira.ecostake.com:443,https://kujira-rpc.lavenderfive.com:443,https://rpc.kujira.chaintools.tech:443,https://rpc-kujira-ia.cosmosia.notional.ventures:443,https://kujira-rpc.wildsage.io:443,https://rpc-kujira.nodeist.net:443,https://kujira-rpc.ibs.team:443,https://rpc-kujira.starsquid.io:443,https://kujira.rpc.kjnodes.com:443,https://kuji-rpc.kleomedes.network:443"

trust_height = 5994000
trust_hash = "3FC5B0EABD55611489E3ECE7BEBACC9CFCF3BB9E709CA2DEF153681F097699C8"
#--------------------------------
# To create new keypair - make sure you save the mnemonics!
kujirad keys add <key-name> 

# Restore existing kujira wallet with mnemonic seed phrase. 
# You will be prompted to enter mnemonic seed. 
kujirad keys add <key-name> --recover