Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

Commit

Permalink
chore: update diagrams
Browse files Browse the repository at this point in the history
  • Loading branch information
ElasticBottle committed Dec 13, 2023
1 parent cf14ffb commit 11fcfad
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ const embeddedWallet = new EmbeddedWallet({
const authResult = await embeddedWallet.authenticate({
strategy: "auth_endpoint",
payload: JSON.stringify({ userId:"ANY_RANDOM_ID_HERE" }),
encryptionKey: "ANY_RANDOM_STRING_HERE"=
});

const walletAddress = await embeddedWallet.connect({ authResult });
Expand Down Expand Up @@ -99,7 +100,7 @@ The endpoint in step 3 is what your register as your auth endpoint on the thirdw
Steps 1 and 2 are up to you to implement. You can use any auth strategy you want.

Here's a high level diagram:
![custom auth flow diagram](../assets/custom-auth-flow.png)
![custom auth flow diagram](../assets/ew-custom-auth-flow.png)

1. Create a new directory for your project and navigate to it in your CLI

Expand Down Expand Up @@ -186,4 +187,4 @@ To deploy the server, you can use use services such as [Zeet](https://zeet.co/)

### **Integrate Embedded Wallets**

Refer top the [quickstart above](#5-min-quickstart) to integrate the embedded wallet into your application.
Refer top the [quickstart above](#5-minute-quickstart) to integrate the embedded wallet into your application.

0 comments on commit 11fcfad

Please sign in to comment.