Skip to content

Commit

Permalink
Merge pull request #202 from tkhq/taylor/wallet-client
Browse files Browse the repository at this point in the history
Adds docs for using the wallet client
  • Loading branch information
taylorjdawson authored Nov 22, 2024
2 parents da10202 + ad3497d commit 5788332
Show file tree
Hide file tree
Showing 3 changed files with 808 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ server-side environment variables e.g. your parent organization's public/private
For more information on Next.js server actions, see the Next.js documentation on
[Server Actions and Mutations](https://nextjs.org/docs/app/building-your-application/data-fetching/server-actions-and-mutations).

```tsx title="app/actions.tsx"
```ts title="app/actions.ts"
"use server";

import { Turnkey } from "@turnkey/sdk-server";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ server-side environment variables e.g. your parent organization's public/private
For more information on Next.js server actions, see the Next.js documentation on
[Server Actions and Mutations](https://nextjs.org/docs/app/building-your-application/data-fetching/server-actions-and-mutations).

```tsx title="app/actions.tsx"
```ts title="app/actions.ts"
"use server";

import { Turnkey } from "@turnkey/sdk-server";
Expand Down Expand Up @@ -195,7 +195,7 @@ method will trigger an email sent to the user containing a credential bundle whi

We export the `initEmailRecovery` server action to be called from the client-side.

```tsx title="app/actions.tsx"
```ts title="app/actions.ts"
// ... previous code

export const initEmailRecovery = async ({
Expand Down
Loading

0 comments on commit 5788332

Please sign in to comment.