Examples are made to demonstrate how zksync2-python SDK can be used for development. The examples demonstrate how to:
- Deposit ETH from Ethereum into zkSync.
- Transfer ETH on zkSync.
- Withdraw ETH from zkSync to Ethereum.
- Deploy a smart contract using create opcode.
- Deploy a smart contract with constructor using create opcode.
- Deploy a smart contract with dependency using create opcode.
- Deploy a smart contract using create2 opcode.
- Deploy a smart contract with constructor using create2 opcode.
- Deploy a smart contract with dependency using create2 opcode.
- Get confirmed tokens on zkSync.
- Deposit token from Ethereum into zkSync.
- Transfer token on zkSync.
- Withdraw token from zkSync to Ethereum.
- Deploy custom token on zkSync.
- Deploy smart account using create opcode.
- Deploy smart account using create2 opcode.
- Use paymaster to pay fee with token.
pip install -r requirements.txt