Cover photo

完成Base Builder任务获得纪念 NFT

Base Builder Quest,Base 上的第一个链上挑战,现在上线!在 Base 上部署智能合约,即可在 Base 测试网上获得不可转让的纪念 NFT,该 NFT 由Andre Oshea设计,他是一位为那些建设未来的人创作艺术的数字艺术家。

完成任务,成为早期建设者,并获得纪念NFT

过渡到Base主网后,将有资格铸造第二个纪念NFT。

  1. 首先去Goerli的水龙头领水

    https://goerlifaucet.com/

  2. 通过Chainlist添加Base Goerli Testnet

    https://chainlist.org/?search=Base+Goerli&testnets=true

  3. 通过Base官方桥跨到Base Goerli Testnet

    https://bridge.base.org/deposit

  4. 进入Base的任务页面点击Start Quest开始任务

    https://quests.base.org/quest

  5. 点击continue

  6. 打开以太坊智能合约编辑器

    http://remix.ethereum.org/

  7. 右键contacts文件夹并点击new file

post image
  1. 随意创建一个.sol文件并将这段代码复制到文件中

    // SPDX-License-Identifier: GPL-3.0
    
    pragma solidity >=0.7.0 <0.9.0;
    contract HelloWeb3{
        string public _string = "Hello Web3!";
    }
    
post image

选择右边导航的Solidity compiler并点击compile,等待几秒看到绿勾后表示编译完成

post image

按照顺序连接钱包地址并部署合约(注意⚠️,小狐狸此时一定要切换到Base Goerli测试网)

post image

等待几秒钟后合约部署完成,点击下方的copy按钮复制合约地址

post image

回到任务页面填写合约地址并提交验证

post image

最后一步mint NFT

post image

觉得有用的朋友可以给我的推特点个关注,谢谢🙏

https://twitter.com/joeminly