Skip to content

reclaimprotocol/zkfetch-vite-example

zkFetch Vite Starter

This is a Vite starter project for using the zkFetch SDK

Getting Started

To get started with this project, follow these steps:

  1. Install dependencies (this will automatically download zk circuits):

    npm install
    
  2. Start the development server:

    npm run dev
    

Pre-requisites

  • An app ID and secret from Reclaim Protocol. You can obtain these from the devtool dashboard.

Environment Variables

Copy the .env.example file to .env and fill in your app ID and secret obtained from devtool

Vite Config

In the vite.config.js file, we've added polyfills for node modules that are not available in the browser.

vite.config.js

Please note that this configuration is necessary to ensure compatibility with the zkFetch SDK

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published