Web frontend for Chainora built with Vite, React, TypeScript, TanStack Router, wagmi, and InterwovenKit.
- Node
20 LTS - Yarn
1.22.x - A running
chainora-apiinstance - A reachable Chainora RPC endpoint and deployed contract addresses
Copy .env.contracts.example to .env.local.
Required values for a real local run:
VITE_CHAINORA_API_URLVITE_CHAINORA_REGISTRY_ADDRESSVITE_CHAINORA_FACTORY_ADDRESSVITE_CHAINORA_POOL_IMPLEMENTATION_ADDRESSVITE_CHAINORA_STABLECOIN_ADDRESSVITE_CHAINORA_RPC_URLVITE_CHAINORA_EXPLORER_URLVITE_CHAINORA_CHAIN_IDVITE_CHAINORA_TX_GAS_BUFFER_BPS(recommended, default is12000= +20%)VITE_CHAINORA_RELAY_CONNECT_TIMEOUT_MSVITE_INTERWOVEN_NETWORKVITE_INTERWOVEN_DEFAULT_CHAIN_ID
Username lookup is disabled by default in the example file because the sample Initia HTTP base used previously is not compatible with the current lookup code.
For QR login from a real phone, VITE_CHAINORA_API_URL must point to a LAN-reachable backend host (for example http://192.168.x.x:8080) and must not be localhost/127.0.0.1.
corepack yarn installcorepack yarn devSet VITE_CHAINORA_API_URL explicitly in .env.local before running the app.
corepack yarn typecheck
corepack yarn buildThere is currently no dedicated test runner or linter configured in this repo.