Skip to content

Using ConnectKit's SIWE with the Next.js v13 App Router

License

Notifications You must be signed in to change notification settings

m1guelpf/nextjs13-connectkit-siwe

Repository files navigation

Next.js v13 (w/ App Router) + TypeScript + ConnectKit Example

This is a simple example of how to implement ConnectKit's Sign In With Ethereum functionality with the new Next.js App Router in TypeScript.

Getting started

Install depencencies

pnpm i

Copy .env.example to .env.local and at a minimum set the walletconnect and session secret vars.

To get a WalletConnect project ID, go to https://cloud.walletconnect.com/sign-in

To generate a random session secret, you can use openssl

openssl rand -base64 32

About

Using ConnectKit's SIWE with the Next.js v13 App Router

Resources

License

Stars

Watchers

Forks

Sponsor this project