wallet-connect-web-examples/dapps/web3modal/react
Glitch 59b98bcd36
Web3Modal + Wagmi v2 Example in Next.js App Router (#419)
* nextjs project

* new structure under Web3Modal

* Add Web3Modal + Wagmi v2 example in React (#422)

* refactor next

* remove logs

* update example

* add custom button

* add custom button

* Update dapps/web3modal/react/package.json

---------

Co-authored-by: Blessing Samuel <samuelblessing125@gmail.com>
2024-01-25 16:35:15 -03:00
..
.codesandbox Web3Modal + Wagmi v2 Example in Next.js App Router (#419) 2024-01-25 16:35:15 -03:00
public Web3Modal + Wagmi v2 Example in Next.js App Router (#419) 2024-01-25 16:35:15 -03:00
src Web3Modal + Wagmi v2 Example in Next.js App Router (#419) 2024-01-25 16:35:15 -03:00
.env.example Web3Modal + Wagmi v2 Example in Next.js App Router (#419) 2024-01-25 16:35:15 -03:00
.eslintrc.cjs Web3Modal + Wagmi v2 Example in Next.js App Router (#419) 2024-01-25 16:35:15 -03:00
.gitignore Web3Modal + Wagmi v2 Example in Next.js App Router (#419) 2024-01-25 16:35:15 -03:00
index.html Web3Modal + Wagmi v2 Example in Next.js App Router (#419) 2024-01-25 16:35:15 -03:00
package.json Web3Modal + Wagmi v2 Example in Next.js App Router (#419) 2024-01-25 16:35:15 -03:00
pnpm-lock.yaml Web3Modal + Wagmi v2 Example in Next.js App Router (#419) 2024-01-25 16:35:15 -03:00
README.md Web3Modal + Wagmi v2 Example in Next.js App Router (#419) 2024-01-25 16:35:15 -03:00
tsconfig.json Web3Modal + Wagmi v2 Example in Next.js App Router (#419) 2024-01-25 16:35:15 -03:00
tsconfig.node.json Web3Modal + Wagmi v2 Example in Next.js App Router (#419) 2024-01-25 16:35:15 -03:00
vite.config.ts Web3Modal + Wagmi v2 Example in Next.js App Router (#419) 2024-01-25 16:35:15 -03:00

Vite + React

This is a Vite project together with React.

Edit in CodeSandbox

Configuration .codesandbox/tasks.json has been added to optimize it for CodeSandbox.

Usage

  1. Go to WalletConnect Cloud and create a new project.
  2. Copy your Project ID
  3. Rename .env.example to .env and paste your Project ID as the value for VITE_PROJECT_ID
  4. Run yarn to install dependencies
  5. Run yarn dev to start the development server

Resources