Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 930 Bytes

README.md

File metadata and controls

26 lines (17 loc) · 930 Bytes

Polkadot Tokengated Tutorial with next-auth

This is a the demo repo for a tokengated website with polkadot js API and next.js. It allows you to connect your wallet and sign a message. Then the server will check the via the polkadot js api if the signing wallet passes an arbitrary token check.

A tutorial that explains how it works will be published soon on polkadot.study

Run the Project Locally

First copy the .env.local.example to .env.local

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev

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

More

  • The project was funded by the Kusama Treasury in Referendum 102 (within polkadot.study proposal)
  • This is a Next.js project bootstrapped with create-next-app.