# Linea测试网保姆式交互教程

By [kool](https://paragraph.com/@kool) · 2023-03-31

---

去年 12 月，ConsenSys zkEVM 推出私人测试网，该测试网运行三个月，并在前几周内就达到了 150 万笔交易。3 月 28 日，ConsenSys zkEVM 测试网正式上线，并更名为 [Linea](https://linea.build/)，简单来看Linea的数据增长是很受关注的，加上ZK目前进展比较迅速.

交互准备：

1，在 Metamask 钱包里存入一点 Goerli ETH，可以点击下方网站领水

2，在 Metamask 钱包中添加 Linea 网络

配置如下：

\*\*网络：\*\*Linea

**RPC 网址：**

\*\*链号：\*\*59140

**货币符号：ETH**

**Block Explorer URL:**

Linea 汇总和 L1Bridge:[0xE87d317eB8dcc9afE24d9f63D6C760e52Bc18A40](https://goerli.etherscan.io/address/0xe87d317eb8dcc9afe24d9f63d6c760e52bc18a40)

L2桥":[0xA59477f7742Ba7d51bb1E487a8540aB339d6801d](https://explorer.goerli.linea.build/address/0xA59477f7742Ba7d51bb1E487a8540aB339d6801d)

Linea官网：

### 交互教程：

1，进入 Linea 的[官网](https://goerli.linea.build/)，点击 Bridge，先将资金从 Goerli 测试网桥接到 Linea 测试网中

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

跳转到的是 Hop 测试网，需要先链接钱包，然后选择想要兑换的代币数量，确认之后点击 Send，你需要在钱包内签署交易。

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

尽可能将该页面的所有功能都交互一遍。下面可以点击 Faucet，铸造一些 USDC 和 HOP 代币。然后点击 Send 将铸造好的 USDC 和 HOP 再桥接至 Linea 测试网中。

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

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

然后再点击 Convert，将 ETH 包装成 WETH。

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

包装好之后，再通过 Convert 将 WETH 换成 hETH。

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

然后点击 Pool，存入刚才兑换好的代币，以添加流动性。

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

出现下图代表添加流动性成功

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

到这里，这个页面的四个功能我们基本都交互一遍了。

2，返回到 Linea 的[网站](https://goerli.linea.build/)。点击 Swap。

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

在 MetaMask 钱包中选择 Linea 网络连接 Uniswap，然后体验一下兑换代币。兑换完代币后，可以点击 Pool，以添加流动性。目前可添加的代币对很少。如果在添加流动性的时候遇到报错，可以后续再体验

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

都体验完毕之后，再次回到 Linea 的[网站](https://goerli.linea.build/)。我们点击 Explore，可以看到 Linea 测试网上已经有 20 多个项目，我们可以持续关注该页面，选择能够交互的项目继续完成交互测试

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

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

---

*Originally published on [kool](https://paragraph.com/@kool/linea-2)*
