Skip to content

Example application implementing gated Lens posts, encryption, and decryption

Notifications You must be signed in to change notification settings

1cryptoworld1/lens-gated-publications

 
 

Repository files navigation

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 [email protected]: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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.3%
  • CSS 0.7%