- node.js installed (>=18.17.0)
- typescript installed (developed on v5.3.3)
- yarn
- Web3 Wallet installed in your browser
Fork this repository by:
- Clicking in the arrow aside from the
fork
- Unmark the option
Copy the main branch only
- Click
Create fork
Open the VsCode or other IDE editor, and enter the following command in the cmd:
git clone https://github.com/YourUserName/gap-app-v2.git
Install all package dependencies by running:
yarn install
- Copy the
.env.example
file and paste it in the root directory - Remove the
.example
from the.env.example
file name - Add your API keys in the
.env
file - Creating the keys to fulfill the
.env
file- ALCHEMY_KEY: Follow this tutorial of the Alchemy Docs and fill the following keys:
NEXT_PUBLIC_ALCHEMY_KEY
(use base sepolia for this one),NEXT_PUBLIC_RPC_OPTIMISM
,NEXT_PUBLIC_RPC_ARBITRUM
,NEXT_PUBLIC_RPC_SEPOLIA
andNEXT_PUBLIC_RPC_OPTIMISM_SEPOLIA
- PROJECT_ID: Create your account in this link and follow the instructions to generate a key
- NEXT_PUBLIC_MIXPANEL_KEY: Create your account in this and follow this tutorial
- ALCHEMY_KEY: Follow this tutorial of the Alchemy Docs and fill the following keys:
First, run the development server:
yarn run dev
Open http://localhost:3000 with your browser.