Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small test about two side deposit #11

Closed
liangping opened this issue Mar 12, 2023 · 0 comments
Closed

Small test about two side deposit #11

liangping opened this issue Mar 12, 2023 · 0 comments
Assignees

Comments

@liangping
Copy link
Contributor

Similar to ICA, write a interchain tx demo, Sending an ibc packet from chain A, which wraps a transaction(sending token) to be executed on chain B

a tx structure will similar to this:

{
     sender: "Achain1xxxxxxxxx",
     source_channel: "channel-2",
     source_port: 'ibc-execute",
     tx_to_executed_on_dest: {
           sender: "Bchain1xxxxxxxxx",
           messages: [{ ... }],
           signature: "",
      }
}

steps:

  1. construct a tx on chain A
  2. sending to from chain A
  3. relayer tx
  4. received tx on Chain B, unwrap the sub tx, validating the sub tx, and execute the subtx.
  5. return execution result to ack
  6. acknowledged on chain A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants