Feature Flags
The flags that decide what the interface can do.
A disabled flag never removes an interface. It downgrades that interface to an explicit status state, which is why the borrow page is fully designed while borrowing is off.
| Flag | Default | Meaning |
|---|---|---|
| wallet | true | Read-only wallet connection through an injected EIP-1193 provider. |
| swap | true | Swap interface, quoting and settings. Submission is gated by `contracts`. |
| wrap | true | Wrap interface for the liquid token to the claim token, with estimated fee preview. |
| unwrap | true | Unwrap interface for the claim token back to the liquid token. |
| redeem | true | Redemption interface for burning the claim token against reserve assets. |
| borrow | false | Phase II lending module. Interface is visible, inputs are illustrative. |
| liveVault | false | Reads reserve value, holdings and claim value from chain. |
| liveActivity | false | Streams protocol events into the activity terminal. |
| indexer | false | Historical series for charts, revenue and supply accounting. |
| contracts | false | Master switch for on-chain writes. False makes writes impossible. |
Overriding
bash
# Any flag can be overridden per deployment
NEXT_PUBLIC_FLAG_CONTRACTS=true
NEXT_PUBLIC_FLAG_LIVE_VAULT=true
NEXT_PUBLIC_FLAG_INDEXER=true