This is the initial release for optimism-python. Here are some of its functionalities:
- interact with various Optimism contracts through a Python wrapper (see below for the list of contracts)
- deposit ETH to the L2 chain
- withdraw ETH from the L2 chain
The following contracts are implemented:
- OptimismPortal
- L1StandardBridge / L2StandardBridge
- L1CrossChainMessenger /L2CrossChainMessenger
- L2OutputOracle
- L2ToL1MessagePasser
Here are some of its limitations which will be worked on in the future:
- no deposits and withdrawls of ERC20 tokens
- various utility functions in the CrossChainMessenger not implemented yet (i.e. get_deposits_by_address, get_withdrawls_by_address etc.)
- not unit tested