Skip to content

Latest commit

 

History

History

python

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

zkSync Era Python Examples

Examples are made to demonstrate how zksync2-python SDK can be used for development. The examples demonstrate how to:

  1. Deposit ETH from Ethereum into zkSync.
  2. Transfer ETH on zkSync.
  3. Withdraw ETH from zkSync to Ethereum.
  4. Deploy a smart contract using create opcode.
  5. Deploy a smart contract with constructor using create opcode.
  6. Deploy a smart contract with dependency using create opcode.
  7. Deploy a smart contract using create2 opcode.
  8. Deploy a smart contract with constructor using create2 opcode.
  9. Deploy a smart contract with dependency using create2 opcode.
  10. Get confirmed tokens on zkSync.
  11. Deposit token from Ethereum into zkSync.
  12. Transfer token on zkSync.
  13. Withdraw token from zkSync to Ethereum.
  14. Deploy custom token on zkSync.
  15. Deploy smart account using create opcode.
  16. Deploy smart account using create2 opcode.
  17. Use paymaster to pay fee with token.

Setup

pip install -r requirements.txt