Wormhole Cross-Chain capabilities #4256
Unanswered
Jorge-Lopes
asked this question in
Developer Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello Wormhole Team,
Problem Description:
I am currently exploring the cross-chain messaging capabilities of Wormhole, specifically aiming to facilitate interaction between a contract deployed on a Cosmos-based chain and a contract deployed on Solana.
However, I have encountered some questions that are not clearly addressed in the documentation. I would appreciate your insights on the following topics:
1. Handling Message Fee Costs
The documentation refers that the costs of sending a message cross-chain is handled by the MessageSender which will include that required amount on the message as a payment to the relayer.
Although, I have noticed that the
quoteCrossChainCost
feature is provided bywormhole-solidity-sdk
but does not appear to be present in the Rust or TypeScript SDKs implementation.Can you clarify why this functionality is not available?
What should be the correct flow to estimate and handle message fees in both Solana and Cosmos implementations?
2. Message Receiver Requirements on Solana
From the example provided by
wormhole-scaffolding
, it seems that the Solana implementation relies on thewormhole_anchor_sdk
to validate the authenticity of cross-chain messages by verifying the message VAA.On the other hand, the same design pattern does not appear to be present in the EVM
demo-wormhole-messaging
.Given this difference, what are the specific requirements for a contract deployed on Solana to accept and process messages originating from the Wormhole contract?
3. Testing Environment Limitations
Currently, the
publishMessage
andverifyMessage
methods are not implemented forCosmwasmWormholeCore
at thewormhole-sdk-ts
. This presents a challenge when testing cross-chain messaging between Cosmos and Solana.Any guidance or recommendations on these topics would be greatly appreciated. Thank you for your time and support!
Beta Was this translation helpful? Give feedback.
All reactions