Skip to content

Commit

Permalink
Merge pull request #194 from LIT-Protocol/feat/update-mint-relay
Browse files Browse the repository at this point in the history
feat: support new mint and fetch endpoints
  • Loading branch information
sarahzdev authored and Josh Long committed Aug 16, 2023
1 parent b4a9f09 commit fc00d58
Show file tree
Hide file tree
Showing 44 changed files with 5,945 additions and 7,793 deletions.
23 changes: 14 additions & 9 deletions apps/demo-pkp-social-auth-next-ts/README.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,30 @@
# PKP x Google OAuth Web Example 🪢
# lit-auth-client Web Example 🪢

This is an example web app that shows how you can mint and use programmable key pairs (PKPs) with just Google account. With PKPs, you can build distributed and customizable MPC wallets. Learn more about PKPs [here](https://developer.litprotocol.com/pkp/wallets/intro).

Check out the [live demo](https://pkp-social-auth-example.vercel.app/).
This is an example web app that shows how you can mint and use programmable key pairs (PKPs) with social accounts, one-time passwords, and authenticators using the [@lit-protocol/lit-auth-client](https://github.com/LIT-Protocol/js-sdk/tree/master/packages/lit-auth-client) library.

## 💻 Getting Started

1. Clone this repo and install dependencies:

```bash
git clone git@github.com:LIT-Protocol/pkp-social-auth-example.git

cd pkp-social-auth-example
cd apps/demo-pkp-social-auth-next-ts

yarn install
```

2. Start your development server:
1. Add your Stytch project's `project_id` and `public_token` to `.env.local`:

```bash
NEXT_PUBLIC_STYTCH_PROJECT_ID="<Your Stytch Project ID>"
NEXT_PUBLIC_STYTCH_PUBLIC_TOKEN="<Your Stytch Public Token>"
```

If you're not using Stytch, feel free to comment out the Stytch provider `StytchProvider` and Stytch component `StytchOTP`.

3. Start your development server:

```bash
yarn dev
```

3. Visit [http://localhost:3000](http://localhost:3000) to start playing with the app.
4. Visit [http://localhost:3000](http://localhost:3000) to start playing with the app.
Loading

0 comments on commit fc00d58

Please sign in to comment.