As a user of the trustless-sidechain CLI app,
I want to read e2e examples in the documentation of how to run/use the CLI app
so that
I can better understand how the active flow of bridging works
I have some defined way to test my changes outside the e2e tests.
Proposed solution:
We have this nice Nix script (nix run .#ctl-runtime-preview) which runs all the required containers. However, to run most CLI commands, we need a way to interact with the node mainly by submitting transactions and querying the state.
I propose to use cardano-cli as the main tool for interacting with the node (in the documentation, not in the code) as it is a nice high-level way of expressing what you are doing.
If we go in this direction, cardano-cli would need to have access to the cardano-node.socket file which is inside the container. To achieve, we can have Docker expose that file outside of the container.
As a user of the
trustless-sidechain
CLI app, I want to read e2e examples in the documentation of how to run/use the CLI app so thatProposed solution:
We have this nice Nix script (
nix run .#ctl-runtime-preview
) which runs all the required containers. However, to run most CLI commands, we need a way to interact with the node mainly by submitting transactions and querying the state.I propose to use
cardano-cli
as the main tool for interacting with the node (in the documentation, not in the code) as it is a nice high-level way of expressing what you are doing.If we go in this direction,
cardano-cli
would need to have access to thecardano-node.socket
file which is inside the container. To achieve, we can have Docker expose that file outside of the container.IOG Jira: https://input-output.atlassian.net/browse/ETCM-6871