Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    chek
    @chek
    Hi team! On rinkeby testnet transaction fee is around 0.00000501 which is very nice, but on mainnet fee is 0.00045 and its come near regular transaction fee. Is it i'm doing something wrong or this the state?
    Antoine De Vuyst
    @antron3000
    Hi all! I'm hosting a meetup about zksync https://www.meetup.com/Blockchain-Developers-Canada/events/275422177/. I am now in the process of preparing for it, may come back with some questions :)
    Antoine De Vuyst
    @antron3000
    welcome all to join! it's an online event
    Stanislav Bezkorovainyi
    @StanislavBreadless

    Hi team! On rinkeby testnet transaction fee is around 0.00000501 which is very nice, but on mainnet fee is 0.00045 and its come near regular transaction fee. Is it i'm doing something wrong or this the state?

    Hi @chek, what do you mean by the "regular transaction fee"? If you mean a transaction fee for an on-chain transaction on Ethereum mainnet, then at the time of this writing (06:03, Dec 30, 2020
    UTC) the comparison is the following:

    From the tx calculator at the ethereum gas station an average on-chain transaction:

    • takes ~2:50m to complete
    • costs 0.001533 ETH (gas price 73 Gwei).

    On the other hand, zkSync transaction:

    • near-instant confirmation (a few seconds, if not less)
    • costs 0.0001945 ETH, which is ~7.9 times cheaper
    1 reply

    Hi all! I'm hosting a meetup about zksync https://www.meetup.com/Blockchain-Developers-Canada/events/275422177/. I am now in the process of preparing for it, may come back with some questions :)

    Hi :wave:

    We are very excited to hear that! Sure, you can ask here as many questions as needed :)

    z330789559
    @z330789559
    i need rinkeby ETH ,help me,who can give me some?
    0x896267e34bD86ecc9478333F412705235Fc66E4a
    chek
    @chek

    @zz330789559

    i need rinkeby ETH ,help me,who can give me some?

    ethereum/go-ethereum#22039, just leave there your request

    z330789559
    @z330789559
    @chek very thinks ,but not work , i has leave there two week ago; I'm trying again
    Antoine De Vuyst
    @antron3000
    Anyone know where can I get any whitelisted testnet tokens on rinkeby or ropsten?
    Stanislav Bezkorovainyi
    @StanislavBreadless

    Anyone know where can I get any whitelisted testnet tokens on rinkeby or ropsten?

    Hi :wave: The majoriy of the tokens on the testnets can be minted. Here are the steps to do it:

    1. Get some testnet Ether.
    2. Go to the list of tokens of the zkSync explorer of the network you are interested in. Then go to the "Tokens" page. For instance, for rinkeby, the url of the tokens' page is https://rinkeby.zkscan.io/explorer/tokens
    3. Click on the address of the token you want to get. The tokens' page on the etherscan will open.
    4. Go to the "Write Contract" tab. There will be a button to connect to your web3 provider. You have to do this since minting is an ETH contract call.
    5. Expand the "mint".
    6. Fill in the parameters. "_to" is the recipient, this should be the address of your eth account. "_amount" is the amount of the token that you want to receive in wei.
    7. Click on "Write"

    The tokens will be minted and you'll have them on your L1 account. Now you can deposit them to zkSync like any other asset.

    Zihuan Xu
    @xzhflying
    Hey guys. I am new to zkSync. Could anyone help with my question? The thing is that it seems no matter how I set the chunk size, account/balance tree depth, the circuit gates number will be automatically rounded to the next power of 2 and downloaded setup keys (I think they are proving keys right?) will be used to generate the verification keys. I know this is the universal setup, but does it mean the setup can only be the size of power of 2? Or is there any way to do the setup and generate the vk only based on the desired circuit size? Maybe I misunderstood something...
    2 replies
    Antoine De Vuyst
    @antron3000
    ahh thank you didn't realize they could be minted
    ACJuicyJ
    @ACJuicyJ

    its minmal acceptable fee

    Can I get a reference link? I need to calculate the gas cost

    ACJuicyJ
    @ACJuicyJ
    Screenshot from 2021-01-05 11-57-36.png
    1 reply
    I have a question about this warning about the ProverData, is there anyway to solve this warning. As I am testing the transactions, the transaction throughput is significantly lower than on Layer 1. Is this timeout really needed or am I doing something wrong?
    ACJuicyJ
    @ACJuicyJ

    its minmal acceptable fee

    Can I get a reference link? I need to calculate the gas cost

    From what I have understood is that the method getTransactionFee() would give me the value, but there is no documentation on how it is calculated. Does it take the Gas Cost of the mainnet, is that what you mean that it comes from the server?

    Hightouch
    @hightouch67
    Hi there!! Should I necesseraly wait for a tx to get verified? or is it enough if it's in success? because even with high fees sometimes it take like 10-15 minutes for a transaction to get verified.
    btw I m using ropsten and rinkeby for now, dunno if that can be related too
    ETHorHIL
    @ETHorHIL
    Hey, I have been looking at blocks on zkscan over the past week. It looks like almost all tx are withdrawals. Does anyone know the reason for that?
    ETHorHIL
    @ETHorHIL
    All these withdraws come from one guy who deposited 600 ETH distributed to thousands of accounts and now withdrawing...
    0xAc54b0f52F314F1eFBEf245A5416fD5d7E381B71
    Antoine De Vuyst
    @antron3000
    Our meetup on zksync is today! All welcome to join :))) https://www.meetup.com/Blockchain-Developers-Canada/events/275422177/
    Stanislav Bezkorovainyi
    @StanislavBreadless

    its minmal acceptable fee

    Can I get a reference link? I need to calculate the gas cost

    From what I have understood is that the method getTransactionFee() would give me the value, but there is no documentation on how it is calculated. Does it take the Gas Cost of the mainnet, is that what you mean that it comes from the server?

    When you submit a transaction, you also supply the fee that you are paying for a transaction. getTransactionFee returns the minimal acceptable fee for it, i.e. if you supply a fee smaller than that, the tx will be rejected.

    How it is calculated is the choice of the validator, but the main purpose of the fee is to cover the gas costs related to committing and verifying the transactions. Thus the fee actually fluctuates when the gas prices do, but always stay much-much smaller than even safe low transactions on the mainnet, while staying much fast and as secure as L1.

    Our meetup on zksync is today! All welcome to join :))) https://www.meetup.com/Blockchain-Developers-Canada/events/275422177/

    :fire: :fire: :fire:

    Genysys
    @Genysys
    is there an endpoint that replicate eth.sendRawTransacton? I.e. I would like to post a pre signed transacton to the zksync network
    2 replies
    Antoine De Vuyst
    @antron3000
    Our meetup went great, thanks to @gluk64 for attending and answering questions!
    chek
    @chek
    Hi team i made withdrawal from L2 to L1 on mainnet. I dont see funds on L1 in etherscan, but on zkscan shows transaction is done successfully. (tx hash: eb6a00aeb461e4b3eb4933c111e781f5bbcd250f78db34a4105a2e4a05295f53). What can be a problem here?
    chek
    @chek

    Hi team i made withdrawal from L2 to L1 on mainnet. I dont see funds on L1 in etherscan, but on zkscan shows transaction is done successfully. (tx hash: eb6a00aeb461e4b3eb4933c111e781f5bbcd250f78db34a4105a2e4a05295f53). What can be a problem here?

    Update: Finally I got funds on L1, but it was few minutes since withdrawal transaction marked as complete.

    Alex G
    @gluk64

    Hi team i made withdrawal from L2 to L1 on mainnet. I dont see funds on L1 in etherscan, but on zkscan shows transaction is done successfully. (tx hash: eb6a00aeb461e4b3eb4933c111e781f5bbcd250f78db34a4105a2e4a05295f53). What can be a problem here?

    Update: Finally I got funds on L1, but it was few minutes since withdrawal transaction marked as complete.

    Yes, this is a known UX problem. Will be fixed in a couple of weeks with the next network upgrade.

    Our meetup went great, thanks to @gluk64 for attending and answering questions!

    🙏

    chek
    @chek

    Hi team i made withdrawal from L2 to L1 on mainnet. I dont see funds on L1 in etherscan, but on zkscan shows transaction is done successfully. (tx hash: eb6a00aeb461e4b3eb4933c111e781f5bbcd250f78db34a4105a2e4a05295f53). What can be a problem here?

    Update: Finally I got funds on L1, but it was few minutes since withdrawal transaction marked as complete.

    Yes, this is a known UX problem. Will be fixed in a couple of weeks with the next network upgrade.

    It's not just UX problem, then i got results of getTxReceipt for this tx, it also shows transaction is done, but on L1 it still not applied.

    Aditya Bharti
    @bhaditya10
    Hello team! I wanted to know (any documentation) regarding the porting of custom contracts into zkSync to calculate the gas cost of deployment, custom token creation, and their transfer. Is it possible as of now? If yes then kindly guide me through.
    Stanislav Bezkorovainyi
    @StanislavBreadless

    Hello team! I wanted to know (any documentation) regarding the porting of custom contracts into zkSync to calculate the gas cost of deployment, custom token creation, and their transfer. Is it possible as of now? If yes then kindly guide me through.

    Hi!

    If you aim to have a smart contract deployed on L2, then this is not possible on mainnet, yet. There is an example of how this could look like on a rinkeby testnet demo https://medium.com/matter-labs/curve-zksync-l2-ethereums-first-user-defined-zk-rollup-smart-contract-5a72c496b350?source=collection_home---4------0-----------------------

    Our team is constantly working on Zinc programming language, so stay tuned and check for updates!

    8 replies
    Justin Leroux
    @MidnightOnMars

    The GridPlus CTO Alex Miller was taking a look at the zkSync beta today and was psyched to notice that you provided Lattice1 hardware connectivity.

    We both tried pairing which seemed to work correctly but then we encountered the following error pop up after the process completed:

    "Refreshing state of the wallet failed... Reason: could not detect network (event="noNetwork", code=NETWORK_ERROR, version=providers/5.0.17)

    Looking in the developer console it seems like these are Infura related errors. We want to make sure we provide full support for zkSync, so, to get to the bottom of it we were curious about which library you're using for wallet connectivity so we can investigate and whether you had any insight on this particular issue. Can provide a screenshot of the Infura errors and other info as needed. Thanks!

    1 reply
    Admazzola
    @admazzola
    im getting an error trying to pair my metamask with your website
    you can probably replicate it by trying to connect with the wrong network first and then switching to mainnet
    1 reply
    anyways... after i closed and reopened everything it works for me
    ByeongSu Hong
    @frostornge
    Hi guys i just found initialize function can be called multiple times. https://github.com/matter-labs/zksync/blob/5b936b1855a08033cca7f75d6f87fde106c6e8fd/contracts/contracts/ZkSync.sol#L66 here's the code link. Is there any possibility of it being a problem?
    3 replies
    ethdev23
    @ethdev23
    Hi team, is there a rough timeline for smart contract support on mainnet? (weeks, 1-2 months or 6 months?) Want to get an estimate so that we can plan our project accordingly.
    1 reply
    Stanislav Bezkorovainyi
    @StanislavBreadless

    Hi team, is there a rough timeline for smart contract support on mainnet? (weeks, 1-2 months or 6 months?) Want to get an estimate so that we can plan our project accordingly.

    Hi! Unfortunately, we can't yet comment on any rough deadlines regarding the Zinc smart contract support on mainnet.

    z330789559
    @z330789559
    can zk contract A call zk contract B online? how to write this code ? call B's instance but code lib
    1 reply
    Jay Welsh
    @JayWelsh
    Hi guys, please note that https://zksync.io/ is redirecting to https://wallet.zksync.io/ , so nobody is able to go to the website to view the usual landing content unless they go to an old route like https://zksync.io/contact.html and then click on the zkSync logo to go to the home page.
    1 reply
    Jay Welsh
    @JayWelsh
    With the above, I just want to note that I think it is a bad idea if it was intentional, it would be better to rather add a link to the wallet to the zkSync home page (edit: I see there is already a link there, so it doesn't really make any sense in my opinion).
    For example, somebody gets here and then goes to the wallet? Doesn't make sense: https://i.imgur.com/6tTmCCH.png
    I have been spreading the word about zksync by linking people to zksync.io, now all the links I have posted to zksync.io to share zksync with people on public forums redirect to the wallet (I think it is unreasonable to expect people to go back and edit their links to a top level domain) and it is no longer easy for somebody who doesn't know what zksync is to find out what it is because they get redirected to the wallet, and many people are not going to go click the tiny "Docs" link on the wallet page.
    Just my two cents, it's bad for the project.
    chek
    @chek
    Hi team! Can somebody explain how to calculate fee for depositToSyncFromEthereum?
    chek
    @chek

    Hi team! Can somebody explain how to calculate fee for depositToSyncFromEthereum?

    And what is the better way to deposit all funds from L1 to L2