Lens-AL by @artlu.lens
A read-only / gated community, inspired by the Alchemy Road to Web3 Week 10.
- Next.js w/ Apollo GraphQL client
- Lens Protocol via Lens API
- ✅ show NFTs owned by this profile/address pair 🗸
- ✅ show each profile's Following profiles 🗸
- ✅ replace "recommendedProfiles" with "members of R2W3 community" based on Follows 🗸
- ✅ show comments on posts 🗸
- ✅ with little profile icons 🗸
- ✅ dark mode ([src], with TailwindCSS [src]) 🗸
- ✅ navbar at top/bottom of page (e.g., quick links to Lenster) 🗸
- dynamic breadcrumbs
- ✅ Lit Protocol SDK to token-gate access 🔥 🗸
- ✅ for MintKudos Road To Web3 Week3 token holders 🔥+🎉 🗸
- show other (arbitrary) profile attributes set by dApps, such as the list of attributes
- add GDPR-compliant, open-source lite analytics
- Week 10 kick-off tweet by @thatguyintech
- GraphiQL Bin for interactive query building
- for endpoint, use: https://api.lens.dev/
- h/t @gabrieldg.lens (GdG) )
- Lit Protocol
- SDK docs
- JS SDK API docs
- @nader.lens's useful example
- ✅ read from file for global config variables (e.g., initial Follow address, page limits) 🗸
- remove wallet addresses, let the webapp remember/figure out the profileId mapping
- icons for navbar text links, should look roughly like Mozilla Pocket navbar
- Apollo "ensure all objects of type MetadataOutput have an ID"
- recurse-with-limits instead of tree-based navigation. comments-on-comments should appear correctly
- paging of API call results
- replace Lens API call to get NFTs, with Alchemy NFT API call (slightly cleaner, simpler)
This is a Next.js project bootstrapped with create-next-app
. The easiest way to deploy a Next.js app is to use the Vercel Platform from the creators of Next.js. Further details in the Next.js deployment documentation.