Create Command CLI
This part explains how to develop CLI to run Cross-chain transactions in atomic. See README.md respectively.
Cross Framework functionalities as CLI
As precondition, demo project works by Simple commit protocol as Atomic commit protocol.
Required functionalities as CLI depend on Chain specific architecture. And the functionalities for Cross-chain are different between the Coordinator/Participant
chain and the Participant only
chain.
Coordinator/Participant chain
Coordinator/Participant
chain is in charge of Transaction Initiator
. So CLI includes create-initiate-tx
commnad to create Initiate Transaction.
Tendermint Command reference in the demo is here.
Participant only chain
CLI includes ibc-signtx
command to create IBCSignTx due to that IBCSignTx is used in demo.
Fabric Command reference in the demo is here.