Skip to content

zkFold/smart-wallet-ui

Repository files navigation

zkFold Smart Wallet UI

This is a demo UI for the Smart Wallet API library. It illustrates one can use Smart Wallet API to build a Google OAuth-based wallet on Cardano.

🚀 Quick Start

  1. Install dependencies:
npm install
  1. Configure environment variables: Edit .env:
  • VITE_CLIENT_ID: Google OAuth client ID
  • VITE_CLIENT_SECRET: Google OAuth client secret
  • VITE_WEBSITE_URL: Base URL for your website (default: http://localhost:8080)
  • VITE_BACKEND_URL: URL for the zkFold Smart Wallet backend server
  • VITE_BACKEND_API_KEY: an API key to access the Smart Wallet backend server
  • VITE_PROVER_URL: Comma-separated list of prover server URLs. One will be selected at random on each load.
  1. Run the application:
npm run dev

The application runs on http://localhost:8080.

🏗️ Deployment

The application can be deployed to any static hosting service:

  1. Build the application:
npm run build
  1. Deploy the dist/ folder to your static hosting service.

About

Demo UI for the Smart Wallet API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 6

Languages