Scroll Alpha Testnet Guide

## What is Scroll?
It is a zkRollup based on zkEVM on Ethereum that provides native compatibility for existing Ethereum applications and tools.

Testnet Stages
1-Bridge
2-Deploy a contract
3-Add liquidity / Swap / Remove liquidity

Before we get started with Testnet, let's complete some preliminary preparations.

## Getting Test Tokens
On the site that I have shared the link below, paste your wallet address in the box that says Send Me Eth and claim 0.1 Eth (goerli test token) by completing the captcha bot verification.
You can repeat this process every 24 hours.
https://goerlifaucet.com
Alternative Faucet 👇👇
https://goerli-faucet.pk910.de

## Add Scroll Alpha Testnet L2 Network to Wallet
Let's go to the site from the link below. Let's click on the "Add to MetaMask" on the right of the Layer2 tab, in the 2nd place under the "Configure MetaMask'' for our testnet" heading, and let's add the network to our wallet automatically by giving the wallet approval.
👇👇
https://scroll.io/alpha

Other wallets, manual network addition details
👇👇
Network name : Scroll Alpha Testnet
New RPC URL: https://alpha-rpc.scroll.io/l2
Chain ID: 534353
Currency Symbol : ETH
Block Explorer URL: https://blockscout.scroll.io

## Test Phases

## 1- Bridge

At this stage, we will use 2 different bridges.
💎Scroll Alpha Testnet Bridge (Goerli-Scroll L2 / Scroll L2- Goerli)
Goerli ➡️ Scroll L2
https://scroll.io/alpha/bridge

💎Orbiter Bridge (Goerli-Scroll L2 / Scroll L2- Goerli)
Scroll L2 ➡️ Goerli
https://rinkeby.orbiter.finance

First, we use https://scroll.io/alpha/bridge for Goerli Eth transfer. Let's connect our wallet and switch to the Goerli network.Let's transfer some Eth to the Scroll Alpha network.For the transfer, enter the amount of Eth you have determined and click the "Send ETH to Scroll Alpha Testnet" button at the bottom. Your transaction will be completed in a few minutes.

After this process is over, let's send some of the Eth amount in the Scroll L2 network back to the Goerli network via https://rinkeby.orbiter.finance Let's log in to the site and connect our wallet from the top right, our wallet is on the Scroll Alpha testnet (L2) network. We make "V2" by clicking the "V1" button in the upper right corner of the screen where we will select the amount of Eth we will send for the bridge and the network. Then we select the Goerli network and enter the minimum amount of Eth. After clicking the "Send" button at the bottom, we complete the transaction by giving the wallet approval.

My advice ; Leave this stage for last, after completing the swap-liquidity transactions.
Note: Try to send a minimum of Eth when you bridge the orbiter to the Scroll Alpha - Goerli network. This bridge bit troublesome :))

## 2-Contract Deploy

This stage is very important. With the contract we will create, we will obtain Busd token and use this token in swap-liquidity transactions. Let's go to the site from the link below.
👇👇
https://remix.ethereum.org

Click on the file tab in the upper left corner. A new file field will be opened at the bottom of the same row. We name the newly opened file and press the Enter
(Keep this page open, we will paste the contract code)

Now, let's log in to the site from the link below and copy the contract code. (Busd contract)
👇👇
https://bscscan.com/token/0xe9e7cea3dedca5984780bafc599bd69add087d56#code
Respectively;
Contract ➡️Code ➡️Contract Source Code (Solidity) ➡️Copy
When you click on the link, just press the copy button at the bottom right.

We go back to our https://remix.ethereum.org page. We paste the contract code that we just copied into the empty space on the right side of the screen. We click the ok button on the pop-up screen that opens.

Click on Solidity Compiler in the 3rd row on the left side of the page. Let's click on the "compile …….sol" button where our file name is written and wait for a few minutes to wait for the file to be created. When a green tick appears on the Solidity Compiler tab, this stage of our process is completed.

We click on Deploy & Run Transactions (line with ETH logo) on the 4th row on the left side of the page. By clicking the Remix VM tab seen at the top, we select the InJected MetaMask tab, our wallet address will appear on the bottom line. By pressing the Deploy button, we give the necessary approval from our metamask wallet in the Scroll Alpha network. and we complete the process. Our contract will be confirmed in a few minutes.

Let's add the Busd token contract address we created to the wallet. To find the contract address, respectively.

Open Metamask ➡️Click 3 dots➡️View Account in Explorer ➡️Click on the busd that appears in the last transaction in Transactions ➡️ Copy the contract address on the page that opens ➡️Open Metamask ➡️Import the tokens that appear at the bottom ➡️Paste the Kontrat address ➡️Approve

## 3- Add liquidity / Swap / Remove liquidity

At this stage, we can use 2 AMMs.

💎https://uniswap-v3.scroll.io

💎https://syncswap.xyz

Uniswap
https://uniswap-v3.scroll.io

Add Liquidity: Let's login to the site. While our wallet is on the Scroll Alpha network, let's connect our wallet from the top right and select the pool from the top left tab. Let's click the +New Position tab and create a new liquidity pool.

On the page that opens, let's click the Choose a Token tab, in the pop-up that opens, let's paste the contract address that we created (Busd contract) into the search bar. When your tokens appear at the bottom, click on it and confirm.

Let's set up the liquidity settings. Let's write the current price of ETH in the Set Starting Price tab on the right. Let's choose the Fee Tier 0.3%. Let's choose the price range of 1,700$ - 2,000 After completing these settings, let's enter the Eth-Busd amounts we want to add and add our liquidity by completing the necessary wallet approvals. Now our liquidity is ready for our swap transactions in the pool.

Swap: Let's click on the swap tab in the top left, perform swap transactions on Eth-Busd / Busd-Eth pairs many times on the page that opens. When entering the amounts you want to swap, do not forget to enter an amount below your liquidity.

Liquidity Remove: Let's select the pool tab from the top left. Click on your liquidity seen on the page that opens. Click on the remove liquidity tab at the top right. Give your wallet approval by specifying the rate. Your liquidity will be removed from the pool at the rate you specify.

Syncswap
https://syncswap.xyz/

Add Liquidity: Let's login to the site. Let's connect our wallet to the Scroll Alpha network from the top right and select the Pool tab from the top left tab. Let's click the +New Position tab at the top right of the page that opens and create a new liquidity pool. Let's click on the place that says Usdc and paste the contract address that we have created (busd contract) into the search bar in the pop-up that opens. When the contract arrives, let's confirm it by clicking the import button.

After this process, let's give the wallet approval by clicking the Create tab. After the approval, let's choose the Enter Pool tab in the same place. On the page that opens, by choosing Deposit Now or the deposit tab on the left, let's enter the amount of Eth and Busd we want. Let's give the wallet confirmations by clicking the Unlock Busd and then the Deposit buttons. Our liquidity is ready for swap.

Swap: Let's click on the Trade tab in the top left, perform swap transactions in the form of Eth-Busd-Usdc / Busd-Usdc-Eth many times on the page that opens. When entering the amounts you want to swap, do not forget to enter an amount below your liquidity.

Liquidity Remove: Click the Pool tab in the upper left corner. Click any of the Pools or Pool Wizard tabs in the Pop-Up that opens. Click on your liquidity pool. Let's click on the Withdraw tab on the left and make the proportional liquidity adjustment. Let's click on the Withdraw liquidity tab that appears at the bottom and give the wallet approval. Our liquidity at the rate we determined has been removed from the pool.

That's it. This testnet is important, it's a project liked and supported by Ethereum founder Vitalik. They also raised serious investment funds.

It is useful to repeat the testnet several times a week. Also, we will create awareness as we deploy contracts.

Thank you very much for reading patiently. I wish you good luck.