# 以太坊 2.0 的测试网，有机会获得免费的 NFT！

By [hulei419](https://paragraph.com/@hl419) · 2022-06-12

---

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

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

上个月，开始进行 The Merge（以太坊网络转换的更新），以将其从工作证明为证明共识模型的开发人员开始转换这种证明方式在分叉上工作。

下面开始我们的教程：

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

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

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

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

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

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

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

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

5）创建合同

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

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

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

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

将下面的代码复制到空白处：

pragma solidity >=0.5.0 <0.7.0;contract HelloGM {function gm()public 纯返回（字符串内存）

{返回'你好gm.xyz'; } }

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

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

7）确保已经注入Web3和您的地址，然后确认部署。然后小狐狸

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

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

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

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

想了解更多欢迎加入追风社区交流：TG：[https://t.me/CryptoDigger88](https://t.me/CryptoDigger88)币用：[https://0.plus/CryptoDigger88](https://0.plus/CryptoDigger88)<! -- -->Dis：  [https://discord.gg/djHttK592U](https://discord.gg/djHttK592U) 推特：[https://twitter.com/ZF\_lab](https://twitter.com/ZF_lab)

---

*Originally published on [hulei419](https://paragraph.com/@hl419/2-0-nft)*
