Content pfp
Content
@
0 reply
0 recast
2 reactions

scottrepreneur pfp
scottrepreneur
@scottrepreneur.eth
I'm looking for a simple example of using `L1CrossDomainMessenger` to move tokens/NFTs for a @safe on L1 to the aliased address on the /op-stack. @bountybot 0.125 ETH or equivalent on L2 Success criteria: 1. Safe on L1 with aliased address on L2 2. NFT and/or ERC20 tokens in the aliased address on L2 3. Execute a tx cross-chain via Safe to move the NFT/token to any other address Demo can be on Sepolia and Base/OP Sepolia with a Safe you control. Specifically looking to understand the message required to execute this transfer on the L2 address. Base contracts https://docs.base.org/docs/base-contracts Possibly relevant docs https://docs.optimism.io/connect/resources/glossary#address-aliasing https://docs.optimism.io/builders/app-developers/tutorials/cross-dom-solidity
8 replies
4 recasts
15 reactions

Drew Fisher pfp
Drew Fisher
@drewf.eth
Been a minute since I read those docs, but I think you might need to use the portal contract directly instead of xDM. I assume you want these to happen in separate transactions for clarity?
1 reply
0 recast
1 reaction

scottrepreneur pfp
scottrepreneur
@scottrepreneur.eth
Interesting! Yeah, likely multiple txs for the whole flow. With one tx to execute transferring out of the L2 aliased address.
1 reply
0 recast
0 reaction