Awesome
⚠️ This uses the Lit sdk directly - this is no longer advisable ⚠️
Lens has released their own gating sdk https://docs.lens.xyz/docs/gated which is easier to use and applies the correct metadata standards
Token gated Lens posts
Live Demo:
Getting Started
First, install packages:
npm install
Then, run the development server:
npm run dev
Learn More
To learn more about this stack, take a look at the following resources:
- Lens Protocol
- Lit Protocol Documentation - Token gating, access controls, and encryption
- RainbowKit Documentation - Learn how to customize your wallet connection flow.
- wagmi Documentation - Learn how to interact with Ethereum.
- Next.js Documentation - Learn how to build a Next.js application.
- Alchemy NFT API