forked from Stride-Labs/interchain-queries
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreadme.txt
77 lines (61 loc) · 1.61 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
https://stride.explorers.guru/transaction/824C642A55FEDAA2B1068D2C15EF95304612570C41300F368AD339704449CBB4
cd $HOME
git clone https://github.com/Stride-Labs/interchain-queries.git
cd interchain-queries
go build
sudo mv interchain-queries /usr/local/bin/icq
cd $HOME && mkdir .icq
sudo tee $HOME/.icq/config.yaml > /dev/null <<EOF
default_chain: stride-testnet
chains:
gaia-testnet:
key: wallet
chain-id: GAIA
rpc-addr: http://127.0.0.1:23657
grpc-addr: http://127.0.0.1:23090
account-prefix: cosmos
keyring-backend: test
gas-adjustment: 1.2
gas-prices: 0.001uatom
key-directory: /root/.icq/keys
debug: false
timeout: 20s
block-timeout: ""
output-format: json
sign-mode: direct
stride-testnet:
key: wallet
chain-id: STRIDE-TESTNET-4
rpc-addr: http://127.0.0.1:16657
grpc-addr: http://127.0.0.1:16090
account-prefix: stride
keyring-backend: test
gas-adjustment: 1.2
gas-prices: 0.001ustrd
key-directory: /root/.icq/keys
debug: false
timeout: 20s
block-timeout: ""
output-format: json
sign-mode: direct
cl: {}
EOF
icq keys restore --chain stride-testnet wallet
icq keys restore --chain gaia-testnet wallet
sudo tee /etc/systemd/system/icqd.service > /dev/null <<EOF
[Unit]
Description=Interchain Query Service
After=network-online.target
[Service]
User=$USER
ExecStart=$(which icq) run --debug
Restart=on-failure
RestartSec=3
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload
sudo systemctl enable icqd
sudo systemctl restart icqd
journalctl -u icqd -f -o cat