Skip to main content
Supersim supports deposit transactions. It uses a very lightweight solution without the 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.
If running Supersim in fork mode, the production contracts will be used for each of the forked networks.

Sample Deposit Flow

We’ll run through a sample deposit directly with the OptimismPortal 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 of 1 ether
4

Verify With Supersim Logs

Next steps