Account Chooser Block

A list of available Lens accounts for the user to choose from, with support for pagination.

A Lens Account chooser component
Open in

Installation

Usage

import { LensPostProvider } from "@/lib/lens-post-context";
import { LensAccountChooser } from "@/components/lens-account-chooser";
import { useSessionClient } from "@lens-protocol/react";
const { data: sessionClient } = useSessionClient();

<LensPostProvider postId="1n8hs1aqb4k53f8vsvc" sessionClient={sessionClient}>
  <LensAccountChooser walletAddress="0xdaA5EBe0d75cD16558baE6145644EDdFcbA1e868" />
</LensPostProvider>