Conversation

A key part of this: what makes it harder than if the tokens were flowing the other way? What can you do about that?
Quote Tweet
A fun/interesting cross-chain questions: SC is a smart-contract Ethereum and P is a program on Solana. Alice is supposed to send 1 Solana based token (SPL token) A to P, and has an ERC20 token E in SC. SC is supposed to release E if she does send A to P. Can you design it?
3
6
Replying to
Faster -- you don't need much of a timelock, and you can do it all in 1 step in ~99% of all cases, so it only takes a few block times beyond a same-chain swap. Also cheaper, because you generally don't need to go through that process (by being optimistic)
1
2
Replying to and
That sounds awesome, are confirmation times heavily impacted by any of the cross-chain interactions? Like in the case of your example with ETH, is the minimum confirmation set needed to avoid being uncle'd or impacted by natural forks a matter of concern?
1
1
Replying to
It depends on what you're trying to do but you almost always have to wait at least as long as it takes the slower chain to be safely confirmed. The big difference between approaches is whether you have to wait for 1 round or 3. Most of the extra compute can be on the fast chain.
1
2