This web app supports the following env vars:
Env var | Description |
---|---|
NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID | The project_id to setup the Walletconnect user wallet |
NEXT_PUBLIC_WHITELISTED_CHAIN_IDS | The whitelisted chain ids to show with walletconnect |
This project is using NPM and Node v16.x
- Create the
.env
file and fill it with values in the.env.example
- Create an account on Walletconnect in order to get the
project id
and assign that value to theNEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID
env variable. - Create the
NEXT_PUBLIC_WHITELISTED_CHAIN_IDS
env variable and set the default network id (ex:80001
for Polygon Mumbai or137
for Polygon Mainnet). If the user doesn't have that network configured or is connected to another unsupported chain, the default chainId will be proposed to the user. You can also specify multiple chain ids separated by a comma (80001,137
), the first will be the default network (which will be proposed to the user first)
This is a T3 Stack project bootstrapped with create-t3-app
.
We try to keep this project as simple as possible, so you can start with just the scaffolding we set up for you, and add additional things later when they become necessary.
If you are not familiar with the different technologies used in this project, please refer to the respective docs. If you still are in the wind, please join our Discord and ask for help.
To learn more about the T3 Stack, take a look at the following resources:
- Documentation
- Learn the T3 Stack — Check out these awesome tutorials
You can check out the create-t3-app GitHub repository — your feedback and contributions are welcome!
Follow our deployment guides for Vercel, Netlify and Docker for more information.