# 神秘部落空投教程第74期:以太坊 2.0 的测试网(获免费 NFT) **Published by:** [Mysterious Tribe](https://paragraph.com/@mysterious-tribe/) **Published on:** 2022-06-11 **URL:** https://paragraph.com/@mysterious-tribe/74-2-0-nft ## Content 以太坊开发者期待已久的ETH 2.0网络升级达到了另一个里程碑——Ropsten公共测试网将于6 月 8 日升级为 Proof-of-Stake 共识。 上个月,致力于 The Merge(以太坊网络的更新)以将其从工作量证明转换为权益证明共识模型的开发人员开始测试这种转换如何在影子分叉上工作。 下面开始我们的教程: 1)添加 Kiln 测试网 2)领取测试币 3)进入测试网 4)选择Injected Web3,然后连接你的钱包 5)创建合约 6)点击新建文件,使用 .sol 扩展名的文件名 将下面的代码复制致右侧空白处: pragma solidity >=0.5.0 <0.7.0;contract HelloGM {function gm()public pure returns (string memory) { return 'Hello gm.xyz'; } } 7)确保已启用 Injected Web3和您的地址,然后单击Deploy。然后小狐狸钱包确认 最后,您会收到交易成功的通知。这里建议多点击几次 以上为以太坊 2.0 的测试网,据说有机会获得免费的 NFT! 扫码添加客服 分享最新撸空投教程和资讯! ## Publication Information - [Mysterious Tribe](https://paragraph.com/@mysterious-tribe/): Publication homepage - [All Posts](https://paragraph.com/@mysterious-tribe/): More posts from this publication - [RSS Feed](https://api.paragraph.com/blogs/rss/@mysterious-tribe): Subscribe to updates