Skip to content

Token Gating with moralis solana api using the next js framework

Notifications You must be signed in to change notification settings

JohnVersus/solana-nft-gating-auth

Repository files navigation

Info

This is a simple NFT gating application created using the Moralis solana API using the next.js framework.

Getting Started

Setup .env.local

Get the Solana API key from Moralis admin page

Rename the .env.local.example to .env.local and add the required API and NFT secrets.

Install Packages

Run yarn install to install the packages

yarn
or
yarn install

Start local server

Run the development server in port 8000 as the NEXTAUTH_URL in env.local file is set to this port. Can be updated to the required port.

yarn run dev -p 8000

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

Learn More

To learn more about Morlais API, take a look at Moralis Docs.

To get you questions answered reach out to Moralis forum or discord

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

About

Token Gating with moralis solana api using the next js framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published