header-langage
简体中文
繁體中文
English
Tiếng Việt
한국어
日本語
ภาษาไทย
Türkçe
Scan to Download the APP

Layer 2 Tutorial 3: Teach you how to interact with the zkSync contract

2021-03-02 16:54
Read this article in 27 Minutes
zkSync is about to issue coins, will there be an airdrop for the interaction now?
Original title: " Coins will be issued soon, let's fight for red envelopes? Teach you how to interact with zkSync contract"
Original source: Planet Daily


Beijing On the evening of March 1st, Matter Labs, the Ethereum ZK Rollup expansion solution construction team, announced the completion of the A round of financing, led by Union Square Ventures (USV). The previous InvestmentPlaceholder, 1kx and Dragonfly continue to participate in this round, in addition to participating in this round of investment are also zkSync’s ecological partners, Including Aave, Balancer, 1inch, Curve, Binance, Coinbase Ventures, Huobi, Loopring, Argent, MYKEY, imToken, Flexa, MoonPay, ripio, ZKValidator, CoinGecko, specific financing Finance< /span> is not yet public.


Coins are coming soon, let's fight for red envelopes? Teach you how to interact with zkSync contract


As early as the end of December last year , Matter Labs CEO Alex Gluchowski once confirmed that the team's ZK Rollup expansion plan zkSync will launch native tokens (according to Rinkeby  In the case of the test network, the token should be called MLTT, the faucet is currently closed).  


With the financing of this round Finished, the speculation about zkSync’s imminent coin issuance has sparked extensive discussions in various communities. Although it is not yet sure whether there will be an airdrop of zkSync tokens, and if so, what are the specific standards, but in line with the principle of "I would rather be busy than miss it", it is never wrong to interact with the zkSync contract in advance. A little gas fee (the current total cost is about tens of dollars), and a big red envelope, why not do it.


In this article, we will teach you step by step The specific method of interacting with zkSync contract, or that sentence, CurrentlyIt is not sure whether zkSync tokens will be airdropped, and what are the specific standards, so we need to try our best to experience the current support of zkSync all functions.


Step 1: Preparation


First, everyone needs to install a Metamask Wallet< /span> plug-ins (currently other wallets are also available, but for the wool party, the little fox is obviously the most Convenience), there are many tutorials on how to install on the Internet, pay attention to put some in the walletETH As the gas fee, the network can choose the Ethereum mainnet.  


Then, you need to enter the official address of zkSync "https://zksync.io/", click "Open Wallet" to link the wallet, the wallet still chooses Metamask, After clicking, it needs to be confirmed in the wallet.


Coins are coming soon, let's fight for red envelopes? Teach you how to interact with zkSync contract



Step 2: Deposit


After completing the link, everyone will enter  zkSync's main interface, then the interface will display your layer 2 network in zkSync no balance on (no balances yet), required Make a deposit or have someone send money to your address.


The coin is about to be issued, come to win the red envelope? Let me teach you how to interact with the zkSync contract


You can put yourself in Funds on the first-tier network (that is, the original Ethereum chain) are deposited into the second-tier network of zkSync, and the funds can use the ETH prepared in the previous step, but remember that a small amount of ETH is still required in the wallet as a gas fee.


Click "+Deposit", then You can deposit freely, you can click "Select token" to select the currency you want to transfer to the second layer, and enter the corresponding amount in the horizontal box.


The coin is about to be issued, come to win the red envelope? Let me teach you how to interact with the zkSync contract


It should be noted that it takes a certain amount of time to confirm the transfer of funds from the first-tier network to the second-tier network, but the time is very short. Generally, it can be confirmed within a few minutes. You can go first< a href="https://www.odaily.com/">Planet Daily Official WebsiteRead other articles, like them, go to Moments and come back.


Three steps: transfer (Transfer)


After the previous step is completed, you can click You can see your own balance on the second layer network of zkSync, and you can continue to experience the transfer function.


The coin is about to be issued, come to win the red envelope? Let me teach you how to interact with the zkSync contract


 


If you are interacting with other friends, you can switch between two people at this time; if not, it doesn’t matter, everyone Two addresses can be used to "fight each other left and right". Anyway, the gas fee in the recent period is not too high.


It should be noted that before transferring money We need to register the public key first, that is, activate (Activate). This step still needs to consume a certain amount of gas for the time being.Matter Labs has also In the follow-up statement, this link will be eliminated as much as possible.


The coin is about to be issued, come to win the red envelope? Let me teach you how to interact with the zkSync contract


The activation is complete, and you can see that part of the balance in the second-tier network has been deducted at this time, which serves as the gas fee for the previous link.


The coin is about to be issued, come to win the red envelope? Let me teach you how to interact with the zkSync contract


Then you can transfer money freely, I will turn my left hand to my right hand first For example, as shown in the picture above, I transferred 0.03 ETH to the address ending with 365d, and the gas consumption is about $0.12, which is indeed much cheaper than the first-tier network. The transfer will be confirmed in seconds, and the transaction records (including previous deposit records and activation records) can be viewed under "Transactions" on the main interface.  


The coin is about to be issued, come to win the red envelope? Let me teach you how to interact with the zkSync contract


Then, switch the wallet again, just turn the right hand to the left, as shown in the figure below , both transactions of mutual transfer have been displayed.


The coin is coming soon, come to win the red envelope? Teach you how to interact with the zkSync contract



Step 4: Another method of transfer——ZKlink (although I didn't get it working)


In addition to conventional transfer methods ,zkSync also provides a name For ZKlink The payment method is still the same sentence-"We need to try our best to experience All the functions currently supported by zkSync", so you can also try using ZKlink to transfer money.


The coin is coming soon, come to win the red envelope? Teach you how to interact with the zkSync contract


As shown in the picture above, you can accept Receiver ETH address (Receiver ETH address)" to fill in your left-hand address, then select the desired currency and amount, and then click "Create your payment link" to create a payment link.  


The coin is about to be issued, come to win the red envelope? Let me teach you how to interact with the zkSync contract


Then, you can use other webpages to open this link, switch to your right-hand address, and click "Pay Now" to pay through this link. However, ZKlink transfer will have two follow-up steps, I don’t know if my network is too bad, Step 1 The information confirmation link has been going around in circles, and finally had no choice but to give up. You can try it. If it doesn’t work, use the conventional method to transfer money.


Is issuing coins soon, let's fight for red envelopes? Teach you how to interact with zkSync contract



Step 5: Withdraw


< span class="ql-author-17354896">Finally, it is the withdrawal link. As the name suggests, it is to transfer funds from the second-tier network back to the first-tier network. The operation is very simple, click "-Withdraw" will automatically jump to the interface. The address at this time is the wallet address you are currently linked to. You are also free to choose to mention to another address.  


Is issuing coins soon, come to win red envelopes? Teach you how to interact with zkSync contract


Similarly, you can withdraw after selecting the currency and filling in the amount. The estimated processing time for this withdrawal will be given at the bottom of the interface. For example, I will have to wait for 3 hours and 49 minutes this time. After the waiting time is over, you can open the Metamask wallet to see if the balance has returned to the Layer 1 network.



Step 6: Come and playzkSync version of Cruve


well-knownStable currency< span style="color: #333333; font-size: 16px; font-weight: normal;">The exchange platform Cruve has currently integrated the zkSync expansion solution on the Rinkeby test network of Ethereum. "Missed" principle, you can try it.  


Currency distribution is imminent, come to win red packets? Teach you how to interact with the zkSync contract


First, you can open the zkSync version of the Cruve application address "https://zksync.curve.fi/", as shown in the figure below after clicking.


The coin is about to be issued, come to win the red envelope? Teach you how to interact with the zkSync contract


The trial requires certain testnet tokens, ExchangeThe required testnet stablecoins can be claimed at the faucet in the application address (the red box above),Rinkeby The ETH of the testnet can also find the corresponding faucet address. The specific usage method is the same as that of Cruve on the Ethereum mainnet, so I won’t go into details.


Conclusion: Entertainment mentality


Uniswap , The Graph, 1inch and other star projects last year’s super airdrops made countless people rich overnight. DeFi products, such as dydX, Matcha, and today's  zkSync has already been listed on the wool party's sniper list.


However, as As mentioned at the beginning, it is not yet sure whether zkSync tokens will be airdropped. Even if there is, the specific standards have not yet been made public, and no one knows whether the interaction methods provided in this article can meet the conditions.


The above is only Providing an interaction method with zkSync does not mean that you will be able to get the airdrop. Friends who are interested and have sufficient funds may try to spend tens of dollars in gas fees to go through the process, but it is enough to use multiple addresses and high costs to scan the amount. No need.


Wool is risky, please boss We can judge for ourselves whether we should squeeze it or not.


Original link



Welcome to join the official BlockBeats community:

Telegram Subscription Group: https://t.me/theblockbeats

Telegram Discussion Group: https://t.me/BlockBeats_App

Official Twitter Account: https://twitter.com/BlockBeatsAsia

举报 Correction/Report
This platform has fully integrated the Farcaster protocol. If you have a Farcaster account, you canLogin to comment
Choose Library
Add Library
Cancel
Finish
Add Library
Visible to myself only
Public
Save
Correction/Report
Submit