Hướng dẫn làm Testnet Scroll Network

Scroll là layer 2 blockchain xây dựng dựa trên công nghệ zkEVM Equivalence, một công nghệ ZK-Rollup mới nổi, tương thích hoàn toàn với EVM, được phát triển vào đầu năm 2021.

Scroll đã trải 3 qua vòng gọi vốn và đã huy động được trên 83 triệu USD

Vòng gọi vốn gần nhất (Ngày 6/3/2023), Scroll đã kêu gọi được 50 triệu USD tại mức định giá 1.8 tỷ USD, bao gồm bảy nhà đầu tư: Polychain Capital, Sequoia China, Bain Capital Crypto, Moore Capital Management, Variant Fund, Newman Capital, IOSG Ventures và Qiming Venture Partners

📜 Danh sách công việc:

post image
post image
Tạo file EtherWallet.sol
Tạo file EtherWallet.sol

Dán đoạn code sau vào file mới tạo

//SPDX-License-Identifier: MIT
pragma solidity ^0.7.4;

contract EtherWallet {
    address payable public owner;

    constructor() {
        owner = payable(msg.sender);
    }
    
    receive() external payable {}

    function withdraw(uint _amount) external {
        require(msg.sender == owner, "Only the Owner call this method");
        payable(msg.sender).transfer(_amount);
    }
    
    function getBalance() external view returns (uint) {
        return address(this).balance;
    }

}
post image
post image
post image
post image
Done
Done

Tiếp theo chúng ta cần lấy Role “Mystery role”, thực hiện như sau Vào Guild:

https://guild.xyz/scrollzkp

Join discord:

https://discord.gg/scroll

Follow

https://twitter.com/Scroll_ZKP

Kết nối Metamask, Twitter, Discord. Chọn "Join Guild" và kiểm tra xem Discord có role như hình là đã hoàn thành

post image

Nếu đợi lâu qúa mà Discord chưa cập nhật Role thì hay Exit guild và vào lại nhé

post image

Vậy là chúng ta đã thực hiện xong nhiệm vụ Testnet của Scroll Network.