Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 736 Bytes

README.md

File metadata and controls

30 lines (19 loc) · 736 Bytes

Example Web Client

This project demonstrates how to use @lightprotocol/stateless.js in a browser environment to interact with the ZK Compression API.

Running the Example

You need to have the CLI installed to run this example. For installation instructions, see here.

  1. Start a light test-validator using the CLI
light test-validator
  1. Start the app
# NPM
npm install && npm run dev

# Yarn
yarn && yarn dev

# PNPM
pnpm install && pnpm run dev

The app will serve and mount the app at http://localhost:1234 and run the code defined in page.tsx.

The UI will show a react-hydration-error which you can safely ignore.