Cover photo

Linea (zkEVM) Testnetinteractive tutorial

Twitter:@CryptoBrawn;

GameFi enthusiast,NFT player,founder of @GF_GuildGameFi,blockchain financing information,long-time cryptocurrency investor.

Linea Introduction

Linea is a type 2 Ethereum zero-knowledge virtual machine (zkEVM). zkEVM replicates the Ethereum environment as a roll and allows developers to build on it like on the Ethereum mainnet. Linea allows you to deploy any smart contract, use any tool, and develop as if you were building on Ethereum. For users, this allows for the experience and security guarantees of Ethereum, but at lower transaction costs.

Starting with the Ethereum genesis block, ConsenSys was formed to be the strongest decentralization force on the planet. The ConsenSys team believes that thanks to networks like Ethereum, humanity can achieve more. Their teams will manage the Linea project in the same way as other public goods, aiming for full decentralization and a commitment to open development.

Investments:

The project has raised $725 million in investments from tier-1 funds and giants such as Microsoft, SoftBank, Temasek and others.

Thoughts:

Our take on the ConsenSys zkEVM / Linea project is that it's an interesting and innovative layer 2 solution for Ethereum that has received significant funding and has just launched its testnet. We believe that you really don't want to miss testnets like this, and generous rewards may be given to early participants in this project. Overall, we are confident in the potential of ConsenSys zkEVM / Linea and its future success.

How to participate?

**1.Adding the Linea network ** Go to your Metamask wallet, open Settings, then open Networks, click "Add Networks" and enter the testnet data:

post image
  • Click “Save” and you're done.

post image

2.Claiming test tokens

  • Visit faucetlink and use any of the available faucets to claim ETH Goerli.

post image

3.Making transfers with a HOP bridge

post image
  • Enter the amount of ETH, click “Send” and confirm the transaction in your wallet;

post image
  • Done.

post image

4.Swaps

  • Visit Uniswap and connect your wallet;

post image
  • Specify a slippage limit of 50%;

post image
  • Choose a pair of tokens to swap, enter the amount and click “Swap”;

post image
  • Confirm the action by clicking on “Confirm Swap” and confirm the transaction in your wallet;

post image
  • Done.

post image

5.Adding liquidity

post image
  • Converting ,Switch to the “Convert” tab, then click “Click here to Wrap”, enter the amount and click “Wrap”;

post image
  • Then enter the amount of WETH you want to convert to hETH and click “Approve”;

post image
  • Then click “Approve”;

post image
  • Next, click “Convert”;

post image
  • Done.

post image
  • Pool,Switch to the “Pool” tab, choose a pool and click “Add Liquidity”;

post image
  • Enter the amount and click “Preview”;

post image
  • Next, click “Deposit”;

post image
  • Done.

post image

5.Making transfers between accounts

  • You can use your MetaMask to transfer assets between different accounts in the Linea network;

  • Make a couple transfers to different addresses.

6.Deploying a contract

<1>Downloading a file necessary for deploying a contract:

<2>

  • Visit Remix;

  • Click on a hamburger menu in the side-panel on the left;

  • This will open a context menu, choose “Restore”.

post image

<3>

  • Click “Choose File”;

  • Upload the file you downloaded earlier;

  • Click “Import Memecoin”.

post image

<4>When the file is imported successfully:

  • Find a “Satoshi.sol” file;

  • Click on it.

post image

<5>

  • Switch to the “Solidity Compiler” tab;

  • Choose the same Compiler as in the screenshot below;

  • Tick “Auto compile” and “Hide warnings”;

  • Click “Compile satoshi.sol”.

post image

<6>

  • Switch to the “DEPLOY & RUN TRANSACTIONS” tab;

  • In “Environment”, choose Metamask, your wallet should be in the Linea network;

  • Click “Deploy”;

  • Confirm the transaction in your wallet.

post image

<7>

  • In MetaMask, go to the Activity tab;

  • Click on your transaction;

  • Choose “View on block explorer”.

post image
  • Done.

post image

7.Leaving feedback

  • You need to fill in this feedback form.