Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions docs/pages/sdk/getting-started/tutorial-passkeys.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Open `app/page.tsx`. We will be working on this file for the rest of the tutori
## Create a ZeroDev project

For this tutorial, [create a ZeroDev project](https://dashboard.zerodev.app) for Sepolia.
If doesn't work for Sepolia , try to creating a BaseSepolia Project in the dashboard, is the best option tested.

On `app/page.tsx`, fill out these variables with the URLs found on your dashboard.

Expand All @@ -33,6 +34,12 @@ const PAYMASTER_URL = ""
const PASSKEY_SERVER_URL = ""
```

Add on the top of the NextJs Template:

```ts
import { getUserOperationGasPrice } from "@zerodev/sdk/actions";
```

## Create a smart account using passkeys

Let's hook up the `Register` and `Login` buttons so they actually do something.
Expand Down