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

Integrate cross chain token transfer escrow and message fee #4521

Closed
Tracked by #4341
soroushm opened this issue Oct 20, 2022 · 1 comment
Closed
Tracked by #4341

Integrate cross chain token transfer escrow and message fee #4521

soroushm opened this issue Oct 20, 2022 · 1 comment

Comments

@soroushm
Copy link
Contributor

soroushm commented Oct 20, 2022

Description

Cross chain token transfer require message fee as part of command parameter and also an escrow fee for uninitialised escrow account.

Acceptance Criteria

  • Should use useGetInitializationFees hook to get the escrow fee
    • escrow fee should be assigned only when recipient address in receiving chain is not initialised. We need to use dry run to know if the account is not initialised.
  • Should Implement hook to useGetMessageFee using useInvokeQuery hook
  • Transaction fee summary should display the message fee
    • Message fee should only be displayed for cross chain token transfer and other types of transactions should not show message fee
  • Add unit tests to compute the fee using escrow and message fee
  • Add unit tests for the new hooks
  • Add unit tests for transaction fee summary
    • Check for cross chain token transfer transaction
    • Check for non cross chain token transfer transaction
@soroushm
Copy link
Contributor Author

@sameersubudhi let us know what is the api response while you get the information about it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests

4 participants