Scroll zkEVM Guide: From Configuration to Mastering On-Chain Tic-Tac-Toe

robot
Abstract generation in progress

Getting Started with Scroll zkEVM

This article will introduce how to get started with Scroll zkEVM and interact with Ethereum L2 Dapps. The skills introduced here can, in principle, be applied to any other layer two network. To demonstrate, we will use an on-chain tic-tac-toe game running on the Scroll L2 network as an example.

Preparation: Install Wallet

If you haven't installed a cryptocurrency wallet yet, please install one first. Metamask is one of the commonly used options, but you can also choose other similar wallet applications.

ZK Layer 2 Network Scroll Interaction Guide

Step 1: Configure the Test Network

Scroll zkEVM has currently launched its alpha testnet. As a layer two network compatible with EVM, it allows Ethereum smart contracts to be deployed directly. The Scroll L2 alpha testnet is currently connected to the Ethereum Goerli testnet, ensuring finality through batch transaction submissions.

To set up the Scroll L2 network, please visit the official Scroll website and follow the instructions to add the network to your wallet. At the same time, make sure that the Goerli testnet is added to your wallet.

ZK Layer 2 Network Scroll Interaction Guide

Step 2: Obtain Test ETH

After completing the network setup, you need to obtain some Goerli testnet ETH. You can use the following testnet faucets:

  1. Faucet provided by Alchemy: You can receive 0.2 ETH each time, registration and login are required.
  2. PoW Mining Faucet: Earn more ETH by "mining" online.
  3. Paradigm Faucet: Requires Twitter login to receive 0.1 ETH.

You can choose to use one or more faucets to obtain sufficient test ETH.

Step 3: Cross-chain transfer ETH to Scroll L2

After obtaining ETH from the Goerli testnet, the next step is to transfer some ETH to the Scroll L2 testnet. Visit the official Scroll bridging interface and follow the instructions to transfer ETH to your address on the Scroll L2 testnet.

Please note that cross-chain transfers take some time to complete, so be patient and wait for the transfer to finish before proceeding to the next step.

ZK Layer 2 Network Scroll Interaction Guide

Step 4: Experience the On-Chain Tic-Tac-Toe Game

You can now try playing the on-chain Tic Tac Toe game on Scroll L2. Visit the game webpage, connect your wallet, and create a new game. This is a multiplayer game, and you need to add another player's address (which can be a friend's address or another wallet address of yours).

After creating the game, select your game from the game list to start. This game also has an interesting feature: if you make a mistake at any step or don't want to lose the game, you can reset the game at any time.

ZK Layer 2 Network Scroll Interaction Guide

Step Five (Optional): Explore More Scroll L2 Dapps

If you want to try other Dapps and games on Scroll, you can visit the Dapp list page provided by Scroll's official website, where more interesting applications are waiting for you to explore.

By following the steps above, you can start experiencing the charm of the L2 network on Scroll zkEVM. As more developers join, I believe there will be more innovative applications appearing on this platform in the future.

SCR5.45%
View Original
This page may contain third-party content, which is provided for information purposes only (not representations/warranties) and should not be considered as an endorsement of its views by Gate, nor as financial or professional advice. See Disclaimer for details.
  • Reward
  • 4
  • Repost
  • Share
Comment
0/400
LiquidatedTwicevip
· 20h ago
Finally waiting for Scroll.
View OriginalReply0
LayoffMinervip
· 20h ago
The introduction is too clear, right?
View OriginalReply0
LiquidityOraclevip
· 20h ago
The gas fee is quite cheap.
View OriginalReply0
FloorSweepervip
· 20h ago
Worth learning hands-on
View OriginalReply0
Trade Crypto Anywhere Anytime
qrCode
Scan to download Gate app
Community
English
  • 简体中文
  • English
  • Tiếng Việt
  • 繁體中文
  • Español
  • Русский
  • Français (Afrique)
  • Português (Portugal)
  • Bahasa Indonesia
  • 日本語
  • بالعربية
  • Українська
  • Português (Brasil)