Skip to content

joshrutkowski/siwe-starter

Repository files navigation

Getting Started

A Next.js starter kit with Sign-in With Ethereum + ethers.js + iron-session

Note: This is a barebones, fairly unopinionated implementation of Sign-in with Ethereum authentication that requires the MetaMask extension. It will not work without it. Additional wallets are not featured; however, you may use Web3Modal or other similar libraries to provide additional features.

First, install the dependencies:

npm i
# or
yarn add

Run the development server:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

API routes

API routes can be accessed on:

The pages/api directory is mapped to /api/*. Files in this directory are treated as API routes instead of React pages.

Learn More

To learn more about Next.js, take a look at the following resources:

To learn more about Sign-in with Ethereum take a look at the following resources:

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

About

Next.js and Sign-In with Ethereum example app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published