Skip to content
Browse documentation

Contracts and network

Use the configured contract addresses and their network context when checking transactions or adding tokens to a wallet.

Deployment reference

The addresses below come from this app's public runtime configuration. They are links to the configured explorer, not a claim that an explorer has verified the source code or that the protocol has been independently audited.

Each market page has a Contracts section with copyable addresses and explorer links. The vault and pre-tokenized stock share one contract address. USDG and the price oracle have separate addresses; the payout token appears after settlement or cancellation.

Network
Robinhood Chain Testnet, chain ID 46630. Gas is paid in ETH.
USDG deposit token
Not configured in this environment.
Market factory
Not configured in this environment.
Signed price oracle
Not configured in this environment.

Precision and identifiers

ValueRepresentation
USDG amountThe mainnet deposit token uses 6 decimals.
Pre-tokenized stock amount18 decimals, with symbol p followed by the ticker.
Oracle priceUSD price scaled by 10^18, stored as priceWad.
Market identifierThe app uses keccak256 of the uppercase ticker's UTF-8 bytes.
Payout amountUses the selected payout token's own decimals, not necessarily 18.

Read and write paths

Server-rendered pages and browser chain reads go through the backend's fixed read-only RPC route. The production backend uses Alchemy. Provider credentials stay on the server and the route cannot broadcast transactions or accept an arbitrary upstream host.

Wallet transactions are signed and submitted through the connected wallet. The wallet's own network configuration is separate from the app's read endpoint. No seed phrase or transaction-signing key is sent to the backend.

Integration reference

GET /api/oracle/quotes returns cached per-ticker availability and signed quotes. It is a price feed, not a transaction endpoint. Consumers must validate the chain, oracle address, signer, epoch, market and expiry before using a quote.

The oracle accepts submitQuote. A market exposes previewBuy, buy, previewClaim and claim. Owner and operator operations are createMarket, setSettlementOperator, cancel and settle on their respective contracts. Never substitute a ticker label for an address check.