Included contracts
The supersim
chain environment includes contracts already deployed to help replicate the Superchain environment. See OP Chain A for contract address examples for a L2 system.
OP Stack system contracts (L1)
These are the L1 contracts that are required for a rollup as part of the OP Stack protocol. Examples are the OptimismPortal (opens in a new tab), L1StandardBridge (opens in a new tab), and L1CrossDomainMessenger (opens in a new tab).
For more details, see example contracts or the source code (opens in a new tab).
OP Stack L2 contracts (L2)
The OP Stack system contracts on the L2 are included at the standard addresses by default.
- Standard OP Stack predeploys (L2) (opens in a new tab)
- Interoperability predeploys (experimental) (L2) (opens in a new tab)
- OP Stack preinstalls (L2) (opens in a new tab)
Periphery contracts (L2)
L2 chains running on supersim
also includes some useful contracts for testing purposes that are not part of the OP Stack by default.
L2NativeSuperchainERC20
A simple ERC20 that adheres to the SuperchainERC20 standard. It includes permissionless minting for easy testing.
Source: L2NativeSuperchainERC20.sol (opens in a new tab)
Deployed address: 0x420beeF000000000000000000000000000000001
Minting new tokens
cast send 0x420beeF000000000000000000000000000000001 "mint(address _to, uint256 _amount)" $RECIPIENT_ADDRESS 1ether --rpc-url $L2_RPC_URL
Next steps
- Get network details about the two OP Stack systems spun up in vanilla mode: OPChainA (chainID 901) and OPChainB (chainID 902).
- Learn how to deposit transactions with Supersim, using a much simpler approach that bypasses the derivation pipeline.