op-node
derivation pipeline by listening directly to the TransactionDeposited
events on the OptimismPortal
contract and simply forwarding the transaction to the applicable L2.
The execution engine used with Supersim must support the Optimism deposit transaction type.
OptimismPortal
When starting Supersim, the L1 contracts for each L2 chain are emitted as output to the console. The L1CrossDomainMessenger
, L1StandardBridge
, and OptimismPortal
can be used to initiate deposits in the same manner as one would on a production network like OP Mainnet or Base.
Sample Deposit Flow
We’ll run through a sample deposit directly with theOptimismPortal
using cast.
1
Run Supersim
2
Observe OptimismPortal Contract Address
3
Send Deposit Transaction On L1
We’ll be using the first pre-funded account to send this deposit with 1 ether
4
Verify With Supersim Logs
Next steps
- See the transaction guides for more detailed information.
- Questions about Interop? Check out collection of interop guides or check out this Superchain interop design video walk-thru.
- For more info about how Superchain interoperability works under the hood, check out the specs.