# HoodVista MVP

HoodVista is an independent, local-only, read-only research interface for Robinhood Chain. It is not an affiliate, agent, or interface of Robinhood or pons.

## Public research beta

The hosted instance is a public, read-only research beta. It includes visible beta/data-mode status, beta privacy and use notices, an incident-response playbook, and provider-readiness gates. It is not a production financial service and does not offer trading, token sales, wallet connection, custody, payment, token-gated access, vote intake, or advice. See [BETA_RELEASE_CANDIDATE.md](BETA_RELEASE_CANDIDATE.md) for the operating boundaries and remaining hardening work.

## Protected relay architecture

The hosted version now serves the interface from a Worker and routes browser data reads through a narrow same-origin `/api/rpc` relay. The browser never receives a provider credential. The relay accepts only HoodVista's bounded read operations, validates input shape and block ranges, applies a per-isolate rate limit and brief cache, and rejects transaction methods before any upstream call. Until the secret `HOODVISTA_RPC_URL` is deliberately installed, it uses the official public RPC as a zero-cost development fallback. See [PROTECTED_RELAY.md](PROTECTED_RELAY.md) for controls and the deliberate activation procedure.

## Run locally

Requires Node.js 18+.

```powershell
cd C:\Users\anapo\Documents\Codex\2026-10-16\referenced-chatgpt-conversation-this-is-an\outputs\hoodscope
npm.cmd run check
npm.cmd run preview
```

Open `http://127.0.0.1:4173`. The server binds only to loopback. No dependency installation is required.

## What the MVP does

- Uses a same-origin, protected read-only relay when hosted (and a public-RPC development fallback only when the configured provider secret is absent) for ERC-20 metadata, supply, native balances, selected-token balances, pool `slot0`, and a bounded recent `Swap` log query.
- Starts from the pons documentation's reference PONS token and pool, which is an integration-validation reference—not a HoodVista token or recommendation. The asset and pool fields can be replaced with a controlled development/test asset and its canonical pool.
- Includes a deliberately small curated catalogue. Every listed entry declares its source status and canonical pool; an unmatched token name is never treated as an identity match, and a user can still paste a full verified contract address.
- Shows a primary USD estimate by multiplying the current WETH pool price by the latest available on-chain Chainlink ETH/USD oracle reading. The exact oracle response, address, timestamp, and raw ETH price are included in local exports. The short swap chart deliberately remains ETH-denominated: a current oracle reading would not recreate historical USD prices accurately.
- Validates the selected token is a member of the selected pool and that its paired asset is the documented WETH quote token before calculating a price. This MVP rejects non-WETH pairs rather than silently misquoting them.
- Exports a local JSON snapshot with the source, observed block, selected contracts, pair, raw active pool-liquidity value, current USD estimate, raw ETH price, oracle provenance, and bounded swap-query context. The page deliberately does not convert that raw liquidity value into a TVL claim.
- Creates a short research dossier from the verified bounded pool read: sampled movement, sampled range, event density, and data-coverage caveats. These are transparent prompts for further research, never risk ratings or price targets.
- Provides a browser-memory watchlist of verified readings and lets the user download their own JSON record. It has no account, database, synchronization, background monitoring, cookies, or localStorage.
- Provides an expanded browser-memory research workspace: private journal notes, session comparison history, monitor-draft configuration, and bounded research cases. A case records a question or hypothesis alongside non-interpretive snapshot anchors (chain, block, read time, token, pool, quote token, and bounded query context). It is deliberately labelled as an unverified research prompt—not a score, audit, investment conclusion, or recommendation—and is exportable only as part of the user-controlled evidence pack.
- Shows whether a pasted public wallet address has contract bytecode at the latest block, links only to the public explorer, and renders the most recent bounded selected-token transfer events. It still queries only ETH and the selected asset balance; it does not claim to index a wallet's full activity.
- Lets the researcher download their own bounded wallet reading after a successful lookup. The export identifies its source, asset scope, block range and limitations, and is never sent back to HoodVista.
- Offers a narrow wallet read-only view: ETH, the selected token, and bounded selected-token transfers. It intentionally does not represent itself as a complete portfolio indexer.
- Captures same-session, verified pool readings in Signal Replay Lite. It compares readings for the same token/pool only while the page remains open and can export its evidence as JSON. It is not a historical index, alerting service, prediction, or recommendation.
- Includes a Pinax-ready Research Map and a closed same-origin availability route. A prepared Hoststar PHP/MySQL package can index complete ERC-20 `Transfer` coverage from an independently verified deployment block and return only a signed, bounded map snapshot. It renders no holder count or address relationship until that index is separately approved, deployed and reconciled. The browser never receives a Pinax credential, database credential, shared service secret or generic provider endpoint. See [PINAX_INTEGRATION.md](PINAX_INTEGRATION.md).

## Verified integration inputs (16 October 2026)

- Robinhood Chain mainnet: chain ID `4663`, public RPC `https://rpc.mainnet.chain.robinhood.com`, ETH native asset. Robinhood also documents a separate testnet at chain ID `46630`. Source: [Robinhood Chain network documentation](https://docs.robinhood.com/chain/add-network-to-wallet/).
- pons documents a contract-read integration approach: index its `TokenLaunched` / pool `Swap` events, read token metadata on-chain, and query pool state. Its published reference PONS token is `0x39dBED3a2bd333467115dE45665cC57F813C4571`, with pool `0x10CC6BD38112cAc182db90B6a71d8Bb5939526bA`. Source: [pons integration documentation](https://docs.ponsfamily.com/).
- The configured beta provider limits free-tier `eth_getLogs` reads on Robinhood Mainnet to ten blocks. The app deliberately keeps its chart query to that window. This is a data-availability safeguard, not a historical-data guarantee.

## Security and privacy posture

### Threat model

| Concern | MVP control | Remaining limitation |
| --- | --- | --- |
| Accidental trading or token deployment | No write-RPC methods, transaction UI, contract deployment code, or token launch integration exists. | A modified build could change this; inspect hosted code before trusting any future deployment. |
| Secret/key collection | No seed phrase/private-key field, storage, or submission path. Vote signing uses the wallet provider's normal approval UI. | An injected wallet is third-party software; users must inspect its request. |
| RPC tampering/outage | Prominent provenance label, deterministic on-chain reads, failure-visible UI, and a bounded protected provider relay. | Any provider can rate-limit, fail, or return bad data. Cross-check important reads independently. |
| Misleading research indicators | Every dossier metric names its bounded sample and does not use a risk score, a 24-hour label, or a price target. | Short-range event data is not a market-wide or time-normalized signal. |
| Watchlist persistence/telemetry | Watchlist lives only in JavaScript memory and can only be exported by the user as a local JSON file. | Browser-memory records disappear on refresh; downloaded records become the user's responsibility. |
| Research workspace / alert expectation | Notes, history, and monitor drafts stay in memory, and the UI labels every monitor as a non-delivering draft. | No notification, account, collaboration, durable storage, or access-control service exists. |
| Unfounded research claims | Research cases carry a question/hypothesis and immutable snapshot anchors, and explicitly identify themselves as unverified prompts. | HoodVista cannot establish real-world identity, intent, ownership, safety, or investment suitability from an on-chain read. |
| Wallet activity overclaim | Activity queries are explicitly limited to the selected token and the same bounded block span. | It does not account for other tokens, internal transfers, NFTs, bridges, or complete history. |
| Address confusion | Strict 20-byte address validation and visible shortened addresses; no names are treated as identity. | Users must verify full token/pool addresses from authoritative sources. |
| Holder/map overclaim | Holder counts and address-relationship views remain unavailable until complete indexed transfer data passes the gates in [RESEARCH_MAP_READINESS.md](RESEARCH_MAP_READINESS.md). The closed map route contacts only a fixed HMAC-signed Hoststar map service after separate configuration; it never contacts Pinax from the public worker. | Indexers can be stale, incomplete, or incorrectly configured; map results cannot establish real-world identity or control. |
| Future voting / gate claims | Community voting and token-gate prototypes are deliberately hidden from the public beta. | The MVP has no backend, verifier, eligibility snapshot, tally, entitlement, or payment path. |
| Browser injection/XSS | External scripts/styles only, restrictive CSP, no `innerHTML` rendering of RPC fields, loopback preview server. | CSP permits the official RPC endpoint as required for data; browser extensions are outside this app's trust boundary. |
| Privacy | No analytics, cookies, database, or localStorage; wallet addresses and ballot data stay in memory unless a user downloads a ballot. | The protected relay and its provider necessarily process chain-data requests; this beta does not persist them. |

## Before any product expansion or token work

This repository deliberately has no token or launch capability. A future PONS/token decision requires explicit approval and a separate review covering: legal/compliance assessment, jurisdiction and marketing claims, smart-contract design/audit, custody and operational model, data provider reliability, signed-vote backend with signature recovery and nonce storage, privacy notice, accessibility review, abuse/rate-limit controls, and production monitoring/incident response.

No transaction, cost, token launch, sale, or paid provider commitment has been performed.
