Skip to content

0xpass/passport-quickstart

Repository files navigation

Passport-Quickstart

This project is a demonstration of integrating the Passport SDK for user registration, authentication, and message signing within a Next.js application. It showcases how to set up a basic authentication flow using Webauthn with @0xpass/passport and @0xpass/webauthn-signer, along with blockchain interactions via Viem.

Getting Started

To get the project up and running on your local machine, follow these steps:

  1. Clone the repository First, clone the project repository to your local machine using Git:

  2. Install dependencies Navigate to the project directory and install the necessary dependencies using npm, yarn, or pnpm:

  • npm: npm install
  • yarn: yarn install
  • pnpm: pnpm install

This command installs all dependencies required for the project, including the Passport SDK and related libraries.

  1. Run the development server Start the development server to view the project in your web browser:
  • npm: npm run dev
  • yarn: yarn run dev
  • pnpm: pnpm run dev

Open http://localhost:3000 in your browser to see the application.

Editing the Project

You can start editing the project by modifying pages/index.js or any other file in the pages directory. Save your changes, and the page will automatically update to reflect them.

About

Passport Quickstart Guide

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published