# 神秘部落空投教程第74期：以太坊 2.0 的测试网(获免费 NFT)

By [Mysterious Tribe](https://paragraph.com/@mysterious-tribe) · 2022-06-11

---

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

以太坊开发者期待已久的ETH 2.0网络升级达到了另一个里程碑——Ropsten公共测试网将于6 月 8 日升级为 Proof-of-Stake 共识。

上个月，致力于 The Merge（以太坊网络的更新）以将其从工作量证明转换为权益证明共识模型的开发人员开始测试这种转换如何在影子分叉上工作。

下面开始我们的教程：

1)**添加** [**Kiln 测试网**](https://kiln.themerge.dev/)

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

2)领取[测试币](https://kilnfaucet.com/)

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

3)进入[测试网](https://remix.ethereum.org/)

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

4）选择Injected Web3，然后连接你的钱包

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

5）创建合约

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

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

6）点击新建文件，使用 .sol 扩展名的文件名

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

将下面的代码复制致右侧空白处：

pragma solidity >=0.5.0 <0.7.0;contract HelloGM {function gm()public pure returns (string memory)

{ return 'Hello gm.xyz'; } }

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

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

7）确保已启用 Injected Web3和您的地址，然后单击Deploy。然后小狐狸钱包确认

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

最后，您会收到交易成功的通知。这里建议多点击几次

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

以上为以太坊 2.0 的测试网，据说有机会获得免费的 NFT！

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

扫码添加客服

分享最新撸空投教程和资讯！

---

*Originally published on [Mysterious Tribe](https://paragraph.com/@mysterious-tribe/74-2-0-nft)*
