From Scratch: A Detailed Explanation of Scroll zkEVM Interaction and On-Chain Tic-Tac-Toe Experience

robot
Abstract generation in progress

Getting Started with Scroll zkEVM

This article will introduce beginners to how to interact with L2 Dapps, using Scroll zkEVM as an example. We will demonstrate the entire process using an on-chain tic-tac-toe game running on the Scroll L2 network. These skills are also applicable to other layer two networks.

Preparation: Install Wallet

If you have already installed a wallet (such as Metamask), you can skip this step. Otherwise, please install the appropriate wallet version based on your device.

Step 1: Configure the Test Network

Scroll zkEVM has currently launched its alpha testnet, which is a Layer 2 network compatible with the Ethereum Virtual Machine (EVM). It is connected to the Ethereum Goerli testnet, which means the Scroll L2 network will send batched transactions to the Goerli L1 network for final confirmation.

To set up the Scroll L2 network, please visit the official Scroll website and follow the instructions to add the network to your wallet. Also, make sure that the Goerli test network has been added to your wallet.

ZK Layer 2 Network Scroll Interaction Guide

Step 2: Obtain Test Coins

After setting up the network, you need to obtain some Goerli test ETH. There are multiple faucets available, each with different features and limitations. You can choose one or more faucets based on your needs to obtain enough test ETH.

ZK Layer 2 Network Scroll Interaction Guide

Step 3: Cross-chain transfer ETH to Scroll L2

After obtaining Goerli test ETH, the next step is to transfer some ETH to the Scroll L2 testnet. Visit the cross-chain bridge interface of Scroll and follow the on-screen instructions to transfer ETH to your address on the Scroll L2 testnet. Please note that this process may take some time to complete.

ZK Layer 2 Network Scroll Interaction Guide

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

Once your ETH is successfully transferred to Scroll L2, you can start experiencing the on-chain tic-tac-toe game. Visit the game webpage and connect your wallet. This is a multiplayer game, and you need to add another player's address; you can also use your other wallet address as an opponent.

After creating a new 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 do not 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 Dapps on Scroll L2

If you want to try more decentralized applications and games on Scroll, you can check out the Dapps list provided by Scroll's official site to experience more innovative applications on L2 networks.

By following the above steps, you can successfully start using Scroll zkEVM and interact with L2 Dapps. This will not only help you understand how second-layer networks operate but also allow you to personally experience the innovative applications brought by blockchain technology.

SCR-2.98%
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
  • 7
  • Share
Comment
0/400
Token_Sherpavip
· 5h ago
ah another day, another l2 normie guide... when will ppl realize sustainable tokenomics > fancy tech demos smh
Reply0
ImpermanentTherapistvip
· 07-31 13:27
Playing tic-tac-toe also requires a Testnet, there really is no one like that.
View OriginalReply0
FloorSweepervip
· 07-31 05:53
meh... just another L2 for paper hands to get rekt on tbh
Reply0
MetaverseVagrantvip
· 07-31 05:52
Are they messing around with new stuff on Scroll again? How many coins did I miss after a nap?
View OriginalReply0
OptionWhisperervip
· 07-31 05:50
A basic tutorial should have been written long ago.
View OriginalReply0
AirdropHarvestervip
· 07-31 05:48
It's just the Testnet. When will the Mainnet be?
View OriginalReply0
PensionDestroyervip
· 07-31 05:33
Playing a game is so complicated, I don't get it.
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)