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

By [追风Lab](https://paragraph.com/@3344521) · 2022-06-08

---

![](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 pure returns (string memory)

{ return 'Hello gm.xyz'; } }

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

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

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

![](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) Twitter：[https://twitter.com/ZF\_lab](https://twitter.com/ZF_lab)

---

*Originally published on [追风Lab](https://paragraph.com/@3344521/2-0-nft)*
