Objective
Validate Public and Server Environment Variables as a focused, independently reviewable V2 frontend work item.
Technical Scope
Schema-check chain IDs, RPC/API origins, manifest versions, feature flags, and analytics settings while preventing secret exposure to bundles.
Security and Architecture Requirements
- Wagmi/Viem and confirmed Optimism/EVM receipts remain authoritative for protocol mutations.
- Never fabricate calldata, gas, rewards, transaction hashes, receipts, settlement, or finality.
- Do not introduce Stellar, Soroban, Freighter, mock-wallet, or simulator runtime dependencies.
- Fail closed on unsupported chain, address, ABI, session, allowance, or configuration state.
- Treat all API, wallet, RPC, claim, and evidence content as untrusted input.
Required Tests
- Unit/component tests for loading, empty, success, rejection, error, and recovery states.
- Wallet/integration coverage for transaction-affecting work.
- Accessibility assertions and keyboard testing for changed interactive UI.
- Regression tests proving mocks and placeholders cannot enter the production bundle.
Acceptance Criteria
Dependencies
Non-Goals
- Backend-authoritative protocol mutation.
- Reintroducing legacy wallet/runtime integrations.
- Pure redesign unrelated to the stated workflow.
🏷 Labels
- frontend
- security
- complexity-medium
- wave-candidate
Objective
Validate Public and Server Environment Variables as a focused, independently reviewable V2 frontend work item.
Technical Scope
Schema-check chain IDs, RPC/API origins, manifest versions, feature flags, and analytics settings while preventing secret exposure to bundles.
Security and Architecture Requirements
Required Tests
Acceptance Criteria
Dependencies
Non-Goals
🏷 Labels