Skip to content

Latest commit

 

History

History

README.md

Web3Auth Next.js Quick Start

This example demonstrates how to integrate Web3Auth into a Next.js application for EVM chains with server-side rendering support.

Prerequisites

Quick Start

1. Clone the repository

git clone https://github.com/Web3Auth/web3auth-examples.git

2. Navigate to the example

cd web3auth-examples/quick-starts/nextjs-quick-start

3. Install dependencies

npm install

4. Configure environment variables

Create a .env.local file and add your Web3Auth Client ID:

NEXT_PUBLIC_WEB3AUTH_CLIENT_ID=your-client-id

5. Run the application

npm run dev

Visit http://localhost:3000 in your browser to see the application running.

📚 Resources

License

MIT