# Legal

This is the one canonical text for Proof of Stock: the site at proofofstock.com, its HTTP API, its MCP
server and the `@proofofstock/guard` package. Other pages link here instead of repeating it.

## Not investment advice

Nothing here is investment, financial, legal or tax advice. Nothing here is a trading signal or a recommendation to
buy, sell or hold anything. A premium, a gap, an "issuer-listed" answer or an impostor flag is a fact about data at a
stated time. What you do with it is your decision.

## No affiliation

Proof of Stock is not affiliated with, endorsed by or sponsored by Coinbase or Robinhood. It reads their
public APIs. "Issuer-listed" means the address appears on the issuer's public registry as we last read it. It does
not mean the issuer has verified, approved or reviewed anything here. Coinbase, Robinhood, their product names and the
tickers they use are their trademarks, and the names and tickers of the underlying companies belong to those
companies.

## Holder rights

What a token holder is entitled to is set by the issuer's prospectus and terms, not by the token contract and not by
this project. Read the issuer's documents.

## Data as is

All data is provided as is, with its time and its source, and without warranty of any kind: not of accuracy,
completeness, timeliness or fitness for a purpose. Sources can be wrong, late or unavailable, and so can we. There is
no service level agreement. Every answer carries the time it was produced and the age of each number in it; check
them.

Short-lived private copies of third-party responses (DEX data providers' answers) may be kept for our own error
checking; they are not published, not resold, and not evidence.

## Not a trading service

This is not a trading service, a broker, an exchange or a wallet. Nothing here enables trading: there are no
accounts, no order routing, no custody and no trading tools. `simulate_buy` quotes a swap and runs it as a dry run,
and signs, sends and returns no transaction. That holds for everyone, including US persons. Whether
you may hold or trade a tokenized stock is a matter between you, the issuer and the law that applies to you.

## Data licensing

- Public data on the site, the API and the MCP server is free to read.
- Automated use must respect the published rate limits (see
  [Known limitations](explanation/methodology.md#known-limitations)).
- The code is under the MIT licence. The data the site serves is free to read and to quote with its time and source.

## What we count

The site counts its own visits, with no cookie, no third-party counter and no stored address
(`apps/stocks-analytics.mjs`, `apps/stocks-web/beacon.js`). The fonts are served from this site as well, so a page view
asks no other host for anything. For each visit we keep:

- which page was shown, and for how many seconds it was on screen;
- which passport was open, and the host name of the site that linked here, if any;
- what was done on the page, as a kind from a fixed list: which button under the headline, what kind of search
  (ticker, name, ISIN or address) and whether it found anything, which question was opened, which sections were
  on screen for a second, what was copied, which kind of outside link was followed. Never the text typed, never a
  position on the screen, never a recording;
- the country Cloudflare reports, and whether the requester looks like a browser, a bot or a tool;
- for the MCP server, the method and the tool name, never the arguments.

Some requests are not counted at all, and leave no row: our own, the server's own, and the addresses the host is set to
skip. A visitor is a pseudonym: a hash of the address and the browser string with a random key that is held only in
memory and replaced every day. Nobody, us included, can turn it back into an address, and the same person is a new visitor the
next day. The counts are for us; nothing is sold or shared. A day's file is deleted after 180 days.

## What the web server logs

The counter above is not the only thing that sees a request, and this is the part that is not a pseudonym. Like any
web server, ours keeps a log, and a log line holds the address your browser came from and the whole link that was
asked for. A search in the terminal is part of that link (`/?q=...`), so the words you typed there are in the log, as
is the contract address a passport link names. When a request fails at the server itself, the same line is written to
a second file beside it.

Those two files are this site's own, kept apart from every other log on the machine, and deleted after three days
(`deployment/nginx/proofofstock.xyz.conf`, `deployment/nginx/logrotate-proofofstock`). We read them when something
breaks, and for nothing else: they are not counted, not published, not sold and not shared, and nothing in them
reaches the numbers above.

Three days is a decision for the site's first weeks, to see how it is used. The honest end of it is to stop keeping
the requested link at all, not to make the window longer.

A wallet address is never part of a link we take: the wallet a caller sends to `simulate_buy` (the MCP tool, or
`POST /api/simulate`) travels in the request body, which neither log writes. It is passed to the aggregator and the
node for that one answer, and kept by us nowhere.

## What a paid pass keeps

Only if you buy a pass. The server keeps a ledger of passes and payments on disk, so that a restart neither ends your
pass nor lets someone else reuse your payment: for each payment, the paying wallet and the transaction (both public on
the chain anyway), when the pass ends, and the client it was granted to as a salted hash, never as an address. A
payment's record is deleted a day after it settled, a pass's when it ends. The ledger is read by the payment code
alone, and is not counted, published, sold or shared.

## Who our servers talk to

Our servers send nothing about a visitor to anyone. To do their work they read from, and in three cases write to,
these services; each is named so that a reader can check what leaves our host:

- **the issuers**: Coinbase's tokenized-stocks API and Robinhood's assets and prices APIs, for the lists and the
  reference prices;
- **market data**: DexScreener and GeckoTerminal, for pools and for the symbol search that finds look-alikes;
- **quotes**: when someone asks `simulate_buy`, KyberSwap's route API (and, with a wallet, its swap builder, which is
  sent that wallet address) and the chain's node, for that one answer, and only for a token on the issuer's list;
- **the chains**: public Base and Robinhood Chain nodes, to read pools, contracts and the issuers' factories, and to
  send our daily anchor (one transaction to our own address on each chain) and, when someone buys a paid pass, the
  settlement of the payment they signed;
- **witnesses of the anchor**: independent nodes (publicnode, dRPC, Tenderly) that confirm our anchor transactions,
  so the seal does not rest on the node we sent through;
- **Bitcoin**: the OpenTimestamps calendars, to stamp the day's hash, and mempool.space and blockstream.info, to check
  the block a proof points to;
- **GitHub**: the latest report of the public exam, at most every 30 minutes;
- **Glama**: the score badge of our MCP connector, at most once an hour, so the footer can show it from this site
  instead of your browser asking Glama for it;
- **Telegram**: alerts about our own service, to us; and [@ProofofStockBot](https://t.me/ProofofStockBot), which reads
  the messages sent to it and answers them. It writes no chat and no message to disk: a chat is held in memory only to
  limit how often it is answered.

Cloudflare serves the site. The fonts come from this site too, not from Google Fonts, so a page view tells no font host
who is reading. Nothing else on the page reaches a third party.

## Contact

hello@proofofstock.com

[Not investment advice](#not-investment-advice)
