-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.sh
38 lines (33 loc) · 1.03 KB
/
test.sh
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
#!/bin/sh
hermes --config ./network/hermes/config.toml create channel \
--a-chain test-2 --a-port nftvault \
--b-port nftvault --a-connection connection-0 \
--chan-version 'nftvault-1'
hermes --config ./network/hermes/config.toml create channel \
--a-chain test-2 --a-port transfer \
--b-port transfer --a-connection connection-0 \
--chan-version ''
# channels
nftvaultd query ibc channel channels
# channels:
# - channel_id: channel-0
# connection_hops:
# - connection-0
# counterparty:
# channel_id: channel-0
# port_id: nftvault
# ordering: ORDER_UNORDERED
# port_id: nftvault
# state: STATE_OPEN
# version: nftvault-1
# - channel_id: channel-1
# connection_hops:
# - connection-0
# counterparty:
# channel_id: channel-2
# port_id: transfer
# ordering: ORDER_UNORDERED
# port_id: transfer
# state: STATE_OPEN
# version: ics20-1
nftvaultd tx hoge send-request-transfer [src-port] [src-channel] [origin-nfttransfer-port] [origin-nfttransfer-channel] [origin-class-id] [nft-id] [path/to/sdk_msg.json]