Support muxed contract addresses #1950
Replies: 3 comments 5 replies
-
What are the use cases and test cases we know of that can validate both the need and the way that this might be implemented or the way that this might show up for contracts? Figuring this out up front, I think, will be critical to designing this in a way that makes sense for the contract use cases. |
Beta Was this translation helpful? Give feedback.
-
|
Thank you for starting the discussion and providing the use cases. My initial take on this is to just extend the existing semantics of muxed G-addresses to C-addresses in exactly the same fashion. Specifically:
I believe this is pretty non-controversial, as we just replicate what we already do for G-addresses in a consistent fashion. But I'm open to any suggestions or additional requirements for the design. |
Beta Was this translation helpful? Give feedback.
-
|
CAP-67 and the accompanying changes to SEP-41 added muxed address support to four places:
It did not add muxed address support to other places that a destination address exists in SEP-41 or the SAC. That decision was based on the use cases of G-muxed addresses, but the use cases of C-muxed addresses may be different. Do we have a sense of whether the existing four places are sufficient for the C-muxed address use cases, or to be useful to the new use cases does this proposal also need to add muxed address support to other events or functions? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
CAP-67 introduced support for multiplexing Stellar account addresses in soroban contracts, including updating the Stellar asset contract's
transferfunction and its corresponding event to support muxed destinations.However, the use cases for multiplexing are not exclusive to Stellar accounts. Users of contract accounts may also benefit from multiplexing, but this is currently not supported by the protocol.
We should consider adding support for multiplexing contract addresses the same way we support multiplexing of Stellar accounts.
Beta Was this translation helpful? Give feedback.
All reactions