# 以太坊 2.0 的测试网,有机会获得免费的 NFT! **Published by:** [hulei419](https://paragraph.com/@hl419/) **Published on:** 2022-06-12 **URL:** https://paragraph.com/@hl419/2-0-nft ## Content 以太坊开发者期待已久的ETH 2.0网络升级达到了另一个里程碑——Ropsten公共测试网将于6月8日升级为Proof-of-Stake共识。 上个月,开始进行 The Merge(以太坊网络转换的更新),以将其从工作证明为证明共识模型的开发人员开始转换这种证明方式在分叉上工作。 下面开始我们的教程: 1)添加Kiln测试网索领测试3)进入测试网4)选择Injected Web3,然后连接你的钱包5)创建合同6)点击新建文件,使用 .sol 扩展名的文件名将下面的代码复制到空白处: pragma solidity >=0.5.0 <0.7.0;contract HelloGM {function gm()public 纯返回(字符串内存) {返回'你好gm.xyz'; } }7)确保已经注入Web3和您的地址,然后确认部署。然后小狐狸最后,您会收到交易成功的通知。这里建议多点击几次以上为以太坊2.0的测试网,有机会获得免费的NFT! 想了解更多欢迎加入追风社区交流:TG:https://t.me/CryptoDigger88币用:https://0.plus/CryptoDigger88Dis: https://discord.gg/djHttK592U 推特:https://twitter.com/ZF_lab ## Publication Information - [hulei419](https://paragraph.com/@hl419/): Publication homepage - [All Posts](https://paragraph.com/@hl419/): More posts from this publication - [RSS Feed](https://api.paragraph.com/blogs/rss/@hl419): Subscribe to updates - [Twitter](https://twitter.com/hulei419): Follow on Twitter