farque65 / lens-gated-publications

Example application implementing gated Lens posts, encryption, and decryption

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Token Gating app on Lens

This is an example project showing how to implement token gated posts on Lens, and also showing how to decrypt token gated posts on Lens.

Project setup

To run this project follow these steps

  1. Clone the project:
git clone git@github.com:dabit3/lens-token-gating.git
  1. Install the dependencies
npm install

# or yarn, pnpm, etc...
  1. Configure the environment variables.

    Update .example.env.local to .env.local and configure the NEXT_PUBLIC_PROJECT_ID and NEXT_PUBLIC_PROJECT_SECRET with your Infura project information.

    Also optionally configure the NEXT_PUBLIC_ENVIRONMENT with the network you'd like to connect to.

  2. Run the app

npm run dev

About

Example application implementing gated Lens posts, encryption, and decryption


Languages

Language:JavaScript 99.3%Language:CSS 0.7%