Skip to content

Conversation

@StanislavBreadless
Copy link

This is a example of changes that would be needed to support Native interop.

The general idea is that the wallets that integrate this interop would only have to hardcode the addresses of the OriginSwapManagerNative and CrossChainPaymasterNative for chains that they know that support interop.

However, after that, they could reuse the same flow as for the normal interop:

  1. Submit request
  2. Wait for voucher.
  3. Use it on the destination chain.

The document describing the approach: https://hackmd.io/UH9ECcT6S4yesdp9yXV8nA

⚠️ This codebase is in no way fully complete. It provides a general outline to start the discussion about standardization of the wallet UX for interop. More details and edge cases will be fixed once the general direction is agreed upon.

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

Successfully merging this pull request may close these issues.

1 participant