# Linea交互教程(zkEVM)

By [Crypto幣池叔叔](https://paragraph.com/@leohu) · 2023-03-29

---

官網:

[https://goerli.linea.build/](https://goerli.linea.build/)

ConsenSys zkEVM 作為一個新的 zk-rollup 網絡，它是由 ConsenSys 公司研發設計的，並由 ConsenSys 負責運營。它提供了與以太坊虛擬機（EVM）的完整兼容性。 ConsenSys zkEVM 的目標是成為“字節碼兼容級別”的 zkEVM，使開發人員可以更輕鬆地在 Layer 2 上構建和維護應用程序。此外，ConsenSys zkEVM 不使用轉譯器或自定義編譯器為 Solidity 智能合約生成 zk 證明。

他們採用的是編譯後的 Solidity 字節碼。這種方法可以降低漏洞和黑客攻擊的表面風險。並且他們提供的創新的證明者設計可確保更快的交易速度和更低的 Gas 成本。

雖然空投前三大是他們Starknet、Zksync、Abitrum，但其實還有很多好項目再醞釀，不要錯過了。

ConsenSys 宣布將其 Layer2 解決方案 ConsenSys zkEVM 測試網正式上線並品牌重塑為 Linea，目前已向所有開發人員、用戶或協議開放測試。Linea 使開發人員能夠不受限製地構建可擴展的 DApp。另外，通過 MetaMask 和 Truffle 等原生集成，Linea將零知識證明與 EVM 等效性相結合，為開發人員提供靈活性和可擴展性，而無需 ZK 技術專業知識。

![](https://storage.googleapis.com/papyrus_images/035ae948debf58d052ecfafb86b803b57d47b296467719027c48df74ff733a3f.png)

**添加測試網路**

網絡名稱（Network Name）：Lineaq

RPC URL：[https://rpc.goerli.linea.build/](https://rpc.goerli.linea.build/)

鏈 ID（Chian ID）：59140

貨幣符號（Currency Symbol）：ETH

區塊瀏覽器 URL（Block Explorer URL）：[https://explorer.goerli.linea.build/](https://explorer.goerli.linea.build/)

![](https://storage.googleapis.com/papyrus_images/a8aea82d1545723413e05b9b5a937a773afb57f77b2ff7100b094825aa80f83e.png)

**領取Goerli測試幣(兩個應該都能用)**

[

Paradigm MultiFaucet | Bootstrap your testnet wallet
----------------------------------------------------

MultiFaucet funds a wallet with ETH, wETH, DAI, and NFTs across 8 testnet networks, at once.

https://faucet.paradigm.xyz

![](https://storage.googleapis.com/papyrus_images/49312391389e588da0dc54a8b26161ed9f93e4e0bf6615a378f87d2feb2ae061.png)

](https://faucet.paradigm.xyz/)

[

Ethereum Sepolia Faucet
-----------------------

A fast and reliable Ethereum Sepolia testnet faucet for blockchain developers.

https://www.alchemy.com

![](https://storage.googleapis.com/papyrus_images/8c288575eb776a78157dfb34aebbbf0288fbd414d87c0c5184d4f82c1809e1fb.png)

](https://goerlifaucet.com/)

### 1.添加網路

**點擊上方網路欄>點新增網路**

![](https://storage.googleapis.com/papyrus_images/d5827264bdffad19a5d4380de8e99b4662804860b7de6db1f3d7dd95395cca7c.png)

**點擊Add a network manually**

![](https://storage.googleapis.com/papyrus_images/464e8b1f59e01ba3d11db2cf337ad6657d0c3c34c1aa708a52162ed16ea28b7f.png)

**Network Name：Linea RPC URL：**[**https://rpc.goerli.linea.build**](https://rpc.goerli.linea.build) **Chain ID：59140 Currency Symbol：ETH Block Explorer URL：**[**https://explorer.goerli.linea.build**](https://explorer.goerli.linea.build)

**填入上述資訊>點擊添加**

![](https://storage.googleapis.com/papyrus_images/2918a29242b70ed0033deb5e081985f49a408a65002b91ce0c72332c6f79b562.png)

**再來做跨鏈，從測試網Goerli跨鏈至Linea**

[https://goerli.hop.exchange/#/send?token=ETH&destNetwork=linea&sourceNetwork=ethereum](https://goerli.hop.exchange/#/send?token=ETH&destNetwork=linea&sourceNetwork=ethereum)

**右上方連接錢包>輸入金額>送出**

![](https://storage.googleapis.com/papyrus_images/44280a3ba251ef5bddf3bc8d3ee6b182e986781ca0de0206fdc40e189bc3e863.png)

**交互Uniswap做Swap和LP流動性挖礦(記得切換成Linea Goerli網路)**

[https://swap.goerli.linea.build/#/swap](https://swap.goerli.linea.build/#/swap)

**先Swap crWeth**

![](https://storage.googleapis.com/papyrus_images/95beeb1b50e32b5e25015bbf2b25da1aa57cb08d78bab372b95782f620035373.png)

**再來換SWAP crUSDC**

![](https://storage.googleapis.com/papyrus_images/1174253b1f06801952328308dfbe0de0098397d1afd89830f09d5ef849d64bf3.png)

**增加流動池點擊+新倉位**

![](https://storage.googleapis.com/papyrus_images/078c7056e8aa04f950f708130a35d62bbf577df3017b66c3c2e6472afaa2b524.png)

**交易對選crUSDC/crweth>0.3%>全範圍>數量**

![](https://storage.googleapis.com/papyrus_images/3a6efadefc799ea1c1499ee239cf750eb6731ce178696ddffcca464208f1ea58.png)

**填寫反饋紀錄表**

[

Linea Feedback Form
-------------------

Thank you for helping us test the Linea public testnet! We really appreciate any feedback you have on your experience to help us improve the product. Please fill out the form below for our team to review.

http://docs.google.com

![](https://storage.googleapis.com/papyrus_images/579d9612cf0a7ad9210ea605bc0271cad5491bd4f36030b5e7d9d308239f0b18.png)

](https://docs.google.com/forms/d/e/1FAIpQLSen0KN2uqKMJuUxBH8yTfwrb-xdN48kA-NmO-DSCJMYRdQyMA/viewform)

* * *

**銜接上述HOP**

[https://goerli.hop.exchange/#/convert?token=ETH&destNetwork=linea&sourceNetwork=ethereum](https://goerli.hop.exchange/#/convert?token=ETH&destNetwork=linea&sourceNetwork=ethereum)

**跨鏈完之後點Convert>將Weth換一些hETH**

![](https://storage.googleapis.com/papyrus_images/c93a6794718d49dafdcf5dd45271064a20720e3e6dc0ff18f0d6f73f67b70b62.png)

**點pool添加流動性>選linea的交易對按Add Liquidity**

![](https://storage.googleapis.com/papyrus_images/cad37d515f443a22d1c6f6c7fa2d3201a0ccb340d4f3ea1098d7036c2b3d04a1.png)

**輸入數額>添加**

![](https://storage.googleapis.com/papyrus_images/ceefe71847b214919ffabbc16851de98dffe302751748d12d519b1fee0a02ba9.png)

**用mesprotocol DEX 交互一下**

[

MES Protocol Alpha
------------------

MES Protocol - a trustless and permissionless cross-rollup DEX

https://app.mesprotocol.com



](https://app.mesprotocol.com/spot/ETH-USDC)

**右上連接錢包>切換網路(Consensys zkEVM)>點Deposit存款>存入ETH**

![](https://storage.googleapis.com/papyrus_images/2857114b0f3e09d1ea53455b75c2b6ba364ef2a9816b0505e4900dc5b535a17b.png)

**點擊Trade>Buy和Sell都交互>輸入數額>送出**

**Limit(限價單) market(市價單)都要交互**

![](https://storage.googleapis.com/papyrus_images/f1c7544cca92296285ab920edf1b9fb37453585839c03ef0e38ff94321baf2bf.png)

**ghostNFT**

NFT跨鏈質押協議

[

ghostNFT | The Collateralized NFT 2.0 Standard
----------------------------------------------

NFT 2.0 standard that enables asset-backed NFTs to provide more versatility for NFT holders and creators.

https://nft.ghostchain.io

![](https://storage.googleapis.com/papyrus_images/005d8abc28ddb5fc301de0bc6ce324772edbf488e00ceb5d14405cc3a86d66ee.png)

](https://nft.ghostchain.io/)

**右上連接錢包(切成Linea測試網路)>隨選一個項目點Disperse Collection>存入測試幣**

![](https://storage.googleapis.com/papyrus_images/c3a173731ef1762d4ebc67a5ded4b99efbc4d116df8d684544c670cf4aea19a4.png)

**額外資訊:mint NFT**

[https://airdrop.ghostchain.io/#/linea/0x5A4935bdAB9B1177d812A38b27973FfC9558BCc0](https://airdrop.ghostchain.io/#/linea/0x5A4935bdAB9B1177d812A38b27973FfC9558BCc0)

**鑄造好之後會有空投代幣任務>上方進TG玩遊戲等等>下方邀請朋友**

![](https://storage.googleapis.com/papyrus_images/a84abf1e8ee901b3adec14b65ab6f8168952152c140b718e4d9b16c4a5da965d.png)

**空投有興趣可以看這篇(比較花時間建議有閒的在做)**

[

7 Steps to Earn FREE $GMV - ghost Airdrop Bot
---------------------------------------------

ghostAirdrop Bot guide. In this guide you will learn the 7 easy steps you can take today to earn FREE $GMV.

https://blog.ghostchain.io

![](https://storage.googleapis.com/papyrus_images/a1a9fa0bd0dbb6bb0fa60901a1b4b60fdded97c73d2161d52a64185dfc636590.jpg)

](https://blog.ghostchain.io/7-steps-to-earn-free-gmv-ghosairdrop-bot/)

### 關注我推特(好康發不完)

### 關注我的Lens(一定回關注)

[https://lenster.xyz/u/leohu1314](https://lenster.xyz/u/leohu1314)

**Youtube(有影片教程)**

[

Crypto幣池叔叔
----------

✍️https://linktr.ee/CryptoChronicle

https://www.youtube.com

![](https://storage.googleapis.com/papyrus_images/8863f648d5cb6ac6dd1fb8b267a85882773c83a6fcf4e8d9dc063ff1b7eb72ad.jpg)

](https://www.youtube.com/@crypto1976)

---

*Originally published on [Crypto幣池叔叔](https://paragraph.com/@leohu/linea-zkevm)*
