Skip to content

candidelabs/safe-passkeys-react-example

Repository files navigation

Passkeys Safe Example

This minimalistic example application demonstrates how to use Passkeys as an authentication mechanism for a Safe Account. It leverages the WebAuthn API to interact directly with the user's device credentials. A paymaster is configured to sponsor the user operation gas fees.

Quickstart

Follow these steps to get the example running:

  1. Clone the Repo

    git clone [email protected]/candidelabs/safe-passkeys-react-example.git
  2. Install Dependencies

    cd safe-passkeys-react-example
    npm install
  3. Configure Environment Variables

    cp .env.example .env
    • Default Network: Examples run on Arbitrum Sepolia. Change your .env if you prefer another network.
    • Endpoints: BUNDLER_URL and PAYMASTER_URL use public endpoints. You can get your own dedicated endpoints from Candide Dashboard.
  4. Run the app

    npm run dev

Resources

Safe Passkeys documentation can be found here.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published