Giter Site home page Giter Site logo

zksync-sdk / zksync2-examples Goto Github PK

View Code? Open in Web Editor NEW
21.0 21.0 14.0 595 KB

Examples on how to interact with zkSync Era network using SDKs for different languages.

License: MIT License

Go 31.05% Solidity 2.44% TypeScript 18.62% Python 28.69% Makefile 0.04% Shell 0.07% Java 19.09%

zksync2-examples's People

Contributors

danijeltxfusion avatar petartxfusion avatar yutianwu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

zksync2-examples's Issues

In the python example, the withdrawal initiated transaction is the old Txn Type: 0 (Legacy) transaction mode

๐Ÿ› Bug Report for zksync2-py python SDK

๐Ÿ“ Description

I haven't tried anything else yet, but when I looked at the block browser after using the script for L2 withdrawal to L1 mentioned in the example, it showed that the transaction mode was the old Txn Type: 0 (Legacy) instead of the more gas efficient Txn Type: 2 (EIP-1559).

๐Ÿ”„ Reproduction Steps

  1. L2 withdraw ETH to L1.

๐Ÿค” Expected Behavior

Transactions should use the more gas efficient EIP-1559

๐Ÿ˜ฏ Current Behavior

Actually used the old Legacy

๐Ÿ–ฅ๏ธ Environment

python 3.10.0
zksync2 1.0.0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.