💻
ZK3 SDK
  • Installation
  • ZK3 Client
  • useIdentity
  • useLensLogin
  • useLensUser
  • useSetDispatcher
  • usePostToLens
  • useSignBalanceOf
  • useSignProofOfTwitter
Powered by GitBook
On this page

useLensLogin

The SDK implements a convenient way to login a user to Lens and manages the access and refresh tokens for you (the ZK3 backend uses Lens JWTs for some authenticated requests).

import { useLensLogin } from 'zk3-sdk'

const { mutateAsync: login } = useLensLogin()
await login()
PrevioususeIdentityNextuseLensUser

Last updated 1 year ago