cat > ~/.ibc/ibc-relayer2.yml <<EOF
server:
listenAddr: 0.0.0.0:3002
db:
type: sqlite
url: relayer2.db
chains:
- chainId: "41001"
evm:
rpc: http://localhost:8545
ws: ws://localhost:8546
ics26Router: "$(./bin/ibc deploy show 41001 | jq -r '.core.router')"
ibcMulticall: "$(./bin/ibc deploy show 41001 | jq -er '.core.multicall')"
- chainId: "41002"
evm:
rpc: http://localhost:8745
ws: ws://localhost:8746
ics26Router: "$(./bin/ibc deploy show 41002 | jq -r '.core.router')"
ibcMulticall: "$(./bin/ibc deploy show 41002 | jq -er '.core.multicall')"
relayer:
connections:
- alias: 41001-41002
clientA:
chainId: "41001"
clientId: cli-41001-41002
signer: relayer
type: attestation
autoRelay:
enabled: true
clientB:
chainId: "41002"
clientId: cli-41001-41002
signer: relayer
type: besu
autoRelay:
enabled: true
attestors:
- name: attestor-41002
type: remote
grpc: 127.0.0.1:3001
signers:
- alias: relayer
type: local
file: relayer
EOF