Skip to content

Lightprotocol/example-web-client

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published