2023-07-20 12:50:54 +02:00
2023-07-20 12:50:54 +02:00
2023-07-20 12:50:54 +02:00
2023-07-18 15:36:33 +02:00
2023-07-18 16:39:11 +02:00
2023-07-18 15:36:33 +02:00
2023-07-18 15:36:33 +02:00
2023-07-18 15:36:33 +02:00
2023-07-20 12:50:54 +02:00
2023-07-20 12:50:54 +02:00
2023-07-18 15:36:33 +02:00

signAndSaveAuthMessage example

This is a Next.js example that demonstrates how to use the signAndSaveAuthMessage function from the @lit-protocol/auth-browser package with a Connect Wallet modal like RainbowKit.

Note: This example uses prior versions of RainbowKit and wagmi that are compatible with ethers.

💻 Getting Started

  1. Clone this repo and download dependencies:
git clone git@github.com:LIT-Protocol/sdk-examples.git
cd connect-wallet-authsig
npm install
# or
yarn
# or
pnpm
  1. Add environment variables:
NEXT_PUBLIC_ENABLE_TESTNETS='<true or false>'
NEXT_PUBLIC_WC_PROJECT_ID='<Your WalletConnect project ID>'
  1. Run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev

Open http://localhost:3000 with your browser to see the result.

📚 Resources

Description
No description provided
Readme 4.2 MiB
Languages
TypeScript 52.2%
Svelte 44.9%
JavaScript 1.9%
HTML 1%