Glossary: treetracker-wallet-app

Generated by .github/scripts/build-glossary.mjs from domain-graph.json (source commit 3c14113). Do not edit by hand.

This glossary lists the business terms of treetracker-wallet-app. Each term links to its domain, which says what the domain does, its rules, and its flows. The estate glossary shows which other repos use the same terms.

Terms

Domains

Authentication and Identity

Handles sign-in, registration, session lifetime and the account profile. The web app delegates login and registration to the Keycloak hosted pages (public client with PKCE), mirrors the access token into the shared core tokenAtom and ends sessions across tabs; the NestJS user API proxies password login, user creation and the /me profile to Keycloak. Several parts are not live: the native login, forgot-password and log-out screens make no API call, the web /api/auth/login and /api/auth/signup route handlers have no caller and cannot run under the static export, the core loginAtom and registerAtom are not used by any app, and the web forgot-password RESEND LINK button only logs.

Terms: Keycloak session, Access token, Refresh token, User account, User profile, Service-account token

Rules:

Flows:

Wallet Management

Covers the user's wallets: the home dashboard of token and wallet totals, wallet creation, the wallet profile (display name, about text, logo, cover image, web-map visibility), the token list of a wallet and the provenance of each token (tree photo, transaction history, map link). The user API also listens for wallet-creation events to send a reward token bundle, but that listener has defects that likely stop it from working. The native wallet screens use hard-coded mock wallets and placeholder activity, and native wallet creation only logs.

Terms: Wallet, Token, Token transaction, Tree, Wallet profile, Reward bundle

Rules:

Flows:

Token Transfer

Moves tokens between wallets through the wallet API: a sender starts a transfer of an N-token bundle to a named wallet, the receiver accepts or declines it from notifications or the transfers page, the sender can cancel it while it is pending, and both sides see the transfer history and details. The native send and request screens only collect a recipient and an amount from mock search data and show a snackbar; they make no API call, and the native notifications tab shows hard-coded items.

Terms: Transfer, Token bundle, Pending transfer, Incoming transfer, Transfer state

Rules:

Flows:

Lets a sender give tokens to someone without a known wallet: the web send page issues a signed, expiring action token as a /claim link with a QR code, the transfers page lists and cancels these links, and the public /claim page redeems a link into the recipient's wallet. A signed-out or wallet-less recipient gets the link saved in localStorage, and the protected layout or the first wallet creation redeems it later.

Terms: Action token, Claim link, Share link state, Pending claim

Rules:

Flows:

Search and Discovery

Finds a recipient wallet or user to send tokens to or request tokens from. The native app searches a hard-coded core mockData directory through Jotai search atoms and can read a recipient from a QR code. The web /search page filters a hard-coded wallet list and opens a mock send or request keypad; no web link leads to /search, because the ChooseAction drawer is not used and the default header has no search button.

Terms: Search item, Search category, Recent search, QR payload

Rules:

Flows: