- Foundry
- Windows / WSL
- Node only
- Against the testnet
./demo.sh
http://localhost:5173.Run WSL forwards
./demo.sh inside WSL with Foundry and Node there. Or run anvil --host 0.0.0.0 and the deploy steps inside WSL, then start the frontend from Windows:cd frontend && npm install && npx vite
127.0.0.1:8545 to Windows. Override the RPC with VITE_RPC_URL.cd local-chain && npm install && npm run node
gh run download -R debojyoti10CC/oorka -n contracts-out -D ../ci-out
cd frontend && npm install && node scripts/deploy-local.mjs ../ci-out
npx vite --mode hardhat
cd frontend && npm install && npx vite --mode unichain
Environment variables
| Variable | Default (local) | Testnet |
|---|---|---|
VITE_MODE | local | wallet |
VITE_RPC_URL | http://127.0.0.1:8545 | https://sepolia.unichain.org |
VITE_CHAIN_ID | 31337 | 1301 |
VITE_EXPLORER | – | https://sepolia.uniscan.xyz |
VITE_DEPLOYMENTS | deployments.json | deployments.1301.json |
VITE_DEVNET | anvil | – (hardhat for the Hardhat devnet) |