/siwe-next-auth-example

An example of Sign-In with Ethereum and NextAuth.js

Primary LanguageTypeScriptISC LicenseISC

header

Sign-In with Ethereum and NextAuth.js Example

This Sign-In with Ethereum NextAuth.js example is the result of a code-along tutorial to help developers get their hands on a fully functional and easy to understand demo.

A full tutorial on how to set up the example can be found here.

Getting Started

Dependencies

Setting Up Your Environment

Change the name of .env.local.example to .env.local, and fill in the following two values:

NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=somereallysecretsecret

Running the Example

You can use the following commands to run the example:

yarn install
yarn run dev

Live Demo

A live demo of the example can be found here.

License

ISC