Skip to content

BigWhaleLabs/ketl-zk-frontend

Repository files navigation

Frontend to generate ZK proofs for Ketl

Local launch

  1. Install dependencies with yarn
  2. Add .env into your project root with proper variables
  3. Run the server with yarn start

Environment variables

Name Description
VITE_ETH_NETWORK Eth network for your providers and contract (defaults to @bwl/constants)
VITE_ETH_RPC Ethereum node RPC URI (defaults to @bwl/constants)
VITE_KETL_ATTESTATION_CONTRACT_ADDRESS Ketl Attestation contract address, that stores some app data
VITE_DEV_KETL_ATTESTATION_CONTRACT_ADDRESS Ketl Attestation dev contract address, that stores some app data
VITE_KETL_INVITES_BACKEND Link to merkle tree hashes for Ketl

Also, please, consider looking at .env.sample.

Available Scripts

  • yarn build — builds the app for production to the docs folder
  • yarn lint — checks if the code is linted and formatted
  • yarn start — runs the app in the development mode
  • yarn generate-css-types — generates the CSS types for tailwind-css