-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrun.sh
More file actions
17 lines (17 loc) · 787 Bytes
/
Copy pathrun.sh
File metadata and controls
17 lines (17 loc) · 787 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash
export HOMEDIR=~/
export PATH=$PATH:~/.foundry/bin/:/usr/local/go/bin/
git clone https://github.com/KiiChain/kiichain.git ~/kiichain
cd ~/kiichain
sed -i 's/^#PEER_ADDRESSES/PEER_ADDRESSES/; s/^PEER_ADDRESS=/#PEER_ADDRESS=/' e2e/app/entrypoint.sh
curl -L https://foundry.paradigm.xyz | bash
foundryup
wget -c https://go.dev/dl/go1.22.0.linux-amd64.tar.gz
tar -C /usr/local -xzf go1.22.0.linux-amd64.tar.gz
go
make build-clean
mkdir ~/config
cp genesis/genesis.json ~/config/genesis.json
./build/bin/kiichaind comet unsafe-reset-all --home $HOMEDIR
./build/bin/kiichaind start --pruning=default --trace --log_level info --api.enabled-unsafe-cors --api.enable --api.swagger --minimum-gas-prices=1tkii --home $HOMEDIR
#./build/bin/kiichaind comet show-validator --home $HOMEDIR