- git clone (eg : lmsd)
- lmsd init --chain-id lmsdnet lmsdmoniker
- lmsd keys add lmsdkey
- copy the nemonic and paste it somewhere as we need it later during hermes setup
- lmsd add-genesis-account lmsdkey 1000000000000stake
- lmsd gentx lmsdkey 1000000000stake --chain-id lmsdnet
- lmsd collect-gentxs
- lmsd start
NOTE : Use --home flag when using same binary
- git clone (eg : gaia)
- gaiad init --chain-id gaianet gaiamoniker
- gaiad keys add gaiakey
- copy the nemonic and paste it somewhere as we need it later during hermes setup
- gaiad add-genesis-account gaiakey 1000000000000stake
- gaiad gentx gaiakey 1000000000stake --chain-id lmsdnet
-
go to .gaia -> config -> config.toml
-
change rpc laddr = "tcp://127.0.0.1:26657" -> "tcp://127.0.0.1:16657"
-
change above p2p, pprof_laddr = "localhost:6060" -> "localhost:6061"
-
change p2p laddr = "tcp://0.0.0.0:26656" -> laddr = "tcp://0.0.0.0:16656"
-
go to app.toml
-
change grpc address = "0.0.0.0:9090" -> address = "0.0.0.0:9092"
-
change grpc-web address = "0.0.0.0:9091" -> address = "0.0.0.0:9095"
- gaiad collect-gentxs
- gaiad start
- cd .hermes
- touch lmsd.json
- gedit lmsd.json
- paste the nemonic of first key (lmsdkey)
- touch gaia.json
- gedit gaia.json
- paste the nemonic of second key (gaiakey)
- follow the below example
[global]
log_level = 'info'
[mode]
[mode.clients]
enabled = true
refresh = true
misbehaviour = true
[mode.connections]
enabled = true
[mode.channels]
enabled = true
[mode.packets]
enabled = true
clear_interval = 100
clear_on_start = true
tx_confirmation = true
[telemetry]
enabled = true
host = '127.0.0.1'
port = 3001
[rest]
enabled = true
host = '127.0.0.1'
port = 3000
[[chains]]
id = 'gaianet'
rpc_addr = 'http://localhost:16657'
grpc_addr = 'http://localhost:9092'
websocket_addr = 'ws:/localhost:16657/websocket'
rpc_timeout = '15s'
account_prefix = 'regen'
key_name = 'gaiakey'
store_prefix = 'ibc'
gas_price = { price = 0.01, denom = 'stake' }
max_gas = 10000000
clock_drift = '5s'
trusting_period = '14days'
trust_threshold = { numerator = '1', denominator = '3' }
[[chains]]
id = 'lmsdnet'
rpc_addr = 'http://localhost:26657'
grpc_addr = 'http://localhost:9090'
websocket_addr = 'ws:/localhost:26657/websocket'
rpc_timeout = '15s'
account_prefix = 'cosmos'
key_name = 'lmsdkey'
store_prefix = 'ibc'
gas_price = { price = 0.01, denom = 'stake' }
max_gas = 10000000
clock_drift = '5s'
trusting_period = '14days'
trust_threshold = { numerator = '1', denominator = '3' }
NOTE : Lookout for id, keys, address
- cd .hermes
- rm -rf keys
- hermes keys add --mnemonic-file lmsdkey.json --chain lmsdnet
- hermes keys add --mnemonic-file gaiakey.json --chain gaianet
- hermes create channel --a-chain lmsdnet --b-chain gaianet --a-port transfer --b-port transfer --new-client-connection
- hermes start
- git clone (eg : lmsd)
- lmsd init --chain-id lmsdtejanet teja
- lmsd keys add lmsdtejakey
- copy the nemonic and paste it somewhere as we need it later during hermes setup
- lmsd add-genesis-account lmsdtejakey 1000000000000stake
- lmsd gentx lmsdtejakey 1000000000stake --chain-id lmsdtejanet
-
go to .simapp -> config -> config.toml
-
change rpc laddr = "tcp://127.0.0.1:26657" -> "tcp://0.0.0.0:26657"
- lmsd collect-gentxs
- lmsd start
- follow the same steps mentioned above
- ipaddress of system-2 : 192.168.1.32
- chainid : lmsdritviknet
- key : lmsdritvikkey
- cd .hermes
- touch lmsdteja.json
- gedit lmsdteja.json
- paste the nemonic of first key (lmsdtejakey)
- touch lmsdritvik.json
- gedit lmsdritvik.json
- paste the nemonic of second key (lmsdritvikkey)
- follow the below example
[global]
log_level = 'info'
[mode]
[mode.clients]
enabled = true
refresh = true
misbehaviour = true
[mode.connections]
enabled = true
[mode.channels]
enabled = true
[mode.packets]
enabled = true
clear_interval = 100
clear_on_start = true
tx_confirmation = true
[telemetry]
enabled = true
host = '127.0.0.1'
port = 3001
[rest]
enabled = true
host = '127.0.0.1'
port = 3000
[[chains]]
id = 'lmsdritviknet'
rpc_addr = 'http://192.168.1.32:26657'
grpc_addr = 'http://192.168.1.32:9090'
websocket_addr = 'ws:/192.168.1.32:26657/websocket'
rpc_timeout = '15s'
account_prefix = 'cosmos'
key_name = 'lmsdtejakey'
store_prefix = 'ibc'
gas_price = { price = 0.01, denom = 'stake' }
max_gas = 10000000
clock_drift = '5s'
trusting_period = '14days'
trust_threshold = { numerator = '1', denominator = '3' }
[[chains]]
id = 'lmsdtejanet'
rpc_addr = 'http://localhost:26657'
grpc_addr = 'http://localhost:9090'
websocket_addr = 'ws:/localhost:26657/websocket'
rpc_timeout = '15s'
account_prefix = 'cosmos'
key_name = 'lmsdtejakey'
store_prefix = 'ibc'
gas_price = { price = 0.01, denom = 'stake' }
max_gas = 10000000
clock_drift = '5s'
trusting_period = '14days'
trust_threshold = { numerator = '1', denominator = '3' }
NOTE : Lookout for id, keys, address, ip address
- cd .hermes
- rm -rf keys
- hermes keys add --mnemonic-file lmsdtejakey.json --chain lmsdtejanet
- hermes keys add --mnemonic-file lmsdritvikkey.json --chain lmsdritviknet
- hermes create channel --a-chain lmsdtejanet --b-chain lmsdritviknet --a-port transfer --b-port transfer --new-client-connection
- hermes start
-
lmsd tx ibc-transfer transfer transfer channel-0 77stake --from lmskey --chain-id lmsdnet
-
gaiad q bank balances --node http://127.0.0.1:16657
-
hermes tx ft-transfer --dst-chain test2 --src-chain test1 --src-port transfer --src-channel transfer --amount 1000 --denom stake
- ifconfig
- change .hermes -> config.toml -> denom (eg: uregen -> stake)
- change .gaia -> config -> config.toml -> min_gas_price ( eg: "" -> "0stake")
- check the nemonics properly
- cd .hermes
- restart the system
- kill the process
- change .simapp -> config -> config.toml | app.toml