Skip to content

MyFirstLayer2 serves as an educational platform geared towards novices eager to explore and engage with Layer2 technologies.

Notifications You must be signed in to change notification settings

lxdao-official/myfirstlayer2-frontend

Repository files navigation

My First Layer2 Frontend

MyFirstLayer2 is an education project for newbies to learn and interact with Layer2. As you can see from the name, our users are beginners curious about the knowledge and projects on Layer2. We will use funny and easy-to-understand diagrams and animation to explain Layer2 to newbies. Buidl in LXDAO.

As it is a public goods, all of the source code are open sourced:

Enjoy!

Start the app

Get the code first:

git clone https://github.com/lxdao-official/myfirstlayer2-frontend.git
cd myfirstlayer2-frontend

Copy .env.sample and rename it to .env and put data in it, then:

yarn install
yarn run dev

Then open http://localhost:3000 start developing.

.env explanation

NEXT_PUBLIC_GOOGLE_ANALYTICS=G-VPF0TRZGBT
NEXT_PUBLIC_CHAIN_ID=450
NEXT_PUBLIC_CONTRACT_ADDRESS=0x1188bd52703cc560a0349d5a80dad3d8c799e103
NEXT_PUBLIC_INFURA_PROJECT_ID=10a6......68e3
NEXT_PUBLIC_NFT_STORAGE_TOKEN=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9......

Code of Conduct

  1. Please use English in this project by default (code comments, git commit message, variable name, etc).
  2. Please install prettier plugin and keep the same code style.
  3. Please have a discussion and confirmation first before introducing some new libraries or packages, keep them as simple as possible.

I18N

Please use English Text by default like the following:

import { useTranslations } from 'next-intl';
 const t = useTranslations('Main');
...
<Typography variant="h6" component="div" gutterBottom>
  {t("Connect Wallet")}
</Typography>
...

What is LXDAO?

LXDAO is an R&D-focused DAO in Web3. Our mission is: To bring together buidlers to buidl and maintain valuable projects for Web3, in a sustainable manner.

Buidl in LXDAO

About

MyFirstLayer2 serves as an educational platform geared towards novices eager to explore and engage with Layer2 technologies.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published