https://github.com/suvraneel/next14-connectkit-boilerplate
https://github.com/suvraneel/next14-connectkit-boilerplate
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/suvraneel/next14-connectkit-boilerplate
- Owner: Suvraneel
- License: mit
- Created: 2024-01-13T17:48:44.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-13T17:49:38.000Z (over 1 year ago)
- Last Synced: 2025-01-06T16:27:26.096Z (9 months ago)
- Language: TypeScript
- Size: 77.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# [Next.js](https://nextjs.org/) v13 (w/ App Router) + [TypeScript](https://www.typescriptlang.org/) + ConnectKit Example
This is a simple example of how to implement ConnectKit's Sign In With Ethereum functionality with the new [Next.js](https://nextjs.org/) App Router in TypeScript.
## Getting started
Install depencencies
```bash
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](https://cloud.walletconnect.com/sign-in)
To generate a random session secret, you can use openssl
```bash
openssl rand -base64 32
```