Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

Add traded logs fixture for testing Robinhood feed

fudjia8cb33df2e53a
diff --git a/api/_lib/robinhood.js b/api/_lib/robinhood.js
new file mode 100644
index 000000000..8025482b4
--- /dev/null
+++ b/api/_lib/robinhood.js
@@ -0,0 +1,427 @@
+// Shared Robinhood Chain data layer for the three.ws /api/v1/robinhood/* endpoints.
+//
+// Robinhood Chain is a permissionless Arbitrum Orbit L2 (chain ID 4663, ETH
+// gas, ~100ms blocks, mainnet live 2026-07-01). It hosts ~95 tokenized Stock
+// Tokens — plain ERC-20s with one Chainlink price feed each — plus a memecoin
+// ecosystem (NOXA, The Odyssey launchpads). No third-party aggregator offers a
+// clean market-data view of it: GeckoTerminal doesn't index the chain, RWA.xyz
+// is enterprise-paid, CoinGecko has no equity semantics. This module is the
+// missing layer.
+//
+// Every read is real:
+// • Chainlink NAV prices — on-chain multicall (latestRoundData + uiMultiplier)
+// • DEX price / premium / volume — DexScreener (chainId "robinhood")
+// • holders / token stats / gas — Blockscout Pro API
+// • chain TVL — DefiLlama (/chain/robinhood-chain)
+// • memecoin screener — CoinGecko categories + DexScreener
+// • launchpad activity — on-chain eth_getLogs (NOXA / Odyssey factories)
+//
+// Failover: public RPC → Alchemy (when ROBINHOOD_ALCHEMY_KEY is set). All
+// upstreams are wrapped in short-TTL caches so the board never fans out 95 RPC
+// calls per request (the Chainlink snapshot is one multicall behind a 20s TTL).
+
+import { readFileSync } from 'node:fs';
+import path from 'node:path';
+import { createPublicClient, http } from 'viem';
+import { cacheWrap } from './cache.js';
+
+// ── Chain definitions (viem 2.52 predates the official robinhood chain defs) ──
+// The installed viem is 2.52.x, whose `viem/chains` does not yet export
+// `robinhood`/`robinhoodTestnet` (those land in 2.55+). Until the app bumps
+// viem we define the chains inline — the same plain-object shape src/vault.js
+// uses for chains viem doesn't ship. Facts verified live on 2026-07-12:
+// eth_chainId → 0x1237 (4663), avg block ~101ms, Multicall3 at the canonical
+// deterministic address.
+const MULTICALL3 = '0xca11bde05977b3631167028862be2a173976ca11';
+
+export const HOOD_MAINNET = {
+ id: 4663,
+ name: 'Robinhood Chain',
+ nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 },
+ rpcUrls: { default: { http: ['https://rpc.mainnet.chain.robinhood.com'] } },
+ blockExplorers: {
+ default: { name: 'Blockscout', url: 'https://robinhoodchain.blockscout.com' },
+ },
+ contracts: { multicall3: { address: MULTICALL3 } },
+ testnet: false,
+};
+
+export const HOOD_TESTNET = {
+ id: 46630,
+ name: 'Robinhood Chain Testnet',
+ nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 },
+ rpcUrls: { default: { http: ['https://rpc.testnet.chain.robinhood.com'] } },
+ blockExplorers: {
+ default: { name: 'Blockscout', url: 'https://explorer.testnet.chain.robinhood.com' },
+ },
+ contracts: { multicall3: { address: MULTICALL3 } },
+ testnet: true,
+};
+
+export const BLOCKSCOUT_BASE = 'https://robinhoodchain.blockscout.com';
+export const USDG_ADDRESS = '0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168';
+export const FEED_DECIMALS = 8;
+export const STOCK_TOKEN_DECIMALS = 18;
+
+// Resolve the best RPC URL: Alchemy when a key is present (recommended paid
+// RPC), else the public sequencer RPC. Same env-at-module-load contract every
+// other provider on the platform uses.
+function rpcUrl(testnet) {
+ const key = process.env.ROBINHOOD_ALCHEMY_KEY;
+ if (key) {
+ return testnet
+ ? `https://robinhood-testnet.g.alchemy.com/v2/${key}`
+ : `https://robinhood-mainnet.g.alchemy.com/v2/${key}`;
+ }
+ return (testnet ? HOOD_TESTNET : HOOD_MAINNET).rpcUrls.default.http[0];
+}
+
+let _clients = { mainnet: null, testnet: null };
+
+/** Cached viem public client for chain 4663 (or 46630 when testnet). */
+export function publicClient(testnet = false) {
+ const slot = testnet ? 'testnet' : 'mainnet';
+ if (_clients[slot]) return _clients[slot];
+ const chain = testnet ? HOOD_TESTNET : HOOD_MAINNET;
+ _clients[slot] = createPublicClient({
+ chain,
+ transport: http(rpcUrl(testnet), { batch: true, timeout: 12_000 }),
+ batch: { multicall: { wait: 16 } },
+ });
+ return _clients[slot];
+}
+
+// ── Stock Token registry ──────────────────────────────────────────────────
+// The 95-token registry generated on-chain during the Wave-1 SDK build (shared
+// beacon slot + per-token symbol/name/decimals/uiMultiplier multicall + feed
+// latestRoundData). Loaded once at module init.
+let _registry = null;
+export function stockRegistry() {
+ if (_registry) return _registry;
+ const file = path.join(process.cwd(), 'data', 'robinhood-stock-tokens.json');
+ _registry = JSON.parse(readFileSync(file, 'utf8'));
+ return _registry;
+}
+
+/** Look up one Stock Token by ticker symbol (case-insensitive). */
+export function findStock(symbol) {
+ const want = String(symbol || '').trim().toUpperCase();
+ if (!want) return null;
+ return stockRegistry().tokens.find((t) => t.symbol.toUpperCase() === want) || null;
+}
+
+// ── Chainlink feed reads ───────────────────────────────────────────────────
+const AGGREGATOR_ABI = [
+ {
+ type: 'function',
+ name: 'latestRoundData',
+ stateMutability: 'view',
+ inputs: [],
+ outputs: [
+ { name: 'roundId', type: 'uint80' },
+ { name: 'answer', type: 'int256' },
+ { name: 'startedAt', type: 'uint256' },
+ { name: 'updatedAt', type: 'uint256' },
+ { name: 'answeredInRound', type: 'uint80' },
+ ],
+ },
+];
+
+const ERC8056_ABI = [
+ { type: 'function', name: 'uiMultiplier', stateMutability: 'view', inputs: [], outputs: [{ type: 'uint256' }] },
+ { type: 'function', name: 'totalSupply', stateMutability: 'view', inputs: [], outputs: [{ type: 'uint256' }] },
+];
+
+/**
+ * One multicall over every feed-backed Stock Token → { [address]: { answer,
+ * updatedAt, uiMultiplier, totalSupply } }. Chainlink answers on Robinhood
+ * Chain are 8-decimal and ALREADY multiplier-adjusted — never re-apply
+ * uiMultiplier to a feed price (it's returned only for raw-balance math).
+ * Cached 20s so the stocks board is one round-trip, not ~130 eth_calls.
+ */
+export async function chainlinkSnapshot() {
+ return cacheWrap('rh:chainlink:snapshot:v1', 20, async () => {
+ const client = publicClient(false);
+ const reg = stockRegistry();
+ const feedTokens = reg.tokens.filter((t) => t.feed);
+
+ const priceCalls = feedTokens.map((t) => ({
+ address: t.feed,
+ abi: AGGREGATOR_ABI,
+ functionName: 'latestRoundData',
+ }));
+ const multiplierCalls = feedTokens.map((t) => ({
+ address: t.address,
+ abi: ERC8056_ABI,
+ functionName: 'uiMultiplier',
+ }));
+ const supplyCalls = feedTokens.map((t) => ({
+ address: t.address,
+ abi: ERC8056_ABI,
+ functionName: 'totalSupply',
+ }));
+
+ const results = await client.multicall({
+ contracts: [...priceCalls, ...multiplierCalls, ...supplyCalls],
+ allowFailure: true,
+ });
+
+ const n = feedTokens.length;
+ const out = {};
+ for (let i = 0; i < n; i++) {
+ const price = results[i];
+ const mult = results[n + i];
+ const supply = results[2 * n + i];
+ const t = feedTokens[i];
+ const answer = price?.status === 'success' ? price.result[1] : null;
+ const updatedAt = price?.status === 'success' ? price.result[3] : null;
+ out[t.address.toLowerCase()] = {
+ symbol: t.symbol,
+ priceUsd: answer != null ? Number(answer) / 10 ** FEED_DECIMALS : null,
+ updatedAt: updatedAt != null ? Number(updatedAt) : null,
+ uiMultiplier: mult?.status === 'success' ? mult.result.toString() : null,
+ totalSupply: supply?.status === 'success' ? supply.result.toString() : null,
+ };
+ }
+ return out;
+ });
+}
+
+// ── DexScreener (chainId "robinhood") ──────────────────────────────────────
+async function fetchJson(url, ttl, key, { headers } = {}) {
+ return cacheWrap(key, ttl, async () => {
+ const ctrl = new AbortController();
+ const timer = setTimeout(() => ctrl.abort(), 12_000);
+ try {
+ const res = await fetch(url, { signal: ctrl.signal, headers: { accept: 'application/json', ...headers } });
+ if (!res.ok) return { __error: `upstream ${res.status}` };
+ return await res.json();
+ } catch (err) {
+ return { __error: err?.name === 'AbortError' ? 'upstream timeout' : String(err?.message || err) };
+ } finally {
+ clearTimeout(timer);
+ }
+ });
+}
+
+/** DexScreener pairs for a token address, robinhood-chain only, deepest first. */
+export async function dexPairsForToken(address) {
+ const addr = String(address || '').toLowerCase();
+ if (!/^0x[0-9a-f]{40}$/.test(addr)) return [];
+ const data = await fetchJson(
+ `https://api.dexscreener.com/latest/dex/tokens/${addr}`,
+ 30,
+ `rh:dex:token:${addr}`,
+ );
+ const pairs = Array.isArray(data?.pairs) ? data.pairs : [];
+ return pairs
+ .filter((p) => p.chainId === 'robinhood')
+ .sort((a, b) => (b.liquidity?.usd || 0) - (a.liquidity?.usd || 0));
+}
+
+/** Deepest-liquidity DEX pair for a token (the reference DEX mid price). */
+export async function bestDexPair(address) {
+ const pairs = await dexPairsForToken(address);
+ return pairs[0] || null;
+}
+
+/** DexScreener search restricted to robinhood-chain pairs. */
+export async function dexSearch(query) {
+ const q = String(query || '').trim();
+ if (!q) return [];
+ const data = await fetchJson(
+ `https://api.dexscreener.com/latest/dex/search?q=${encodeURIComponent(q)}`,
+ 30,
+ `rh:dex:search:${q.toLowerCase()}`,
+ );
+ const pairs = Array.isArray(data?.pairs) ? data.pairs : [];
+ return pairs.filter((p) => p.chainId === 'robinhood');
+}
+
+// ── Blockscout Pro API ─────────────────────────────────────────────────────
+export async function blockscoutStats() {
+ return fetchJson(`${BLOCKSCOUT_BASE}/api/v2/stats`, 15, 'rh:bs:stats');
+}
+
+export async function blockscoutToken(address) {
+ const addr = String(address || '').toLowerCase();
+ if (!/^0x[0-9a-f]{40}$/.test(addr)) return null;
+ const data = await fetchJson(`${BLOCKSCOUT_BASE}/api/v2/tokens/${addr}`, 30, `rh:bs:token:${addr}`);
+ return data && !data.__error ? data : null;
+}
+
+export async function blockscoutHolders(address, limit = 25) {
+ const addr = String(address || '').toLowerCase();
+ if (!/^0x[0-9a-f]{40}$/.test(addr)) return [];
+ const data = await fetchJson(
+ `${BLOCKSCOUT_BASE}/api/v2/tokens/${addr}/holders`,
+ 30,
+ `rh:bs:holders:${addr}`,
+ );
+ const items = Array.isArray(data?.items) ? data.items : [];
+ return items.slice(0, limit).map((h) => ({
+ address: h.address?.hash || null,
+ isContract: Boolean(h.address?.is_contract),
+ name: h.address?.name || null,
+ value: h.value || null,
+ }));
+}
+
+export async function blockscoutTransfers(address, limit = 25) {
+ const addr = String(address || '').toLowerCase();
+ if (!/^0x[0-9a-f]{40}$/.test(addr)) return [];
+ const data = await fetchJson(
+ `${BLOCKSCOUT_BASE}/api/v2/tokens/${addr}/transfers`,
+ 20,
+ `rh:bs:transfers:${addr}`,
+ );
+ const items = Array.isArray(data?.items) ? data.items : [];
+ return items.slice(0, limit).map((t) => ({
+ hash: t.transaction_hash || t.tx_hash || null,
+ from: t.from?.hash || null,
+ to: t.to?.hash || null,
+ value: t.total?.value || t.value || null,
+ decimals: t.total?.decimals || null,
+ timestamp: t.timestamp || null,
+ }));
+}
+
+// ── DefiLlama chain TVL ────────────────────────────────────────────────────
+export async function chainTvlHistory() {
+ const data = await fetchJson(
+ 'https://api.llama.fi/v2/historicalChainTvl/robinhood-chain',
+ 120,
+ 'rh:llama:tvl:hist',
+ );
+ if (!Array.isArray(data)) return [];
+ return data.slice(-90).map((p) => ({ date: p.date, tvl: p.tvl }));
+}
+
+export async function chainTvlCurrent() {
+ const data = await fetchJson('https://api.llama.fi/v2/chains', 120, 'rh:llama:chains');
+ if (!Array.isArray(data)) return null;
+ const row = data.find((c) => /robinhood/i.test(c.name || '') || c.chainId === 4663);
+ return row ? row.tvl : null;
+}
+
+// ── CoinGecko memecoin categories ──────────────────────────────────────────
+const CG_BASE = 'https://api.coingecko.com/api/v3';
+function cgHeaders() {
+ const key = process.env.COINGECKO_API_KEY;
+ return key ? { 'x-cg-pro-api-key': key } : {};
+}
+
+/** Ranked memecoins in a Robinhood-chain CoinGecko category. */
+export async function coingeckoCategory(category, { order = 'market_cap_desc', perPage = 100 } = {}) {
+ const cat = /^[a-z0-9-]+$/.test(category) ? category : 'robinhood-chain-meme';
+ const url = `${CG_BASE}/coins/markets?vs_currency=usd&category=${cat}&order=${order}&per_page=${Math.min(250, perPage)}&page=1&sparkline=true&price_change_percentage=24h,7d`;
+ const data = await fetchJson(url, 60, `rh:cg:cat:${cat}:${order}:${perPage}`, { headers: cgHeaders() });
+ if (!Array.isArray(data)) return [];
+ return data;
+}
+
+// ── Launchpad activity (on-chain eth_getLogs) ──────────────────────────────
+// Addresses + event ABIs extracted and confirmed against live logs during the
+// Wave-1 SDK build (neither launchpad verifies source on Blockscout).
+export const NOXA_FACTORY = '0xD9eC2db5f3D1b236843925949fe5bd8a3836FCcB';
+export const ODYSSEY_FACTORIES = [
+ '0xEb3FeeD2716cF0eEAda05B22e67424794e1f5a80', // bonding-curve
+ '0x6Ce85c4b7cE12903E5867652C265bCcce57f935F', // reflection
+ '0xD7601cEe401306fdea5833c6898181D9c770F800', // instant
+];
+
+const NOXA_TOKEN_LAUNCHED = {
+ type: 'event',
+ name: 'TokenLaunched',
+ inputs: [
+ { name: 'token', type: 'address', indexed: true },
+ { name: 'deployer', type: 'address', indexed: true },
+ { name: 'dexFactory', type: 'address', indexed: true },
+ { name: 'pairToken', type: 'address', indexed: false },
+ { name: 'pool', type: 'address', indexed: false },
+ { name: 'dexId', type: 'uint256', indexed: false },
+ { name: 'launchConfigId', type: 'uint256', indexed: false },
+ { name: 'positionId', type: 'uint256', indexed: false },
+ { name: 'restrictionsEndBlock', type: 'uint256', indexed: false },
+ { name: 'initialBuyAmount', type: 'uint256', indexed: false },
+ ],
+};
+
+const ODYSSEY_TOKEN_CREATED = {
+ type: 'event',
+ name: 'TokenCreated',
+ inputs: [
+ { name: 'token', type: 'address', indexed: true },
+ { name: 'creator', type: 'address', indexed: true },
+ { name: 'backingWallet', type: 'address', indexed: false },
+ { name: 'isMarginBacked', type: 'bool', indexed: false },
+ { name: 'threshold', type: 'uint256', indexed: false },
+ ],
+};
+
+/**
+ * Recent launchpad launches from NOXA + The Odyssey factories over the last
+ * ~lookback blocks (default ~100k ≈ recent activity at 100ms blocks). Cached
+ * 45s. Returns newest first with the launchpad, token, and deployer.
+ */
+export async function recentLaunches({ lookbackBlocks = 100_000, limit = 40 } = {}) {
+ return cacheWrap(`rh:launches:${lookbackBlocks}:${limit}`, 45, async () => {
+ const client = publicClient(false);
+ const head = await client.getBlockNumber();
+ const fromBlock = head > BigInt(lookbackBlocks) ? head - BigInt(lookbackBlocks) : 0n;
+
+ const jobs = [
+ client
+ .getLogs({ address: NOXA_FACTORY, event: NOXA_TOKEN_LAUNCHED, fromBlock, toBlock: head })
+ .then((logs) =>
+ logs.map((l) => ({
+ launchpad: 'NOXA',
+ type: 'instant',
+ token: l.args?.token || null,
+ deployer: l.args?.deployer || null,
+ pool: l.args?.pool || null,
+ block: Number(l.blockNumber),
+ txHash: l.transactionHash,
+ })),
+ )
+ .catch(() => []),
+ ...ODYSSEY_FACTORIES.map((addr) =>
+ client
+ .getLogs({ address: addr, event: ODYSSEY_TOKEN_CREATED, fromBlock, toBlock: head })
+ .then((logs) =>
+ logs.map((l) => ({
+ launchpad: 'The Odyssey',
+ type: 'bonding-curve',
+ token: l.args?.token || null,
+ deployer: l.args?.creator || null,
+ pool: null,
+ block: Number(l.blockNumber),
+ txHash: l.transactionHash,
+ })),
+ )
+ .catch(() => []),
+ ),
+ ];
+
+ const all = (await Promise.all(jobs)).flat();
+ all.sort((a, b) => b.block - a.block);
+ return all.slice(0, limit);
+ });
+}
+
+// ── Shared derivations ─────────────────────────────────────────────────────
+/**
+ * Premium/discount of a DEX mid price vs the Chainlink NAV, as a signed
+ * percentage (positive = DEX trades above NAV). Both inputs already USD.
+ */
+export function premiumPct(dexUsd, navUsd) {
+ const d = Number(dexUsd);
+ const n = Number(navUsd);
+ if (!Number.isFinite(d) || !Number.isFinite(n) || n <= 0) return null;
+ return ((d - n) / n) * 100;
+}
+
+/** ISO timestamp for the `asOf` field every response carries. */
+export function asOf() {
+ return new Date().toISOString();
+}
diff --git a/api/_lib/robinhood/abis.js b/api/_lib/robinhood/abis.js
new file mode 100644
index 000000000..96888b4b0
--- /dev/null
+++ b/api/_lib/robinhood/abis.js
@@ -0,0 +1,124 @@
+// Minimal ABIs for Robinhood Chain reads. Each was read from a verified
+// contract on Blockscout during the Wave-1 SDK build; this is the subset the
+// market-data handlers actually call (reads only — the write/swap ABIs the
+// purchase flow needs live client-side in src/robinhood/wallet.js).
+
+export const erc20Abi = [
+ { type: 'function', name: 'name', stateMutability: 'view', inputs: [], outputs: [{ type: 'string' }] },
+ { type: 'function', name: 'symbol', stateMutability: 'view', inputs: [], outputs: [{ type: 'string' }] },
+ { type: 'function', name: 'decimals', stateMutability: 'view', inputs: [], outputs: [{ type: 'uint8' }] },
+ { type: 'function', name: 'totalSupply', stateMutability: 'view', inputs: [], outputs: [{ type: 'uint256' }] },
+ {
+ type: 'function',
+ name: 'balanceOf',
+ stateMutability: 'view',
+ inputs: [{ name: 'account', type: 'address' }],
+ outputs: [{ type: 'uint256' }],
+ },
+];
+
+// Stock Token = ERC-20 + ERC-8056 corporate-action surface (the two reads
+// trackers get wrong: uiMultiplier for share-equivalents, and the pause flags).
+export const stockTokenAbi = [
+ ...erc20Abi,
+ { type: 'function', name: 'uiMultiplier', stateMutability: 'view', inputs: [], outputs: [{ type: 'uint256' }] },
+ { type: 'function', name: 'newUIMultiplier', stateMutability: 'view', inputs: [], outputs: [{ type: 'uint256' }] },
+ { type: 'function', name: 'effectiveAt', stateMutability: 'view', inputs: [], outputs: [{ type: 'uint256' }] },
+ { type: 'function', name: 'tokenPaused', stateMutability: 'view', inputs: [], outputs: [{ type: 'bool' }] },
+ { type: 'function', name: 'oraclePaused', stateMutability: 'view', inputs: [], outputs: [{ type: 'bool' }] },
+];
+
+export const aggregatorV3Abi = [
+ { type: 'function', name: 'decimals', stateMutability: 'view', inputs: [], outputs: [{ type: 'uint8' }] },
+ { type: 'function', name: 'description', stateMutability: 'view', inputs: [], outputs: [{ type: 'string' }] },
+ {
+ type: 'function',
+ name: 'latestRoundData',
+ stateMutability: 'view',
+ inputs: [],
+ outputs: [
+ { name: 'roundId', type: 'uint80' },
+ { name: 'answer', type: 'int256' },
+ { name: 'startedAt', type: 'uint256' },
+ { name: 'updatedAt', type: 'uint256' },
+ { name: 'answeredInRound', type: 'uint80' },
+ ],
+ },
+];
+
+export const uniswapV3FactoryAbi = [
+ {
+ type: 'function',
+ name: 'getPool',
+ stateMutability: 'view',
+ inputs: [
+ { name: 'tokenA', type: 'address' },
+ { name: 'tokenB', type: 'address' },
+ { name: 'fee', type: 'uint24' },
+ ],
+ outputs: [{ type: 'address' }],
+ },
+];
+
+export const uniswapV3PoolAbi = [
+ { type: 'function', name: 'token0', stateMutability: 'view', inputs: [], outputs: [{ type: 'address' }] },
+ { type: 'function', name: 'token1', stateMutability: 'view', inputs: [], outputs: [{ type: 'address' }] },
+ { type: 'function', name: 'liquidity', stateMutability: 'view', inputs: [], outputs: [{ type: 'uint128' }] },
+ {
+ type: 'function',
+ name: 'slot0',
+ stateMutability: 'view',
+ inputs: [],
+ outputs: [
+ { name: 'sqrtPriceX96', type: 'uint160' },
+ { name: 'tick', type: 'int24' },
+ { name: 'observationIndex', type: 'uint16' },
+ { name: 'observationCardinality', type: 'uint16' },
+ { name: 'observationCardinalityNext', type: 'uint16' },
+ { name: 'feeProtocol', type: 'uint8' },
+ { name: 'unlocked', type: 'bool' },
+ ],
+ },
+];
+
+// Odyssey bonding-curve launch/trade events (mainnet). NOXA lists instantly so
+// its launch event carries the pool directly.
+export const noxaTokenLaunchedEvent = {
+ type: 'event',
+ name: 'TokenLaunched',
+ inputs: [
+ { name: 'token', type: 'address', indexed: true },
+ { name: 'deployer', type: 'address', indexed: true },
+ { name: 'dexFactory', type: 'address', indexed: true },
+ { name: 'pairToken', type: 'address', indexed: false },
+ { name: 'pool', type: 'address', indexed: false },
+ { name: 'dexId', type: 'uint256', indexed: false },
+ { name: 'launchConfigId', type: 'uint256', indexed: false },
+ { name: 'positionId', type: 'uint256', indexed: false },
+ { name: 'restrictionsEndBlock', type: 'uint256', indexed: false },
+ { name: 'initialBuyAmount', type: 'uint256', indexed: false },
+ ],
+};
+export const odysseyTokenCreatedEvent = {
+ type: 'event',
+ name: 'TokenCreated',
+ inputs: [
+ { name: 'token', type: 'address', indexed: true },
+ { name: 'creator', type: 'address', indexed: true },
+ { name: 'backingWallet', type: 'address', indexed: false },
+ { name: 'isMarginBacked', type: 'bool', indexed: false },
+ { name: 'threshold', type: 'uint256', indexed: false },
+ ],
+};
+export const odysseyPoolMigratedEvent = {
+ type: 'event',
+ name: 'PoolMigrated',
+ inputs: [
+ { name: 'token', type: 'address', indexed: true },
+ { name: 'pool', type: 'address', indexed: false },
+ { name: 'tokenId', type: 'uint256', indexed: false },
+ { name: 'liquidity', type: 'uint128', indexed: false },
+ { name: 'tokenUsed', type: 'uint256', indexed: false },
+ { name: 'usdcUsed', type: 'uint256', indexed: false },
+ ],
+};
diff --git a/api/_lib/robinhood/addresses.js b/api/_lib/robinhood/addresses.js
new file mode 100644
index 000000000..3b31199cc
--- /dev/null
+++ b/api/_lib/robinhood/addresses.js
@@ -0,0 +1,64 @@
+// Canonical Robinhood Chain contract addresses + protocol constants.
+//
+// Every address here was verified on-chain during the Wave-1 SDK build
+// (robinhood/robinhood-chain-sdk/src/addresses.ts) and cross-checked against
+// https://docs.robinhood.com/chain/contracts and Blockscout. This module is
+// the app-side mirror of that verified set — kept in sync by hand rather than
+// importing the sibling TS repo (which the serverless bundle can't resolve).
+
+export const MAINNET = {
+ usdg: '0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168',
+ weth: '0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73',
+ uniswapV3Factory: '0x1f7d7550B1b028f7571E69A784071F0205FD2EfA',
+ quoterV2: '0x33e885eD0Ec9bF04EcfB19341582aADCb4c8A9E7',
+ swapRouter02: '0xCaf681a66D020601342297493863E78C959E5cb2',
+ universalRouter: '0x53BF6B0684Ec7eF91e1387Da3D1a1769bC5A6F77',
+ nonfungiblePositionManager: '0x73991a25C818Bf1f1128dEAaB1492D45638DE0D3',
+ multicall3: '0xca11bde05977b3631167028862be2a173976ca11',
+};
+
+export const TESTNET = {
+ usdg: '0x7E955252E15c84f5768B83c41a71F9eba181802F',
+ weth: '0x7943e237c7F95DA44E0301572D358911207852Fa',
+ uniswapV3Factory: '0x0BFbCF9fa4f9C56B0F40a671Ad40E0805A091865',
+ quoterV2: '0xcf05Fc31A6B693DD0bEB76e958ae4BCD490dc985',
+ swapRouter: '0x1b81D678ffb9C0263b24A97847620C99d213eB14',
+ nonfungiblePositionManager: '0x46A15B0b27311cedF172AB29E4f4766fbE7F4364',
+ multicall3: '0xca11bde05977b3631167028862be2a173976ca11',
+};
+
+// Faucet-dripped test Stock Tokens on testnet 46630 (plain ERC-20s, 18 dec).
+export const TESTNET_STOCK_TOKENS = {
+ TSLA: '0xC9f9c86933092BbbfFF3CCb4b105A4A94bf3Bd4E',
+ AMZN: '0x5884aD2f920c162CFBbACc88C9C51AA75eC09E02',
+ PLTR: '0x1FBE1a0e43594b3455993B5dE5Fd0A7A266298d0',
+ NFLX: '0x3b8262A63d25f0477c4DDE23F83cfe22Cb768C93',
+ AMD: '0x71178BAc73cBeb415514eB542a8995b82669778d',
+};
+
+// Memecoin launchpad factories (mainnet 4663) — from the Wave-1 SDK's
+// launchpads.ts, extracted from each platform's frontend bundle and confirmed
+// against live logs. Neither publishes verified source on Blockscout.
+export const NOXA = {
+ launchFactory: '0xD9eC2db5f3D1b236843925949fe5bd8a3836FCcB',
+ deployBlock: 61688n,
+};
+export const ODYSSEY = {
+ bondingCurveFactory: '0xEb3FeeD2716cF0eEAda05B22e67424794e1f5a80',
+ reflectionFactory: '0x6Ce85c4b7cE12903E5867652C265bCcce57f935F',
+ instantFactory: '0xD7601cEe401306fdea5833c6898181D9c770F800',
+};
+export const ODYSSEY_FACTORIES = [
+ ODYSSEY.bondingCurveFactory,
+ ODYSSEY.reflectionFactory,
+ ODYSSEY.instantFactory,
+];
+
+export function addressesFor(network = 'mainnet') {
+ return network === 'testnet' ? TESTNET : MAINNET;
+}
+
+export const USDG_DECIMALS = 6;
+export const STOCK_TOKEN_DECIMALS = 18;
+export const FEED_DECIMALS = 8;
+export const V3_FEE_TIERS = [100, 500, 3000, 10000];
diff --git a/api/_lib/robinhood/chain.js b/api/_lib/robinhood/chain.js
new file mode 100644
index 000000000..de16f7868
--- /dev/null
+++ b/api/_lib/robinhood/chain.js
@@ -0,0 +1,94 @@
+// Robinhood Chain — viem chain definitions + read-only public clients.
+//
+// Robinhood Chain is a permissionless Arbitrum Orbit L2 that settles to
+// Ethereum (ETH gas, ~100ms blocks). The three.ws app pins viem ^2.52, which
+// predates viem's official `robinhood` / `robinhoodTestnet` chain exports
+// (added in 2.55), so we define the chains here with `defineChain` from the
+// SAME verified constants the Wave-1 SDK uses (RPC / explorer / multicall3).
+// When the app's viem is bumped to ≥2.55 these can be swapped for the official
+// exports without touching any handler.
+//
+// RPC: the public sequencer RPC works for reads out of the box. Set
+// ROBINHOOD_RPC_URL (e.g. an Alchemy `robinhood-mainnet.g.alchemy.com/v2/…`
+// endpoint) to route through a reliable paid node; ROBINHOOD_TESTNET_RPC_URL
+// overrides the testnet RPC. Both fall back to the public endpoints.
+
+import { createPublicClient, defineChain, http, fallback } from 'viem';
+
+// ── verified endpoints (prompts/robinhood-chain/_shared.md, cross-checked
+// against the SDK's addresses.ts and live on 2026-07-12) ─────────────────────
+export const MAINNET_RPC = 'https://rpc.mainnet.chain.robinhood.com';
+export const TESTNET_RPC = 'https://rpc.testnet.chain.robinhood.com';
+export const MAINNET_EXPLORER = 'https://robinhoodchain.blockscout.com';
+export const TESTNET_EXPLORER = 'https://explorer.testnet.chain.robinhood.com';
+export const MULTICALL3 = '0xca11bde05977b3631167028862be2a173976ca11';
+
+const MAINNET_RPC_URL = process.env.ROBINHOOD_RPC_URL || MAINNET_RPC;
+const TESTNET_RPC_URL = process.env.ROBINHOOD_TESTNET_RPC_URL || TESTNET_RPC;
+
+export const robinhood = defineChain({
+ id: 4663,
+ name: 'Robinhood Chain',
+ nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 },
+ rpcUrls: {
+ default: { http: [MAINNET_RPC_URL], webSocket: ['wss://feed.mainnet.chain.robinhood.com'] },
+ },
+ blockExplorers: {
+ default: { name: 'Blockscout', url: MAINNET_EXPLORER, apiUrl: `${MAINNET_EXPLORER}/api` },
+ },
+ contracts: { multicall3: { address: MULTICALL3 } },
+});
+
+export const robinhoodTestnet = defineChain({
+ id: 46630,
+ name: 'Robinhood Chain Testnet',
+ testnet: true,
+ nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 },
+ rpcUrls: { default: { http: [TESTNET_RPC_URL] } },
+ blockExplorers: {
+ default: { name: 'Blockscout', url: TESTNET_EXPLORER, apiUrl: `${TESTNET_EXPLORER}/api` },
+ },
+ contracts: { multicall3: { address: MULTICALL3 } },
+});
+
+// One public client per network, created lazily and memoised. Multicall
+// batching is on so a 95-token fan-out collapses to one eth_call. When a
+// custom RPC is configured we still keep the public sequencer RPC as a
+// fallback transport so a paid-node blip degrades to public reads rather than
+// erroring the whole handler.
+const clients = new Map();
+
+function transportFor(network) {
+ const primary = network === 'testnet' ? TESTNET_RPC_URL : MAINNET_RPC_URL;
+ const publicRpc = network === 'testnet' ? TESTNET_RPC : MAINNET_RPC;
+ const opts = { timeout: 12_000, retryCount: 2 };
+ if (primary === publicRpc) return http(primary, opts);
+ // Configured node first, public sequencer RPC as the failover leg.
+ return fallback([http(primary, opts), http(publicRpc, opts)]);
+}
+
+export function hoodClient(network = 'mainnet') {
+ const key = network === 'testnet' ? 'testnet' : 'mainnet';
+ if (clients.has(key)) return clients.get(key);
+ const client = createPublicClient({
+ chain: key === 'testnet' ? robinhoodTestnet : robinhood,
+ transport: transportFor(key),
+ batch: { multicall: { wait: 16, batchSize: 1024 } },
+ });
+ clients.set(key, client);
+ return client;
+}
+
+export function explorerFor(network = 'mainnet') {
+ return network === 'testnet' ? TESTNET_EXPLORER : MAINNET_EXPLORER;
+}
+
+/** Blockscout links for an address / tx on the given network. */
+export function explorerLinks(network = 'mainnet') {
+ const base = explorerFor(network);
+ return {
+ address: (a) => `${base}/address/${a}`,
+ token: (a) => `${base}/token/${a}`,
+ tx: (h) => `${base}/tx/${h}`,
+ };
+}
diff --git a/api/_lib/robinhood/registry.js b/api/_lib/robinhood/registry.js
new file mode 100644
index 000000000..dc3955e70
--- /dev/null
+++ b/api/_lib/robinhood/registry.js
@@ -0,0 +1,75 @@
+// Robinhood Chain Stock Token registry accessor.
+//
+// The registry (stock-tokens.json) is the verified snapshot produced by the
+// Wave-1 SDK build: 95 canonical Stock Tokens (ERC-20, 18 decimals) discovered
+// via Blockscout's "• Robinhood Token" name pattern, each cross-checked
+// on-chain (shared beacon slot, symbol/decimals/uiMultiplier multicall) and 34
+// of them mapped to a live Chainlink price feed. It ships with the app so the
+// stocks board never has to re-discover tokens on the hot path.
+//
+// JSON import assertion syntax varies across Node versions; read + parse the
+// file once at module load (works on every runtime the app targets).
+
+import { readFileSync } from 'node:fs';
+import { fileURLToPath } from 'node:url';
+import { dirname, join } from 'node:path';
+
+const HERE = dirname(fileURLToPath(import.meta.url));
+
+let _registry = null;
+function load() {
+ if (_registry) return _registry;
+ const raw = JSON.parse(readFileSync(join(HERE, 'stock-tokens.json'), 'utf8'));
+ const tokens = Array.isArray(raw.tokens) ? raw.tokens : [];
+ const bySymbol = new Map();
+ const byAddress = new Map();
+ for (const t of tokens) {
+ bySymbol.set(t.symbol.toUpperCase(), t);
+ byAddress.set(t.address.toLowerCase(), t);
+ }
+ _registry = {
+ chainId: raw.chainId,
+ generatedAtBlock: raw.generatedAtBlock,
+ stockBeacon: raw.stockBeacon,
+ tokenCount: raw.tokenCount,
+ feedCount: raw.feedCount,
+ tokens,
+ bySymbol,
+ byAddress,
+ };
+ return _registry;
+}
+
+/** All 95 canonical Stock Tokens (registry order = alphabetical by symbol). */
+export function listStockTokens() {
+ return load().tokens;
+}
+
+/** Look up one Stock Token by symbol (case-insensitive), or null. */
+export function getStockToken(symbol) {
+ if (!symbol) return null;
+ return load().bySymbol.get(String(symbol).toUpperCase()) || null;
+}
+
+/** Look up one Stock Token by contract address (case-insensitive), or null. */
+export function getStockTokenByAddress(address) {
+ if (!address) return null;
+ return load().byAddress.get(String(address).toLowerCase()) || null;
+}
+
+/** True when `address` is a canonical Stock Token (used to gate acquisition). */
+export function isStockTokenAddress(address) {
+ return Boolean(getStockTokenByAddress(address));
+}
+
+/** Registry metadata (counts, beacon, generation block). */
+export function registryMeta() {
+ const r = load();
+ return {
+ chainId: r.chainId,
+ generatedAtBlock: r.generatedAtBlock,
+ stockBeacon: r.stockBeacon,
+ tokenCount: r.tokenCount,
+ feedCount: r.feedCount,
+ };
+}
diff --git a/api/_lib/robinhood/stock-tokens.json b/api/_lib/robinhood/stock-tokens.json
new file mode 100644
index 000000000..80dee6c98
--- /dev/null
+++ b/api/_lib/robinhood/stock-tokens.json
@@ -0,0 +1,938 @@
+{
+ "$schema": "./stock-tokens.schema.json",
+ "chainId": 4663,
+ "generatedAtBlock": 7690522,
+ "sources": {
+ "discovery": "https://robinhoodchain.blockscout.com/api/v2/tokens?q=Robinhood Token (canonical name pattern \"<Name> • Robinhood Token\")",
+ "feeds": "https://reference-data-directory.vercel.app/feeds-robinhood-mainnet.json",
+ "verification": "on-chain via public RPC: shared beacon slot, symbol/name/decimals/uiMultiplier multicall, feed latestRoundData"
+ },
+ "stockBeacon": "0xe10b6f6B275de231345c20D14Ab812db62151b00",
+ "tokenCount": 95,
+ "feedCount": 34,
+ "tokens": [
+ {
+ "address": "0x521Cf887E6531c6F667b5BC4D896E5d9bfE8EB2E",
+ "symbol": "AAOI",
+ "name": "Applied Optoelectronics • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0xaF3D76f1834A1d425780943C99Ea8A608f8a93f9",
+ "symbol": "AAPL",
+ "name": "Apple • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0x6B22A786bAa607d76728168703a39Ea9C99f2cD0",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "31550000000",
+ "feedUpdatedAtGeneration": 1783710274
+ },
+ {
+ "address": "0x36046893810a7E7fCE501229d57dc3FC8c8716d0",
+ "symbol": "AMAT",
+ "name": "Applied Materials • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x86923f96303D656E4aa86D9d42D1e57ad2023fdC",
+ "symbol": "AMD",
+ "name": "AMD • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0x943A29E7ae51A4798823ca9eEd2ed533B2A22C72",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "55821015000",
+ "feedUpdatedAtGeneration": 1783713346
+ },
+ {
+ "address": "0x12f190a9F9d7D37a250758b26824B97CE941bF54",
+ "symbol": "AMZN",
+ "name": "Amazon • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0xD5a1508ceD74c084eBf3cBe853e2C968fB2a651C",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "24556770000",
+ "feedUpdatedAtGeneration": 1783692103
+ },
+ {
+ "address": "0xb8DBf92F9741c9ac1c32115E78581f23509916FD",
+ "symbol": "APLD",
+ "name": "Applied Digital • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x47F93d52cBeC7C6D2CfC080e154002370a60dAEA",
+ "symbol": "ASML",
+ "name": "ASML Holding NV • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0xB4106147E8cce40b7d46124090d373A71b70f87D",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "179758755000",
+ "feedUpdatedAtGeneration": 1783710661
+ },
+ {
+ "address": "0x1AF6446f07eb1d97c546AFC8c9544cBDF3AD5137",
+ "symbol": "ASTS",
+ "name": "AST SpaceMobile • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x156E175DD063a8cE274C50654eF40e0032b3fbcF",
+ "symbol": "AVGO",
+ "name": "Broadcom • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x4D21483a44Bf67a86b77E3dA301411880797D452",
+ "symbol": "BA",
+ "name": "Boeing • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0xad25Ac6C84D497db898fa1E8387bf6Af3532a1c4",
+ "symbol": "BABA",
+ "name": "Alibaba • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0x62Cc8F9b5f56a33c9C8A60c8B92779f523c4E984",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "11219500000",
+ "feedUpdatedAtGeneration": 1783707523
+ },
+ {
+ "address": "0x822CC93fFD030293E9842c30BBD678F530701867",
+ "symbol": "BE",
+ "name": "Bloom Energy • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x5c90450Bbb4273D7b2f17CF6917AEB237A569679",
+ "symbol": "CBRS",
+ "name": "Cerebras Systems • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x9651342CeA770aE9a2969Ba2A52611523146aef9",
+ "symbol": "CCL",
+ "name": "Carnival Corporation • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x8cF07C5A878945185d327aAa6e33FAa95F95e7bF",
+ "symbol": "CELH",
+ "name": "Celsius • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0xcBB95BBF36099d34dA091dc6Fa6F49EfA257Cee3",
+ "symbol": "CLSK",
+ "name": "CleanSpark • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0x810c12D3a554Bc47fd39597Fe3b3AAC4941F50eF",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "1286499999",
+ "feedUpdatedAtGeneration": 1783713313
+ },
+ {
+ "address": "0x6330D8C3178a418788dF01a47479c0ce7CCF450b",
+ "symbol": "COIN",
+ "name": "Coinbase • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0xA3a468A452940B7D6b69991207B508c609a98Ef2",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "15943135000",
+ "feedUpdatedAtGeneration": 1783703473
+ },
+ {
+ "address": "0x4EA005168D7F09a7A0Ba9D1DEf21a479950E44C2",
+ "symbol": "COST",
+ "name": "Costco • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0xdF0992E440dD0be65BD8439b609d6D4366bf1CB5",
+ "symbol": "CRCL",
+ "name": "Circle Internet Group • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0x6652eDf64bA3731C4F2D3ce821A0Fb1f1f6b482a",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "6634635000",
+ "feedUpdatedAtGeneration": 1783717360
+ },
+ {
+ "address": "0x5f10A1C971B69e47e059e1dC91901B59b3fB49C3",
+ "symbol": "CRWV",
+ "name": "CoreWeave • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0xe1b3aABCAFAd1c94708dc1367dcfF8Aa4407487C",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "8883970000",
+ "feedUpdatedAtGeneration": 1783711393
+ },
+ {
+ "address": "0x27c99fBde9D0d2AA4f4Bfb4943f237843DdF6958",
+ "symbol": "DDOG",
+ "name": "Datadog • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x941AE714EC6D8130c7B75d67160Ca08f1e7d11Dd",
+ "symbol": "DELL",
+ "name": "Dell • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x39EC44Bee4F6A116c6F9B8De566848a985C53C60",
+ "symbol": "ELF",
+ "name": "e.l.f. Beauty • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x7f0aBeF0C07280F82c6a08ead09dEd6BAE2C13Fc",
+ "symbol": "EWY",
+ "name": "iShares MSCI South Korea fund • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0xEFdf54610B62A7753Ec30bDc380847c12D32e1D1",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "18377499999",
+ "feedUpdatedAtGeneration": 1783705547
+ },
+ {
+ "address": "0x25C288E6D899b9BC30160965aD9644c67e73bE0C",
+ "symbol": "F",
+ "name": "Ford Motor • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x282e87451E10fA6679BC7D76C69BE44cD3fC777C",
+ "symbol": "FLNC",
+ "name": "Fluence Energy • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0xeB30663bDFf0622Ef4e4E5cBb4E975F19f33f51D",
+ "symbol": "FUTU",
+ "name": "Futu Holdings • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x7c04E6A3368F2A1DE3874f0e80d2e0A1a9915da6",
+ "symbol": "GLW",
+ "name": "Corning • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x1b0E319c6A659F002271B69dB8A7df2F911c153E",
+ "symbol": "GME",
+ "name": "GameStop • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0x27C71df6A64fB476468EdF256CF72c038baB5B67",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "2176125000",
+ "feedUpdatedAtGeneration": 1783694006
+ },
+ {
+ "address": "0x2e0847E8910a9732eB3fb1bb4b70a580ADAD4FE3",
+ "symbol": "GOOGL",
+ "name": "Alphabet Class A • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0xF6f373a037c30F0e5010d854385cA89185AE638b",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "35672000000",
+ "feedUpdatedAtGeneration": 1783711606
+ },
+ {
+ "address": "0xf1953DAB6FaD537488d5A022361FfAa8B4c95eC6",
+ "symbol": "INOD",
+ "name": "Innodata • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0xc72b96e0E48ecd4DC75E1e45396e26300BC39681",
+ "symbol": "INTC",
+ "name": "Intel • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0x3f390C5C24628Ac7C489515402235FeAD71D1913",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "10965095000",
+ "feedUpdatedAtGeneration": 1783712771
+ },
+ {
+ "address": "0x56d23beE5f41A7120170b0c603Dae30128e460e9",
+ "symbol": "INTU",
+ "name": "Intuit • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x558378E000D634A36593E338eBacdd6207640EfE",
+ "symbol": "IONQ",
+ "name": "IonQ • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0x22EfeC4919baf55F360E0EDee4AbEB26DE4971eb",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "4308000000",
+ "feedUpdatedAtGeneration": 1783711226
+ },
+ {
+ "address": "0xF0AB0c93bE6F41369d302e55db1A96b3c430212D",
+ "symbol": "IREN",
+ "name": "IREN Limited • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x8eF20885F94e3D9bc7eB3080279188Bd5ED7c08C",
+ "symbol": "LITE",
+ "name": "Lumentum • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x8005d266423c7ea827372c9c864491e5786600ea",
+ "symbol": "LLY",
+ "name": "Eli Lilly • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x4e62068525Ab11FE768e29dfD00ef909B9803016",
+ "symbol": "LULU",
+ "name": "Lululemon • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0xa5D4968421bA94814Be3B136b15cf422101aC1a3",
+ "symbol": "LUNR",
+ "name": "Intuitive Machines • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0xDdf2266b79abf0B48898959B0ed6E6adf512be74",
+ "symbol": "MDB",
+ "name": "MongoDB • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0xc0D6457C16Cc70d6790Dd43521C899C87ce02f35",
+ "symbol": "META",
+ "name": "Meta Platforms • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0x7C38C00C30BEe9378381E7B6135d7283356D71b1",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "67067485000",
+ "feedUpdatedAtGeneration": 1783713401
+ },
+ {
+ "address": "0x62fd0668e10D8B72339BE2DCF7643001688ff13B",
+ "symbol": "MRVL",
+ "name": "Marvell Technology • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0xe93237C50D904957Cf27E7B1133b510C669c2e74",
+ "symbol": "MSFT",
+ "name": "Microsoft • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0x45C3C877C15E6BA2EBB19eA114Ea508d14C1Af2E",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "38469000000",
+ "feedUpdatedAtGeneration": 1783697881
+ },
+ {
+ "address": "0xec262a75e413fAfD0dF80480274532C79D42da09",
+ "symbol": "MSTR",
+ "name": "Strategy Inc. • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0x396118bdFB181e6240E74D243F266B061c0edc3D",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "9469500000",
+ "feedUpdatedAtGeneration": 1783712395
+ },
+ {
+ "address": "0xfF080c8ce2E5feadaCa0Da81314Ae59D232d4afD",
+ "symbol": "MU",
+ "name": "Micron Technology • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0x425EEFdCf05ed6526C3cE61Af99429A228a6d596",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "97854340000",
+ "feedUpdatedAtGeneration": 1783713684
+ },
+ {
+ "address": "0x48961813349333209994750ffA89b3c5C22eC969",
+ "symbol": "MXL",
+ "name": "MaxLinear • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x9D9c6684F596F66a64C030B93A886D51Fd4D7931",
+ "symbol": "NBIS",
+ "name": "Nebius Group • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0xE1D87B116Ba0fe898998f1D140339D1fA1E09705",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "21923750000",
+ "feedUpdatedAtGeneration": 1783713491
+ },
+ {
+ "address": "0xE0444EF8BF4eD74f74FD73686e2ddF4C1c5591E8",
+ "symbol": "NFLX",
+ "name": "Netflix • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0xBEF75684C43c4ea7BD18Dd532a2244674Ee8b926",
+ "symbol": "NNE",
+ "name": "Nano Nuclear Energy • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x0C3260aF4B8f13a69c4c2dFb84fD667890CDFa14",
+ "symbol": "NOW",
+ "name": "ServiceNow • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x408c14038a04f7bD235329E26d2bf569ee20e250",
+ "symbol": "NU",
+ "name": "Nu • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0xd0601CE157Db5bdC3162BbaC2a2C8aF5320D9EEC",
+ "symbol": "NVDA",
+ "name": "NVIDIA • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0x379EC4f7C378F34a1B47E4F3cbeBCbAC3E8E9F15",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "21019000000",
+ "feedUpdatedAtGeneration": 1783700623
+ },
+ {
+ "address": "0xbE6702d7b70315376dC48a3293f24f0982F86386",
+ "symbol": "NVTS",
+ "name": "Navitas Semiconductor • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0xb0992820E760d836549ba69BC7598b4af75dEE03",
+ "symbol": "ORCL",
+ "name": "Oracle • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0x0e6a64a2B58A6693a531E6c555f3A5d042eEA844",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "14108370000",
+ "feedUpdatedAtGeneration": 1783709137
+ },
+ {
+ "address": "0x1Cdad396DB64BDa184d5182A97Dd9B3C62100b7D",
+ "symbol": "P",
+ "name": "Everpure • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x9b23573b156B52565012F5cE02CDF60AFBaa70Be",
+ "symbol": "PENG",
+ "name": "Penguin Solutions • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x894E1EC2D74FFE5AEF8Dc8A9e84686acCB964F2A",
+ "symbol": "PLTR",
+ "name": "Palantir Technologies • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0x820ABedFF239034956B7A9d2F0a331f9F075eB4c",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "12656140000",
+ "feedUpdatedAtGeneration": 1783714557
+ },
+ {
+ "address": "0xcf6B2D875361be807EAfa57458c80f28521F9333",
+ "symbol": "POET",
+ "name": "POET Technologies • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x4189F0c66EBBB0bfeF1C31f763131361EF32f77C",
+ "symbol": "PR",
+ "name": "Permian Resources • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0xC583c60aeF9Dc401Da72cEC1B404743a93cea1Cc",
+ "symbol": "QBTS",
+ "name": "D-Wave Quantum • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x0f17206447090e464C277571124dD2688E48AEA9",
+ "symbol": "QCOM",
+ "name": "Qualcomm • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0xD5f3879160bc7c32ebb4dC785F8a4F505888de68",
+ "symbol": "QQQ",
+ "name": "Invesco QQQ • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0x80901d846d5D7B030F26B480776EE3b29374C2ae",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "72545060000",
+ "feedUpdatedAtGeneration": 1783702260
+ },
+ {
+ "address": "0x59818904ab4cE163b3cE4FfB64f2D6Ca02c434B4",
+ "symbol": "QUBT",
+ "name": "Quantum Computing • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0xF0C4BF4C582cb3836e98394b1d4e7B7281101bE8",
+ "symbol": "RBLX",
+ "name": "Roblox • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x05b37Fb53A299a1b874A619e1c4C404D52C36F4C",
+ "symbol": "RDDT",
+ "name": "Reddit • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x92Ef19E82bD8fF36661DE838D5eaE7e5CEF0EfFE",
+ "symbol": "RDW",
+ "name": "Redwire • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x284358abc07F9359f19f4b5b4aC91901Be2597Ba",
+ "symbol": "RGTI",
+ "name": "Rigetti Computing • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0x2A045cF1C49c61c166C036d2f06FA2D2d984f765",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "1657150813",
+ "feedUpdatedAtGeneration": 1783713654
+ },
+ {
+ "address": "0xB1BF26c1D20ff267A4f93550d1E0d06ac40a114B",
+ "symbol": "RIVN",
+ "name": "Rivian Automotive • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x3b14C39E89D60D627b42a1A4CA45b5bb45Fc12e2",
+ "symbol": "RKLB",
+ "name": "Rocket Lab Corporation • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0x045477BF65Aef6f4F2386ad0164579e48381CC74",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "8128970000",
+ "feedUpdatedAtGeneration": 1783726597
+ },
+ {
+ "address": "0x95052ddcd5DC25641657424A8Cf04834997E1730",
+ "symbol": "SATS",
+ "name": "EchoStar • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x92FD66527192E3e61d4DDd13322Aa222DE86F9B5",
+ "symbol": "SGOV",
+ "name": "iShares 0-3 Month Treasury Bond • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000957519890990718",
+ "feed": "0xa0DF4ee0fFf975306345875E3548Fcc519577A11",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "10060428845",
+ "feedUpdatedAtGeneration": 1783728100
+ },
+ {
+ "address": "0xF53F66751B1Eff985311b693531E3290F600c410",
+ "symbol": "SHOP",
+ "name": "Shopify • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x411eFb0E7f985935DAec3D4C3ebaEa0d0AD7D89f",
+ "symbol": "SLV",
+ "name": "iShares Silver Trust • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0x209b73908e92Ae021826eD79609845451Ecba2ce",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "5416490000",
+ "feedUpdatedAtGeneration": 1783719808
+ },
+ {
+ "address": "0xc01aA1fECeC0605b13bc84874ff7256C0f5F562a",
+ "symbol": "SMCI",
+ "name": "Super Micro Computer • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0xB90A19fF0Af67f7779afF50A882A9CfF42446400",
+ "symbol": "SNDK",
+ "name": "Sandisk Corporation • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0xfb133Fa4B7b385802B693a293606682Df47109A3",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "193162665000",
+ "feedUpdatedAtGeneration": 1783727430
+ },
+ {
+ "address": "0x98E75885157C80992A8D41b696D8c9C6Fb30A926",
+ "symbol": "SOFI",
+ "name": "SoFi Technologies • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x75742c18BC1f1C5c5f448f4C9D9C6F66dafAAa38",
+ "symbol": "SOXX",
+ "name": "iShares Semiconductor ETF • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x4a0E65A3EcceC6dBe60AE065F2e7bb85Fae35eEa",
+ "symbol": "SPCX",
+ "name": "Space Exploration Technologies Corp. Class A Common Stock • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0xB265810950ba6c5C0Ff821c9963014a56fD8Bffb",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "14572500000",
+ "feedUpdatedAtGeneration": 1783713430
+ },
+ {
+ "address": "0xAd622320e520de39e72d41EF07438C3Fd3354875",
+ "symbol": "SPMO",
+ "name": "Invesco S&P 500 Momentum ETF • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x117cc2133c37B721F49dE2A7a74833232B3B4C0C",
+ "symbol": "SPY",
+ "name": "SPDR S&P 500 ETF Trust • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0x319724394D3A0e3669269846abE664Cd621f9f6A",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "75361500000",
+ "feedUpdatedAtGeneration": 1783700203
+ },
+ {
+ "address": "0x89776d4Cd68193597A2fC132cfaC1fDe36CCeA8a",
+ "symbol": "TSEM",
+ "name": "Tower Semiconductor • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x322F0929c4625eD5bAd873c95208D54E1c003b2d",
+ "symbol": "TSLA",
+ "name": "Tesla • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0x4A1166a659A55625345e9515b32adECea5547C38",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "40782500000",
+ "feedUpdatedAtGeneration": 1783713215
+ },
+ {
+ "address": "0x58FfE4a942d3885bAa22D7520691F611EF09e7AA",
+ "symbol": "TSM",
+ "name": "Taiwan Semiconductor Manufacturing • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0x874cF94aa8eC88Fd9560094dD065f2fB3E41Fc2F",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "43437150000",
+ "feedUpdatedAtGeneration": 1783713983
+ },
+ {
+ "address": "0x5e81213613b6B86EaB4c6c50d718d34359459786",
+ "symbol": "TTWO",
+ "name": "Take-Two Interactive Software • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x0E6e67Ba88e7b5d9B67636A215c76779B948dE79",
+ "symbol": "UMC",
+ "name": "United Microelectronics • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0xf23250dac154D05Bb671CB0d0eBEf3c635c79CE2",
+ "symbol": "UPS",
+ "name": "UPS • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0xd917B029C761D264c6A312BBbcDA868658eF86a6",
+ "symbol": "USAR",
+ "name": "USA Rare Earth • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0xA994d3684e8400A6c8078226925779FdeE682DD9",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "1853505000",
+ "feedUpdatedAtGeneration": 1783709442
+ },
+ {
+ "address": "0xa30FA36Db767ad9eD3f7a60fC79526fB4d56D344",
+ "symbol": "USO",
+ "name": "United States Oil Fund • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0x75a9c76Ef439e2C7c2E5a34Ab105EcFe3766431c",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "10868500000",
+ "feedUpdatedAtGeneration": 1783708312
+ },
+ {
+ "address": "0x82DA4646242e1D962e96e932269Dc644c94a9CaA",
+ "symbol": "WDAY",
+ "name": "Workday • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0xc93a8c440CEa26D7445dF01729f193b27965099f",
+ "symbol": "WEEK",
+ "name": "Roundhill Weekly T-Bill ETF • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "2006182524271844660",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x15Cd20759CE7F3285c29A319dE2D1A2e098c6f43",
+ "symbol": "XLK",
+ "name": "State Street Technology Select Sector SPDR ETF • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0xA8eB3BCcbf2017eE7CBfb652eB51CF2E1B153289",
+ "symbol": "XNDU",
+ "name": "Xanadu Quantum • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0xf9B46d3D1B22199D4D1025a9cEDB540A33F1a2d5",
+ "symbol": "XOM",
+ "name": "ExxonMobil Holdings Corporation • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x44c4F142009036cF477eD2d09932051843137CF1",
+ "symbol": "ZM",
+ "name": "Zoom • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x7dc013eB55e436f30d7ED1AFE4E36d6e45e3c3f7",
+ "symbol": "ZS",
+ "name": "Zscaler • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ }
+ ]
+}
diff --git a/data/robinhood-stock-tokens.json b/data/robinhood-stock-tokens.json
new file mode 100644
index 000000000..80dee6c98
--- /dev/null
+++ b/data/robinhood-stock-tokens.json
@@ -0,0 +1,938 @@
+{
+ "$schema": "./stock-tokens.schema.json",
+ "chainId": 4663,
+ "generatedAtBlock": 7690522,
+ "sources": {
+ "discovery": "https://robinhoodchain.blockscout.com/api/v2/tokens?q=Robinhood Token (canonical name pattern \"<Name> • Robinhood Token\")",
+ "feeds": "https://reference-data-directory.vercel.app/feeds-robinhood-mainnet.json",
+ "verification": "on-chain via public RPC: shared beacon slot, symbol/name/decimals/uiMultiplier multicall, feed latestRoundData"
+ },
+ "stockBeacon": "0xe10b6f6B275de231345c20D14Ab812db62151b00",
+ "tokenCount": 95,
+ "feedCount": 34,
+ "tokens": [
+ {
+ "address": "0x521Cf887E6531c6F667b5BC4D896E5d9bfE8EB2E",
+ "symbol": "AAOI",
+ "name": "Applied Optoelectronics • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0xaF3D76f1834A1d425780943C99Ea8A608f8a93f9",
+ "symbol": "AAPL",
+ "name": "Apple • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0x6B22A786bAa607d76728168703a39Ea9C99f2cD0",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "31550000000",
+ "feedUpdatedAtGeneration": 1783710274
+ },
+ {
+ "address": "0x36046893810a7E7fCE501229d57dc3FC8c8716d0",
+ "symbol": "AMAT",
+ "name": "Applied Materials • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x86923f96303D656E4aa86D9d42D1e57ad2023fdC",
+ "symbol": "AMD",
+ "name": "AMD • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0x943A29E7ae51A4798823ca9eEd2ed533B2A22C72",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "55821015000",
+ "feedUpdatedAtGeneration": 1783713346
+ },
+ {
+ "address": "0x12f190a9F9d7D37a250758b26824B97CE941bF54",
+ "symbol": "AMZN",
+ "name": "Amazon • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0xD5a1508ceD74c084eBf3cBe853e2C968fB2a651C",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "24556770000",
+ "feedUpdatedAtGeneration": 1783692103
+ },
+ {
+ "address": "0xb8DBf92F9741c9ac1c32115E78581f23509916FD",
+ "symbol": "APLD",
+ "name": "Applied Digital • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x47F93d52cBeC7C6D2CfC080e154002370a60dAEA",
+ "symbol": "ASML",
+ "name": "ASML Holding NV • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0xB4106147E8cce40b7d46124090d373A71b70f87D",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "179758755000",
+ "feedUpdatedAtGeneration": 1783710661
+ },
+ {
+ "address": "0x1AF6446f07eb1d97c546AFC8c9544cBDF3AD5137",
+ "symbol": "ASTS",
+ "name": "AST SpaceMobile • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x156E175DD063a8cE274C50654eF40e0032b3fbcF",
+ "symbol": "AVGO",
+ "name": "Broadcom • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x4D21483a44Bf67a86b77E3dA301411880797D452",
+ "symbol": "BA",
+ "name": "Boeing • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0xad25Ac6C84D497db898fa1E8387bf6Af3532a1c4",
+ "symbol": "BABA",
+ "name": "Alibaba • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0x62Cc8F9b5f56a33c9C8A60c8B92779f523c4E984",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "11219500000",
+ "feedUpdatedAtGeneration": 1783707523
+ },
+ {
+ "address": "0x822CC93fFD030293E9842c30BBD678F530701867",
+ "symbol": "BE",
+ "name": "Bloom Energy • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x5c90450Bbb4273D7b2f17CF6917AEB237A569679",
+ "symbol": "CBRS",
+ "name": "Cerebras Systems • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x9651342CeA770aE9a2969Ba2A52611523146aef9",
+ "symbol": "CCL",
+ "name": "Carnival Corporation • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x8cF07C5A878945185d327aAa6e33FAa95F95e7bF",
+ "symbol": "CELH",
+ "name": "Celsius • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0xcBB95BBF36099d34dA091dc6Fa6F49EfA257Cee3",
+ "symbol": "CLSK",
+ "name": "CleanSpark • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0x810c12D3a554Bc47fd39597Fe3b3AAC4941F50eF",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "1286499999",
+ "feedUpdatedAtGeneration": 1783713313
+ },
+ {
+ "address": "0x6330D8C3178a418788dF01a47479c0ce7CCF450b",
+ "symbol": "COIN",
+ "name": "Coinbase • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0xA3a468A452940B7D6b69991207B508c609a98Ef2",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "15943135000",
+ "feedUpdatedAtGeneration": 1783703473
+ },
+ {
+ "address": "0x4EA005168D7F09a7A0Ba9D1DEf21a479950E44C2",
+ "symbol": "COST",
+ "name": "Costco • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0xdF0992E440dD0be65BD8439b609d6D4366bf1CB5",
+ "symbol": "CRCL",
+ "name": "Circle Internet Group • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0x6652eDf64bA3731C4F2D3ce821A0Fb1f1f6b482a",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "6634635000",
+ "feedUpdatedAtGeneration": 1783717360
+ },
+ {
+ "address": "0x5f10A1C971B69e47e059e1dC91901B59b3fB49C3",
+ "symbol": "CRWV",
+ "name": "CoreWeave • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0xe1b3aABCAFAd1c94708dc1367dcfF8Aa4407487C",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "8883970000",
+ "feedUpdatedAtGeneration": 1783711393
+ },
+ {
+ "address": "0x27c99fBde9D0d2AA4f4Bfb4943f237843DdF6958",
+ "symbol": "DDOG",
+ "name": "Datadog • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x941AE714EC6D8130c7B75d67160Ca08f1e7d11Dd",
+ "symbol": "DELL",
+ "name": "Dell • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x39EC44Bee4F6A116c6F9B8De566848a985C53C60",
+ "symbol": "ELF",
+ "name": "e.l.f. Beauty • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x7f0aBeF0C07280F82c6a08ead09dEd6BAE2C13Fc",
+ "symbol": "EWY",
+ "name": "iShares MSCI South Korea fund • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0xEFdf54610B62A7753Ec30bDc380847c12D32e1D1",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "18377499999",
+ "feedUpdatedAtGeneration": 1783705547
+ },
+ {
+ "address": "0x25C288E6D899b9BC30160965aD9644c67e73bE0C",
+ "symbol": "F",
+ "name": "Ford Motor • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x282e87451E10fA6679BC7D76C69BE44cD3fC777C",
+ "symbol": "FLNC",
+ "name": "Fluence Energy • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0xeB30663bDFf0622Ef4e4E5cBb4E975F19f33f51D",
+ "symbol": "FUTU",
+ "name": "Futu Holdings • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x7c04E6A3368F2A1DE3874f0e80d2e0A1a9915da6",
+ "symbol": "GLW",
+ "name": "Corning • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x1b0E319c6A659F002271B69dB8A7df2F911c153E",
+ "symbol": "GME",
+ "name": "GameStop • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0x27C71df6A64fB476468EdF256CF72c038baB5B67",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "2176125000",
+ "feedUpdatedAtGeneration": 1783694006
+ },
+ {
+ "address": "0x2e0847E8910a9732eB3fb1bb4b70a580ADAD4FE3",
+ "symbol": "GOOGL",
+ "name": "Alphabet Class A • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0xF6f373a037c30F0e5010d854385cA89185AE638b",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "35672000000",
+ "feedUpdatedAtGeneration": 1783711606
+ },
+ {
+ "address": "0xf1953DAB6FaD537488d5A022361FfAa8B4c95eC6",
+ "symbol": "INOD",
+ "name": "Innodata • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0xc72b96e0E48ecd4DC75E1e45396e26300BC39681",
+ "symbol": "INTC",
+ "name": "Intel • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0x3f390C5C24628Ac7C489515402235FeAD71D1913",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "10965095000",
+ "feedUpdatedAtGeneration": 1783712771
+ },
+ {
+ "address": "0x56d23beE5f41A7120170b0c603Dae30128e460e9",
+ "symbol": "INTU",
+ "name": "Intuit • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x558378E000D634A36593E338eBacdd6207640EfE",
+ "symbol": "IONQ",
+ "name": "IonQ • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0x22EfeC4919baf55F360E0EDee4AbEB26DE4971eb",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "4308000000",
+ "feedUpdatedAtGeneration": 1783711226
+ },
+ {
+ "address": "0xF0AB0c93bE6F41369d302e55db1A96b3c430212D",
+ "symbol": "IREN",
+ "name": "IREN Limited • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x8eF20885F94e3D9bc7eB3080279188Bd5ED7c08C",
+ "symbol": "LITE",
+ "name": "Lumentum • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x8005d266423c7ea827372c9c864491e5786600ea",
+ "symbol": "LLY",
+ "name": "Eli Lilly • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x4e62068525Ab11FE768e29dfD00ef909B9803016",
+ "symbol": "LULU",
+ "name": "Lululemon • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0xa5D4968421bA94814Be3B136b15cf422101aC1a3",
+ "symbol": "LUNR",
+ "name": "Intuitive Machines • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0xDdf2266b79abf0B48898959B0ed6E6adf512be74",
+ "symbol": "MDB",
+ "name": "MongoDB • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0xc0D6457C16Cc70d6790Dd43521C899C87ce02f35",
+ "symbol": "META",
+ "name": "Meta Platforms • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0x7C38C00C30BEe9378381E7B6135d7283356D71b1",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "67067485000",
+ "feedUpdatedAtGeneration": 1783713401
+ },
+ {
+ "address": "0x62fd0668e10D8B72339BE2DCF7643001688ff13B",
+ "symbol": "MRVL",
+ "name": "Marvell Technology • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0xe93237C50D904957Cf27E7B1133b510C669c2e74",
+ "symbol": "MSFT",
+ "name": "Microsoft • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0x45C3C877C15E6BA2EBB19eA114Ea508d14C1Af2E",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "38469000000",
+ "feedUpdatedAtGeneration": 1783697881
+ },
+ {
+ "address": "0xec262a75e413fAfD0dF80480274532C79D42da09",
+ "symbol": "MSTR",
+ "name": "Strategy Inc. • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0x396118bdFB181e6240E74D243F266B061c0edc3D",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "9469500000",
+ "feedUpdatedAtGeneration": 1783712395
+ },
+ {
+ "address": "0xfF080c8ce2E5feadaCa0Da81314Ae59D232d4afD",
+ "symbol": "MU",
+ "name": "Micron Technology • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0x425EEFdCf05ed6526C3cE61Af99429A228a6d596",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "97854340000",
+ "feedUpdatedAtGeneration": 1783713684
+ },
+ {
+ "address": "0x48961813349333209994750ffA89b3c5C22eC969",
+ "symbol": "MXL",
+ "name": "MaxLinear • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x9D9c6684F596F66a64C030B93A886D51Fd4D7931",
+ "symbol": "NBIS",
+ "name": "Nebius Group • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0xE1D87B116Ba0fe898998f1D140339D1fA1E09705",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "21923750000",
+ "feedUpdatedAtGeneration": 1783713491
+ },
+ {
+ "address": "0xE0444EF8BF4eD74f74FD73686e2ddF4C1c5591E8",
+ "symbol": "NFLX",
+ "name": "Netflix • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0xBEF75684C43c4ea7BD18Dd532a2244674Ee8b926",
+ "symbol": "NNE",
+ "name": "Nano Nuclear Energy • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x0C3260aF4B8f13a69c4c2dFb84fD667890CDFa14",
+ "symbol": "NOW",
+ "name": "ServiceNow • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x408c14038a04f7bD235329E26d2bf569ee20e250",
+ "symbol": "NU",
+ "name": "Nu • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0xd0601CE157Db5bdC3162BbaC2a2C8aF5320D9EEC",
+ "symbol": "NVDA",
+ "name": "NVIDIA • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0x379EC4f7C378F34a1B47E4F3cbeBCbAC3E8E9F15",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "21019000000",
+ "feedUpdatedAtGeneration": 1783700623
+ },
+ {
+ "address": "0xbE6702d7b70315376dC48a3293f24f0982F86386",
+ "symbol": "NVTS",
+ "name": "Navitas Semiconductor • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0xb0992820E760d836549ba69BC7598b4af75dEE03",
+ "symbol": "ORCL",
+ "name": "Oracle • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0x0e6a64a2B58A6693a531E6c555f3A5d042eEA844",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "14108370000",
+ "feedUpdatedAtGeneration": 1783709137
+ },
+ {
+ "address": "0x1Cdad396DB64BDa184d5182A97Dd9B3C62100b7D",
+ "symbol": "P",
+ "name": "Everpure • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x9b23573b156B52565012F5cE02CDF60AFBaa70Be",
+ "symbol": "PENG",
+ "name": "Penguin Solutions • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x894E1EC2D74FFE5AEF8Dc8A9e84686acCB964F2A",
+ "symbol": "PLTR",
+ "name": "Palantir Technologies • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0x820ABedFF239034956B7A9d2F0a331f9F075eB4c",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "12656140000",
+ "feedUpdatedAtGeneration": 1783714557
+ },
+ {
+ "address": "0xcf6B2D875361be807EAfa57458c80f28521F9333",
+ "symbol": "POET",
+ "name": "POET Technologies • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x4189F0c66EBBB0bfeF1C31f763131361EF32f77C",
+ "symbol": "PR",
+ "name": "Permian Resources • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0xC583c60aeF9Dc401Da72cEC1B404743a93cea1Cc",
+ "symbol": "QBTS",
+ "name": "D-Wave Quantum • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x0f17206447090e464C277571124dD2688E48AEA9",
+ "symbol": "QCOM",
+ "name": "Qualcomm • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0xD5f3879160bc7c32ebb4dC785F8a4F505888de68",
+ "symbol": "QQQ",
+ "name": "Invesco QQQ • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0x80901d846d5D7B030F26B480776EE3b29374C2ae",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "72545060000",
+ "feedUpdatedAtGeneration": 1783702260
+ },
+ {
+ "address": "0x59818904ab4cE163b3cE4FfB64f2D6Ca02c434B4",
+ "symbol": "QUBT",
+ "name": "Quantum Computing • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0xF0C4BF4C582cb3836e98394b1d4e7B7281101bE8",
+ "symbol": "RBLX",
+ "name": "Roblox • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x05b37Fb53A299a1b874A619e1c4C404D52C36F4C",
+ "symbol": "RDDT",
+ "name": "Reddit • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x92Ef19E82bD8fF36661DE838D5eaE7e5CEF0EfFE",
+ "symbol": "RDW",
+ "name": "Redwire • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x284358abc07F9359f19f4b5b4aC91901Be2597Ba",
+ "symbol": "RGTI",
+ "name": "Rigetti Computing • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0x2A045cF1C49c61c166C036d2f06FA2D2d984f765",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "1657150813",
+ "feedUpdatedAtGeneration": 1783713654
+ },
+ {
+ "address": "0xB1BF26c1D20ff267A4f93550d1E0d06ac40a114B",
+ "symbol": "RIVN",
+ "name": "Rivian Automotive • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x3b14C39E89D60D627b42a1A4CA45b5bb45Fc12e2",
+ "symbol": "RKLB",
+ "name": "Rocket Lab Corporation • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0x045477BF65Aef6f4F2386ad0164579e48381CC74",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "8128970000",
+ "feedUpdatedAtGeneration": 1783726597
+ },
+ {
+ "address": "0x95052ddcd5DC25641657424A8Cf04834997E1730",
+ "symbol": "SATS",
+ "name": "EchoStar • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x92FD66527192E3e61d4DDd13322Aa222DE86F9B5",
+ "symbol": "SGOV",
+ "name": "iShares 0-3 Month Treasury Bond • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000957519890990718",
+ "feed": "0xa0DF4ee0fFf975306345875E3548Fcc519577A11",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "10060428845",
+ "feedUpdatedAtGeneration": 1783728100
+ },
+ {
+ "address": "0xF53F66751B1Eff985311b693531E3290F600c410",
+ "symbol": "SHOP",
+ "name": "Shopify • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x411eFb0E7f985935DAec3D4C3ebaEa0d0AD7D89f",
+ "symbol": "SLV",
+ "name": "iShares Silver Trust • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0x209b73908e92Ae021826eD79609845451Ecba2ce",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "5416490000",
+ "feedUpdatedAtGeneration": 1783719808
+ },
+ {
+ "address": "0xc01aA1fECeC0605b13bc84874ff7256C0f5F562a",
+ "symbol": "SMCI",
+ "name": "Super Micro Computer • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0xB90A19fF0Af67f7779afF50A882A9CfF42446400",
+ "symbol": "SNDK",
+ "name": "Sandisk Corporation • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0xfb133Fa4B7b385802B693a293606682Df47109A3",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "193162665000",
+ "feedUpdatedAtGeneration": 1783727430
+ },
+ {
+ "address": "0x98E75885157C80992A8D41b696D8c9C6Fb30A926",
+ "symbol": "SOFI",
+ "name": "SoFi Technologies • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x75742c18BC1f1C5c5f448f4C9D9C6F66dafAAa38",
+ "symbol": "SOXX",
+ "name": "iShares Semiconductor ETF • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x4a0E65A3EcceC6dBe60AE065F2e7bb85Fae35eEa",
+ "symbol": "SPCX",
+ "name": "Space Exploration Technologies Corp. Class A Common Stock • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0xB265810950ba6c5C0Ff821c9963014a56fD8Bffb",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "14572500000",
+ "feedUpdatedAtGeneration": 1783713430
+ },
+ {
+ "address": "0xAd622320e520de39e72d41EF07438C3Fd3354875",
+ "symbol": "SPMO",
+ "name": "Invesco S&P 500 Momentum ETF • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x117cc2133c37B721F49dE2A7a74833232B3B4C0C",
+ "symbol": "SPY",
+ "name": "SPDR S&P 500 ETF Trust • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0x319724394D3A0e3669269846abE664Cd621f9f6A",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "75361500000",
+ "feedUpdatedAtGeneration": 1783700203
+ },
+ {
+ "address": "0x89776d4Cd68193597A2fC132cfaC1fDe36CCeA8a",
+ "symbol": "TSEM",
+ "name": "Tower Semiconductor • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x322F0929c4625eD5bAd873c95208D54E1c003b2d",
+ "symbol": "TSLA",
+ "name": "Tesla • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0x4A1166a659A55625345e9515b32adECea5547C38",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "40782500000",
+ "feedUpdatedAtGeneration": 1783713215
+ },
+ {
+ "address": "0x58FfE4a942d3885bAa22D7520691F611EF09e7AA",
+ "symbol": "TSM",
+ "name": "Taiwan Semiconductor Manufacturing • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0x874cF94aa8eC88Fd9560094dD065f2fB3E41Fc2F",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "43437150000",
+ "feedUpdatedAtGeneration": 1783713983
+ },
+ {
+ "address": "0x5e81213613b6B86EaB4c6c50d718d34359459786",
+ "symbol": "TTWO",
+ "name": "Take-Two Interactive Software • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x0E6e67Ba88e7b5d9B67636A215c76779B948dE79",
+ "symbol": "UMC",
+ "name": "United Microelectronics • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0xf23250dac154D05Bb671CB0d0eBEf3c635c79CE2",
+ "symbol": "UPS",
+ "name": "UPS • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0xd917B029C761D264c6A312BBbcDA868658eF86a6",
+ "symbol": "USAR",
+ "name": "USA Rare Earth • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0xA994d3684e8400A6c8078226925779FdeE682DD9",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "1853505000",
+ "feedUpdatedAtGeneration": 1783709442
+ },
+ {
+ "address": "0xa30FA36Db767ad9eD3f7a60fC79526fB4d56D344",
+ "symbol": "USO",
+ "name": "United States Oil Fund • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": "0x75a9c76Ef439e2C7c2E5a34Ab105EcFe3766431c",
+ "feedDecimals": 8,
+ "feedAnswerAtGeneration": "10868500000",
+ "feedUpdatedAtGeneration": 1783708312
+ },
+ {
+ "address": "0x82DA4646242e1D962e96e932269Dc644c94a9CaA",
+ "symbol": "WDAY",
+ "name": "Workday • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0xc93a8c440CEa26D7445dF01729f193b27965099f",
+ "symbol": "WEEK",
+ "name": "Roundhill Weekly T-Bill ETF • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "2006182524271844660",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x15Cd20759CE7F3285c29A319dE2D1A2e098c6f43",
+ "symbol": "XLK",
+ "name": "State Street Technology Select Sector SPDR ETF • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0xA8eB3BCcbf2017eE7CBfb652eB51CF2E1B153289",
+ "symbol": "XNDU",
+ "name": "Xanadu Quantum • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0xf9B46d3D1B22199D4D1025a9cEDB540A33F1a2d5",
+ "symbol": "XOM",
+ "name": "ExxonMobil Holdings Corporation • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x44c4F142009036cF477eD2d09932051843137CF1",
+ "symbol": "ZM",
+ "name": "Zoom • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ },
+ {
+ "address": "0x7dc013eB55e436f30d7ED1AFE4E36d6e45e3c3f7",
+ "symbol": "ZS",
+ "name": "Zscaler • Robinhood Token",
+ "decimals": 18,
+ "uiMultiplierAtGeneration": "1000000000000000000",
+ "feed": null,
+ "feedDecimals": null
+ }
+ ]
+}
diff --git a/robinhood/hood-api/package.json b/robinhood/hood-api/package.json
index cb5a59689..f33cd1629 100644
--- a/robinhood/hood-api/package.json
+++ b/robinhood/hood-api/package.json
@@ -39,11 +39,11 @@
"test:x402": "vitest run test/x402.test.ts"
},
"dependencies": {
- "@hono/node-server": "^2.0.8",
+ "@hono/node-server": "^1.19.14",
"@hono/node-ws": "^1.3.1",
"@hono/zod-openapi": "^1.4.0",
"hono": "^4.12.0",
- "hoodchain": "^0.1.0",
+ "hoodchain": "file:../robinhood-chain-sdk",
"viem": "^2.55.0",
"x402-hono": "^1.2.0",
"zod": "^4.4.0"
diff --git a/robinhood/hood-api/src/lib/cache.ts b/robinhood/hood-api/src/lib/cache.ts
new file mode 100644
index 000000000..60da3cf27
--- /dev/null
+++ b/robinhood/hood-api/src/lib/cache.ts
@@ -0,0 +1,63 @@
+/**
+ * A tiny in-process TTL cache with single-flight de-duplication.
+ *
+ * Every endpoint wraps its upstream reads in `cached(key, ttlMs, fn)`. Two
+ * concurrent requests for the same key share one in-flight upstream call, so a
+ * burst of traffic never fans out into a burst of RPC/HTTP calls.
+ */
+
+interface Entry<T> {
+ value: T
+ expiresAt: number
+}
+
+const store = new Map<string, Entry<unknown>>()
+const inflight = new Map<string, Promise<unknown>>()
+
+/** Milliseconds since epoch; wrapped so callers read intent, not `Date.now`. */
+function now(): number {
+ return Date.now()
+}
+
+export async function cached<T>(key: string, ttlMs: number, fn: () => Promise<T>): Promise<T> {
+ const hit = store.get(key) as Entry<T> | undefined
+ if (hit && hit.expiresAt > now()) return hit.value
+
+ const pending = inflight.get(key) as Promise<T> | undefined
+ if (pending) return pending
+
+ const p = (async () => {
+ try {
+ const value = await fn()
+ store.set(key, { value, expiresAt: now() + ttlMs })
+ return value
+ } finally {
+ inflight.delete(key)
+ }
+ })()
+ inflight.set(key, p)
+ return p
+}
+
+/** Drop a key (or everything) — used by tests and admin refresh. */
+export function invalidate(key?: string): void {
+ if (key === undefined) store.clear()
+ else store.delete(key)
+}
+
+/** Per-resource cache TTLs (ms). Tuned to each upstream's real update cadence. */
+export const TTL = {
+ health: 2_000,
+ chain: 10_000, // block height moves fast but 10s is plenty for stats
+ stocks: 15_000, // Chainlink feeds update on market ticks; DEX mid on swaps
+ stockDetail: 15_000,
+ candles: 30_000,
+ coins: 20_000,
+ coinDetail: 20_000,
+ launches: 12_000,
+ portfolio: 8_000,
+ history: 60_000,
+ equities: 30_000, // CoinGecko free tier friendliness
+ tvl: 5 * 60_000, // DefiLlama daily series
+ holders: 60_000, // Blockscout counters
+} as const
diff --git a/robinhood/hood-api/src/lib/env.ts b/robinhood/hood-api/src/lib/env.ts
new file mode 100644
index 000000000..7b971fcd9
--- /dev/null
+++ b/robinhood/hood-api/src/lib/env.ts
@@ -0,0 +1,46 @@
+/** Process configuration, parsed once. All fields have defaults; the free tier needs none. */
+
+function str(name: string, fallback = ''): string {
+ const v = process.env[name]
+ return v && v.trim().length > 0 ? v.trim() : fallback
+}
+
+function int(name: string, fallback: number): number {
+ const v = Number(process.env[name])
+ return Number.isFinite(v) && v > 0 ? v : fallback
+}
+
+const network = str('X402_NETWORK', 'base-sepolia')
+if (network !== 'base' && network !== 'base-sepolia') {
+ throw new Error(`X402_NETWORK must be "base" or "base-sepolia", got "${network}"`)
+}
+
+export const env = {
+ port: int('PORT', 8787),
+ publicBaseUrl: str('PUBLIC_BASE_URL', `http://localhost:${int('PORT', 8787)}`).replace(/\/$/, ''),
+
+ // Upstreams
+ alchemyKey: str('ALCHEMY_KEY'),
+ rpcUrl: str('HOOD_RPC_URL'),
+ coingeckoApiKey: str('COINGECKO_API_KEY'),
+
+ // x402
+ x402PayTo: str('X402_PAY_TO'),
+ x402Network: network as 'base' | 'base-sepolia',
+ x402FacilitatorUrl: str('X402_FACILITATOR_URL', 'https://x402.org/facilitator'),
+ cdpApiKeyId: str('CDP_API_KEY_ID'),
+ cdpApiKeySecret: str('CDP_API_KEY_SECRET'),
+ firehoseSessionSecret: str('FIREHOSE_SESSION_SECRET'),
+} as const
+
+/** Resolved mainnet RPC URL: explicit override > Alchemy (if keyed) > public RPC (SDK default). */
+export function resolvedMainnetRpcUrl(): string | undefined {
+ if (env.rpcUrl) return env.rpcUrl
+ if (env.alchemyKey) return `https://robinhood-mainnet.g.alchemy.com/v2/${env.alchemyKey}`
+ return undefined // undefined => hoodchain uses viem's public RPC
+}
+
+/** Whether x402 paid endpoints are enabled (a payout address is configured). */
+export function paymentsEnabled(): boolean {
+ return env.x402PayTo.length > 0
+}
diff --git a/robinhood/hood-api/src/lib/errors.ts b/robinhood/hood-api/src/lib/errors.ts
new file mode 100644
index 000000000..7dad82325
--- /dev/null
+++ b/robinhood/hood-api/src/lib/errors.ts
@@ -0,0 +1,90 @@
+/**
+ * Structured API errors. Every error response is
+ * `{ error, hint, docs }` — never a bare 500 string.
+ */
+
+export interface ApiErrorBody {
+ /** Stable machine-readable code, e.g. `unknown_symbol`. */
+ error: string
+ /** Human-actionable hint: what went wrong and how to fix it. */
+ hint: string
+ /** Link into the docs for this class of error. */
+ docs: string
+}
+
+const DOCS_BASE = 'https://nirholas.github.io/hood-api'
+
+export class ApiError extends Error {
+ readonly status: number
+ readonly code: string
+ readonly hint: string
+ readonly docsPath: string
+
+ constructor(status: number, code: string, hint: string, docsPath = '/#errors') {
+ super(`${code}: ${hint}`)
+ this.name = 'ApiError'
+ this.status = status
+ this.code = code
+ this.hint = hint
+ this.docsPath = docsPath
+ }
+
+ toBody(): ApiErrorBody {
+ return { error: this.code, hint: this.hint, docs: `${DOCS_BASE}${this.docsPath}` }
+ }
+
+ static badRequest(hint: string, code = 'bad_request') {
+ return new ApiError(400, code, hint, '/#errors')
+ }
+ static notFound(hint: string, code = 'not_found') {
+ return new ApiError(404, code, hint, '/#errors')
+ }
+ static unknownSymbol(symbol: string) {
+ return new ApiError(
+ 404,
+ 'unknown_symbol',
+ `"${symbol}" is not a canonical Robinhood Chain Stock Token. List them at /v1/stocks.`,
+ '/#stocks',
+ )
+ }
+ static upstream(hint: string, code = 'upstream_unavailable') {
+ return new ApiError(502, code, hint, '/#errors')
+ }
+ static paymentsDisabled() {
+ return new ApiError(
+ 503,
+ 'payments_not_configured',
+ 'This endpoint requires x402 payment but the server has no X402_PAY_TO configured. Run the free endpoints, or deploy with payments enabled.',
+ '/#x402',
+ )
+ }
+ static sessionInvalid(hint: string) {
+ return new ApiError(401, 'session_invalid', hint, '/#firehose')
+ }
+}
+
+/** Convert any thrown value into an ApiError, mapping known SDK error names. */
+export function toApiError(err: unknown): ApiError {
+ if (err instanceof ApiError) return err
+ const name = (err as { name?: string })?.name ?? ''
+ const message = (err as { message?: string })?.message ?? String(err)
+ switch (name) {
+ case 'UnknownSymbolError':
+ return ApiError.notFound(message, 'unknown_symbol')
+ case 'FeedNotFoundError':
+ return ApiError.notFound(message, 'no_feed')
+ case 'StaleFeedError':
+ return ApiError.upstream(message, 'stale_feed')
+ case 'InvalidFeedAnswerError':
+ return ApiError.upstream(message, 'invalid_feed_answer')
+ case 'NoRouteError':
+ return ApiError.notFound(message, 'no_dex_route')
+ case 'StockTokenEligibilityError':
+ return new ApiError(451, 'stock_token_eligibility', message, '/#legal')
+ default:
+ return ApiError.upstream(
+ `Upstream read failed: ${message}`,
+ 'upstream_unavailable',
+ )
+ }
+}
diff --git a/robinhood/hood-api/src/lib/http.ts b/robinhood/hood-api/src/lib/http.ts
new file mode 100644
index 000000000..3beb6cb9f
--- /dev/null
+++ b/robinhood/hood-api/src/lib/http.ts
@@ -0,0 +1,41 @@
+import { ApiError } from './errors.js'
+
+/** Fetch JSON with a hard timeout and a typed upstream error on failure. */
+export async function fetchJson<T>(
+ url: string,
+ opts: { timeoutMs?: number; headers?: Record<string, string>; label?: string } = {},
+): Promise<T> {
+ const { timeoutMs = 10_000, headers, label = new URL(url).host } = opts
+ const controller = new AbortController()
+ const timer = setTimeout(() => controller.abort(), timeoutMs)
+ try {
+ const res = await fetch(url, { headers, signal: controller.signal })
+ if (!res.ok) {
+ throw ApiError.upstream(
+ `${label} returned HTTP ${res.status}. Upstream may be rate-limited or degraded; retry shortly.`,
+ 'upstream_http_error',
+ )
+ }
+ return (await res.json()) as T
+ } catch (err) {
+ if (err instanceof ApiError) throw err
+ const reason = (err as Error).name === 'AbortError' ? `timed out after ${timeoutMs}ms` : (err as Error).message
+ throw ApiError.upstream(`${label} request failed (${reason}).`, 'upstream_unreachable')
+ } finally {
+ clearTimeout(timer)
+ }
+}
+
+/** Run `fn`, falling back to `fallback` if it throws. Logs which path won for observability. */
+export async function withFallback<T>(
+ primary: () => Promise<T>,
+ fallback: () => Promise<T>,
+ label: string,
+): Promise<T> {
+ try {
+ return await primary()
+ } catch (err) {
+ console.warn(`[hood-api] ${label}: primary failed (${(err as Error).message}); using fallback`)
+ return fallback()
+ }
+}
diff --git a/robinhood/hood-api/src/lib/response.ts b/robinhood/hood-api/src/lib/response.ts
new file mode 100644
index 000000000..8acf51b82
--- /dev/null
+++ b/robinhood/hood-api/src/lib/response.ts
@@ -0,0 +1,37 @@
+/**
+ * Response envelope helpers. Every successful body carries provenance:
+ * `asOf` (ISO-8601 read time) and `source` (the upstreams the data came from).
+ */
+
+export interface Provenance {
+ /** ISO-8601 timestamp for when this data was read/computed. */
+ asOf: string
+ /** Upstream sources this response was assembled from. */
+ source: string[]
+}
+
+/** Named upstream identifiers used in the `source` field. */
+export const SOURCE = {
+ rpc: 'robinhood-chain-rpc',
+ chainlink: 'chainlink-feeds',
+ uniswap: 'uniswap-v3-onchain',
+ blockscout: 'blockscout',
+ defillama: 'defillama',
+ coingecko: 'coingecko',
+ registry: 'hoodchain-registry',
+ odyssey: 'odyssey-launchpad',
+ noxa: 'noxa-launchpad',
+} as const
+
+export function nowIso(): string {
+ return new Date().toISOString()
+}
+
+/** Attach provenance to a payload object. */
+export function withMeta<T extends object>(payload: T, source: string[]): T & Provenance {
+ return { ...payload, asOf: nowIso(), source: dedupe(source) }
+}
+
+function dedupe(xs: string[]): string[] {
+ return [...new Set(xs)]
+}
diff --git a/robinhood/hood-api/src/upstreams/blockscout.ts b/robinhood/hood-api/src/upstreams/blockscout.ts
new file mode 100644
index 000000000..ec981c5ba
--- /dev/null
+++ b/robinhood/hood-api/src/upstreams/blockscout.ts
@@ -0,0 +1,68 @@
+import { MAINNET_EXPLORER_URL } from 'hoodchain'
+import { fetchJson } from '../lib/http.js'
+
+/** Blockscout Pro API (mainnet). Chain stats, gas prices, and token holder counts. */
+
+const BASE = MAINNET_EXPLORER_URL
+
+export interface BlockscoutStats {
+ average_block_time: number // ms
+ gas_prices: { slow: number; average: number; fast: number } | null
+ gas_used_today: string
+ coin_price: string | null
+ market_cap: string | null
+ total_addresses: string | null
+ total_blocks: string | null
+ total_transactions: string | null
+ transactions_today: string | null
+ network_utilization_percentage: number | null
+}
+
+export function getStats(): Promise<BlockscoutStats> {
+ return fetchJson<BlockscoutStats>(`${BASE}/api/v2/stats`, { label: 'blockscout/stats', timeoutMs: 8000 })
+}
+
+export interface TokenCounters {
+ token_holders_count: string
+ transfers_count: string
+}
+
+export function getTokenCounters(address: string): Promise<TokenCounters> {
+ return fetchJson<TokenCounters>(`${BASE}/api/v2/tokens/${address}/counters`, {
+ label: 'blockscout/token-counters',
+ timeoutMs: 8000,
+ })
+}
+
+export interface BlockscoutToken {
+ address: string
+ name: string | null
+ symbol: string | null
+ decimals: string | null
+ holders: string | null
+ total_supply: string | null
+ volume_24h?: string | null
+}
+
+export async function getToken(address: string): Promise<BlockscoutToken | null> {
+ try {
+ return await fetchJson<BlockscoutToken>(`${BASE}/api/v2/tokens/${address}`, {
+ label: 'blockscout/token',
+ timeoutMs: 8000,
+ })
+ } catch {
+ return null
+ }
+}
+
+export function txLink(hash: string): string {
+ return `${BASE}/tx/${hash}`
+}
+
+export function addressLink(address: string): string {
+ return `${BASE}/address/${address}`
+}
+
+export function tokenLink(address: string): string {
+ return `${BASE}/token/${address}`
+}
diff --git a/robinhood/hood-api/src/upstreams/coingecko.ts b/robinhood/hood-api/src/upstreams/coingecko.ts
new file mode 100644
index 000000000..442f85056
--- /dev/null
+++ b/robinhood/hood-api/src/upstreams/coingecko.ts
@@ -0,0 +1,73 @@
+import { env } from '../lib/env.js'
+import { cached } from '../lib/cache.js'
+import { fetchJson } from '../lib/http.js'
+
+/**
+ * CoinGecko — used only for the cross-venue `/v1/equities` endpoint, to price
+ * the SAME underlying ticker on other tokenized-equity venues:
+ * - xStocks (Backed), e.g. AAPL -> "Apple xStock" (symbol AAPLX)
+ * - Ondo Global Markets, e.g. AAPL -> "... Ondo ..." tokenized equity
+ *
+ * Free-tier friendly: id resolution is cached for a day and prices for 30s.
+ */
+
+const BASE = env.coingeckoApiKey
+ ? 'https://pro-api.coingecko.com/api/v3'
+ : 'https://api.coingecko.com/api/v3'
+
+function headers(): Record<string, string> {
+ const h: Record<string, string> = { accept: 'application/json' }
+ if (env.coingeckoApiKey) h['x-cg-pro-api-key'] = env.coingeckoApiKey
+ return h
+}
+
+interface SearchResult {
+ coins: Array<{ id: string; name: string; symbol: string; market_cap_rank: number | null }>
+}
+
+export type EquityVenue = 'xstocks' | 'ondo'
+
+/** Predicate identifying the right CoinGecko coin for a ticker on a venue. */
+function matches(venue: EquityVenue, ticker: string, coin: { name: string; symbol: string }): boolean {
+ const name = coin.name.toLowerCase()
+ const sym = coin.symbol.toUpperCase()
+ if (venue === 'xstocks') {
+ return name.includes('xstock') && (sym === `${ticker}X` || sym === ticker)
+ }
+ // Ondo Global Markets tokenized equities
+ return name.includes('ondo') && (sym === ticker || sym === `${ticker}ON` || name.includes(ticker.toLowerCase()))
+}
+
+/** Resolve a CoinGecko coin id for `ticker` on `venue`, or null. Cached 24h. */
+export async function resolveEquityId(venue: EquityVenue, ticker: string): Promise<string | null> {
+ return cached(`cg:resolve:${venue}:${ticker}`, 24 * 60 * 60_000, async () => {
+ const query = venue === 'xstocks' ? `${ticker}x` : `${ticker} ondo`
+ const res = await fetchJson<SearchResult>(`${BASE}/search?query=${encodeURIComponent(query)}`, {
+ headers: headers(),
+ label: 'coingecko/search',
+ timeoutMs: 8000,
+ })
+ const hit = res.coins.find((c) => matches(venue, ticker, c))
+ return hit?.id ?? null
+ })
+}
+
+export interface SimplePrice {
+ usd: number
+ usd_24h_vol?: number
+ usd_24h_change?: number
+ last_updated_at?: number
+}
+
+/** Batch price lookup for coin ids. Missing ids are simply absent from the map. */
+export async function getSimplePrices(ids: string[]): Promise<Record<string, SimplePrice>> {
+ if (ids.length === 0) return {}
+ const url =
+ `${BASE}/simple/price?ids=${encodeURIComponent(ids.join(','))}` +
+ `&vs_currencies=usd&include_24hr_vol=true&include_24hr_change=true&include_last_updated_at=true`
+ return fetchJson<Record<string, SimplePrice>>(url, {
+ headers: headers(),
+ label: 'coingecko/simple-price',
+ timeoutMs: 8000,
+ })
+}
diff --git a/robinhood/hood-api/src/upstreams/defillama.ts b/robinhood/hood-api/src/upstreams/defillama.ts
new file mode 100644
index 000000000..a6ea758a3
--- /dev/null
+++ b/robinhood/hood-api/src/upstreams/defillama.ts
@@ -0,0 +1,35 @@
+import { fetchJson } from '../lib/http.js'
+
+/** DefiLlama — Robinhood Chain TVL (current + historical series). */
+
+const CHAIN_SLUG = 'robinhood-chain'
+const CHAIN_NAME = 'Robinhood Chain'
+
+interface ChainEntry {
+ name: string
+ chainId: number | null
+ tvl: number
+}
+
+/** Current chain TVL in USD, or null if DefiLlama has no entry. */
+export async function getChainTvl(): Promise<number | null> {
+ const chains = await fetchJson<ChainEntry[]>('https://api.llama.fi/v2/chains', {
+ label: 'defillama/chains',
+ timeoutMs: 8000,
+ })
+ const entry = chains.find((c) => c.name === CHAIN_NAME || c.chainId === 4663)
+ return entry ? entry.tvl : null
+}
+
+export interface TvlPoint {
+ date: number // unix seconds
+ tvl: number
+}
+
+/** Full historical TVL series for the chain. */
+export function getHistoricalTvl(): Promise<TvlPoint[]> {
+ return fetchJson<TvlPoint[]>(`https://api.llama.fi/v2/historicalChainTvl/${CHAIN_SLUG}`, {
+ label: 'defillama/historical',
+ timeoutMs: 8000,
+ })
+}
diff --git a/robinhood/hood-api/src/upstreams/rpc.ts b/robinhood/hood-api/src/upstreams/rpc.ts
new file mode 100644
index 000000000..eff0fe607
--- /dev/null
+++ b/robinhood/hood-api/src/upstreams/rpc.ts
@@ -0,0 +1,27 @@
+import { createHoodClient, type HoodClient } from 'hoodchain'
+import { resolvedMainnetRpcUrl } from '../lib/env.js'
+
+/**
+ * Shared read-only hoodchain clients. One mainnet client (chain 4663) for all
+ * market reads; a lazily-created testnet client for the few endpoints that
+ * accept `?network=testnet`. No account is attached — this service never signs.
+ */
+
+let mainnet: HoodClient | undefined
+let testnet: HoodClient | undefined
+
+export function mainnetClient(): HoodClient {
+ if (!mainnet) {
+ mainnet = createHoodClient({ chain: 'mainnet', rpcUrl: resolvedMainnetRpcUrl() })
+ }
+ return mainnet
+}
+
+export function testnetClient(): HoodClient {
+ if (!testnet) testnet = createHoodClient({ chain: 'testnet' })
+ return testnet
+}
+
+export function clientFor(network: 'mainnet' | 'testnet'): HoodClient {
+ return network === 'testnet' ? testnetClient() : mainnetClient()
+}
diff --git a/robinhood/hood-cli/LICENSE b/robinhood/hood-cli/LICENSE
new file mode 100644
index 000000000..4216cf919
--- /dev/null
+++ b/robinhood/hood-cli/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2026 nirholas
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/robinhood/hood-cli/contracts/ERC20.json b/robinhood/hood-cli/contracts/ERC20.json
new file mode 100644
index 000000000..9a58ff1ca
--- /dev/null
+++ b/robinhood/hood-cli/contracts/ERC20.json
@@ -0,0 +1,264 @@
+{
+ "contractName": "HoodToken",
+ "source": "contracts/ERC20.sol",
+ "compiler": {
+ "name": "solc",
+ "version": "0.8.36+commit.8a079791.Emscripten.clang",
+ "optimizer": {
+ "enabled": true,
+ "runs": 200
+ },
+ "evmVersion": "paris"
+ },
+ "abi": [
+ {
+ "inputs": [
+ {
+ "internalType": "string",
+ "name": "_name",
+ "type": "string"
+ },
+ {
+ "internalType": "string",
+ "name": "_symbol",
+ "type": "string"
+ },
+ {
+ "internalType": "uint8",
+ "name": "_decimals",
+ "type": "uint8"
+ },
+ {
+ "internalType": "uint256",
+ "name": "_initialSupply",
+ "type": "uint256"
+ }
+ ],
+ "stateMutability": "nonpayable",
+ "type": "constructor"
+ },
+ {
+ "anonymous": false,
+ "inputs": [
+ {
+ "indexed": true,
+ "internalType": "address",
+ "name": "owner",
+ "type": "address"
+ },
+ {
+ "indexed": true,
+ "internalType": "address",
+ "name": "spender",
+ "type": "address"
+ },
+ {
+ "indexed": false,
+ "internalType": "uint256",
+ "name": "value",
+ "type": "uint256"
+ }
+ ],
+ "name": "Approval",
+ "type": "event"
+ },
+ {
+ "anonymous": false,
+ "inputs": [
+ {
+ "indexed": true,
+ "internalType": "address",
+ "name": "from",
+ "type": "address"
+ },
+ {
+ "indexed": true,
+ "internalType": "address",
+ "name": "to",
+ "type": "address"
+ },
+ {
+ "indexed": false,
+ "internalType": "uint256",
+ "name": "value",
+ "type": "uint256"
+ }
+ ],
+ "name": "Transfer",
+ "type": "event"
+ },
+ {
+ "inputs": [
+ {
+ "internalType": "address",
+ "name": "",
+ "type": "address"
+ },
+ {
+ "internalType": "address",
+ "name": "",
+ "type": "address"
+ }
+ ],
+ "name": "allowance",
+ "outputs": [
+ {
+ "internalType": "uint256",
+ "name": "",
+ "type": "uint256"
+ }
+ ],
+ "stateMutability": "view",
+ "type": "function"
+ },
+ {
+ "inputs": [
+ {
+ "internalType": "address",
+ "name": "spender",
+ "type": "address"
+ },
+ {
+ "internalType": "uint256",
+ "name": "value",
+ "type": "uint256"
+ }
+ ],
+ "name": "approve",
+ "outputs": [
+ {
+ "internalType": "bool",
+ "name": "",
+ "type": "bool"
+ }
+ ],
+ "stateMutability": "nonpayable",
+ "type": "function"
+ },
+ {
+ "inputs": [
+ {
+ "internalType": "address",
+ "name": "",
+ "type": "address"
+ }
+ ],
+ "name": "balanceOf",
+ "outputs": [
+ {
+ "internalType": "uint256",
+ "name": "",
+ "type": "uint256"
+ }
+ ],
+ "stateMutability": "view",
+ "type": "function"
+ },
+ {
+ "inputs": [],
+ "name": "decimals",
+ "outputs": [
+ {
+ "internalType": "uint8",
+ "name": "",
+ "type": "uint8"
+ }
+ ],
+ "stateMutability": "view",
+ "type": "function"
+ },
+ {
+ "inputs": [],
+ "name": "name",
+ "outputs": [
+ {
+ "internalType": "string",
+ "name": "",
+ "type": "string"
+ }
+ ],
+ "stateMutability": "view",
+ "type": "function"
+ },
+ {
+ "inputs": [],
+ "name": "symbol",
+ "outputs": [
+ {
+ "internalType": "string",
+ "name": "",
+ "type": "string"
+ }
+ ],
+ "stateMutability": "view",
+ "type": "function"
+ },
+ {
+ "inputs": [],
+ "name": "totalSupply",
+ "outputs": [
+ {
+ "internalType": "uint256",
+ "name": "",
+ "type": "uint256"
+ }
+ ],
+ "stateMutability": "view",
+ "type": "function"
+ },
+ {
+ "inputs": [
+ {
+ "internalType": "address",
+ "name": "to",
+ "type": "address"
+ },
+ {
+ "internalType": "uint256",
+ "name": "value",
+ "type": "uint256"
+ }
+ ],
+ "name": "transfer",
+ "outputs": [
+ {
+ "internalType": "bool",
+ "name": "",
+ "type": "bool"
+ }
+ ],
+ "stateMutability": "nonpayable",
+ "type": "function"
+ },
+ {
+ "inputs": [
+ {
+ "internalType": "address",
+ "name": "from",
+ "type": "address"
+ },
+ {
+ "internalType": "address",
+ "name": "to",
+ "type": "address"
+ },
+ {
+ "internalType": "uint256",
+ "name": "value",
+ "type": "uint256"
+ }
+ ],
+ "name": "transferFrom",
+ "outputs": [
+ {
+ "internalType": "bool",
+ "name": "",
+ "type": "bool"
+ }
+ ],
+ "stateMutability": "nonpayable",
+ "type": "function"
+ }
+ ],
+ "bytecode": "0x60a060405234801561001057600080fd5b50604051610b29380380610b2983398101604081905261002f91610182565b600061003b85826102a1565b50600161004884826102a1565b5060ff8216608081905260009061006090600a610462565b61006a9083610475565b6002819055336000818152600360205260408082208490555192935090917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906100b79085815260200190565b60405180910390a3505050505061048c565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126100f057600080fd5b81516001600160401b03811115610109576101096100c9565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610137576101376100c9565b60405281815283820160200185101561014f57600080fd5b60005b8281101561016e57602081860181015183830182015201610152565b506000918101602001919091529392505050565b6000806000806080858703121561019857600080fd5b84516001600160401b038111156101ae57600080fd5b6101ba878288016100df565b602087015190955090506001600160401b038111156101d857600080fd5b6101e4878288016100df565b935050604085015160ff811681146101fb57600080fd5b6060959095015193969295505050565b600181811c9082168061021f57607f821691505b60208210810361023f57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561029c578282111561029c57806000526020600020601f840160051c6020851015610273575060005b90810190601f840160051c0360005b8181101561029857600083820155600101610282565b5050505b505050565b81516001600160401b038111156102ba576102ba6100c9565b6102ce816102c8845461020b565b84610245565b6020601f82116001811461030257600083156102ea5750848201515b600019600385901b1c1916600184901b17845561035c565b600084815260208120601f198516915b828110156103325787850151825560209485019460019092019101610312565b50848210156103505786840151600019600387901b60f8161c191681555b505060018360011b0184555b5050505050565b634e487b7160e01b600052601160045260246000fd5b6001815b60018411156103b45780850481111561039857610398610363565b60018416156103a657908102905b60019390931c92800261037d565b935093915050565b6000826103cb5750600161045c565b816103d85750600061045c565b81600181146103ee57600281146103f857610414565b600191505061045c565b60ff84111561040957610409610363565b50506001821b61045c565b5060208310610133831016604e8410600b8410161715610437575081810a61045c565b6104446000198484610379565b806000190482111561045857610458610363565b0290505b92915050565b600061046e83836103bc565b9392505050565b808202811582820484141761045c5761045c610363565b6080516106826104a7600039600061010801526106826000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063313ce56711610066578063313ce5671461010357806370a082311461013c57806395d89b411461015c578063a9059cbb14610164578063dd62ed3e1461017757600080fd5b806306fdde0314610098578063095ea7b3146100b657806318160ddd146100d957806323b872dd146100f0575b600080fd5b6100a06101a2565b6040516100ad91906104d2565b60405180910390f35b6100c96100c436600461053c565b610230565b60405190151581526020016100ad565b6100e260025481565b6040519081526020016100ad565b6100c96100fe366004610566565b61029d565b61012a7f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff90911681526020016100ad565b6100e261014a3660046105a3565b60036020526000908152604090205481565b6100a0610362565b6100c961017236600461053c565b61036f565b6100e26101853660046105be565b600460209081526000928352604080842090915290825290205481565b600080546101af906105f1565b80601f01602080910402602001604051908101604052809291908181526020018280546101db906105f1565b80156102285780601f106101fd57610100808354040283529160200191610228565b820191906000526020600020905b81548152906001019060200180831161020b57829003601f168201915b505050505081565b3360008181526004602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259061028b9086815260200190565b60405180910390a35060015b92915050565b6001600160a01b0383166000908152600460209081526040808320338452909152812054600019811461034e578281101561031f5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064015b60405180910390fd5b610329838261062b565b6001600160a01b03861660009081526004602090815260408083203384529091529020555b610359858585610383565b95945050505050565b600180546101af906105f1565b600061037c338484610383565b9392505050565b60006001600160a01b0383166103e75760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610316565b6001600160a01b0384166000908152600360205260409020548281101561045f5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610316565b6001600160a01b0380861660008181526003602052604080822087860390559287168082529083902080548701905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906104bf9087815260200190565b60405180910390a3506001949350505050565b602081526000825180602084015260005b8181101561050057602081860181015160408684010152016104e3565b506000604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b038116811461053757600080fd5b919050565b6000806040838503121561054f57600080fd5b61055883610520565b946020939093013593505050565b60008060006060848603121561057b57600080fd5b61058484610520565b925061059260208501610520565b929592945050506040919091013590565b6000602082840312156105b557600080fd5b61037c82610520565b600080604083850312156105d157600080fd5b6105da83610520565b91506105e860208401610520565b90509250929050565b600181811c9082168061060557607f821691505b60208210810361062557634e487b7160e01b600052602260045260246000fd5b50919050565b8181038181111561029757634e487b7160e01b600052601160045260246000fdfea2646970667358221220471bc2210cddfb1cf75b9da206267431454db88507c132d3528fab99e5907b0864736f6c63430008240033"
+}
diff --git a/robinhood/hood-cli/contracts/ERC20.sol b/robinhood/hood-cli/contracts/ERC20.sol
new file mode 100644
index 000000000..5babf5945
--- /dev/null
+++ b/robinhood/hood-cli/contracts/ERC20.sol
@@ -0,0 +1,70 @@
+// SPDX-License-Identifier: MIT
+pragma solidity ^0.8.20;
+
+/// @title HoodToken
+/// @notice A minimal, complete, fixed-supply ERC-20 used by `hood deploy-token`.
+/// The entire supply is minted to the deployer at construction; there is
+/// no mint/owner/pause surface — what you deploy is immutable. Standard
+/// ERC-20 semantics (EIP-20): 18-decimal default, checked arithmetic
+/// (Solidity 0.8 reverts on overflow/underflow).
+/// @dev Self-contained (no imports) so it compiles with a bare solc and the
+/// committed artifact in contracts/ERC20.json is byte-for-byte
+/// reproducible: `npm run compile-erc20`.
+contract HoodToken {
+ string public name;
+ string public symbol;
+ uint8 public immutable decimals;
+ uint256 public totalSupply;
+
+ mapping(address => uint256) public balanceOf;
+ mapping(address => mapping(address => uint256)) public allowance;
+
+ event Transfer(address indexed from, address indexed to, uint256 value);
+ event Approval(address indexed owner, address indexed spender, uint256 value);
+
+ /// @param _name Token name.
+ /// @param _symbol Token ticker.
+ /// @param _decimals Token decimals (18 is the ERC-20 convention).
+ /// @param _initialSupply Whole-token supply; scaled by 10**_decimals and
+ /// minted in full to the deployer.
+ constructor(string memory _name, string memory _symbol, uint8 _decimals, uint256 _initialSupply) {
+ name = _name;
+ symbol = _symbol;
+ decimals = _decimals;
+ uint256 supply = _initialSupply * (10 ** uint256(_decimals));
+ totalSupply = supply;
+ balanceOf[msg.sender] = supply;
+ emit Transfer(address(0), msg.sender, supply);
+ }
+
+ function transfer(address to, uint256 value) external returns (bool) {
+ return _transfer(msg.sender, to, value);
+ }
+
+ function approve(address spender, uint256 value) external returns (bool) {
+ allowance[msg.sender][spender] = value;
+ emit Approval(msg.sender, spender, value);
+ return true;
+ }
+
+ function transferFrom(address from, address to, uint256 value) external returns (bool) {
+ uint256 allowed = allowance[from][msg.sender];
+ if (allowed != type(uint256).max) {
+ require(allowed >= value, "ERC20: insufficient allowance");
+ allowance[from][msg.sender] = allowed - value;
+ }
+ return _transfer(from, to, value);
+ }
+
+ function _transfer(address from, address to, uint256 value) internal returns (bool) {
+ require(to != address(0), "ERC20: transfer to the zero address");
+ uint256 fromBalance = balanceOf[from];
+ require(fromBalance >= value, "ERC20: transfer amount exceeds balance");
+ unchecked {
+ balanceOf[from] = fromBalance - value;
+ balanceOf[to] += value;
+ }
+ emit Transfer(from, to, value);
+ return true;
+ }
+}
diff --git a/robinhood/hood-cli/package-lock.json b/robinhood/hood-cli/package-lock.json
new file mode 100644
index 000000000..1100d95d2
--- /dev/null
+++ b/robinhood/hood-cli/package-lock.json
@@ -0,0 +1,2308 @@
+{
+ "name": "hood-cli",
+ "version": "0.1.0",
+ "lockfileVersion": 3,
+ "requires": true,
+ "packages": {
+ "": {
+ "name": "hood-cli",
+ "version": "0.1.0",
+ "license": "MIT",
+ "dependencies": {
+ "commander": "^12.1.0",
+ "hoodchain": "file:../robinhood-chain-sdk",
+ "viem": "^2.55.0",
+ "ws": "^8.18.0"
+ },
+ "bin": {
+ "hood": "dist/cli.js",
+ "hoodc": "dist/cli.js"
+ },
+ "devDependencies": {
+ "@types/node": "^24.0.0",
+ "@types/ws": "^8.18.0",
+ "tsup": "^8.5.0",
+ "typescript": "^5.9.0",
+ "vitest": "^3.2.0"
+ },
+ "engines": {
+ "node": ">=20"
+ }
+ },
+ "../robinhood-chain-sdk": {
+ "name": "hoodchain",
+ "version": "0.1.0",
+ "license": "MIT",
+ "devDependencies": {
+ "@types/node": "^24.0.0",
+ "@types/ws": "^8.18.0",
+ "tsup": "^8.5.0",
+ "typedoc": "^0.28.0",
+ "typescript": "^5.9.0",
+ "viem": "^2.55.0",
+ "vitest": "^3.2.0",
+ "ws": "^8.18.0"
+ },
+ "engines": {
+ "node": ">=20"
+ },
+ "peerDependencies": {
+ "viem": "^2.55.0",
+ "ws": "^8.18.0"
+ },
+ "peerDependenciesMeta": {
+ "ws": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@adraffy/ens-normalize": {
+ "version": "1.11.1",
+ "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.11.1.tgz",
+ "integrity": "sha512-nhCBV3quEgesuf7c7KYfperqSS14T8bYuvJ8PcLJp6znkZpFc0AuW4qBtr8eKVyPPe/8RSr7sglCWPU5eaxwKQ==",
+ "license": "MIT"
+ },
+ "node_modules/@esbuild/aix-ppc64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.27.7.tgz",
+ "integrity": "sha512-EKX3Qwmhz1eMdEJokhALr0YiD0lhQNwDqkPYyPhiSwKrh7/4KRjQc04sZ8db+5DVVnZ1LmbNDI1uAMPEUBnQPg==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "aix"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/android-arm": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.27.7.tgz",
+ "integrity": "sha512-jbPXvB4Yj2yBV7HUfE2KHe4GJX51QplCN1pGbYjvsyCZbQmies29EoJbkEc+vYuU5o45AfQn37vZlyXy4YJ8RQ==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/android-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.27.7.tgz",
+ "integrity": "sha512-62dPZHpIXzvChfvfLJow3q5dDtiNMkwiRzPylSCfriLvZeq0a1bWChrGx/BbUbPwOrsWKMn8idSllklzBy+dgQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/android-x64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.27.7.tgz",
+ "integrity": "sha512-x5VpMODneVDb70PYV2VQOmIUUiBtY3D3mPBG8NxVk5CogneYhkR7MmM3yR/uMdITLrC1ml/NV1rj4bMJuy9MCg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/darwin-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.27.7.tgz",
+ "integrity": "sha512-5lckdqeuBPlKUwvoCXIgI2D9/ABmPq3Rdp7IfL70393YgaASt7tbju3Ac+ePVi3KDH6N2RqePfHnXkaDtY9fkw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/darwin-x64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.27.7.tgz",
+ "integrity": "sha512-rYnXrKcXuT7Z+WL5K980jVFdvVKhCHhUwid+dDYQpH+qu+TefcomiMAJpIiC2EM3Rjtq0sO3StMV/+3w3MyyqQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/freebsd-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.27.7.tgz",
+ "integrity": "sha512-B48PqeCsEgOtzME2GbNM2roU29AMTuOIN91dsMO30t+Ydis3z/3Ngoj5hhnsOSSwNzS+6JppqWsuhTp6E82l2w==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/freebsd-x64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.27.7.tgz",
+ "integrity": "sha512-jOBDK5XEjA4m5IJK3bpAQF9/Lelu/Z9ZcdhTRLf4cajlB+8VEhFFRjWgfy3M1O4rO2GQ/b2dLwCUGpiF/eATNQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-arm": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.27.7.tgz",
+ "integrity": "sha512-RkT/YXYBTSULo3+af8Ib0ykH8u2MBh57o7q/DAs3lTJlyVQkgQvlrPTnjIzzRPQyavxtPtfg0EopvDyIt0j1rA==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.27.7.tgz",
+ "integrity": "sha512-RZPHBoxXuNnPQO9rvjh5jdkRmVizktkT7TCDkDmQ0W2SwHInKCAV95GRuvdSvA7w4VMwfCjUiPwDi0ZO6Nfe9A==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-ia32": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.27.7.tgz",
+ "integrity": "sha512-GA48aKNkyQDbd3KtkplYWT102C5sn/EZTY4XROkxONgruHPU72l+gW+FfF8tf2cFjeHaRbWpOYa/uRBz/Xq1Pg==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-loong64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.27.7.tgz",
+ "integrity": "sha512-a4POruNM2oWsD4WKvBSEKGIiWQF8fZOAsycHOt6JBpZ+JN2n2JH9WAv56SOyu9X5IqAjqSIPTaJkqN8F7XOQ5Q==",
+ "cpu": [
+ "loong64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-mips64el": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.27.7.tgz",
+ "integrity": "sha512-KabT5I6StirGfIz0FMgl1I+R1H73Gp0ofL9A3nG3i/cYFJzKHhouBV5VWK1CSgKvVaG4q1RNpCTR2LuTVB3fIw==",
+ "cpu": [
+ "mips64el"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-ppc64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.27.7.tgz",
+ "integrity": "sha512-gRsL4x6wsGHGRqhtI+ifpN/vpOFTQtnbsupUF5R5YTAg+y/lKelYR1hXbnBdzDjGbMYjVJLJTd2OFmMewAgwlQ==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-riscv64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.27.7.tgz",
+ "integrity": "sha512-hL25LbxO1QOngGzu2U5xeXtxXcW+/GvMN3ejANqXkxZ/opySAZMrc+9LY/WyjAan41unrR3YrmtTsUpwT66InQ==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-s390x": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.27.7.tgz",
+ "integrity": "sha512-2k8go8Ycu1Kb46vEelhu1vqEP+UeRVj2zY1pSuPdgvbd5ykAw82Lrro28vXUrRmzEsUV0NzCf54yARIK8r0fdw==",
+ "cpu": [
+ "s390x"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-x64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.27.7.tgz",
+ "integrity": "sha512-hzznmADPt+OmsYzw1EE33ccA+HPdIqiCRq7cQeL1Jlq2gb1+OyWBkMCrYGBJ+sxVzve2ZJEVeePbLM2iEIZSxA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/netbsd-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.27.7.tgz",
+ "integrity": "sha512-b6pqtrQdigZBwZxAn1UpazEisvwaIDvdbMbmrly7cDTMFnw/+3lVxxCTGOrkPVnsYIosJJXAsILG9XcQS+Yu6w==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "netbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/netbsd-x64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.27.7.tgz",
+ "integrity": "sha512-OfatkLojr6U+WN5EDYuoQhtM+1xco+/6FSzJJnuWiUw5eVcicbyK3dq5EeV/QHT1uy6GoDhGbFpprUiHUYggrw==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "netbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/openbsd-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.27.7.tgz",
+ "integrity": "sha512-AFuojMQTxAz75Fo8idVcqoQWEHIXFRbOc1TrVcFSgCZtQfSdc1RXgB3tjOn/krRHENUB4j00bfGjyl2mJrU37A==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/openbsd-x64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.27.7.tgz",
+ "integrity": "sha512-+A1NJmfM8WNDv5CLVQYJ5PshuRm/4cI6WMZRg1by1GwPIQPCTs1GLEUHwiiQGT5zDdyLiRM/l1G0Pv54gvtKIg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/openharmony-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.27.7.tgz",
+ "integrity": "sha512-+KrvYb/C8zA9CU/g0sR6w2RBw7IGc5J2BPnc3dYc5VJxHCSF1yNMxTV5LQ7GuKteQXZtspjFbiuW5/dOj7H4Yw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openharmony"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/sunos-x64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.27.7.tgz",
+ "integrity": "sha512-ikktIhFBzQNt/QDyOL580ti9+5mL/YZeUPKU2ivGtGjdTYoqz6jObj6nOMfhASpS4GU4Q/Clh1QtxWAvcYKamA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "sunos"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/win32-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.27.7.tgz",
+ "integrity": "sha512-7yRhbHvPqSpRUV7Q20VuDwbjW5kIMwTHpptuUzV+AA46kiPze5Z7qgt6CLCK3pWFrHeNfDd1VKgyP4O+ng17CA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/win32-ia32": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.27.7.tgz",
+ "integrity": "sha512-SmwKXe6VHIyZYbBLJrhOoCJRB/Z1tckzmgTLfFYOfpMAx63BJEaL9ExI8x7v0oAO3Zh6D/Oi1gVxEYr5oUCFhw==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/win32-x64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.27.7.tgz",
+ "integrity": "sha512-56hiAJPhwQ1R4i+21FVF7V8kSD5zZTdHcVuRFMW0hn753vVfQN8xlx4uOPT4xoGH0Z/oVATuR82AiqSTDIpaHg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@jridgewell/gen-mapping": {
+ "version": "0.3.13",
+ "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz",
+ "integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/sourcemap-codec": "^1.5.0",
+ "@jridgewell/trace-mapping": "^0.3.24"
+ }
+ },
+ "node_modules/@jridgewell/resolve-uri": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz",
+ "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/@jridgewell/sourcemap-codec": {
+ "version": "1.5.5",
+ "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz",
+ "integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@jridgewell/trace-mapping": {
+ "version": "0.3.31",
+ "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz",
+ "integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/resolve-uri": "^3.1.0",
+ "@jridgewell/sourcemap-codec": "^1.4.14"
+ }
+ },
+ "node_modules/@noble/ciphers": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/@noble/ciphers/-/ciphers-1.3.0.tgz",
+ "integrity": "sha512-2I0gnIVPtfnMw9ee9h1dJG7tp81+8Ob3OJb3Mv37rx5L40/b0i7djjCVvGOVqc9AEIQyvyu1i6ypKdFw8R8gQw==",
+ "license": "MIT",
+ "engines": {
+ "node": "^14.21.3 || >=16"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/@noble/curves": {
+ "version": "1.9.1",
+ "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.9.1.tgz",
+ "integrity": "sha512-k11yZxZg+t+gWvBbIswW0yoJlu8cHOC7dhunwOzoWH/mXGBiYyR4YY6hAEK/3EUs4UpB8la1RfdRpeGsFHkWsA==",
+ "license": "MIT",
+ "dependencies": {
+ "@noble/hashes": "1.8.0"
+ },
+ "engines": {
+ "node": "^14.21.3 || >=16"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/@noble/hashes": {
+ "version": "1.8.0",
+ "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.8.0.tgz",
+ "integrity": "sha512-jCs9ldd7NwzpgXDIf6P3+NrHh9/sD6CQdxHyjQI+h/6rDNo88ypBxxz45UDuZHz9r3tNz7N/VInSVoVdtXEI4A==",
+ "license": "MIT",
+ "engines": {
+ "node": "^14.21.3 || >=16"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/@rollup/rollup-android-arm-eabi": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.62.2.tgz",
+ "integrity": "sha512-6o7ZLZK+BeenkZCFNDXqpbjw9bD6nuWonvS/lwQJp7NoVVxm6p3qE7qQ5jGuBjiFsgvqjD8mZAU5oWxTmbOeOg==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ]
+ },
+ "node_modules/@rollup/rollup-android-arm64": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.62.2.tgz",
+ "integrity": "sha512-BaH7BllCACHoH1LguOU56UItGfUWjujlO65kS9LAodViaN4bwIKd7oeW/ZHJ/4ljr/7MIiENnNy3HJ0zXv8Zkw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ]
+ },
+ "node_modules/@rollup/rollup-darwin-arm64": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.62.2.tgz",
+ "integrity": "sha512-v39RCCvj4He82I9sFmk+M1VZ0PLM9sfsLVikjfx2hYBNALhrrOR2D3JjQA6AhlaSOgcR+RzrKY7e1+bT6SUO/A==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ]
+ },
+ "node_modules/@rollup/rollup-darwin-x64": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.62.2.tgz",
+ "integrity": "sha512-yl0y2vq3S3lHeuXhEdss6TWfKW8vkujImO12tn4ZkG/4oghr09LvdYm2RElVjokTQiUvDUGXLGsYeLqUMCKpGA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ]
+ },
+ "node_modules/@rollup/rollup-freebsd-arm64": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.62.2.tgz",
+ "integrity": "sha512-tT4pvt4qXD+vEoezupCWi+a1F0vvDiksiHc+PxRlYTOH1I6/X4id9jPxTP+Fg+545euaFT1jJVs4CEdHZAU1vw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ]
+ },
+ "node_modules/@rollup/rollup-freebsd-x64": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.62.2.tgz",
+ "integrity": "sha512-6nU5F2wCW+qvCBhTn1pdIU3bzsIoF7EUwsCDRxilWGprQR6yd508YnH9+OKFCwpfS8pjZqDUmnCAr7exax0XCg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm-gnueabihf": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.62.2.tgz",
+ "integrity": "sha512-n1GJHPOvpIfhi3TmrCeh6S6URt9BFCt0KQE3qvexyGCTAKpR4Lg+eWvNZEqu7epxwus/8ElT3hacYEucm49SZg==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm-musleabihf": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.62.2.tgz",
+ "integrity": "sha512-JqgflS8wEB+UXV/vS1RpRbifGBeN4D5lz8D8oOFbFZw4vedvdOgCFAjfBmIMdW3yL10XpQQ0Ambepw6MXrhOnA==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm64-gnu": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.62.2.tgz",
+ "integrity": "sha512-wnFJkogWvN4jm/hQRF2UBaeUmk20j5+DmHvoyWii2b8HJDyvz1MF2OU/6ynXt2KR63rbZLWkFpoytpdc/yBuSA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm64-musl": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.62.2.tgz",
+ "integrity": "sha512-HVu2bp0zhvJ8xHEV9+UUs7S90VadmBSY3LcIMvozbPo4AuMGDWlz3ymHLHZPX4hR67TKTt8Qp5PJ5RBg/i+RMQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-loong64-gnu": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.62.2.tgz",
+ "integrity": "sha512-mQqqAV8QaoSgr9I2fKDLY2BAVvmKjWoGiu/cSYQonsLvtqwEn1E4QYfnCOcp5zoEqNhsDYin1s6jx/VJmrxlZg==",
+ "cpu": [
+ "loong64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-loong64-musl": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-musl/-/rollup-linux-loong64-musl-4.62.2.tgz",
+ "integrity": "sha512-IxKLoxCQ2IWi6bT2akyDUBGsOImDKB+sPp4EsTmwFQ/fMwpCKm8uLSSgP/Kx/QYUgKis6SEZ5/Nlhup0DIA0PQ==",
+ "cpu": [
+ "loong64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-ppc64-gnu": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.62.2.tgz",
+ "integrity": "sha512-Mk5ha2RQSgyFfmYYLkBpPnUk8D8FriBxesO1u9O75X0mHgXL1UQcH5Itl2lurWL2tj0RxV9b9tJgipac0hRY9A==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-ppc64-musl": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-musl/-/rollup-linux-ppc64-musl-4.62.2.tgz",
+ "integrity": "sha512-CjvEnqJL/0/TQ3TXX3OPIJ/kmBellrWd4heXUmHeJlTnmwjKpSJzoehLaL6Xk0ZnMHBu9dZuFADNOrtjF4v+2w==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-riscv64-gnu": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.62.2.tgz",
+ "integrity": "sha512-1SiZbzwdkaDURsew/tSOrooKiYy7EQGT6m8ufavAi9NEyQb/6VuIxFXAL1fqa4iZe3g4NbNk4P7J32z2tw5Mgg==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-riscv64-musl": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.62.2.tgz",
+ "integrity": "sha512-nQts12zJ3NQRoE6uYljOH89v7szzLDvG2JD/vsX+vGXU8w/At1GowTZ5/7qeFQ8m7L55rpR8Okugnuo5bgjy2Q==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-s390x-gnu": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.62.2.tgz",
+ "integrity": "sha512-E9/ll019jhPIJgpzfZoIkBGhcz+kKNgVWYRY0zr9srBdPPFVpvOKW8VaJKUbeK+eZXyQF9ltME+Kk6affeaPgg==",
+ "cpu": [
+ "s390x"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-x64-gnu": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.62.2.tgz",
+ "integrity": "sha512-5BqxR/pshjey51iliyzTD5Xi3EN0aLmQ2lZ3lvefVV9c82BvrLo2/6OT55iifpWBufs6kdwWbuOKS841DrmK9A==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-x64-musl": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.62.2.tgz",
+ "integrity": "sha512-uNN83XxQrRAh/w0/pmAfibcwyb6YWt4gP+dpnQKPVJshAloQ785ii8CT8ZCIxkGg9opVsvAlGhFitSm6D1Jjpg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-openbsd-x64": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-openbsd-x64/-/rollup-openbsd-x64-4.62.2.tgz",
+ "integrity": "sha512-srjEIxSH3LRnJN6THczDHWQplqEMFiAJrTab0msUryh9kwNpkICf3Ea6q6MN/2cZwRFUNx5w+h6Hpi4QuHS6Zg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openbsd"
+ ]
+ },
+ "node_modules/@rollup/rollup-openharmony-arm64": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.62.2.tgz",
+ "integrity": "sha512-8hOJnxgbyObnCm5AlRA3A931xX19xq80RjVTKgJOvEKWqJruP/Uf12IbAOaDjjEXYRewwHLfmF0YRIdK3OwKWA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openharmony"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-arm64-msvc": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.62.2.tgz",
+ "integrity": "sha512-mmF4AY1i0hG/bLWUctUq59gtmgaSIRa3cu/A3JFRp/sCNEme2bgDEiDS22P9FbnJB8NJNF4jPJiSP5RHQpUTDg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-ia32-msvc": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.62.2.tgz",
+ "integrity": "sha512-DZgkknc6jhHrk46V25vbAM0zZkyP0nSDkJB8/dRkLTxv470dOmWDqGoEJl/9A0dFfS7yE3REOwNDxpHwSLSt0Q==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-x64-gnu": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.62.2.tgz",
+ "integrity": "sha512-T6xr6ucWSFto+VGajA8YH26LdpHRuP4YLHEKAtCWvJDOlnmWcDZVCI2Jmjr+IFHDlt2zRaTAKE4tfjTaWLgJBg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-x64-msvc": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.62.2.tgz",
+ "integrity": "sha512-BfzEnDJOt9T8M989/lA37EcJgat01wLRnoi5dQf3QzOH7jzpqTAzdDbVfRljVr5r+jzKqpbHeyOfAaXxAd0PAA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@scure/base": {
+ "version": "1.2.6",
+ "resolved": "https://registry.npmjs.org/@scure/base/-/base-1.2.6.tgz",
+ "integrity": "sha512-g/nm5FgUa//MCj1gV09zTJTaM6KBAHqLN907YVQqf7zC49+DcO4B1so4ZX07Ef10Twr6nuqYEH9GEggFXA4Fmg==",
+ "license": "MIT",
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/@scure/bip32": {
+ "version": "1.7.0",
+ "resolved": "https://registry.npmjs.org/@scure/bip32/-/bip32-1.7.0.tgz",
+ "integrity": "sha512-E4FFX/N3f4B80AKWp5dP6ow+flD1LQZo/w8UnLGYZO674jS6YnYeepycOOksv+vLPSpgN35wgKgy+ybfTb2SMw==",
+ "license": "MIT",
+ "dependencies": {
+ "@noble/curves": "~1.9.0",
+ "@noble/hashes": "~1.8.0",
+ "@scure/base": "~1.2.5"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/@scure/bip39": {
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/@scure/bip39/-/bip39-1.6.0.tgz",
+ "integrity": "sha512-+lF0BbLiJNwVlev4eKelw1WWLaiKXw7sSl8T6FvBlWkdX+94aGJ4o8XjUdlyhTCjd8c+B3KT3JfS8P0bLRNU6A==",
+ "license": "MIT",
+ "dependencies": {
+ "@noble/hashes": "~1.8.0",
+ "@scure/base": "~1.2.5"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/@types/chai": {
+ "version": "5.2.3",
+ "resolved": "https://registry.npmjs.org/@types/chai/-/chai-5.2.3.tgz",
+ "integrity": "sha512-Mw558oeA9fFbv65/y4mHtXDs9bPnFMZAL/jxdPFUpOHHIXX91mcgEHbS5Lahr+pwZFR8A7GQleRWeI6cGFC2UA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/deep-eql": "*",
+ "assertion-error": "^2.0.1"
+ }
+ },
+ "node_modules/@types/deep-eql": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/@types/deep-eql/-/deep-eql-4.0.2.tgz",
+ "integrity": "sha512-c9h9dVVMigMPc4bwTvC5dxqtqJZwQPePsWjPlpSOnojbor6pGqdk541lfA7AqFQr5pB1BRdq0juY9db81BwyFw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@types/estree": {
+ "version": "1.0.9",
+ "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.9.tgz",
+ "integrity": "sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@types/node": {
+ "version": "24.13.3",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-24.13.3.tgz",
+ "integrity": "sha512-Dh8vAsV36ig5wa9OX4pXvMc9D3Veibfw2wix0CUwYODLD8nkj9UsLjASr49nPg+2eKzxhBV+v7L8pXvT4e639Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "undici-types": "~7.18.0"
+ }
+ },
+ "node_modules/@types/ws": {
+ "version": "8.18.1",
+ "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.18.1.tgz",
+ "integrity": "sha512-ThVF6DCVhA8kUGy+aazFQ4kXQ7E1Ty7A3ypFOe0IcJV8O/M511G99AW24irKrW56Wt44yG9+ij8FaqoBGkuBXg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/node": "*"
+ }
+ },
+ "node_modules/@vitest/expect": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-3.2.7.tgz",
+ "integrity": "sha512-E8eBXaKibuvH2pSZErOjdVb5vF4PbKYcrnluBTYxEk1l/VhhwZg1kZQsdtjq+CsF5CFydf2Rdkz7jDHKSisi3w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/chai": "^5.2.2",
+ "@vitest/spy": "3.2.7",
+ "@vitest/utils": "3.2.7",
+ "chai": "^5.2.0",
+ "tinyrainbow": "^2.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/@vitest/mocker": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-3.2.7.tgz",
+ "integrity": "sha512-Trr0hYO9CM3Wj6ksWHRhK9IZpIY6wTMO5u/MqXurMxT57sWBaOPEtP3Oq60ihZuh5JsiagKfz95OcxdEP6dBrA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@vitest/spy": "3.2.7",
+ "estree-walker": "^3.0.3",
+ "magic-string": "^0.30.17"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ },
+ "peerDependencies": {
+ "msw": "^2.4.9",
+ "vite": "^5.0.0 || ^6.0.0 || ^7.0.0-0"
+ },
+ "peerDependenciesMeta": {
+ "msw": {
+ "optional": true
+ },
+ "vite": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@vitest/pretty-format": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-3.2.7.tgz",
+ "integrity": "sha512-KUHlwqVu0sRlhCdyPdQ/wBoTfRahjUky1MubOmYw9fWfIZy1gNoHpuaaQBPAaMaVYdQYHJLurzj8ECCj5OwTqA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "tinyrainbow": "^2.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/@vitest/runner": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-3.2.7.tgz",
+ "integrity": "sha512-sB9y4ovltoQP+WaUPwmSxO9WIg9Ig694Di5PalVPsYHklAdE027mehpWF2SQSVq+k6sFgaivbTjTJwZLSHbedA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@vitest/utils": "3.2.7",
+ "pathe": "^2.0.3",
+ "strip-literal": "^3.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/@vitest/snapshot": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-3.2.7.tgz",
+ "integrity": "sha512-7C+MwShwtBSI5Buwoyg3s/iY1eHL9PKAf+O1wVh/TdnjXUtkoL/9YQtre90i4MtNXM6edP1wJ2zOBpfCyhIS7g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@vitest/pretty-format": "3.2.7",
+ "magic-string": "^0.30.17",
+ "pathe": "^2.0.3"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/@vitest/spy": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-3.2.7.tgz",
+ "integrity": "sha512-Q2eQGI6d2L/hBtZ0qNuKcAGid68XK6cv1xsoaIma6PaJhHPoqcEJhYpXZ/5myCMqkNgtP6UKuBhbc0nHKnrkuQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "tinyspy": "^4.0.3"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/@vitest/utils": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-3.2.7.tgz",
+ "integrity": "sha512-x6BDOd7dyo3PFLY3I9/HJ25X/6OurhGXk2/B9gOZNPF7XDVjeBK4k01lQE5uvDpbuheErh91qYuE1E2OEjK3Rw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@vitest/pretty-format": "3.2.7",
+ "loupe": "^3.1.4",
+ "tinyrainbow": "^2.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/abitype": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/abitype/-/abitype-1.2.3.tgz",
+ "integrity": "sha512-Ofer5QUnuUdTFsBRwARMoWKOH1ND5ehwYhJ3OJ/BQO+StkwQjHw0XyVh4vDttzHB7QOFhPHa/o413PJ82gU/Tg==",
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/wevm"
+ },
+ "peerDependencies": {
+ "typescript": ">=5.0.4",
+ "zod": "^3.22.0 || ^4.0.0"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ },
+ "zod": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/acorn": {
+ "version": "8.17.0",
+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.17.0.tgz",
+ "integrity": "sha512-xRQbDb9BnwDafYNn6Vwl839DYVjqXYb1XVGtWAZ1kcDc6iwAL4hg3B1dZlRiuENFeO2H53gFG3in621AdERVAg==",
+ "dev": true,
+ "license": "MIT",
+ "bin": {
+ "acorn": "bin/acorn"
+ },
+ "engines": {
+ "node": ">=0.4.0"
+ }
+ },
+ "node_modules/any-promise": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz",
+ "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/assertion-error": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-2.0.1.tgz",
+ "integrity": "sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/bundle-require": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/bundle-require/-/bundle-require-5.1.0.tgz",
+ "integrity": "sha512-3WrrOuZiyaaZPWiEt4G3+IffISVC9HYlWueJEBWED4ZH4aIAC2PnkdnuRrR94M+w6yGWn4AglWtJtBI8YqvgoA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "load-tsconfig": "^0.2.3"
+ },
+ "engines": {
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ },
+ "peerDependencies": {
+ "esbuild": ">=0.18"
+ }
+ },
+ "node_modules/cac": {
+ "version": "6.7.14",
+ "resolved": "https://registry.npmjs.org/cac/-/cac-6.7.14.tgz",
+ "integrity": "sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/chai": {
+ "version": "5.3.3",
+ "resolved": "https://registry.npmjs.org/chai/-/chai-5.3.3.tgz",
+ "integrity": "sha512-4zNhdJD/iOjSH0A05ea+Ke6MU5mmpQcbQsSOkgdaUMJ9zTlDTD/GYlwohmIE2u0gaxHYiVHEn1Fw9mZ/ktJWgw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "assertion-error": "^2.0.1",
+ "check-error": "^2.1.1",
+ "deep-eql": "^5.0.1",
+ "loupe": "^3.1.0",
+ "pathval": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/check-error": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/check-error/-/check-error-2.1.3.tgz",
+ "integrity": "sha512-PAJdDJusoxnwm1VwW07VWwUN1sl7smmC3OKggvndJFadxxDRyFJBX/ggnu/KE4kQAB7a3Dp8f/YXC1FlUprWmA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 16"
+ }
+ },
+ "node_modules/chokidar": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-4.0.3.tgz",
+ "integrity": "sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "readdirp": "^4.0.1"
+ },
+ "engines": {
+ "node": ">= 14.16.0"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/commander": {
+ "version": "12.1.0",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-12.1.0.tgz",
+ "integrity": "sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/confbox": {
+ "version": "0.1.8",
+ "resolved": "https://registry.npmjs.org/confbox/-/confbox-0.1.8.tgz",
+ "integrity": "sha512-RMtmw0iFkeR4YV+fUOSucriAQNb9g8zFR52MWCtl+cCZOFRNL6zeB395vPzFhEjjn4fMxXudmELnl/KF/WrK6w==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/consola": {
+ "version": "3.4.2",
+ "resolved": "https://registry.npmjs.org/consola/-/consola-3.4.2.tgz",
+ "integrity": "sha512-5IKcdX0nnYavi6G7TtOhwkYzyjfJlatbjMjuLSfE2kYT5pMDOilZ4OvMhi637CcDICTmz3wARPoyhqyX1Y+XvA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^14.18.0 || >=16.10.0"
+ }
+ },
+ "node_modules/debug": {
+ "version": "4.4.3",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz",
+ "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ms": "^2.1.3"
+ },
+ "engines": {
+ "node": ">=6.0"
+ },
+ "peerDependenciesMeta": {
+ "supports-color": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/deep-eql": {
+ "version": "5.0.2",
+ "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-5.0.2.tgz",
+ "integrity": "sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/es-module-lexer": {
+ "version": "1.7.0",
+ "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.7.0.tgz",
+ "integrity": "sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/esbuild": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.27.7.tgz",
+ "integrity": "sha512-IxpibTjyVnmrIQo5aqNpCgoACA/dTKLTlhMHihVHhdkxKyPO1uBBthumT0rdHmcsk9uMonIWS0m4FljWzILh3w==",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "MIT",
+ "bin": {
+ "esbuild": "bin/esbuild"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "optionalDependencies": {
+ "@esbuild/aix-ppc64": "0.27.7",
+ "@esbuild/android-arm": "0.27.7",
+ "@esbuild/android-arm64": "0.27.7",
+ "@esbuild/android-x64": "0.27.7",
+ "@esbuild/darwin-arm64": "0.27.7",
+ "@esbuild/darwin-x64": "0.27.7",
+ "@esbuild/freebsd-arm64": "0.27.7",
+ "@esbuild/freebsd-x64": "0.27.7",
+ "@esbuild/linux-arm": "0.27.7",
+ "@esbuild/linux-arm64": "0.27.7",
+ "@esbuild/linux-ia32": "0.27.7",
+ "@esbuild/linux-loong64": "0.27.7",
+ "@esbuild/linux-mips64el": "0.27.7",
+ "@esbuild/linux-ppc64": "0.27.7",
+ "@esbuild/linux-riscv64": "0.27.7",
+ "@esbuild/linux-s390x": "0.27.7",
+ "@esbuild/linux-x64": "0.27.7",
+ "@esbuild/netbsd-arm64": "0.27.7",
+ "@esbuild/netbsd-x64": "0.27.7",
+ "@esbuild/openbsd-arm64": "0.27.7",
+ "@esbuild/openbsd-x64": "0.27.7",
+ "@esbuild/openharmony-arm64": "0.27.7",
+ "@esbuild/sunos-x64": "0.27.7",
+ "@esbuild/win32-arm64": "0.27.7",
+ "@esbuild/win32-ia32": "0.27.7",
+ "@esbuild/win32-x64": "0.27.7"
+ }
+ },
+ "node_modules/estree-walker": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-3.0.3.tgz",
+ "integrity": "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/estree": "^1.0.0"
+ }
+ },
+ "node_modules/eventemitter3": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.1.tgz",
+ "integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==",
+ "license": "MIT"
+ },
+ "node_modules/expect-type": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/expect-type/-/expect-type-1.4.0.tgz",
+ "integrity": "sha512-KfYbmpRm0VbLjEvVa9yGwCi9GI34xvi7A/HXYWQO65CSD2u3MczUJSuwXKFIxlGsgBQizV9q5J9NHj4VG0n+pA==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=12.0.0"
+ }
+ },
+ "node_modules/fdir": {
+ "version": "6.5.0",
+ "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz",
+ "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "peerDependencies": {
+ "picomatch": "^3 || ^4"
+ },
+ "peerDependenciesMeta": {
+ "picomatch": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/fix-dts-default-cjs-exports": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/fix-dts-default-cjs-exports/-/fix-dts-default-cjs-exports-1.0.1.tgz",
+ "integrity": "sha512-pVIECanWFC61Hzl2+oOCtoJ3F17kglZC/6N94eRWycFgBH35hHx0Li604ZIzhseh97mf2p0cv7vVrOZGoqhlEg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "magic-string": "^0.30.17",
+ "mlly": "^1.7.4",
+ "rollup": "^4.34.8"
+ }
+ },
+ "node_modules/fsevents": {
+ "version": "2.3.3",
+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
+ "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
+ }
+ },
+ "node_modules/hoodchain": {
+ "resolved": "../robinhood-chain-sdk",
+ "link": true
+ },
+ "node_modules/isows": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/isows/-/isows-1.0.7.tgz",
+ "integrity": "sha512-I1fSfDCZL5P0v33sVqeTDSpcstAg/N+wF5HS033mogOVIp4B+oHC7oOCsA3axAbBSGTJ8QubbNmnIRN/h8U7hg==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/wevm"
+ }
+ ],
+ "license": "MIT",
+ "peerDependencies": {
+ "ws": "*"
+ }
+ },
+ "node_modules/joycon": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/joycon/-/joycon-3.1.1.tgz",
+ "integrity": "sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/js-tokens": {
+ "version": "9.0.1",
+ "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-9.0.1.tgz",
+ "integrity": "sha512-mxa9E9ITFOt0ban3j6L5MpjwegGz6lBQmM1IJkWeBZGcMxto50+eWdjC/52xDbS2vy0k7vIMK0Fe2wfL9OQSpQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/lilconfig": {
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.3.tgz",
+ "integrity": "sha512-/vlFKAoH5Cgt3Ie+JLhRbwOsCQePABiU3tJ1egGvyQ+33R/vcwM2Zl2QR/LzjsBeItPt3oSVXapn+m4nQDvpzw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=14"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/antonk52"
+ }
+ },
+ "node_modules/lines-and-columns": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz",
+ "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/load-tsconfig": {
+ "version": "0.2.5",
+ "resolved": "https://registry.npmjs.org/load-tsconfig/-/load-tsconfig-0.2.5.tgz",
+ "integrity": "sha512-IXO6OCs9yg8tMKzfPZ1YmheJbZCiEsnBdcB03l0OcfK9prKnJb96siuHCr5Fl37/yo9DnKU+TLpxzTUspw9shg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ }
+ },
+ "node_modules/loupe": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/loupe/-/loupe-3.2.1.tgz",
+ "integrity": "sha512-CdzqowRJCeLU72bHvWqwRBBlLcMEtIvGrlvef74kMnV2AolS9Y8xUv1I0U/MNAWMhBlKIoyuEgoJ0t/bbwHbLQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/magic-string": {
+ "version": "0.30.21",
+ "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.21.tgz",
+ "integrity": "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/sourcemap-codec": "^1.5.5"
+ }
+ },
+ "node_modules/mlly": {
+ "version": "1.8.2",
+ "resolved": "https://registry.npmjs.org/mlly/-/mlly-1.8.2.tgz",
+ "integrity": "sha512-d+ObxMQFmbt10sretNDytwt85VrbkhhUA/JBGm1MPaWJ65Cl4wOgLaB1NYvJSZ0Ef03MMEU/0xpPMXUIQ29UfA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "acorn": "^8.16.0",
+ "pathe": "^2.0.3",
+ "pkg-types": "^1.3.1",
+ "ufo": "^1.6.3"
+ }
+ },
+ "node_modules/ms": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
+ "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/mz": {
+ "version": "2.7.0",
+ "resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz",
+ "integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "any-promise": "^1.0.0",
+ "object-assign": "^4.0.1",
+ "thenify-all": "^1.0.0"
+ }
+ },
+ "node_modules/nanoid": {
+ "version": "3.3.16",
+ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.16.tgz",
+ "integrity": "sha512-bzlKTyNJ7+LdGIIwy8ijFpIqEQIvafahV7eYykJ8Cvh42EdJeODoJ6gUJXpQJvej1BddH8OqTXZNE/KfbWAu8Q==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "bin": {
+ "nanoid": "bin/nanoid.cjs"
+ },
+ "engines": {
+ "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
+ }
+ },
+ "node_modules/object-assign": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
+ "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ox": {
+ "version": "0.14.30",
+ "resolved": "https://registry.npmjs.org/ox/-/ox-0.14.30.tgz",
+ "integrity": "sha512-LI11uu+8iiM1B3CLckgd++YF1a0A2k5wDoM9ZeQMiL21BOzQs6L//BLS6hb1HSEKCyycdDIQLsVQx9MjpcC0hA==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/wevm"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "@adraffy/ens-normalize": "^1.11.0",
+ "@noble/ciphers": "^1.3.0",
+ "@noble/curves": "1.9.1",
+ "@noble/hashes": "^1.8.0",
+ "@scure/bip32": "^1.7.0",
+ "@scure/bip39": "^1.6.0",
+ "abitype": "^1.2.3",
+ "eventemitter3": "5.0.1"
+ },
+ "peerDependencies": {
+ "typescript": ">=5.4.0"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/pathe": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/pathe/-/pathe-2.0.3.tgz",
+ "integrity": "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/pathval": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/pathval/-/pathval-2.0.1.tgz",
+ "integrity": "sha512-//nshmD55c46FuFw26xV/xFAaB5HF9Xdap7HJBBnrKdAd6/GxDBaNA1870O79+9ueg61cZLSVc+OaFlfmObYVQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 14.16"
+ }
+ },
+ "node_modules/picocolors": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
+ "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/picomatch": {
+ "version": "4.0.5",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.5.tgz",
+ "integrity": "sha512-RvwwcruNjI1ncT5xRakeyS9Lf8lcItv34KD+aif+VH9kduAyfYBipGh12274xtenIPZ119/R9BdTBa8gAwSh0A==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
+ }
+ },
+ "node_modules/pirates": {
+ "version": "4.0.7",
+ "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.7.tgz",
+ "integrity": "sha512-TfySrs/5nm8fQJDcBDuUng3VOUKsd7S+zqvbOTiGXHfxX4wK31ard+hoNuvkicM/2YFzlpDgABOevKSsB4G/FA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/pkg-types": {
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/pkg-types/-/pkg-types-1.3.1.tgz",
+ "integrity": "sha512-/Jm5M4RvtBFVkKWRu2BLUTNP8/M2a+UwuAX+ae4770q1qVGtfjG+WTCupoZixokjmHiry8uI+dlY8KXYV5HVVQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "confbox": "^0.1.8",
+ "mlly": "^1.7.4",
+ "pathe": "^2.0.1"
+ }
+ },
+ "node_modules/postcss": {
+ "version": "8.5.17",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.17.tgz",
+ "integrity": "sha512-J7EF+8X+CzRPaJPOv9Ck2wNWJvGnnl3PcNPAdGg6GTLjyVpyQ0yATMSXRFRV01BviT/9Gwuc3rjEyJbDJG9a4w==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/postcss"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "nanoid": "^3.3.12",
+ "picocolors": "^1.1.1",
+ "source-map-js": "^1.2.1"
+ },
+ "engines": {
+ "node": "^10 || ^12 || >=14"
+ }
+ },
+ "node_modules/postcss-load-config": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-6.0.1.tgz",
+ "integrity": "sha512-oPtTM4oerL+UXmx+93ytZVN82RrlY/wPUV8IeDxFrzIjXOLF1pN+EmKPLbubvKHT2HC20xXsCAH2Z+CKV6Oz/g==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "lilconfig": "^3.1.1"
+ },
+ "engines": {
+ "node": ">= 18"
+ },
+ "peerDependencies": {
+ "jiti": ">=1.21.0",
+ "postcss": ">=8.0.9",
+ "tsx": "^4.8.1",
+ "yaml": "^2.4.2"
+ },
+ "peerDependenciesMeta": {
+ "jiti": {
+ "optional": true
+ },
+ "postcss": {
+ "optional": true
+ },
+ "tsx": {
+ "optional": true
+ },
+ "yaml": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/readdirp": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-4.1.2.tgz",
+ "integrity": "sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 14.18.0"
+ },
+ "funding": {
+ "type": "individual",
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/resolve-from": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz",
+ "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/rollup": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.62.2.tgz",
+ "integrity": "sha512-RFnrW4lhXA3s3eqHDZvN654g8OTjzRfqpIRJYczCGB6HzphckVAi/Qh4tbPUbRuDi7s1Llv8g/NspLkttY3gTA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/estree": "1.0.9"
+ },
+ "bin": {
+ "rollup": "dist/bin/rollup"
+ },
+ "engines": {
+ "node": ">=18.0.0",
+ "npm": ">=8.0.0"
+ },
+ "optionalDependencies": {
+ "@rollup/rollup-android-arm-eabi": "4.62.2",
+ "@rollup/rollup-android-arm64": "4.62.2",
+ "@rollup/rollup-darwin-arm64": "4.62.2",
+ "@rollup/rollup-darwin-x64": "4.62.2",
+ "@rollup/rollup-freebsd-arm64": "4.62.2",
+ "@rollup/rollup-freebsd-x64": "4.62.2",
+ "@rollup/rollup-linux-arm-gnueabihf": "4.62.2",
+ "@rollup/rollup-linux-arm-musleabihf": "4.62.2",
+ "@rollup/rollup-linux-arm64-gnu": "4.62.2",
+ "@rollup/rollup-linux-arm64-musl": "4.62.2",
+ "@rollup/rollup-linux-loong64-gnu": "4.62.2",
+ "@rollup/rollup-linux-loong64-musl": "4.62.2",
+ "@rollup/rollup-linux-ppc64-gnu": "4.62.2",
+ "@rollup/rollup-linux-ppc64-musl": "4.62.2",
+ "@rollup/rollup-linux-riscv64-gnu": "4.62.2",
+ "@rollup/rollup-linux-riscv64-musl": "4.62.2",
+ "@rollup/rollup-linux-s390x-gnu": "4.62.2",
+ "@rollup/rollup-linux-x64-gnu": "4.62.2",
+ "@rollup/rollup-linux-x64-musl": "4.62.2",
+ "@rollup/rollup-openbsd-x64": "4.62.2",
+ "@rollup/rollup-openharmony-arm64": "4.62.2",
+ "@rollup/rollup-win32-arm64-msvc": "4.62.2",
+ "@rollup/rollup-win32-ia32-msvc": "4.62.2",
+ "@rollup/rollup-win32-x64-gnu": "4.62.2",
+ "@rollup/rollup-win32-x64-msvc": "4.62.2",
+ "fsevents": "~2.3.2"
+ }
+ },
+ "node_modules/siginfo": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/siginfo/-/siginfo-2.0.0.tgz",
+ "integrity": "sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/source-map": {
+ "version": "0.7.6",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.6.tgz",
+ "integrity": "sha512-i5uvt8C3ikiWeNZSVZNWcfZPItFQOsYTUAOkcUPGd8DqDy1uOUikjt5dG+uRlwyvR108Fb9DOd4GvXfT0N2/uQ==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">= 12"
+ }
+ },
+ "node_modules/source-map-js": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz",
+ "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/stackback": {
+ "version": "0.0.2",
+ "resolved": "https://registry.npmjs.org/stackback/-/stackback-0.0.2.tgz",
+ "integrity": "sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/std-env": {
+ "version": "3.10.0",
+ "resolved": "https://registry.npmjs.org/std-env/-/std-env-3.10.0.tgz",
+ "integrity": "sha512-5GS12FdOZNliM5mAOxFRg7Ir0pWz8MdpYm6AY6VPkGpbA7ZzmbzNcBJQ0GPvvyWgcY7QAhCgf9Uy89I03faLkg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/strip-literal": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/strip-literal/-/strip-literal-3.1.0.tgz",
+ "integrity": "sha512-8r3mkIM/2+PpjHoOtiAW8Rg3jJLHaV7xPwG+YRGrv6FP0wwk/toTpATxWYOW0BKdWwl82VT2tFYi5DlROa0Mxg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "js-tokens": "^9.0.1"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/antfu"
+ }
+ },
+ "node_modules/sucrase": {
+ "version": "3.35.1",
+ "resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.35.1.tgz",
+ "integrity": "sha512-DhuTmvZWux4H1UOnWMB3sk0sbaCVOoQZjv8u1rDoTV0HTdGem9hkAZtl4JZy8P2z4Bg0nT+YMeOFyVr4zcG5Tw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/gen-mapping": "^0.3.2",
+ "commander": "^4.0.0",
+ "lines-and-columns": "^1.1.6",
+ "mz": "^2.7.0",
+ "pirates": "^4.0.1",
+ "tinyglobby": "^0.2.11",
+ "ts-interface-checker": "^0.1.9"
+ },
+ "bin": {
+ "sucrase": "bin/sucrase",
+ "sucrase-node": "bin/sucrase-node"
+ },
+ "engines": {
+ "node": ">=16 || 14 >=14.17"
+ }
+ },
+ "node_modules/sucrase/node_modules/commander": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz",
+ "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/thenify": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz",
+ "integrity": "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "any-promise": "^1.0.0"
+ }
+ },
+ "node_modules/thenify-all": {
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz",
+ "integrity": "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "thenify": ">= 3.1.0 < 4"
+ },
+ "engines": {
+ "node": ">=0.8"
+ }
+ },
+ "node_modules/tinybench": {
+ "version": "2.9.0",
+ "resolved": "https://registry.npmjs.org/tinybench/-/tinybench-2.9.0.tgz",
+ "integrity": "sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/tinyexec": {
+ "version": "0.3.2",
+ "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-0.3.2.tgz",
+ "integrity": "sha512-KQQR9yN7R5+OSwaK0XQoj22pwHoTlgYqmUscPYoknOoWCWfj/5/ABTMRi69FrKU5ffPVh5QcFikpWJI/P1ocHA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/tinyglobby": {
+ "version": "0.2.17",
+ "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.17.tgz",
+ "integrity": "sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "fdir": "^6.5.0",
+ "picomatch": "^4.0.4"
+ },
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/SuperchupuDev"
+ }
+ },
+ "node_modules/tinypool": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/tinypool/-/tinypool-1.1.1.tgz",
+ "integrity": "sha512-Zba82s87IFq9A9XmjiX5uZA/ARWDrB03OHlq+Vw1fSdt0I+4/Kutwy8BP4Y/y/aORMo61FQ0vIb5j44vSo5Pkg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^18.0.0 || >=20.0.0"
+ }
+ },
+ "node_modules/tinyrainbow": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/tinyrainbow/-/tinyrainbow-2.0.0.tgz",
+ "integrity": "sha512-op4nsTR47R6p0vMUUoYl/a+ljLFVtlfaXkLQmqfLR1qHma1h/ysYk4hEXZ880bf2CYgTskvTa/e196Vd5dDQXw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=14.0.0"
+ }
+ },
+ "node_modules/tinyspy": {
+ "version": "4.0.4",
+ "resolved": "https://registry.npmjs.org/tinyspy/-/tinyspy-4.0.4.tgz",
+ "integrity": "sha512-azl+t0z7pw/z958Gy9svOTuzqIk6xq+NSheJzn5MMWtWTFywIacg2wUlzKFGtt3cthx0r2SxMK0yzJOR0IES7Q==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=14.0.0"
+ }
+ },
+ "node_modules/tree-kill": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/tree-kill/-/tree-kill-1.2.2.tgz",
+ "integrity": "sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==",
+ "dev": true,
+ "license": "MIT",
+ "bin": {
+ "tree-kill": "cli.js"
+ }
+ },
+ "node_modules/ts-interface-checker": {
+ "version": "0.1.13",
+ "resolved": "https://registry.npmjs.org/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz",
+ "integrity": "sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==",
+ "dev": true,
+ "license": "Apache-2.0"
+ },
+ "node_modules/tsup": {
+ "version": "8.5.1",
+ "resolved": "https://registry.npmjs.org/tsup/-/tsup-8.5.1.tgz",
+ "integrity": "sha512-xtgkqwdhpKWr3tKPmCkvYmS9xnQK3m3XgxZHwSUjvfTjp7YfXe5tT3GgWi0F2N+ZSMsOeWeZFh7ZZFg5iPhing==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "bundle-require": "^5.1.0",
+ "cac": "^6.7.14",
+ "chokidar": "^4.0.3",
+ "consola": "^3.4.0",
+ "debug": "^4.4.0",
+ "esbuild": "^0.27.0",
+ "fix-dts-default-cjs-exports": "^1.0.0",
+ "joycon": "^3.1.1",
+ "picocolors": "^1.1.1",
+ "postcss-load-config": "^6.0.1",
+ "resolve-from": "^5.0.0",
+ "rollup": "^4.34.8",
+ "source-map": "^0.7.6",
+ "sucrase": "^3.35.0",
+ "tinyexec": "^0.3.2",
+ "tinyglobby": "^0.2.11",
+ "tree-kill": "^1.2.2"
+ },
+ "bin": {
+ "tsup": "dist/cli-default.js",
+ "tsup-node": "dist/cli-node.js"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "@microsoft/api-extractor": "^7.36.0",
+ "@swc/core": "^1",
+ "postcss": "^8.4.12",
+ "typescript": ">=4.5.0"
+ },
+ "peerDependenciesMeta": {
+ "@microsoft/api-extractor": {
+ "optional": true
+ },
+ "@swc/core": {
+ "optional": true
+ },
+ "postcss": {
+ "optional": true
+ },
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/typescript": {
+ "version": "5.9.3",
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",
+ "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==",
+ "devOptional": true,
+ "license": "Apache-2.0",
+ "bin": {
+ "tsc": "bin/tsc",
+ "tsserver": "bin/tsserver"
+ },
+ "engines": {
+ "node": ">=14.17"
+ }
+ },
+ "node_modules/ufo": {
+ "version": "1.6.4",
+ "resolved": "https://registry.npmjs.org/ufo/-/ufo-1.6.4.tgz",
+ "integrity": "sha512-JFNbkD1Svwe0KvGi8GOeLcP4kAWQ609twvCdcHxq1oSL8svv39ZuSvajcD8B+5D0eL4+s1Is2D/O6KN3qcTeRA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/undici-types": {
+ "version": "7.18.2",
+ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.18.2.tgz",
+ "integrity": "sha512-AsuCzffGHJybSaRrmr5eHr81mwJU3kjw6M+uprWvCXiNeN9SOGwQ3Jn8jb8m3Z6izVgknn1R0FTCEAP2QrLY/w==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/viem": {
+ "version": "2.55.1",
+ "resolved": "https://registry.npmjs.org/viem/-/viem-2.55.1.tgz",
+ "integrity": "sha512-sajvEmONS3dEDFh0jKXGugTU8ImyGoIV3sEHSWNRhgkH484v/+6DjZAplRhcdeqNV/VBxOs/l3raOG4NaXvX9A==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/wevm"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "@noble/curves": "1.9.1",
+ "@noble/hashes": "1.8.0",
+ "@scure/bip32": "1.7.0",
+ "@scure/bip39": "1.6.0",
+ "abitype": "1.2.3",
+ "isows": "1.0.7",
+ "ox": "0.14.30",
+ "ws": "8.21.0"
+ },
+ "peerDependencies": {
+ "typescript": ">=5.0.4"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/vite": {
+ "version": "7.3.6",
+ "resolved": "https://registry.npmjs.org/vite/-/vite-7.3.6.tgz",
+ "integrity": "sha512-4XP60spRGjSZFf1qYH+dJIkK2znL3zQfl9KkOV9MkkRR/3Dls0dxaBsQPTloEc5BLXWPL9vsOxopxyKoMmDueg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "esbuild": "^0.27.0 || ^0.28.0",
+ "fdir": "^6.5.0",
+ "picomatch": "^4.0.3",
+ "postcss": "^8.5.6",
+ "rollup": "^4.43.0",
+ "tinyglobby": "^0.2.15"
+ },
+ "bin": {
+ "vite": "bin/vite.js"
+ },
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ },
+ "funding": {
+ "url": "https://github.com/vitejs/vite?sponsor=1"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.3.3"
+ },
+ "peerDependencies": {
+ "@types/node": "^20.19.0 || >=22.12.0",
+ "jiti": ">=1.21.0",
+ "less": "^4.0.0",
+ "lightningcss": "^1.21.0",
+ "sass": "^1.70.0",
+ "sass-embedded": "^1.70.0",
+ "stylus": ">=0.54.8",
+ "sugarss": "^5.0.0",
+ "terser": "^5.16.0",
+ "tsx": "^4.8.1",
+ "yaml": "^2.4.2"
+ },
+ "peerDependenciesMeta": {
+ "@types/node": {
+ "optional": true
+ },
+ "jiti": {
+ "optional": true
+ },
+ "less": {
+ "optional": true
+ },
+ "lightningcss": {
+ "optional": true
+ },
+ "sass": {
+ "optional": true
+ },
+ "sass-embedded": {
+ "optional": true
+ },
+ "stylus": {
+ "optional": true
+ },
+ "sugarss": {
+ "optional": true
+ },
+ "terser": {
+ "optional": true
+ },
+ "tsx": {
+ "optional": true
+ },
+ "yaml": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/vite-node": {
+ "version": "3.2.4",
+ "resolved": "https://registry.npmjs.org/vite-node/-/vite-node-3.2.4.tgz",
+ "integrity": "sha512-EbKSKh+bh1E1IFxeO0pg1n4dvoOTt0UDiXMd/qn++r98+jPO1xtJilvXldeuQ8giIB5IkpjCgMleHMNEsGH6pg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "cac": "^6.7.14",
+ "debug": "^4.4.1",
+ "es-module-lexer": "^1.7.0",
+ "pathe": "^2.0.3",
+ "vite": "^5.0.0 || ^6.0.0 || ^7.0.0-0"
+ },
+ "bin": {
+ "vite-node": "vite-node.mjs"
+ },
+ "engines": {
+ "node": "^18.0.0 || ^20.0.0 || >=22.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/vitest": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/vitest/-/vitest-3.2.7.tgz",
+ "integrity": "sha512-KrxIJ62Fd89gfysR4WotlgZABiz2dqFPgqGzX7s+CwsqLFomRH7777ZcrOD6+WVAh7khPQP41A+BKbpcJFrdEg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/chai": "^5.2.2",
+ "@vitest/expect": "3.2.7",
+ "@vitest/mocker": "3.2.7",
+ "@vitest/pretty-format": "^3.2.7",
+ "@vitest/runner": "3.2.7",
+ "@vitest/snapshot": "3.2.7",
+ "@vitest/spy": "3.2.7",
+ "@vitest/utils": "3.2.7",
+ "chai": "^5.2.0",
+ "debug": "^4.4.1",
+ "expect-type": "^1.2.1",
+ "magic-string": "^0.30.17",
+ "pathe": "^2.0.3",
+ "picomatch": "^4.0.2",
+ "std-env": "^3.9.0",
+ "tinybench": "^2.9.0",
+ "tinyexec": "^0.3.2",
+ "tinyglobby": "^0.2.14",
+ "tinypool": "^1.1.1",
+ "tinyrainbow": "^2.0.0",
+ "vite": "^5.0.0 || ^6.0.0 || ^7.0.0-0",
+ "vite-node": "3.2.4",
+ "why-is-node-running": "^2.3.0"
+ },
+ "bin": {
+ "vitest": "vitest.mjs"
+ },
+ "engines": {
+ "node": "^18.0.0 || ^20.0.0 || >=22.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ },
+ "peerDependencies": {
+ "@edge-runtime/vm": "*",
+ "@types/debug": "^4.1.12",
+ "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0",
+ "@vitest/browser": "3.2.7",
+ "@vitest/ui": "3.2.7",
+ "happy-dom": "*",
+ "jsdom": "*"
+ },
+ "peerDependenciesMeta": {
+ "@edge-runtime/vm": {
+ "optional": true
+ },
+ "@types/debug": {
+ "optional": true
+ },
+ "@types/node": {
+ "optional": true
+ },
+ "@vitest/browser": {
+ "optional": true
+ },
+ "@vitest/ui": {
+ "optional": true
+ },
+ "happy-dom": {
+ "optional": true
+ },
+ "jsdom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/why-is-node-running": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/why-is-node-running/-/why-is-node-running-2.3.0.tgz",
+ "integrity": "sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "siginfo": "^2.0.0",
+ "stackback": "0.0.2"
+ },
+ "bin": {
+ "why-is-node-running": "cli.js"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/ws": {
+ "version": "8.21.0",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-8.21.0.tgz",
+ "integrity": "sha512-Vsp28b7DRcimFQvrqu2Wek3z1iYxDCWqHYB8Qsnk/S4RfaCQzPGPyBNuVjJV3cd6UiKtUtp6sNM77gWvzcCH+g==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=10.0.0"
+ },
+ "peerDependencies": {
+ "bufferutil": "^4.0.1",
+ "utf-8-validate": ">=5.0.2"
+ },
+ "peerDependenciesMeta": {
+ "bufferutil": {
+ "optional": true
+ },
+ "utf-8-validate": {
+ "optional": true
+ }
+ }
+ }
+ }
+}
diff --git a/robinhood/hood-cli/package.json b/robinhood/hood-cli/package.json
index a17f23798..0ffbd2f5a 100644
--- a/robinhood/hood-cli/package.json
+++ b/robinhood/hood-cli/package.json
@@ -58,7 +58,6 @@
"devDependencies": {
"@types/node": "^24.0.0",
"@types/ws": "^8.18.0",
- "solc": "^0.8.28",
"tsup": "^8.5.0",
"typescript": "^5.9.0",
"vitest": "^3.2.0"
diff --git a/robinhood/hood-cli/scripts/compile-erc20.mjs b/robinhood/hood-cli/scripts/compile-erc20.mjs
new file mode 100644
index 000000000..58f73647e
--- /dev/null
+++ b/robinhood/hood-cli/scripts/compile-erc20.mjs
@@ -0,0 +1,60 @@
+/**
+ * Compile contracts/ERC20.sol into a committed artifact (contracts/ERC20.json)
+ * holding the ABI and creation bytecode that `hood deploy-token` deploys.
+ *
+ * Reproducible: pin solc 0.8.28, optimizer 200 runs. Regenerate with
+ * npm i -D [email protected] && npm run compile-erc20
+ * (solc is not a runtime dependency — the artifact is committed and shipped.)
+ */
+import { readFileSync, writeFileSync } from 'node:fs'
+import { fileURLToPath } from 'node:url'
+import { dirname, join } from 'node:path'
+import { createRequire } from 'node:module'
+
+const require = createRequire(import.meta.url)
+const solc = require('solc')
+
+const here = dirname(fileURLToPath(import.meta.url))
+const root = join(here, '..')
+const source = readFileSync(join(root, 'contracts/ERC20.sol'), 'utf8')
+
+const input = {
+ language: 'Solidity',
+ sources: { 'ERC20.sol': { content: source } },
+ settings: {
+ optimizer: { enabled: true, runs: 200 },
+ evmVersion: 'paris',
+ outputSelection: { '*': { '*': ['abi', 'evm.bytecode.object'] } },
+ },
+}
+
+const output = JSON.parse(solc.compile(JSON.stringify(input)))
+const errors = (output.errors ?? []).filter((e) => e.severity === 'error')
+if (errors.length) {
+ for (const e of errors) console.error(e.formattedMessage)
+ process.exit(1)
+}
+
+const contract = output.contracts['ERC20.sol'].HoodToken
+const artifact = {
+ contractName: 'HoodToken',
+ source: 'contracts/ERC20.sol',
+ compiler: { name: 'solc', version: solc.version(), optimizer: { enabled: true, runs: 200 }, evmVersion: 'paris' },
+ abi: contract.abi,
+ bytecode: `0x${contract.evm.bytecode.object}`,
+}
+
+writeFileSync(join(root, 'contracts/ERC20.json'), JSON.stringify(artifact, null, 2) + '\n')
+
+// Emit a typed TS module so the bundled CLI carries the artifact inline (no
+// JSON-file resolution at runtime, no import-outside-rootDir warnings).
+const ts =
+ `// AUTO-GENERATED by scripts/compile-erc20.mjs from contracts/ERC20.sol — do not edit.\n` +
+ `// Compiler: ${artifact.compiler.version}, optimizer 200 runs, evmVersion paris.\n` +
+ `import type { Abi } from 'viem'\n\n` +
+ `export const HOOD_TOKEN_ABI = ${JSON.stringify(artifact.abi)} as const satisfies Abi\n\n` +
+ `export const HOOD_TOKEN_BYTECODE = '${artifact.bytecode}' as const\n\n` +
+ `export const HOOD_TOKEN_COMPILER = ${JSON.stringify(artifact.compiler)} as const\n`
+writeFileSync(join(root, 'src/generated/erc20.ts'), ts)
+
+console.log(`compiled HoodToken with ${solc.version()} → contracts/ERC20.json + src/generated/erc20.ts (${artifact.bytecode.length / 2 - 1} bytes)`)
diff --git a/robinhood/hood-cli/src/config.ts b/robinhood/hood-cli/src/config.ts
new file mode 100644
index 000000000..a604c24c2
--- /dev/null
+++ b/robinhood/hood-cli/src/config.ts
@@ -0,0 +1,106 @@
+/**
+ * Persistent CLI config. Stored as JSON at `$HOOD_CONFIG_DIR` or
+ * `~/.config/hood/config.json`. NEVER holds a private key — the wallet lives in
+ * a separate password-encrypted keystore (see `keystore.ts`).
+ */
+import { existsSync, mkdirSync, readFileSync, writeFileSync } from 'node:fs'
+import { homedir } from 'node:os'
+import { dirname, join } from 'node:path'
+import { usageError } from './errors.js'
+
+export interface HoodConfig {
+ /** Default network for every command. @defaultValue 'mainnet' */
+ network?: 'mainnet' | 'testnet'
+ /** Custom mainnet RPC URL. */
+ rpc?: string
+ /** Custom testnet RPC URL. */
+ testnetRpc?: string
+ /** Alchemy API key — builds `https://robinhood-mainnet.g.alchemy.com/v2/{key}`. */
+ alchemyKey?: string
+ /** Path to the encrypted wallet keystore. */
+ walletKeystore?: string
+ /** Cached wallet address for display (never the key). */
+ walletAddress?: string
+ /** Hard USD spend cap for a single swap/transfer (guard rail). */
+ maxSpendUsd?: number
+}
+
+/** The set of keys a user may `hood config set`. `wallet` is handled specially. */
+export const CONFIG_KEYS = ['network', 'rpc', 'testnetRpc', 'alchemyKey', 'maxSpendUsd'] as const
+
+export function configDir(): string {
+ return process.env.HOOD_CONFIG_DIR ?? join(homedir(), '.config', 'hood')
+}
+
+export function configPath(): string {
+ return join(configDir(), 'config.json')
+}
+
+export function defaultKeystorePath(): string {
+ return join(configDir(), 'keystore.json')
+}
+
+/** Read the config, returning `{}` when none exists. */
+export function loadConfig(): HoodConfig {
+ const path = configPath()
+ if (!existsSync(path)) return {}
+ try {
+ return JSON.parse(readFileSync(path, 'utf8')) as HoodConfig
+ } catch (err) {
+ throw usageError(`Config at ${path} is not valid JSON.`, 'Delete it or fix it by hand.')
+ }
+}
+
+/** Persist the config, creating the directory (0700) on first write. */
+export function saveConfig(config: HoodConfig): void {
+ const path = configPath()
+ mkdirSync(dirname(path), { recursive: true, mode: 0o700 })
+ writeFileSync(path, JSON.stringify(config, null, 2) + '\n', { mode: 0o600 })
+}
+
+/** Validate + coerce a `config set <key> <value>` pair. */
+export function setConfigValue(config: HoodConfig, key: string, value: string): HoodConfig {
+ const next = { ...config }
+ switch (key) {
+ case 'network':
+ if (value !== 'mainnet' && value !== 'testnet') throw usageError('network must be "mainnet" or "testnet".')
+ next.network = value
+ break
+ case 'rpc':
+ next.rpc = value
+ break
+ case 'testnetRpc':
+ next.testnetRpc = value
+ break
+ case 'alchemyKey':
+ next.alchemyKey = value
+ break
+ case 'maxSpendUsd': {
+ const n = Number(value)
+ if (!Number.isFinite(n) || n < 0) throw usageError('maxSpendUsd must be a non-negative number.')
+ next.maxSpendUsd = n
+ break
+ }
+ default:
+ throw usageError(`Unknown config key "${key}".`, `Valid keys: ${CONFIG_KEYS.join(', ')}, wallet.`)
+ }
+ return next
+}
+
+/** A redacted view of the config for `config list` (masks the alchemy key). */
+export function redactedConfig(config: HoodConfig): Record<string, unknown> {
+ return {
+ network: config.network ?? 'mainnet',
+ rpc: config.rpc ?? null,
+ testnetRpc: config.testnetRpc ?? null,
+ alchemyKey: config.alchemyKey ? maskKey(config.alchemyKey) : null,
+ walletAddress: config.walletAddress ?? null,
+ walletKeystore: config.walletKeystore ?? (config.walletAddress ? defaultKeystorePath() : null),
+ maxSpendUsd: config.maxSpendUsd ?? null,
+ }
+}
+
+function maskKey(key: string): string {
+ if (key.length <= 6) return '••••'
+ return `${key.slice(0, 3)}…${key.slice(-3)}`
+}
diff --git a/robinhood/hood-cli/src/context.ts b/robinhood/hood-cli/src/context.ts
new file mode 100644
index 000000000..26f74f343
--- /dev/null
+++ b/robinhood/hood-cli/src/context.ts
@@ -0,0 +1,107 @@
+/**
+ * Runtime context shared by every command: resolved network, RPC, output mode,
+ * and lazy read/wallet clients built from config + global flags.
+ */
+import { createHoodClient, type HoodClient, type HoodNetwork } from 'hoodchain'
+import { privateKeyToAccount } from 'viem/accounts'
+import { isHex } from 'viem'
+import { loadConfig, defaultKeystorePath, type HoodConfig } from './config.js'
+import { decryptKeystore, keystoreExists } from './keystore.js'
+import { readPassword } from './prompt.js'
+import { walletError } from './errors.js'
+
+/** Global flags parsed by commander and threaded into every command. */
+export interface GlobalOptions {
+ json?: boolean
+ network?: HoodNetwork
+ rpc?: string
+ verbose?: boolean
+ yes?: boolean
+ acknowledgeEligibility?: boolean
+}
+
+export interface Context {
+ config: HoodConfig
+ network: HoodNetwork
+ json: boolean
+ verbose: boolean
+ /** `--yes`: skip the interactive confirm on writes (still requires `--execute`). */
+ assumeYes: boolean
+ /** `--acknowledge-eligibility`: operator affirms non-US Stock-Token eligibility. */
+ acknowledgeEligibility: boolean
+ /** A read-only client (cached). */
+ read(): HoodClient
+ /** A wallet-backed client (loads + decrypts the key on first use). */
+ wallet(): Promise<HoodClient>
+ /** The resolved RPC URL, if any (else the SDK public default). */
+ rpcUrl?: string
+}
+
+/** Resolve the RPC URL from flags → config → SDK default (undefined). */
+export function resolveRpcUrl(config: HoodConfig, network: HoodNetwork, override?: string): string | undefined {
+ if (override) return override
+ if (network === 'testnet') return config.testnetRpc
+ if (config.alchemyKey) return `https://robinhood-mainnet.g.alchemy.com/v2/${config.alchemyKey}`
+ return config.rpc
+}
+
+/** Build the shared context from the global flags. */
+export function createContext(opts: GlobalOptions): Context {
+ const config = loadConfig()
+ const network: HoodNetwork = opts.network ?? config.network ?? 'mainnet'
+ const rpcUrl = resolveRpcUrl(config, network, opts.rpc)
+
+ let readClient: HoodClient | null = null
+ let walletClient: HoodClient | null = null
+
+ return {
+ config,
+ network,
+ json: !!opts.json,
+ verbose: !!opts.verbose,
+ assumeYes: !!opts.yes,
+ acknowledgeEligibility: !!opts.acknowledgeEligibility,
+ rpcUrl,
+ read() {
+ if (!readClient) {
+ readClient = createHoodClient({ chain: network, rpcUrl })
+ }
+ return readClient
+ },
+ async wallet() {
+ if (walletClient) return walletClient
+ const account = await loadAccount(config)
+ walletClient = createHoodClient({
+ chain: network,
+ rpcUrl,
+ account,
+ acknowledgeStockTokenEligibility: !!opts.acknowledgeEligibility,
+ })
+ return walletClient
+ },
+ }
+}
+
+/**
+ * Resolve the signing account. Precedence:
+ * 1. `ROBINHOOD_CHAIN_PRIVATE_KEY` env var (CI / power users).
+ * 2. The encrypted keystore configured with `hood config set wallet`.
+ */
+async function loadAccount(config: HoodConfig) {
+ const envKey = process.env.ROBINHOOD_CHAIN_PRIVATE_KEY
+ if (envKey) {
+ const key = envKey.startsWith('0x') ? envKey : `0x${envKey}`
+ if (!isHex(key) || key.length !== 66) {
+ throw walletError('ROBINHOOD_CHAIN_PRIVATE_KEY is not a valid 32-byte hex key.')
+ }
+ return privateKeyToAccount(key as `0x${string}`)
+ }
+
+ const keystorePath = config.walletKeystore ?? defaultKeystorePath()
+ if (!keystoreExists(keystorePath)) {
+ throw walletError('No wallet configured.', 'Run `hood config set wallet`, or set ROBINHOOD_CHAIN_PRIVATE_KEY.')
+ }
+ const password = await readPassword()
+ const privateKey = decryptKeystore(keystorePath, password)
+ return privateKeyToAccount(privateKey)
+}
diff --git a/robinhood/hood-cli/src/errors.ts b/robinhood/hood-cli/src/errors.ts
new file mode 100644
index 000000000..e8922f92e
--- /dev/null
+++ b/robinhood/hood-cli/src/errors.ts
@@ -0,0 +1,91 @@
+/**
+ * CLI error model. Every failure carries a meaningful exit code and a
+ * human-first message; `--verbose` surfaces the raw cause underneath.
+ */
+
+/** Meaningful, documented process exit codes. */
+export const EXIT = {
+ OK: 0,
+ /** Generic runtime failure. */
+ ERROR: 1,
+ /** Bad usage / invalid arguments. */
+ USAGE: 2,
+ /** Network / RPC unreachable or timed out. */
+ NETWORK: 3,
+ /** A guard rail refused the action (eligibility, spend cap, unconfirmed). */
+ GUARD: 4,
+ /** The requested resource was not found (unknown symbol, missing tx). */
+ NOT_FOUND: 5,
+ /** Wallet required but not configured / wrong password. */
+ WALLET: 6,
+} as const
+
+export type ExitCode = (typeof EXIT)[keyof typeof EXIT]
+
+/** An error the CLI knows how to present: message + exit code + optional hint. */
+export class CliError extends Error {
+ readonly exitCode: ExitCode
+ readonly hint?: string
+ override readonly cause?: unknown
+
+ constructor(message: string, options: { exitCode?: ExitCode; hint?: string; cause?: unknown } = {}) {
+ super(message)
+ this.name = 'CliError'
+ this.exitCode = options.exitCode ?? EXIT.ERROR
+ this.hint = options.hint
+ this.cause = options.cause
+ }
+}
+
+/** Convenience constructors. */
+export const usageError = (m: string, hint?: string) => new CliError(m, { exitCode: EXIT.USAGE, hint })
+export const guardError = (m: string, hint?: string) => new CliError(m, { exitCode: EXIT.GUARD, hint })
+export const notFoundError = (m: string, hint?: string) => new CliError(m, { exitCode: EXIT.NOT_FOUND, hint })
+export const walletError = (m: string, hint?: string) => new CliError(m, { exitCode: EXIT.WALLET, hint })
+
+/**
+ * Map an unknown thrown value (SDK error, viem error, network error) to a
+ * CliError with a human message. Preserves the original as `cause`.
+ */
+export function toCliError(err: unknown): CliError {
+ if (err instanceof CliError) return err
+ const message = err instanceof Error ? err.message : String(err)
+ const name = err instanceof Error ? err.name : ''
+
+ // hoodchain SDK errors carry a stable `name`.
+ switch (name) {
+ case 'UnknownSymbolError':
+ return new CliError(message, { exitCode: EXIT.NOT_FOUND, cause: err, hint: 'Run `hood stocks` to list every Stock Token symbol.' })
+ case 'FeedNotFoundError':
+ return new CliError(message, { exitCode: EXIT.NOT_FOUND, cause: err, hint: 'This token has no Chainlink feed — try `hood token <address>` for on-chain data.' })
+ case 'StaleFeedError':
+ return new CliError(message, { exitCode: EXIT.ERROR, cause: err, hint: 'Stock feeds pause outside market hours (24/5). Pass --max-age to widen the window.' })
+ case 'NoRouteError':
+ return new CliError(message, { exitCode: EXIT.NOT_FOUND, cause: err, hint: 'No Uniswap v3 pool with liquidity connects these tokens on this network.' })
+ case 'StockTokenEligibilityError':
+ return new CliError('Stock Token acquisition is gated.', {
+ exitCode: EXIT.GUARD,
+ cause: err,
+ hint: 'Stock Tokens are tokenized securities and may not be sold to US persons. Re-run with --acknowledge-eligibility if you are eligible.',
+ })
+ case 'NoAccountError':
+ return new CliError('This action needs a wallet.', {
+ exitCode: EXIT.WALLET,
+ cause: err,
+ hint: 'Configure one with `hood config set wallet`, or set ROBINHOOD_CHAIN_PRIVATE_KEY.',
+ })
+ case 'FeedConnectionError':
+ return new CliError(message, { exitCode: EXIT.NETWORK, cause: err })
+ }
+
+ // viem / transport network failures.
+ if (/fetch failed|ECONNREFUSED|ETIMEDOUT|ENOTFOUND|socket hang up|network|timeout/i.test(message)) {
+ return new CliError('Could not reach the Robinhood Chain RPC.', {
+ exitCode: EXIT.NETWORK,
+ cause: err,
+ hint: 'Check your connection, or set a custom RPC with `hood config set rpc <url>`.',
+ })
+ }
+
+ return new CliError(message, { exitCode: EXIT.ERROR, cause: err })
+}
diff --git a/robinhood/hood-cli/src/format.ts b/robinhood/hood-cli/src/format.ts
new file mode 100644
index 000000000..586b91b13
--- /dev/null
+++ b/robinhood/hood-cli/src/format.ts
@@ -0,0 +1,89 @@
+/**
+ * Human formatting: money, percentages, counts, addresses, ages, token amounts.
+ * Colour semantics are deliberately narrow — green/red only ever mean the sign
+ * of a number, never decoration.
+ */
+import { formatUnits, type Address } from 'viem'
+import { dim, green, red } from './ui/ansi.js'
+
+/** `315.5` → `$315.50`. Scales precision for sub-dollar values. */
+export function usd(value: number): string {
+ if (!Number.isFinite(value)) return '—'
+ const abs = Math.abs(value)
+ const digits = abs === 0 ? 2 : abs < 0.01 ? 6 : abs < 1 ? 4 : 2
+ return (
+ '$' +
+ value.toLocaleString('en-US', {
+ minimumFractionDigits: digits,
+ maximumFractionDigits: digits,
+ })
+ )
+}
+
+/** Plain number with grouping, `maxFrac` decimals. */
+export function num(value: number, maxFrac = 4): string {
+ if (!Number.isFinite(value)) return '—'
+ return value.toLocaleString('en-US', { maximumFractionDigits: maxFrac })
+}
+
+/** Compact large counts: `1_234_567` → `1.23M`. */
+export function compact(value: number): string {
+ if (!Number.isFinite(value)) return '—'
+ return Intl.NumberFormat('en-US', { notation: 'compact', maximumFractionDigits: 2 }).format(value)
+}
+
+/**
+ * Signed percentage, coloured by sign. `pct(0.0123)` → green `+1.23%`.
+ * Pass a ratio (0.01 = 1%), not an already-scaled percentage.
+ */
+export function pct(ratio: number): string {
+ if (!Number.isFinite(ratio)) return dim('—')
+ const p = ratio * 100
+ const sign = p > 0 ? '+' : ''
+ const s = `${sign}${p.toFixed(2)}%`
+ if (p > 0) return green(s)
+ if (p < 0) return red(s)
+ return s
+}
+
+/** `0x1234…abcd` — the standard middle-truncated address. */
+export function shortAddress(address: string): string {
+ if (address.length <= 12) return address
+ return `${address.slice(0, 6)}…${address.slice(-4)}`
+}
+
+/** Alias with the `Address` type for call-site clarity. */
+export function addr(a: Address): string {
+ return shortAddress(a)
+}
+
+/** Seconds → `3m`, `2h 5m`, `1d 4h`. */
+export function age(seconds: number): string {
+ if (!Number.isFinite(seconds) || seconds < 0) return '—'
+ const s = Math.floor(seconds)
+ if (s < 60) return `${s}s`
+ const m = Math.floor(s / 60)
+ if (m < 60) return `${m}m`
+ const h = Math.floor(m / 60)
+ if (h < 24) return `${h}h ${m % 60}m`
+ const d = Math.floor(h / 24)
+ return `${d}d ${h % 24}h`
+}
+
+/** Unix seconds → local ISO-ish timestamp. */
+export function timestamp(unixSeconds: number): string {
+ if (!unixSeconds) return '—'
+ return new Date(unixSeconds * 1000).toISOString().replace('T', ' ').replace('.000Z', 'Z')
+}
+
+/**
+ * Format a raw token amount for display, trimming trailing zeros and capping
+ * significant fractional digits so a `parseUnits('1', 18)` reads as `1`.
+ */
+export function tokenAmount(raw: bigint, decimals: number, maxFrac = 6): string {
+ const full = formatUnits(raw, decimals)
+ if (!full.includes('.')) return full
+ const [whole, frac] = full.split('.')
+ const trimmed = frac.slice(0, maxFrac).replace(/0+$/, '')
+ return trimmed ? `${whole}.${trimmed}` : (whole as string)
+}
diff --git a/robinhood/hood-cli/src/generated/erc20.ts b/robinhood/hood-cli/src/generated/erc20.ts
new file mode 100644
index 000000000..72a05c28a
--- /dev/null
+++ b/robinhood/hood-cli/src/generated/erc20.ts
@@ -0,0 +1,9 @@
+// AUTO-GENERATED by scripts/compile-erc20.mjs from contracts/ERC20.sol — do not edit.
+// Compiler: 0.8.36+commit.8a079791.Emscripten.clang, optimizer 200 runs, evmVersion paris.
+import type { Abi } from 'viem'
+
+export const HOOD_TOKEN_ABI = [{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint8","name":"_decimals","type":"uint8"},{"internalType":"uint256","name":"_initialSupply","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}] as const satisfies Abi
+
+export const HOOD_TOKEN_BYTECODE = '0x60a060405234801561001057600080fd5b50604051610b29380380610b2983398101604081905261002f91610182565b600061003b85826102a1565b50600161004884826102a1565b5060ff8216608081905260009061006090600a610462565b61006a9083610475565b6002819055336000818152600360205260408082208490555192935090917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906100b79085815260200190565b60405180910390a3505050505061048c565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126100f057600080fd5b81516001600160401b03811115610109576101096100c9565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610137576101376100c9565b60405281815283820160200185101561014f57600080fd5b60005b8281101561016e57602081860181015183830182015201610152565b506000918101602001919091529392505050565b6000806000806080858703121561019857600080fd5b84516001600160401b038111156101ae57600080fd5b6101ba878288016100df565b602087015190955090506001600160401b038111156101d857600080fd5b6101e4878288016100df565b935050604085015160ff811681146101fb57600080fd5b6060959095015193969295505050565b600181811c9082168061021f57607f821691505b60208210810361023f57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561029c578282111561029c57806000526020600020601f840160051c6020851015610273575060005b90810190601f840160051c0360005b8181101561029857600083820155600101610282565b5050505b505050565b81516001600160401b038111156102ba576102ba6100c9565b6102ce816102c8845461020b565b84610245565b6020601f82116001811461030257600083156102ea5750848201515b600019600385901b1c1916600184901b17845561035c565b600084815260208120601f198516915b828110156103325787850151825560209485019460019092019101610312565b50848210156103505786840151600019600387901b60f8161c191681555b505060018360011b0184555b5050505050565b634e487b7160e01b600052601160045260246000fd5b6001815b60018411156103b45780850481111561039857610398610363565b60018416156103a657908102905b60019390931c92800261037d565b935093915050565b6000826103cb5750600161045c565b816103d85750600061045c565b81600181146103ee57600281146103f857610414565b600191505061045c565b60ff84111561040957610409610363565b50506001821b61045c565b5060208310610133831016604e8410600b8410161715610437575081810a61045c565b6104446000198484610379565b806000190482111561045857610458610363565b0290505b92915050565b600061046e83836103bc565b9392505050565b808202811582820484141761045c5761045c610363565b6080516106826104a7600039600061010801526106826000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063313ce56711610066578063313ce5671461010357806370a082311461013c57806395d89b411461015c578063a9059cbb14610164578063dd62ed3e1461017757600080fd5b806306fdde0314610098578063095ea7b3146100b657806318160ddd146100d957806323b872dd146100f0575b600080fd5b6100a06101a2565b6040516100ad91906104d2565b60405180910390f35b6100c96100c436600461053c565b610230565b60405190151581526020016100ad565b6100e260025481565b6040519081526020016100ad565b6100c96100fe366004610566565b61029d565b61012a7f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff90911681526020016100ad565b6100e261014a3660046105a3565b60036020526000908152604090205481565b6100a0610362565b6100c961017236600461053c565b61036f565b6100e26101853660046105be565b600460209081526000928352604080842090915290825290205481565b600080546101af906105f1565b80601f01602080910402602001604051908101604052809291908181526020018280546101db906105f1565b80156102285780601f106101fd57610100808354040283529160200191610228565b820191906000526020600020905b81548152906001019060200180831161020b57829003601f168201915b505050505081565b3360008181526004602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259061028b9086815260200190565b60405180910390a35060015b92915050565b6001600160a01b0383166000908152600460209081526040808320338452909152812054600019811461034e578281101561031f5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064015b60405180910390fd5b610329838261062b565b6001600160a01b03861660009081526004602090815260408083203384529091529020555b610359858585610383565b95945050505050565b600180546101af906105f1565b600061037c338484610383565b9392505050565b60006001600160a01b0383166103e75760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610316565b6001600160a01b0384166000908152600360205260409020548281101561045f5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610316565b6001600160a01b0380861660008181526003602052604080822087860390559287168082529083902080548701905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906104bf9087815260200190565b60405180910390a3506001949350505050565b602081526000825180602084015260005b8181101561050057602081860181015160408684010152016104e3565b506000604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b038116811461053757600080fd5b919050565b6000806040838503121561054f57600080fd5b61055883610520565b946020939093013593505050565b60008060006060848603121561057b57600080fd5b61058484610520565b925061059260208501610520565b929592945050506040919091013590565b6000602082840312156105b557600080fd5b61037c82610520565b600080604083850312156105d157600080fd5b6105da83610520565b91506105e860208401610520565b90509250929050565b600181811c9082168061060557607f821691505b60208210810361062557634e487b7160e01b600052602260045260246000fd5b50919050565b8181038181111561029757634e487b7160e01b600052601160045260246000fdfea2646970667358221220471bc2210cddfb1cf75b9da206267431454db88507c132d3528fab99e5907b0864736f6c63430008240033' as const
+
+export const HOOD_TOKEN_COMPILER = {"name":"solc","version":"0.8.36+commit.8a079791.Emscripten.clang","optimizer":{"enabled":true,"runs":200},"evmVersion":"paris"} as const
diff --git a/robinhood/hood-cli/src/keystore.ts b/robinhood/hood-cli/src/keystore.ts
new file mode 100644
index 000000000..535589f28
--- /dev/null
+++ b/robinhood/hood-cli/src/keystore.ts
@@ -0,0 +1,107 @@
+/**
+ * Password-encrypted wallet keystore. The private key is encrypted with
+ * AES-256-GCM under a scrypt-derived key and written to disk; the plaintext key
+ * never touches the config or the filesystem. This is the same primitive set as
+ * the Web3 Secret Storage spec (scrypt KDF + authenticated cipher), kept
+ * minimal and dependency-free on Node's built-in `crypto`.
+ */
+import { existsSync, mkdirSync, readFileSync, writeFileSync } from 'node:fs'
+import { dirname } from 'node:path'
+import { randomBytes, scryptSync, createCipheriv, createDecipheriv, timingSafeEqual } from 'node:crypto'
+import { walletError } from './errors.js'
+
+interface KeystoreFile {
+ version: 1
+ address: `0x${string}`
+ kdf: 'scrypt'
+ kdfparams: { N: number; r: number; p: number; keylen: number; salt: string }
+ cipher: 'aes-256-gcm'
+ iv: string
+ ciphertext: string
+ tag: string
+}
+
+const SCRYPT = { N: 1 << 15, r: 8, p: 1, keylen: 32 } as const
+
+function deriveKey(password: string, salt: Buffer): Buffer {
+ // maxmem raised so N=2^15 doesn't hit the default 32MB ceiling.
+ return scryptSync(password, salt, SCRYPT.keylen, {
+ N: SCRYPT.N,
+ r: SCRYPT.r,
+ p: SCRYPT.p,
+ maxmem: 128 * 1024 * 1024,
+ })
+}
+
+/** Encrypt a private key under `password` and write the keystore to `path`. */
+export function writeKeystore(path: string, privateKey: `0x${string}`, address: `0x${string}`, password: string): void {
+ if (password.length < 8) throw walletError('Wallet password must be at least 8 characters.')
+ const salt = randomBytes(32)
+ const iv = randomBytes(12)
+ const key = deriveKey(password, salt)
+ const cipher = createCipheriv('aes-256-gcm', key, iv)
+ const plaintext = Buffer.from(privateKey.replace(/^0x/, ''), 'hex')
+ const ciphertext = Buffer.concat([cipher.update(plaintext), cipher.final()])
+ const tag = cipher.getAuthTag()
+
+ const file: KeystoreFile = {
+ version: 1,
+ address,
+ kdf: 'scrypt',
+ kdfparams: { ...SCRYPT, salt: salt.toString('hex') },
+ cipher: 'aes-256-gcm',
+ iv: iv.toString('hex'),
+ ciphertext: ciphertext.toString('hex'),
+ tag: tag.toString('hex'),
+ }
+ mkdirSync(dirname(path), { recursive: true, mode: 0o700 })
+ writeFileSync(path, JSON.stringify(file, null, 2) + '\n', { mode: 0o600 })
+}
+
+/** Read the address a keystore holds without decrypting it. */
+export function keystoreAddress(path: string): `0x${string}` {
+ const file = readKeystoreFile(path)
+ return file.address
+}
+
+/** Decrypt the private key from a keystore. Throws on a wrong password. */
+export function decryptKeystore(path: string, password: string): `0x${string}` {
+ const file = readKeystoreFile(path)
+ const salt = Buffer.from(file.kdfparams.salt, 'hex')
+ const key = deriveKey(password, salt)
+ const decipher = createDecipheriv('aes-256-gcm', key, Buffer.from(file.iv, 'hex'))
+ decipher.setAuthTag(Buffer.from(file.tag, 'hex'))
+ try {
+ const plaintext = Buffer.concat([
+ decipher.update(Buffer.from(file.ciphertext, 'hex')),
+ decipher.final(),
+ ])
+ return `0x${plaintext.toString('hex')}`
+ } catch {
+ throw walletError('Wrong wallet password.', 'The keystore could not be decrypted.')
+ }
+}
+
+/** Constant-time equality helper (used when confirming a password twice). */
+export function passwordsMatch(a: string, b: string): boolean {
+ const ba = Buffer.from(a)
+ const bb = Buffer.from(b)
+ if (ba.length !== bb.length) return false
+ return timingSafeEqual(ba, bb)
+}
+
+export function keystoreExists(path: string): boolean {
+ return existsSync(path)
+}
+
+function readKeystoreFile(path: string): KeystoreFile {
+ if (!existsSync(path)) throw walletError(`No keystore at ${path}.`, 'Create one with `hood config set wallet`.')
+ try {
+ const file = JSON.parse(readFileSync(path, 'utf8')) as KeystoreFile
+ if (file.version !== 1 || file.cipher !== 'aes-256-gcm') throw new Error('unsupported keystore')
+ return file
+ } catch (err) {
+ if (err instanceof Error && err.name === 'CliError') throw err
+ throw walletError(`Keystore at ${path} is corrupt or unsupported.`)
+ }
+}
diff --git a/robinhood/hood-cli/src/output.ts b/robinhood/hood-cli/src/output.ts
new file mode 100644
index 000000000..642d3634e
--- /dev/null
+++ b/robinhood/hood-cli/src/output.ts
@@ -0,0 +1,61 @@
+/**
+ * Output boundary: every command prints through here so `--json` is uniform,
+ * exit codes are consistent, and errors get a human message + optional hint.
+ */
+import { bold, dim, red, yellow } from './ui/ansi.js'
+import { CliError, EXIT, toCliError } from './errors.js'
+
+/** Serialise bigints so `JSON.stringify` never throws on chain data. */
+function jsonReplacer(_key: string, value: unknown): unknown {
+ return typeof value === 'bigint' ? value.toString() : value
+}
+
+/** Print a machine-readable JSON payload to stdout. */
+export function printJson(data: unknown): void {
+ process.stdout.write(JSON.stringify(data, jsonReplacer, 2) + '\n')
+}
+
+/** Print a human-facing string block to stdout. */
+export function printHuman(block: string): void {
+ process.stdout.write(block + '\n')
+}
+
+/**
+ * Print a result either as JSON (`--json`) or via the human renderer.
+ * `json` is the structured payload; `human` renders the same data for a person.
+ */
+export function printResult(json: unknown, human: () => string, asJson: boolean): void {
+ if (asJson) printJson(json)
+ else printHuman(human())
+}
+
+/** A dim note to stderr (never pollutes stdout / JSON). */
+export function note(message: string): void {
+ process.stderr.write(dim(message) + '\n')
+}
+
+/** A warning to stderr. */
+export function warn(message: string): void {
+ process.stderr.write(yellow('! ' + message) + '\n')
+}
+
+/**
+ * Present a fatal error and return its exit code. Honours `--json` (emits a
+ * `{ error, hint }` object) and `--verbose` (appends the raw cause).
+ */
+export function presentError(err: unknown, opts: { json: boolean; verbose: boolean }): number {
+ const cli: CliError = toCliError(err)
+ if (opts.json) {
+ printJson({ error: cli.message, hint: cli.hint ?? null, exitCode: cli.exitCode })
+ } else {
+ process.stderr.write(red(bold('✗ ') + cli.message) + '\n')
+ if (cli.hint) process.stderr.write(dim(' ' + cli.hint) + '\n')
+ if (opts.verbose && cli.cause) {
+ const cause = cli.cause instanceof Error ? (cli.cause.stack ?? cli.cause.message) : String(cli.cause)
+ process.stderr.write(dim('\n' + cause) + '\n')
+ } else if (cli.cause && cli.exitCode !== EXIT.GUARD) {
+ process.stderr.write(dim(' Run with --verbose for the raw cause.') + '\n')
+ }
+ }
+ return cli.exitCode
+}
diff --git a/robinhood/hood-cli/src/prompt.ts b/robinhood/hood-cli/src/prompt.ts
new file mode 100644
index 000000000..1a069785e
--- /dev/null
+++ b/robinhood/hood-cli/src/prompt.ts
@@ -0,0 +1,83 @@
+/**
+ * Interactive prompts on the controlling TTY: a yes/no confirm gate and a
+ * hidden password reader. Both read from `/dev/tty`-equivalent stdin so they
+ * work even when stdout is piped, and both fail closed on a non-interactive
+ * stdin (a script must pass explicit flags rather than hang).
+ */
+import { createInterface } from 'node:readline'
+import { bold, dim, yellow } from './ui/ansi.js'
+import { guardError } from './errors.js'
+
+/** Whether we can prompt (stdin is a TTY). */
+export function canPrompt(): boolean {
+ return !!process.stdin.isTTY
+}
+
+/**
+ * Ask a yes/no question. Returns true only on an explicit yes. On a
+ * non-interactive stdin it throws a guard error rather than blocking.
+ */
+export async function confirm(question: string): Promise<boolean> {
+ if (!canPrompt()) {
+ throw guardError('Confirmation required but stdin is not a terminal.', 'Re-run in an interactive shell, or pass --yes to skip the prompt.')
+ }
+ const rl = createInterface({ input: process.stdin, output: process.stderr })
+ try {
+ const answer = await new Promise<string>((resolve) => {
+ rl.question(`${yellow('?')} ${bold(question)} ${dim('[y/N]')} `, resolve)
+ })
+ return /^y(es)?$/i.test(answer.trim())
+ } finally {
+ rl.close()
+ }
+}
+
+/**
+ * Read a password without echoing it. Falls back to the env var when provided
+ * so automation never has to type into a TTY.
+ */
+export async function readPassword(label = 'Wallet password:', envVar = 'HOOD_WALLET_PASSWORD'): Promise<string> {
+ const fromEnv = process.env[envVar]
+ if (fromEnv) return fromEnv
+ if (!canPrompt()) {
+ throw guardError('A wallet password is required.', `Set ${envVar} or run in an interactive terminal.`)
+ }
+
+ return new Promise<string>((resolve, reject) => {
+ const stdin = process.stdin
+ process.stderr.write(`${dim(label)} `)
+ stdin.setRawMode?.(true)
+ stdin.resume()
+ stdin.setEncoding('utf8')
+
+ let value = ''
+ const onData = (chunk: string) => {
+ for (const ch of chunk) {
+ if (ch === '\n' || ch === '\r' || ch === '') {
+ cleanup()
+ process.stderr.write('\n')
+ resolve(value)
+ return
+ }
+ if (ch === '') {
+ // Ctrl-C
+ cleanup()
+ process.stderr.write('\n')
+ reject(guardError('Aborted.'))
+ return
+ }
+ if (ch === '' || ch === '\b') {
+ value = value.slice(0, -1)
+ } else {
+ value += ch
+ }
+ }
+ }
+ const cleanup = () => {
+ stdin.setRawMode?.(false)
+ stdin.pause()
+ stdin.removeListener('data', onData)
+ }
+ stdin.on('data', onData)
+ })
+}
diff --git a/robinhood/hood-cli/src/ui/ansi.ts b/robinhood/hood-cli/src/ui/ansi.ts
new file mode 100644
index 000000000..66b6ee2d6
--- /dev/null
+++ b/robinhood/hood-cli/src/ui/ansi.ts
@@ -0,0 +1,72 @@
+/**
+ * Chalk-free ANSI styling. Small, dependency-free, and TTY-aware.
+ *
+ * Colour is enabled only when stdout is a TTY, `NO_COLOR` is unset, and the
+ * terminal is not `dumb`. `--no-color` (or a non-TTY pipe) forces plain text,
+ * so `hood ... --json | jq` and log files stay clean.
+ */
+
+let colorEnabled =
+ !!process.stdout.isTTY && !process.env.NO_COLOR && process.env.TERM !== 'dumb'
+
+/** Force colour on or off (wired to the global `--no-color` flag). */
+export function setColorEnabled(enabled: boolean): void {
+ colorEnabled = enabled
+}
+
+/** Whether ANSI colour is currently active. */
+export function colorIsEnabled(): boolean {
+ return colorEnabled
+}
+
+const wrap = (open: number, close: number) => (s: string | number): string =>
+ colorEnabled ? `\x1b[${open}m${s}\x1b[${close}m` : String(s)
+
+export const bold = wrap(1, 22)
+export const dim = wrap(2, 22)
+export const italic = wrap(3, 23)
+export const underline = wrap(4, 24)
+
+export const red = wrap(31, 39)
+export const green = wrap(32, 39)
+export const yellow = wrap(33, 39)
+export const blue = wrap(34, 39)
+export const magenta = wrap(35, 39)
+export const cyan = wrap(36, 39)
+export const white = wrap(37, 39)
+export const gray = wrap(90, 39)
+
+/** The one brand accent — a warm gradient rendered as 256-colour when able. */
+export function accent(s: string): string {
+ return colorEnabled ? `\x1b[38;5;79m${s}\x1b[39m` : s
+}
+
+/** Strip every ANSI escape from a string (for width math and non-TTY output). */
+export function stripAnsi(s: string): string {
+ // eslint-disable-next-line no-control-regex
+ return s.replace(/\x1b\[[0-9;]*m/g, '')
+}
+
+/** Visible width of a string, ignoring ANSI escapes. */
+export function width(s: string): string['length'] {
+ return stripAnsi(s).length
+}
+
+/** Pad `s` to `len` visible columns (ANSI-aware). */
+export function padEnd(s: string, len: number): string {
+ const w = width(s)
+ return w >= len ? s : s + ' '.repeat(len - w)
+}
+
+/** Right-align `s` to `len` visible columns (ANSI-aware). */
+export function padStart(s: string, len: number): string {
+ const w = width(s)
+ return w >= len ? s : ' '.repeat(len - w) + s
+}
+
+/** Truncate to `len` visible columns with an ellipsis (ANSI-unaware — use on plain text). */
+export function truncate(s: string, len: number): string {
+ if (s.length <= len) return s
+ if (len <= 1) return s.slice(0, len)
+ return s.slice(0, len - 1) + '…'
+}
diff --git a/robinhood/hood-cli/src/ui/format.ts b/robinhood/hood-cli/src/ui/format.ts
new file mode 100644
index 000000000..2860a5f37
--- /dev/null
+++ b/robinhood/hood-cli/src/ui/format.ts
@@ -0,0 +1,98 @@
+/**
+ * Pure formatting helpers — deterministic, unit-tested, no I/O. Colour is
+ * applied by callers, not here, so these stay easy to test.
+ */
+import { formatUnits, type Address } from 'viem'
+
+/** Format a USD value with thousands separators and adaptive precision. */
+export function formatUsd(value: number): string {
+ if (!Number.isFinite(value)) return '—'
+ const abs = Math.abs(value)
+ const decimals = abs >= 1000 ? 2 : abs >= 1 ? 2 : abs >= 0.01 ? 4 : abs > 0 ? 6 : 2
+ return `$${value.toLocaleString('en-US', { minimumFractionDigits: decimals, maximumFractionDigits: decimals })}`
+}
+
+/** Format a plain number with grouping and a fixed number of decimals. */
+export function formatNumber(value: number, decimals = 2): string {
+ if (!Number.isFinite(value)) return '—'
+ return value.toLocaleString('en-US', { minimumFractionDigits: decimals, maximumFractionDigits: decimals })
+}
+
+/** Compact large counts: 1234 → "1.23K", 1_200_000 → "1.20M". */
+export function formatCompact(value: number): string {
+ if (!Number.isFinite(value)) return '—'
+ const abs = Math.abs(value)
+ if (abs >= 1e9) return `${(value / 1e9).toFixed(2)}B`
+ if (abs >= 1e6) return `${(value / 1e6).toFixed(2)}M`
+ if (abs >= 1e3) return `${(value / 1e3).toFixed(2)}K`
+ return formatNumber(value, abs < 1 && abs > 0 ? 4 : 2)
+}
+
+/** Format a signed percentage with an explicit sign, e.g. "+1.24%". */
+export function formatPct(fraction: number, decimals = 2): string {
+ if (!Number.isFinite(fraction)) return '—'
+ const pct = fraction * 100
+ const sign = pct > 0 ? '+' : ''
+ return `${sign}${pct.toFixed(decimals)}%`
+}
+
+/** Abbreviate an address as `0x1234…abcd`. */
+export function shortAddress(address: string): string {
+ if (!address || address.length < 12) return address
+ return `${address.slice(0, 6)}…${address.slice(-4)}`
+}
+
+/** Abbreviate a tx hash as `0x12345678…abcdef12`. */
+export function shortHash(hash: string): string {
+ if (!hash || hash.length < 20) return hash
+ return `${hash.slice(0, 10)}…${hash.slice(-8)}`
+}
+
+/** Human duration from seconds: "5s", "3m 20s", "2h 5m", "3d 4h". */
+export function formatDuration(totalSeconds: number): string {
+ const s = Math.max(0, Math.floor(totalSeconds))
+ if (s < 60) return `${s}s`
+ const m = Math.floor(s / 60)
+ if (m < 60) {
+ const rem = s % 60
+ return rem ? `${m}m ${rem}s` : `${m}m`
+ }
+ const h = Math.floor(m / 60)
+ if (h < 24) {
+ const rem = m % 60
+ return rem ? `${h}h ${rem}m` : `${h}h`
+ }
+ const d = Math.floor(h / 24)
+ const rem = h % 24
+ return rem ? `${d}d ${rem}h` : `${d}d`
+}
+
+/** "3m ago" style age string from an age in seconds. */
+export function formatAge(ageSeconds: number): string {
+ return `${formatDuration(ageSeconds)} ago`
+}
+
+/** Format a raw token amount (bigint + decimals) as a trimmed decimal string. */
+export function formatTokenAmount(raw: bigint, decimals: number, maxFractionDigits = 6): string {
+ const full = formatUnits(raw, decimals)
+ const [int, frac = ''] = full.split('.')
+ const grouped = BigInt(int ?? '0').toLocaleString('en-US')
+ if (!frac) return grouped
+ const trimmed = frac.slice(0, maxFractionDigits).replace(/0+$/, '')
+ return trimmed ? `${grouped}.${trimmed}` : grouped
+}
+
+/** Explorer address URL on Blockscout. */
+export function explorerAddressUrl(explorer: string, address: Address | string): string {
+ return `${explorer.replace(/\/$/, '')}/address/${address}`
+}
+
+/** Explorer tx URL on Blockscout. */
+export function explorerTxUrl(explorer: string, hash: string): string {
+ return `${explorer.replace(/\/$/, '')}/tx/${hash}`
+}
+
+/** Explorer token URL on Blockscout. */
+export function explorerTokenUrl(explorer: string, address: Address | string): string {
+ return `${explorer.replace(/\/$/, '')}/token/${address}`
+}
diff --git a/robinhood/hood-cli/src/ui/live.ts b/robinhood/hood-cli/src/ui/live.ts
new file mode 100644
index 000000000..f868bd577
--- /dev/null
+++ b/robinhood/hood-cli/src/ui/live.ts
@@ -0,0 +1,61 @@
+/**
+ * Flicker-free live region for `--watch` / `--follow`.
+ *
+ * Instead of clearing the whole screen each tick (which flickers and destroys
+ * scrollback), it repaints only the lines it previously drew: cursor up N,
+ * rewrite each line with a clear-to-EOL, and clear any leftover lines when the
+ * block shrinks. On a non-TTY it simply appends each frame with a separator so
+ * piped output stays readable.
+ */
+export interface LiveRegion {
+ /** Draw a full frame (a multi-line string). Diffs against the last frame. */
+ render: (frame: string) => void
+ /** Append a line below the live region without disturbing it (event log). */
+ log?: (line: string) => void
+ /** Restore the cursor and stop. */
+ stop: () => void
+}
+
+/** Create a live region on stdout. */
+export function liveRegion(): LiveRegion {
+ const tty = !!process.stdout.isTTY
+
+ if (!tty) {
+ let first = true
+ return {
+ render: (frame) => {
+ if (!first) process.stdout.write('\n')
+ first = false
+ process.stdout.write(frame + '\n')
+ },
+ stop: () => {},
+ }
+ }
+
+ let prevLines = 0
+ // Hide the cursor while animating; restore on stop / SIGINT.
+ process.stdout.write('\x1b[?25l')
+ let stopped = false
+ const stop = () => {
+ if (stopped) return
+ stopped = true
+ process.stdout.write('\x1b[?25h')
+ }
+ process.on('exit', stop)
+
+ const render = (frame: string) => {
+ const lines = frame.split('\n')
+ let out = ''
+ if (prevLines > 0) out += `\x1b[${prevLines}A` // cursor up to the block's top
+ for (const line of lines) out += `\r\x1b[K${line}\n`
+ // Clear any leftover lines from a taller previous frame.
+ for (let i = lines.length; i < prevLines; i++) out += '\r\x1b[K\n'
+ // Move the cursor back up over the cleared tail so the next frame lines up.
+ const extra = Math.max(0, prevLines - lines.length)
+ if (extra > 0) out += `\x1b[${extra}A`
+ process.stdout.write(out)
+ prevLines = lines.length
+ }
+
+ return { render, stop }
+}
diff --git a/robinhood/hood-cli/src/ui/spinner.ts b/robinhood/hood-cli/src/ui/spinner.ts
new file mode 100644
index 000000000..69f3ccf7e
--- /dev/null
+++ b/robinhood/hood-cli/src/ui/spinner.ts
@@ -0,0 +1,71 @@
+/**
+ * A minimal network spinner. TTY-only: on a pipe or with `--json` it degrades
+ * to a single dim status line on stderr (so it never pollutes stdout data).
+ */
+import { dim } from './ansi.js'
+
+const FRAMES = ['⠋', '⠙', '⠹', '⠸', '⠼', '⠴', '⠦', '⠧', '⠇', '⠏']
+
+export interface Spinner {
+ /** Update the label without interrupting the animation. */
+ update: (text: string) => void
+ /** Stop and clear the line. */
+ stop: () => void
+ /** Stop, clear, and print a final dim status to stderr. */
+ succeed: (text?: string) => void
+ fail: (text?: string) => void
+}
+
+/** Start a spinner writing to stderr. Returns a no-op handle when non-TTY. */
+export function spinner(text: string): Spinner {
+ if (!process.stderr.isTTY) {
+ process.stderr.write(dim(text) + '\n')
+ return {
+ update: () => {},
+ stop: () => {},
+ succeed: (t) => t && process.stderr.write(dim(t) + '\n'),
+ fail: (t) => t && process.stderr.write(dim(t) + '\n'),
+ }
+ }
+
+ let label = text
+ let i = 0
+ const render = () => {
+ process.stderr.write(`\r\x1b[K${dim(FRAMES[i % FRAMES.length] + ' ' + label)}`)
+ i += 1
+ }
+ render()
+ const timer = setInterval(render, 80)
+
+ const clear = () => {
+ clearInterval(timer)
+ process.stderr.write('\r\x1b[K')
+ }
+ return {
+ update: (t) => {
+ label = t
+ },
+ stop: clear,
+ succeed: (t) => {
+ clear()
+ if (t) process.stderr.write(dim('✓ ' + t) + '\n')
+ },
+ fail: (t) => {
+ clear()
+ if (t) process.stderr.write(dim('✗ ' + t) + '\n')
+ },
+ }
+}
+
+/** Run `fn` under a spinner, always clearing it (even on throw). */
+export async function withSpinner<T>(text: string, fn: (s: Spinner) => Promise<T>): Promise<T> {
+ const s = spinner(text)
+ try {
+ const result = await fn(s)
+ s.stop()
+ return result
+ } catch (err) {
+ s.stop()
+ throw err
+ }
+}
diff --git a/robinhood/hood-cli/src/ui/style.ts b/robinhood/hood-cli/src/ui/style.ts
new file mode 100644
index 000000000..25e199687
--- /dev/null
+++ b/robinhood/hood-cli/src/ui/style.ts
@@ -0,0 +1,69 @@
+/**
+ * Chalk-free ANSI styling. Colour is enabled only for real TTYs and disabled
+ * when `NO_COLOR` is set, `TERM=dumb`, or `--no-color` was passed (via
+ * {@link setColorEnabled}). Colour semantics across the CLI: green/red are
+ * reserved for numbers (gains/losses), cyan for links/addresses, yellow for
+ * warnings, dim for secondary text.
+ */
+
+let colorEnabled =
+ Boolean(process.stdout.isTTY) &&
+ !process.env.NO_COLOR &&
+ process.env.TERM !== 'dumb'
+
+/** Force colour on/off (honours `--color` / `--no-color`). */
+export function setColorEnabled(enabled: boolean): void {
+ colorEnabled = enabled
+}
+
+/** Whether ANSI colour is currently active. */
+export function isColorEnabled(): boolean {
+ return colorEnabled
+}
+
+const wrap = (open: number, close: number) => (s: string) =>
+ colorEnabled ? `\x1b[${open}m${s}\x1b[${close}m` : s
+
+export const bold = wrap(1, 22)
+export const dim = wrap(2, 22)
+export const italic = wrap(3, 23)
+export const underline = wrap(4, 24)
+export const red = wrap(31, 39)
+export const green = wrap(32, 39)
+export const yellow = wrap(33, 39)
+export const blue = wrap(34, 39)
+export const magenta = wrap(35, 39)
+export const cyan = wrap(36, 39)
+export const gray = wrap(90, 39)
+export const white = wrap(97, 39)
+
+/** The one accent colour used for headings and the wordmark. */
+export const accent = (s: string): string => (colorEnabled ? `\x1b[38;5;84m${s}\x1b[39m` : s)
+
+/** Colour a signed number: positive green, negative red, zero dim. */
+export function signColor(value: number, text: string): string {
+ if (value > 0) return green(text)
+ if (value < 0) return red(text)
+ return dim(text)
+}
+
+const ANSI_RE = /\x1b\[[0-9;]*m|\x1b\]8;;[^\x07]*\x07/g
+
+/** Strip ANSI escapes (colour + OSC-8 hyperlinks) from a string. */
+export function stripAnsi(s: string): string {
+ return s.replace(ANSI_RE, '')
+}
+
+/** Visible width of a string, ignoring ANSI escapes. */
+export function visibleWidth(s: string): number {
+ return [...stripAnsi(s)].length
+}
+
+/**
+ * An OSC-8 terminal hyperlink where supported, falling back to the label. Only
+ * emitted for colour-capable TTYs; plain text otherwise so pipes stay clean.
+ */
+export function hyperlink(label: string, url: string): string {
+ if (!colorEnabled) return label
+ return `\x1b]8;;${url}\x07${label}\x1b]8;;\x07`
+}
diff --git a/robinhood/hood-cli/src/ui/table.ts b/robinhood/hood-cli/src/ui/table.ts
new file mode 100644
index 000000000..0b8b3f60b
--- /dev/null
+++ b/robinhood/hood-cli/src/ui/table.ts
@@ -0,0 +1,95 @@
+/**
+ * Aligned table renderer. Column-aware padding, right-alignment for numeric
+ * columns, dim rules, and a graceful narrow-terminal fallback that drops
+ * lower-priority columns before it ever wraps.
+ */
+import { dim, gray, padEnd, padStart, width } from './ansi.js'
+
+/** A column definition. */
+export interface Column<Row> {
+ /** Header label. */
+ header: string
+ /** Cell renderer — returns the already-styled string. */
+ cell: (row: Row) => string
+ /** Right-align (numbers) instead of left (text). @defaultValue false */
+ align?: 'left' | 'right'
+ /**
+ * Drop priority when the terminal is too narrow: lower numbers drop first.
+ * The first column is never dropped. @defaultValue 100
+ */
+ priority?: number
+ /** Hard minimum width for this column. */
+ min?: number
+}
+
+export interface TableOptions {
+ /** Terminal width to fit into. @defaultValue process.stdout.columns ?? 80 */
+ maxWidth?: number
+ /** Gap between columns. @defaultValue 2 */
+ gap?: number
+}
+
+/** Render rows as an aligned table string (no trailing newline). */
+export function renderTable<Row>(
+ rows: Row[],
+ columns: Column<Row>[],
+ options: TableOptions = {},
+): string {
+ const gap = options.gap ?? 2
+ const maxWidth = options.maxWidth ?? process.stdout.columns ?? 80
+
+ // Measure every column at full width.
+ const measured = columns.map((col) => {
+ const cells = rows.map((r) => col.cell(r))
+ const contentWidth = Math.max(width(col.header), ...cells.map((c) => width(c)), 0)
+ return { col, cells, contentWidth: Math.max(contentWidth, col.min ?? 0) }
+ })
+
+ // Drop low-priority columns (never the first) until it fits.
+ const sep = ' '.repeat(gap)
+ const totalWidth = (cols: typeof measured) =>
+ cols.reduce((sum, m) => sum + m.contentWidth, 0) + gap * Math.max(0, cols.length - 1)
+
+ let visible = measured
+ if (totalWidth(visible) > maxWidth && visible.length > 1) {
+ const dropOrder = visible
+ .map((m, i) => ({ i, priority: m.col.priority ?? 100 }))
+ .filter((x) => x.i !== 0)
+ .sort((a, b) => a.priority - b.priority)
+ const dropped = new Set<number>()
+ for (const { i } of dropOrder) {
+ if (totalWidth(visible.filter((_, idx) => !dropped.has(idx))) <= maxWidth) break
+ dropped.add(i)
+ }
+ visible = measured.filter((_, idx) => !dropped.has(idx))
+ }
+
+ const line = (getCell: (m: (typeof visible)[number], rowIdx: number) => string, rowIdx: number) =>
+ visible
+ .map((m) => {
+ const raw = getCell(m, rowIdx)
+ return m.col.align === 'right'
+ ? padStart(raw, m.contentWidth)
+ : padEnd(raw, m.contentWidth)
+ })
+ .join(sep)
+
+ const headerLine = visible
+ .map((m) =>
+ m.col.align === 'right'
+ ? padStart(dim(m.col.header), m.contentWidth)
+ : padEnd(dim(m.col.header), m.contentWidth),
+ )
+ .join(sep)
+
+ const rule = gray('─'.repeat(Math.min(totalWidth(visible), maxWidth)))
+
+ const body = rows.map((_, rowIdx) => line((m) => m.cells[rowIdx] as string, rowIdx))
+ return [headerLine, rule, ...body].join('\n')
+}
+
+/** A simple two-column key/value block (for `tx`, `token`, single-record views). */
+export function renderKeyValue(pairs: [string, string][], options: { labelWidth?: number } = {}): string {
+ const labelWidth = options.labelWidth ?? Math.max(...pairs.map(([k]) => width(k)), 0)
+ return pairs.map(([k, v]) => `${padEnd(dim(k), labelWidth)} ${v}`).join('\n')
+}
diff --git a/robinhood/hood-js/package-lock.json b/robinhood/hood-js/package-lock.json
new file mode 100644
index 000000000..6a93281a6
--- /dev/null
+++ b/robinhood/hood-js/package-lock.json
@@ -0,0 +1,2324 @@
+{
+ "name": "hood-js",
+ "version": "0.1.0",
+ "lockfileVersion": 3,
+ "requires": true,
+ "packages": {
+ "": {
+ "name": "hood-js",
+ "version": "0.1.0",
+ "license": "MIT",
+ "dependencies": {
+ "hoodchain": "^0.1.0"
+ },
+ "devDependencies": {
+ "@types/node": "^24.0.0",
+ "gzip-size": "^7.0.0",
+ "hoodchain": "file:../robinhood-chain-sdk",
+ "tsup": "^8.5.0",
+ "typescript": "^5.9.0",
+ "viem": "^2.55.0",
+ "vitest": "^3.2.0"
+ },
+ "engines": {
+ "node": ">=20"
+ },
+ "peerDependencies": {
+ "viem": "^2.55.0"
+ }
+ },
+ "../robinhood-chain-sdk": {
+ "name": "hoodchain",
+ "version": "0.1.0",
+ "dev": true,
+ "license": "MIT",
+ "devDependencies": {
+ "@types/node": "^24.0.0",
+ "@types/ws": "^8.18.0",
+ "tsup": "^8.5.0",
+ "typedoc": "^0.28.0",
+ "typescript": "^5.9.0",
+ "viem": "^2.55.0",
+ "vitest": "^3.2.0",
+ "ws": "^8.18.0"
+ },
+ "engines": {
+ "node": ">=20"
+ },
+ "peerDependencies": {
+ "viem": "^2.55.0",
+ "ws": "^8.18.0"
+ },
+ "peerDependenciesMeta": {
+ "ws": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@adraffy/ens-normalize": {
+ "version": "1.11.1",
+ "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.11.1.tgz",
+ "integrity": "sha512-nhCBV3quEgesuf7c7KYfperqSS14T8bYuvJ8PcLJp6znkZpFc0AuW4qBtr8eKVyPPe/8RSr7sglCWPU5eaxwKQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@esbuild/aix-ppc64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.27.7.tgz",
+ "integrity": "sha512-EKX3Qwmhz1eMdEJokhALr0YiD0lhQNwDqkPYyPhiSwKrh7/4KRjQc04sZ8db+5DVVnZ1LmbNDI1uAMPEUBnQPg==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "aix"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/android-arm": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.27.7.tgz",
+ "integrity": "sha512-jbPXvB4Yj2yBV7HUfE2KHe4GJX51QplCN1pGbYjvsyCZbQmies29EoJbkEc+vYuU5o45AfQn37vZlyXy4YJ8RQ==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/android-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.27.7.tgz",
+ "integrity": "sha512-62dPZHpIXzvChfvfLJow3q5dDtiNMkwiRzPylSCfriLvZeq0a1bWChrGx/BbUbPwOrsWKMn8idSllklzBy+dgQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/android-x64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.27.7.tgz",
+ "integrity": "sha512-x5VpMODneVDb70PYV2VQOmIUUiBtY3D3mPBG8NxVk5CogneYhkR7MmM3yR/uMdITLrC1ml/NV1rj4bMJuy9MCg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/darwin-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.27.7.tgz",
+ "integrity": "sha512-5lckdqeuBPlKUwvoCXIgI2D9/ABmPq3Rdp7IfL70393YgaASt7tbju3Ac+ePVi3KDH6N2RqePfHnXkaDtY9fkw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/darwin-x64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.27.7.tgz",
+ "integrity": "sha512-rYnXrKcXuT7Z+WL5K980jVFdvVKhCHhUwid+dDYQpH+qu+TefcomiMAJpIiC2EM3Rjtq0sO3StMV/+3w3MyyqQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/freebsd-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.27.7.tgz",
+ "integrity": "sha512-B48PqeCsEgOtzME2GbNM2roU29AMTuOIN91dsMO30t+Ydis3z/3Ngoj5hhnsOSSwNzS+6JppqWsuhTp6E82l2w==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/freebsd-x64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.27.7.tgz",
+ "integrity": "sha512-jOBDK5XEjA4m5IJK3bpAQF9/Lelu/Z9ZcdhTRLf4cajlB+8VEhFFRjWgfy3M1O4rO2GQ/b2dLwCUGpiF/eATNQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-arm": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.27.7.tgz",
+ "integrity": "sha512-RkT/YXYBTSULo3+af8Ib0ykH8u2MBh57o7q/DAs3lTJlyVQkgQvlrPTnjIzzRPQyavxtPtfg0EopvDyIt0j1rA==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.27.7.tgz",
+ "integrity": "sha512-RZPHBoxXuNnPQO9rvjh5jdkRmVizktkT7TCDkDmQ0W2SwHInKCAV95GRuvdSvA7w4VMwfCjUiPwDi0ZO6Nfe9A==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-ia32": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.27.7.tgz",
+ "integrity": "sha512-GA48aKNkyQDbd3KtkplYWT102C5sn/EZTY4XROkxONgruHPU72l+gW+FfF8tf2cFjeHaRbWpOYa/uRBz/Xq1Pg==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-loong64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.27.7.tgz",
+ "integrity": "sha512-a4POruNM2oWsD4WKvBSEKGIiWQF8fZOAsycHOt6JBpZ+JN2n2JH9WAv56SOyu9X5IqAjqSIPTaJkqN8F7XOQ5Q==",
+ "cpu": [
+ "loong64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-mips64el": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.27.7.tgz",
+ "integrity": "sha512-KabT5I6StirGfIz0FMgl1I+R1H73Gp0ofL9A3nG3i/cYFJzKHhouBV5VWK1CSgKvVaG4q1RNpCTR2LuTVB3fIw==",
+ "cpu": [
+ "mips64el"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-ppc64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.27.7.tgz",
+ "integrity": "sha512-gRsL4x6wsGHGRqhtI+ifpN/vpOFTQtnbsupUF5R5YTAg+y/lKelYR1hXbnBdzDjGbMYjVJLJTd2OFmMewAgwlQ==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-riscv64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.27.7.tgz",
+ "integrity": "sha512-hL25LbxO1QOngGzu2U5xeXtxXcW+/GvMN3ejANqXkxZ/opySAZMrc+9LY/WyjAan41unrR3YrmtTsUpwT66InQ==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-s390x": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.27.7.tgz",
+ "integrity": "sha512-2k8go8Ycu1Kb46vEelhu1vqEP+UeRVj2zY1pSuPdgvbd5ykAw82Lrro28vXUrRmzEsUV0NzCf54yARIK8r0fdw==",
+ "cpu": [
+ "s390x"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-x64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.27.7.tgz",
+ "integrity": "sha512-hzznmADPt+OmsYzw1EE33ccA+HPdIqiCRq7cQeL1Jlq2gb1+OyWBkMCrYGBJ+sxVzve2ZJEVeePbLM2iEIZSxA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/netbsd-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.27.7.tgz",
+ "integrity": "sha512-b6pqtrQdigZBwZxAn1UpazEisvwaIDvdbMbmrly7cDTMFnw/+3lVxxCTGOrkPVnsYIosJJXAsILG9XcQS+Yu6w==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "netbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/netbsd-x64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.27.7.tgz",
+ "integrity": "sha512-OfatkLojr6U+WN5EDYuoQhtM+1xco+/6FSzJJnuWiUw5eVcicbyK3dq5EeV/QHT1uy6GoDhGbFpprUiHUYggrw==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "netbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/openbsd-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.27.7.tgz",
+ "integrity": "sha512-AFuojMQTxAz75Fo8idVcqoQWEHIXFRbOc1TrVcFSgCZtQfSdc1RXgB3tjOn/krRHENUB4j00bfGjyl2mJrU37A==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/openbsd-x64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.27.7.tgz",
+ "integrity": "sha512-+A1NJmfM8WNDv5CLVQYJ5PshuRm/4cI6WMZRg1by1GwPIQPCTs1GLEUHwiiQGT5zDdyLiRM/l1G0Pv54gvtKIg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/openharmony-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.27.7.tgz",
+ "integrity": "sha512-+KrvYb/C8zA9CU/g0sR6w2RBw7IGc5J2BPnc3dYc5VJxHCSF1yNMxTV5LQ7GuKteQXZtspjFbiuW5/dOj7H4Yw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openharmony"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/sunos-x64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.27.7.tgz",
+ "integrity": "sha512-ikktIhFBzQNt/QDyOL580ti9+5mL/YZeUPKU2ivGtGjdTYoqz6jObj6nOMfhASpS4GU4Q/Clh1QtxWAvcYKamA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "sunos"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/win32-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.27.7.tgz",
+ "integrity": "sha512-7yRhbHvPqSpRUV7Q20VuDwbjW5kIMwTHpptuUzV+AA46kiPze5Z7qgt6CLCK3pWFrHeNfDd1VKgyP4O+ng17CA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/win32-ia32": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.27.7.tgz",
+ "integrity": "sha512-SmwKXe6VHIyZYbBLJrhOoCJRB/Z1tckzmgTLfFYOfpMAx63BJEaL9ExI8x7v0oAO3Zh6D/Oi1gVxEYr5oUCFhw==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/win32-x64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.27.7.tgz",
+ "integrity": "sha512-56hiAJPhwQ1R4i+21FVF7V8kSD5zZTdHcVuRFMW0hn753vVfQN8xlx4uOPT4xoGH0Z/oVATuR82AiqSTDIpaHg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@jridgewell/gen-mapping": {
+ "version": "0.3.13",
+ "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz",
+ "integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/sourcemap-codec": "^1.5.0",
+ "@jridgewell/trace-mapping": "^0.3.24"
+ }
+ },
+ "node_modules/@jridgewell/resolve-uri": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz",
+ "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/@jridgewell/sourcemap-codec": {
+ "version": "1.5.5",
+ "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz",
+ "integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@jridgewell/trace-mapping": {
+ "version": "0.3.31",
+ "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz",
+ "integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/resolve-uri": "^3.1.0",
+ "@jridgewell/sourcemap-codec": "^1.4.14"
+ }
+ },
+ "node_modules/@noble/ciphers": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/@noble/ciphers/-/ciphers-1.3.0.tgz",
+ "integrity": "sha512-2I0gnIVPtfnMw9ee9h1dJG7tp81+8Ob3OJb3Mv37rx5L40/b0i7djjCVvGOVqc9AEIQyvyu1i6ypKdFw8R8gQw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^14.21.3 || >=16"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/@noble/curves": {
+ "version": "1.9.1",
+ "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.9.1.tgz",
+ "integrity": "sha512-k11yZxZg+t+gWvBbIswW0yoJlu8cHOC7dhunwOzoWH/mXGBiYyR4YY6hAEK/3EUs4UpB8la1RfdRpeGsFHkWsA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@noble/hashes": "1.8.0"
+ },
+ "engines": {
+ "node": "^14.21.3 || >=16"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/@noble/hashes": {
+ "version": "1.8.0",
+ "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.8.0.tgz",
+ "integrity": "sha512-jCs9ldd7NwzpgXDIf6P3+NrHh9/sD6CQdxHyjQI+h/6rDNo88ypBxxz45UDuZHz9r3tNz7N/VInSVoVdtXEI4A==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^14.21.3 || >=16"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/@rollup/rollup-android-arm-eabi": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.62.2.tgz",
+ "integrity": "sha512-6o7ZLZK+BeenkZCFNDXqpbjw9bD6nuWonvS/lwQJp7NoVVxm6p3qE7qQ5jGuBjiFsgvqjD8mZAU5oWxTmbOeOg==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ]
+ },
+ "node_modules/@rollup/rollup-android-arm64": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.62.2.tgz",
+ "integrity": "sha512-BaH7BllCACHoH1LguOU56UItGfUWjujlO65kS9LAodViaN4bwIKd7oeW/ZHJ/4ljr/7MIiENnNy3HJ0zXv8Zkw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ]
+ },
+ "node_modules/@rollup/rollup-darwin-arm64": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.62.2.tgz",
+ "integrity": "sha512-v39RCCvj4He82I9sFmk+M1VZ0PLM9sfsLVikjfx2hYBNALhrrOR2D3JjQA6AhlaSOgcR+RzrKY7e1+bT6SUO/A==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ]
+ },
+ "node_modules/@rollup/rollup-darwin-x64": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.62.2.tgz",
+ "integrity": "sha512-yl0y2vq3S3lHeuXhEdss6TWfKW8vkujImO12tn4ZkG/4oghr09LvdYm2RElVjokTQiUvDUGXLGsYeLqUMCKpGA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ]
+ },
+ "node_modules/@rollup/rollup-freebsd-arm64": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.62.2.tgz",
+ "integrity": "sha512-tT4pvt4qXD+vEoezupCWi+a1F0vvDiksiHc+PxRlYTOH1I6/X4id9jPxTP+Fg+545euaFT1jJVs4CEdHZAU1vw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ]
+ },
+ "node_modules/@rollup/rollup-freebsd-x64": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.62.2.tgz",
+ "integrity": "sha512-6nU5F2wCW+qvCBhTn1pdIU3bzsIoF7EUwsCDRxilWGprQR6yd508YnH9+OKFCwpfS8pjZqDUmnCAr7exax0XCg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm-gnueabihf": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.62.2.tgz",
+ "integrity": "sha512-n1GJHPOvpIfhi3TmrCeh6S6URt9BFCt0KQE3qvexyGCTAKpR4Lg+eWvNZEqu7epxwus/8ElT3hacYEucm49SZg==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm-musleabihf": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.62.2.tgz",
+ "integrity": "sha512-JqgflS8wEB+UXV/vS1RpRbifGBeN4D5lz8D8oOFbFZw4vedvdOgCFAjfBmIMdW3yL10XpQQ0Ambepw6MXrhOnA==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm64-gnu": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.62.2.tgz",
+ "integrity": "sha512-wnFJkogWvN4jm/hQRF2UBaeUmk20j5+DmHvoyWii2b8HJDyvz1MF2OU/6ynXt2KR63rbZLWkFpoytpdc/yBuSA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm64-musl": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.62.2.tgz",
+ "integrity": "sha512-HVu2bp0zhvJ8xHEV9+UUs7S90VadmBSY3LcIMvozbPo4AuMGDWlz3ymHLHZPX4hR67TKTt8Qp5PJ5RBg/i+RMQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-loong64-gnu": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.62.2.tgz",
+ "integrity": "sha512-mQqqAV8QaoSgr9I2fKDLY2BAVvmKjWoGiu/cSYQonsLvtqwEn1E4QYfnCOcp5zoEqNhsDYin1s6jx/VJmrxlZg==",
+ "cpu": [
+ "loong64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-loong64-musl": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-musl/-/rollup-linux-loong64-musl-4.62.2.tgz",
+ "integrity": "sha512-IxKLoxCQ2IWi6bT2akyDUBGsOImDKB+sPp4EsTmwFQ/fMwpCKm8uLSSgP/Kx/QYUgKis6SEZ5/Nlhup0DIA0PQ==",
+ "cpu": [
+ "loong64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-ppc64-gnu": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.62.2.tgz",
+ "integrity": "sha512-Mk5ha2RQSgyFfmYYLkBpPnUk8D8FriBxesO1u9O75X0mHgXL1UQcH5Itl2lurWL2tj0RxV9b9tJgipac0hRY9A==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-ppc64-musl": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-musl/-/rollup-linux-ppc64-musl-4.62.2.tgz",
+ "integrity": "sha512-CjvEnqJL/0/TQ3TXX3OPIJ/kmBellrWd4heXUmHeJlTnmwjKpSJzoehLaL6Xk0ZnMHBu9dZuFADNOrtjF4v+2w==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-riscv64-gnu": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.62.2.tgz",
+ "integrity": "sha512-1SiZbzwdkaDURsew/tSOrooKiYy7EQGT6m8ufavAi9NEyQb/6VuIxFXAL1fqa4iZe3g4NbNk4P7J32z2tw5Mgg==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-riscv64-musl": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.62.2.tgz",
+ "integrity": "sha512-nQts12zJ3NQRoE6uYljOH89v7szzLDvG2JD/vsX+vGXU8w/At1GowTZ5/7qeFQ8m7L55rpR8Okugnuo5bgjy2Q==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-s390x-gnu": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.62.2.tgz",
+ "integrity": "sha512-E9/ll019jhPIJgpzfZoIkBGhcz+kKNgVWYRY0zr9srBdPPFVpvOKW8VaJKUbeK+eZXyQF9ltME+Kk6affeaPgg==",
+ "cpu": [
+ "s390x"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-x64-gnu": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.62.2.tgz",
+ "integrity": "sha512-5BqxR/pshjey51iliyzTD5Xi3EN0aLmQ2lZ3lvefVV9c82BvrLo2/6OT55iifpWBufs6kdwWbuOKS841DrmK9A==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-x64-musl": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.62.2.tgz",
+ "integrity": "sha512-uNN83XxQrRAh/w0/pmAfibcwyb6YWt4gP+dpnQKPVJshAloQ785ii8CT8ZCIxkGg9opVsvAlGhFitSm6D1Jjpg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-openbsd-x64": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-openbsd-x64/-/rollup-openbsd-x64-4.62.2.tgz",
+ "integrity": "sha512-srjEIxSH3LRnJN6THczDHWQplqEMFiAJrTab0msUryh9kwNpkICf3Ea6q6MN/2cZwRFUNx5w+h6Hpi4QuHS6Zg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openbsd"
+ ]
+ },
+ "node_modules/@rollup/rollup-openharmony-arm64": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.62.2.tgz",
+ "integrity": "sha512-8hOJnxgbyObnCm5AlRA3A931xX19xq80RjVTKgJOvEKWqJruP/Uf12IbAOaDjjEXYRewwHLfmF0YRIdK3OwKWA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openharmony"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-arm64-msvc": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.62.2.tgz",
+ "integrity": "sha512-mmF4AY1i0hG/bLWUctUq59gtmgaSIRa3cu/A3JFRp/sCNEme2bgDEiDS22P9FbnJB8NJNF4jPJiSP5RHQpUTDg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-ia32-msvc": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.62.2.tgz",
+ "integrity": "sha512-DZgkknc6jhHrk46V25vbAM0zZkyP0nSDkJB8/dRkLTxv470dOmWDqGoEJl/9A0dFfS7yE3REOwNDxpHwSLSt0Q==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-x64-gnu": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.62.2.tgz",
+ "integrity": "sha512-T6xr6ucWSFto+VGajA8YH26LdpHRuP4YLHEKAtCWvJDOlnmWcDZVCI2Jmjr+IFHDlt2zRaTAKE4tfjTaWLgJBg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-x64-msvc": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.62.2.tgz",
+ "integrity": "sha512-BfzEnDJOt9T8M989/lA37EcJgat01wLRnoi5dQf3QzOH7jzpqTAzdDbVfRljVr5r+jzKqpbHeyOfAaXxAd0PAA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@scure/base": {
+ "version": "1.2.6",
+ "resolved": "https://registry.npmjs.org/@scure/base/-/base-1.2.6.tgz",
+ "integrity": "sha512-g/nm5FgUa//MCj1gV09zTJTaM6KBAHqLN907YVQqf7zC49+DcO4B1so4ZX07Ef10Twr6nuqYEH9GEggFXA4Fmg==",
+ "dev": true,
+ "license": "MIT",
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/@scure/bip32": {
+ "version": "1.7.0",
+ "resolved": "https://registry.npmjs.org/@scure/bip32/-/bip32-1.7.0.tgz",
+ "integrity": "sha512-E4FFX/N3f4B80AKWp5dP6ow+flD1LQZo/w8UnLGYZO674jS6YnYeepycOOksv+vLPSpgN35wgKgy+ybfTb2SMw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@noble/curves": "~1.9.0",
+ "@noble/hashes": "~1.8.0",
+ "@scure/base": "~1.2.5"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/@scure/bip39": {
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/@scure/bip39/-/bip39-1.6.0.tgz",
+ "integrity": "sha512-+lF0BbLiJNwVlev4eKelw1WWLaiKXw7sSl8T6FvBlWkdX+94aGJ4o8XjUdlyhTCjd8c+B3KT3JfS8P0bLRNU6A==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@noble/hashes": "~1.8.0",
+ "@scure/base": "~1.2.5"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/@types/chai": {
+ "version": "5.2.3",
+ "resolved": "https://registry.npmjs.org/@types/chai/-/chai-5.2.3.tgz",
+ "integrity": "sha512-Mw558oeA9fFbv65/y4mHtXDs9bPnFMZAL/jxdPFUpOHHIXX91mcgEHbS5Lahr+pwZFR8A7GQleRWeI6cGFC2UA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/deep-eql": "*",
+ "assertion-error": "^2.0.1"
+ }
+ },
+ "node_modules/@types/deep-eql": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/@types/deep-eql/-/deep-eql-4.0.2.tgz",
+ "integrity": "sha512-c9h9dVVMigMPc4bwTvC5dxqtqJZwQPePsWjPlpSOnojbor6pGqdk541lfA7AqFQr5pB1BRdq0juY9db81BwyFw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@types/estree": {
+ "version": "1.0.9",
+ "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.9.tgz",
+ "integrity": "sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@types/node": {
+ "version": "24.13.3",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-24.13.3.tgz",
+ "integrity": "sha512-Dh8vAsV36ig5wa9OX4pXvMc9D3Veibfw2wix0CUwYODLD8nkj9UsLjASr49nPg+2eKzxhBV+v7L8pXvT4e639Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "undici-types": "~7.18.0"
+ }
+ },
+ "node_modules/@vitest/expect": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-3.2.7.tgz",
+ "integrity": "sha512-E8eBXaKibuvH2pSZErOjdVb5vF4PbKYcrnluBTYxEk1l/VhhwZg1kZQsdtjq+CsF5CFydf2Rdkz7jDHKSisi3w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/chai": "^5.2.2",
+ "@vitest/spy": "3.2.7",
+ "@vitest/utils": "3.2.7",
+ "chai": "^5.2.0",
+ "tinyrainbow": "^2.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/@vitest/mocker": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-3.2.7.tgz",
+ "integrity": "sha512-Trr0hYO9CM3Wj6ksWHRhK9IZpIY6wTMO5u/MqXurMxT57sWBaOPEtP3Oq60ihZuh5JsiagKfz95OcxdEP6dBrA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@vitest/spy": "3.2.7",
+ "estree-walker": "^3.0.3",
+ "magic-string": "^0.30.17"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ },
+ "peerDependencies": {
+ "msw": "^2.4.9",
+ "vite": "^5.0.0 || ^6.0.0 || ^7.0.0-0"
+ },
+ "peerDependenciesMeta": {
+ "msw": {
+ "optional": true
+ },
+ "vite": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@vitest/pretty-format": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-3.2.7.tgz",
+ "integrity": "sha512-KUHlwqVu0sRlhCdyPdQ/wBoTfRahjUky1MubOmYw9fWfIZy1gNoHpuaaQBPAaMaVYdQYHJLurzj8ECCj5OwTqA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "tinyrainbow": "^2.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/@vitest/runner": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-3.2.7.tgz",
+ "integrity": "sha512-sB9y4ovltoQP+WaUPwmSxO9WIg9Ig694Di5PalVPsYHklAdE027mehpWF2SQSVq+k6sFgaivbTjTJwZLSHbedA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@vitest/utils": "3.2.7",
+ "pathe": "^2.0.3",
+ "strip-literal": "^3.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/@vitest/snapshot": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-3.2.7.tgz",
+ "integrity": "sha512-7C+MwShwtBSI5Buwoyg3s/iY1eHL9PKAf+O1wVh/TdnjXUtkoL/9YQtre90i4MtNXM6edP1wJ2zOBpfCyhIS7g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@vitest/pretty-format": "3.2.7",
+ "magic-string": "^0.30.17",
+ "pathe": "^2.0.3"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/@vitest/spy": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-3.2.7.tgz",
+ "integrity": "sha512-Q2eQGI6d2L/hBtZ0qNuKcAGid68XK6cv1xsoaIma6PaJhHPoqcEJhYpXZ/5myCMqkNgtP6UKuBhbc0nHKnrkuQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "tinyspy": "^4.0.3"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/@vitest/utils": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-3.2.7.tgz",
+ "integrity": "sha512-x6BDOd7dyo3PFLY3I9/HJ25X/6OurhGXk2/B9gOZNPF7XDVjeBK4k01lQE5uvDpbuheErh91qYuE1E2OEjK3Rw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@vitest/pretty-format": "3.2.7",
+ "loupe": "^3.1.4",
+ "tinyrainbow": "^2.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/abitype": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/abitype/-/abitype-1.2.3.tgz",
+ "integrity": "sha512-Ofer5QUnuUdTFsBRwARMoWKOH1ND5ehwYhJ3OJ/BQO+StkwQjHw0XyVh4vDttzHB7QOFhPHa/o413PJ82gU/Tg==",
+ "dev": true,
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/wevm"
+ },
+ "peerDependencies": {
+ "typescript": ">=5.0.4",
+ "zod": "^3.22.0 || ^4.0.0"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ },
+ "zod": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/acorn": {
+ "version": "8.17.0",
+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.17.0.tgz",
+ "integrity": "sha512-xRQbDb9BnwDafYNn6Vwl839DYVjqXYb1XVGtWAZ1kcDc6iwAL4hg3B1dZlRiuENFeO2H53gFG3in621AdERVAg==",
+ "dev": true,
+ "license": "MIT",
+ "bin": {
+ "acorn": "bin/acorn"
+ },
+ "engines": {
+ "node": ">=0.4.0"
+ }
+ },
+ "node_modules/any-promise": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz",
+ "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/assertion-error": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-2.0.1.tgz",
+ "integrity": "sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/bundle-require": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/bundle-require/-/bundle-require-5.1.0.tgz",
+ "integrity": "sha512-3WrrOuZiyaaZPWiEt4G3+IffISVC9HYlWueJEBWED4ZH4aIAC2PnkdnuRrR94M+w6yGWn4AglWtJtBI8YqvgoA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "load-tsconfig": "^0.2.3"
+ },
+ "engines": {
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ },
+ "peerDependencies": {
+ "esbuild": ">=0.18"
+ }
+ },
+ "node_modules/cac": {
+ "version": "6.7.14",
+ "resolved": "https://registry.npmjs.org/cac/-/cac-6.7.14.tgz",
+ "integrity": "sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/chai": {
+ "version": "5.3.3",
+ "resolved": "https://registry.npmjs.org/chai/-/chai-5.3.3.tgz",
+ "integrity": "sha512-4zNhdJD/iOjSH0A05ea+Ke6MU5mmpQcbQsSOkgdaUMJ9zTlDTD/GYlwohmIE2u0gaxHYiVHEn1Fw9mZ/ktJWgw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "assertion-error": "^2.0.1",
+ "check-error": "^2.1.1",
+ "deep-eql": "^5.0.1",
+ "loupe": "^3.1.0",
+ "pathval": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/check-error": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/check-error/-/check-error-2.1.3.tgz",
+ "integrity": "sha512-PAJdDJusoxnwm1VwW07VWwUN1sl7smmC3OKggvndJFadxxDRyFJBX/ggnu/KE4kQAB7a3Dp8f/YXC1FlUprWmA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 16"
+ }
+ },
+ "node_modules/chokidar": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-4.0.3.tgz",
+ "integrity": "sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "readdirp": "^4.0.1"
+ },
+ "engines": {
+ "node": ">= 14.16.0"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/commander": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz",
+ "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/confbox": {
+ "version": "0.1.8",
+ "resolved": "https://registry.npmjs.org/confbox/-/confbox-0.1.8.tgz",
+ "integrity": "sha512-RMtmw0iFkeR4YV+fUOSucriAQNb9g8zFR52MWCtl+cCZOFRNL6zeB395vPzFhEjjn4fMxXudmELnl/KF/WrK6w==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/consola": {
+ "version": "3.4.2",
+ "resolved": "https://registry.npmjs.org/consola/-/consola-3.4.2.tgz",
+ "integrity": "sha512-5IKcdX0nnYavi6G7TtOhwkYzyjfJlatbjMjuLSfE2kYT5pMDOilZ4OvMhi637CcDICTmz3wARPoyhqyX1Y+XvA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^14.18.0 || >=16.10.0"
+ }
+ },
+ "node_modules/debug": {
+ "version": "4.4.3",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz",
+ "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ms": "^2.1.3"
+ },
+ "engines": {
+ "node": ">=6.0"
+ },
+ "peerDependenciesMeta": {
+ "supports-color": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/deep-eql": {
+ "version": "5.0.2",
+ "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-5.0.2.tgz",
+ "integrity": "sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/duplexer": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/duplexer/-/duplexer-0.1.2.tgz",
+ "integrity": "sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/es-module-lexer": {
+ "version": "1.7.0",
+ "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.7.0.tgz",
+ "integrity": "sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/esbuild": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.27.7.tgz",
+ "integrity": "sha512-IxpibTjyVnmrIQo5aqNpCgoACA/dTKLTlhMHihVHhdkxKyPO1uBBthumT0rdHmcsk9uMonIWS0m4FljWzILh3w==",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "MIT",
+ "bin": {
+ "esbuild": "bin/esbuild"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "optionalDependencies": {
+ "@esbuild/aix-ppc64": "0.27.7",
+ "@esbuild/android-arm": "0.27.7",
+ "@esbuild/android-arm64": "0.27.7",
+ "@esbuild/android-x64": "0.27.7",
+ "@esbuild/darwin-arm64": "0.27.7",
+ "@esbuild/darwin-x64": "0.27.7",
+ "@esbuild/freebsd-arm64": "0.27.7",
+ "@esbuild/freebsd-x64": "0.27.7",
+ "@esbuild/linux-arm": "0.27.7",
+ "@esbuild/linux-arm64": "0.27.7",
+ "@esbuild/linux-ia32": "0.27.7",
+ "@esbuild/linux-loong64": "0.27.7",
+ "@esbuild/linux-mips64el": "0.27.7",
+ "@esbuild/linux-ppc64": "0.27.7",
+ "@esbuild/linux-riscv64": "0.27.7",
+ "@esbuild/linux-s390x": "0.27.7",
+ "@esbuild/linux-x64": "0.27.7",
+ "@esbuild/netbsd-arm64": "0.27.7",
+ "@esbuild/netbsd-x64": "0.27.7",
+ "@esbuild/openbsd-arm64": "0.27.7",
+ "@esbuild/openbsd-x64": "0.27.7",
+ "@esbuild/openharmony-arm64": "0.27.7",
+ "@esbuild/sunos-x64": "0.27.7",
+ "@esbuild/win32-arm64": "0.27.7",
+ "@esbuild/win32-ia32": "0.27.7",
+ "@esbuild/win32-x64": "0.27.7"
+ }
+ },
+ "node_modules/estree-walker": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-3.0.3.tgz",
+ "integrity": "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/estree": "^1.0.0"
+ }
+ },
+ "node_modules/eventemitter3": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.1.tgz",
+ "integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/expect-type": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/expect-type/-/expect-type-1.4.0.tgz",
+ "integrity": "sha512-KfYbmpRm0VbLjEvVa9yGwCi9GI34xvi7A/HXYWQO65CSD2u3MczUJSuwXKFIxlGsgBQizV9q5J9NHj4VG0n+pA==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=12.0.0"
+ }
+ },
+ "node_modules/fdir": {
+ "version": "6.5.0",
+ "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz",
+ "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "peerDependencies": {
+ "picomatch": "^3 || ^4"
+ },
+ "peerDependenciesMeta": {
+ "picomatch": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/fix-dts-default-cjs-exports": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/fix-dts-default-cjs-exports/-/fix-dts-default-cjs-exports-1.0.1.tgz",
+ "integrity": "sha512-pVIECanWFC61Hzl2+oOCtoJ3F17kglZC/6N94eRWycFgBH35hHx0Li604ZIzhseh97mf2p0cv7vVrOZGoqhlEg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "magic-string": "^0.30.17",
+ "mlly": "^1.7.4",
+ "rollup": "^4.34.8"
+ }
+ },
+ "node_modules/fsevents": {
+ "version": "2.3.3",
+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
+ "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
+ }
+ },
+ "node_modules/gzip-size": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/gzip-size/-/gzip-size-7.0.0.tgz",
+ "integrity": "sha512-O1Ld7Dr+nqPnmGpdhzLmMTQ4vAsD+rHwMm1NLUmoUFFymBOMKxCCrtDxqdBRYXdeEPEi3SyoR4TizJLQrnKBNA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "duplexer": "^0.1.2"
+ },
+ "engines": {
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/hoodchain": {
+ "resolved": "../robinhood-chain-sdk",
+ "link": true
+ },
+ "node_modules/isows": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/isows/-/isows-1.0.7.tgz",
+ "integrity": "sha512-I1fSfDCZL5P0v33sVqeTDSpcstAg/N+wF5HS033mogOVIp4B+oHC7oOCsA3axAbBSGTJ8QubbNmnIRN/h8U7hg==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/wevm"
+ }
+ ],
+ "license": "MIT",
+ "peerDependencies": {
+ "ws": "*"
+ }
+ },
+ "node_modules/joycon": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/joycon/-/joycon-3.1.1.tgz",
+ "integrity": "sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/js-tokens": {
+ "version": "9.0.1",
+ "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-9.0.1.tgz",
+ "integrity": "sha512-mxa9E9ITFOt0ban3j6L5MpjwegGz6lBQmM1IJkWeBZGcMxto50+eWdjC/52xDbS2vy0k7vIMK0Fe2wfL9OQSpQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/lilconfig": {
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.3.tgz",
+ "integrity": "sha512-/vlFKAoH5Cgt3Ie+JLhRbwOsCQePABiU3tJ1egGvyQ+33R/vcwM2Zl2QR/LzjsBeItPt3oSVXapn+m4nQDvpzw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=14"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/antonk52"
+ }
+ },
+ "node_modules/lines-and-columns": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz",
+ "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/load-tsconfig": {
+ "version": "0.2.5",
+ "resolved": "https://registry.npmjs.org/load-tsconfig/-/load-tsconfig-0.2.5.tgz",
+ "integrity": "sha512-IXO6OCs9yg8tMKzfPZ1YmheJbZCiEsnBdcB03l0OcfK9prKnJb96siuHCr5Fl37/yo9DnKU+TLpxzTUspw9shg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ }
+ },
+ "node_modules/loupe": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/loupe/-/loupe-3.2.1.tgz",
+ "integrity": "sha512-CdzqowRJCeLU72bHvWqwRBBlLcMEtIvGrlvef74kMnV2AolS9Y8xUv1I0U/MNAWMhBlKIoyuEgoJ0t/bbwHbLQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/magic-string": {
+ "version": "0.30.21",
+ "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.21.tgz",
+ "integrity": "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/sourcemap-codec": "^1.5.5"
+ }
+ },
+ "node_modules/mlly": {
+ "version": "1.8.2",
+ "resolved": "https://registry.npmjs.org/mlly/-/mlly-1.8.2.tgz",
+ "integrity": "sha512-d+ObxMQFmbt10sretNDytwt85VrbkhhUA/JBGm1MPaWJ65Cl4wOgLaB1NYvJSZ0Ef03MMEU/0xpPMXUIQ29UfA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "acorn": "^8.16.0",
+ "pathe": "^2.0.3",
+ "pkg-types": "^1.3.1",
+ "ufo": "^1.6.3"
+ }
+ },
+ "node_modules/ms": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
+ "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/mz": {
+ "version": "2.7.0",
+ "resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz",
+ "integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "any-promise": "^1.0.0",
+ "object-assign": "^4.0.1",
+ "thenify-all": "^1.0.0"
+ }
+ },
+ "node_modules/nanoid": {
+ "version": "3.3.16",
+ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.16.tgz",
+ "integrity": "sha512-bzlKTyNJ7+LdGIIwy8ijFpIqEQIvafahV7eYykJ8Cvh42EdJeODoJ6gUJXpQJvej1BddH8OqTXZNE/KfbWAu8Q==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "bin": {
+ "nanoid": "bin/nanoid.cjs"
+ },
+ "engines": {
+ "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
+ }
+ },
+ "node_modules/object-assign": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
+ "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ox": {
+ "version": "0.14.30",
+ "resolved": "https://registry.npmjs.org/ox/-/ox-0.14.30.tgz",
+ "integrity": "sha512-LI11uu+8iiM1B3CLckgd++YF1a0A2k5wDoM9ZeQMiL21BOzQs6L//BLS6hb1HSEKCyycdDIQLsVQx9MjpcC0hA==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/wevm"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "@adraffy/ens-normalize": "^1.11.0",
+ "@noble/ciphers": "^1.3.0",
+ "@noble/curves": "1.9.1",
+ "@noble/hashes": "^1.8.0",
+ "@scure/bip32": "^1.7.0",
+ "@scure/bip39": "^1.6.0",
+ "abitype": "^1.2.3",
+ "eventemitter3": "5.0.1"
+ },
+ "peerDependencies": {
+ "typescript": ">=5.4.0"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/pathe": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/pathe/-/pathe-2.0.3.tgz",
+ "integrity": "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/pathval": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/pathval/-/pathval-2.0.1.tgz",
+ "integrity": "sha512-//nshmD55c46FuFw26xV/xFAaB5HF9Xdap7HJBBnrKdAd6/GxDBaNA1870O79+9ueg61cZLSVc+OaFlfmObYVQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 14.16"
+ }
+ },
+ "node_modules/picocolors": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
+ "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/picomatch": {
+ "version": "4.0.5",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.5.tgz",
+ "integrity": "sha512-RvwwcruNjI1ncT5xRakeyS9Lf8lcItv34KD+aif+VH9kduAyfYBipGh12274xtenIPZ119/R9BdTBa8gAwSh0A==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
+ }
+ },
+ "node_modules/pirates": {
+ "version": "4.0.7",
+ "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.7.tgz",
+ "integrity": "sha512-TfySrs/5nm8fQJDcBDuUng3VOUKsd7S+zqvbOTiGXHfxX4wK31ard+hoNuvkicM/2YFzlpDgABOevKSsB4G/FA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/pkg-types": {
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/pkg-types/-/pkg-types-1.3.1.tgz",
+ "integrity": "sha512-/Jm5M4RvtBFVkKWRu2BLUTNP8/M2a+UwuAX+ae4770q1qVGtfjG+WTCupoZixokjmHiry8uI+dlY8KXYV5HVVQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "confbox": "^0.1.8",
+ "mlly": "^1.7.4",
+ "pathe": "^2.0.1"
+ }
+ },
+ "node_modules/postcss": {
+ "version": "8.5.17",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.17.tgz",
+ "integrity": "sha512-J7EF+8X+CzRPaJPOv9Ck2wNWJvGnnl3PcNPAdGg6GTLjyVpyQ0yATMSXRFRV01BviT/9Gwuc3rjEyJbDJG9a4w==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/postcss"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "nanoid": "^3.3.12",
+ "picocolors": "^1.1.1",
+ "source-map-js": "^1.2.1"
+ },
+ "engines": {
+ "node": "^10 || ^12 || >=14"
+ }
+ },
+ "node_modules/postcss-load-config": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-6.0.1.tgz",
+ "integrity": "sha512-oPtTM4oerL+UXmx+93ytZVN82RrlY/wPUV8IeDxFrzIjXOLF1pN+EmKPLbubvKHT2HC20xXsCAH2Z+CKV6Oz/g==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "lilconfig": "^3.1.1"
+ },
+ "engines": {
+ "node": ">= 18"
+ },
+ "peerDependencies": {
+ "jiti": ">=1.21.0",
+ "postcss": ">=8.0.9",
+ "tsx": "^4.8.1",
+ "yaml": "^2.4.2"
+ },
+ "peerDependenciesMeta": {
+ "jiti": {
+ "optional": true
+ },
+ "postcss": {
+ "optional": true
+ },
+ "tsx": {
+ "optional": true
+ },
+ "yaml": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/readdirp": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-4.1.2.tgz",
+ "integrity": "sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 14.18.0"
+ },
+ "funding": {
+ "type": "individual",
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/resolve-from": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz",
+ "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/rollup": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.62.2.tgz",
+ "integrity": "sha512-RFnrW4lhXA3s3eqHDZvN654g8OTjzRfqpIRJYczCGB6HzphckVAi/Qh4tbPUbRuDi7s1Llv8g/NspLkttY3gTA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/estree": "1.0.9"
+ },
+ "bin": {
+ "rollup": "dist/bin/rollup"
+ },
+ "engines": {
+ "node": ">=18.0.0",
+ "npm": ">=8.0.0"
+ },
+ "optionalDependencies": {
+ "@rollup/rollup-android-arm-eabi": "4.62.2",
+ "@rollup/rollup-android-arm64": "4.62.2",
+ "@rollup/rollup-darwin-arm64": "4.62.2",
+ "@rollup/rollup-darwin-x64": "4.62.2",
+ "@rollup/rollup-freebsd-arm64": "4.62.2",
+ "@rollup/rollup-freebsd-x64": "4.62.2",
+ "@rollup/rollup-linux-arm-gnueabihf": "4.62.2",
+ "@rollup/rollup-linux-arm-musleabihf": "4.62.2",
+ "@rollup/rollup-linux-arm64-gnu": "4.62.2",
+ "@rollup/rollup-linux-arm64-musl": "4.62.2",
+ "@rollup/rollup-linux-loong64-gnu": "4.62.2",
+ "@rollup/rollup-linux-loong64-musl": "4.62.2",
+ "@rollup/rollup-linux-ppc64-gnu": "4.62.2",
+ "@rollup/rollup-linux-ppc64-musl": "4.62.2",
+ "@rollup/rollup-linux-riscv64-gnu": "4.62.2",
+ "@rollup/rollup-linux-riscv64-musl": "4.62.2",
+ "@rollup/rollup-linux-s390x-gnu": "4.62.2",
+ "@rollup/rollup-linux-x64-gnu": "4.62.2",
+ "@rollup/rollup-linux-x64-musl": "4.62.2",
+ "@rollup/rollup-openbsd-x64": "4.62.2",
+ "@rollup/rollup-openharmony-arm64": "4.62.2",
+ "@rollup/rollup-win32-arm64-msvc": "4.62.2",
+ "@rollup/rollup-win32-ia32-msvc": "4.62.2",
+ "@rollup/rollup-win32-x64-gnu": "4.62.2",
+ "@rollup/rollup-win32-x64-msvc": "4.62.2",
+ "fsevents": "~2.3.2"
+ }
+ },
+ "node_modules/siginfo": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/siginfo/-/siginfo-2.0.0.tgz",
+ "integrity": "sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/source-map": {
+ "version": "0.7.6",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.6.tgz",
+ "integrity": "sha512-i5uvt8C3ikiWeNZSVZNWcfZPItFQOsYTUAOkcUPGd8DqDy1uOUikjt5dG+uRlwyvR108Fb9DOd4GvXfT0N2/uQ==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">= 12"
+ }
+ },
+ "node_modules/source-map-js": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz",
+ "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/stackback": {
+ "version": "0.0.2",
+ "resolved": "https://registry.npmjs.org/stackback/-/stackback-0.0.2.tgz",
+ "integrity": "sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/std-env": {
+ "version": "3.10.0",
+ "resolved": "https://registry.npmjs.org/std-env/-/std-env-3.10.0.tgz",
+ "integrity": "sha512-5GS12FdOZNliM5mAOxFRg7Ir0pWz8MdpYm6AY6VPkGpbA7ZzmbzNcBJQ0GPvvyWgcY7QAhCgf9Uy89I03faLkg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/strip-literal": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/strip-literal/-/strip-literal-3.1.0.tgz",
+ "integrity": "sha512-8r3mkIM/2+PpjHoOtiAW8Rg3jJLHaV7xPwG+YRGrv6FP0wwk/toTpATxWYOW0BKdWwl82VT2tFYi5DlROa0Mxg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "js-tokens": "^9.0.1"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/antfu"
+ }
+ },
+ "node_modules/sucrase": {
+ "version": "3.35.1",
+ "resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.35.1.tgz",
+ "integrity": "sha512-DhuTmvZWux4H1UOnWMB3sk0sbaCVOoQZjv8u1rDoTV0HTdGem9hkAZtl4JZy8P2z4Bg0nT+YMeOFyVr4zcG5Tw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/gen-mapping": "^0.3.2",
+ "commander": "^4.0.0",
+ "lines-and-columns": "^1.1.6",
+ "mz": "^2.7.0",
+ "pirates": "^4.0.1",
+ "tinyglobby": "^0.2.11",
+ "ts-interface-checker": "^0.1.9"
+ },
+ "bin": {
+ "sucrase": "bin/sucrase",
+ "sucrase-node": "bin/sucrase-node"
+ },
+ "engines": {
+ "node": ">=16 || 14 >=14.17"
+ }
+ },
+ "node_modules/thenify": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz",
+ "integrity": "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "any-promise": "^1.0.0"
+ }
+ },
+ "node_modules/thenify-all": {
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz",
+ "integrity": "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "thenify": ">= 3.1.0 < 4"
+ },
+ "engines": {
+ "node": ">=0.8"
+ }
+ },
+ "node_modules/tinybench": {
+ "version": "2.9.0",
+ "resolved": "https://registry.npmjs.org/tinybench/-/tinybench-2.9.0.tgz",
+ "integrity": "sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/tinyexec": {
+ "version": "0.3.2",
+ "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-0.3.2.tgz",
+ "integrity": "sha512-KQQR9yN7R5+OSwaK0XQoj22pwHoTlgYqmUscPYoknOoWCWfj/5/ABTMRi69FrKU5ffPVh5QcFikpWJI/P1ocHA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/tinyglobby": {
+ "version": "0.2.17",
+ "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.17.tgz",
+ "integrity": "sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "fdir": "^6.5.0",
+ "picomatch": "^4.0.4"
+ },
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/SuperchupuDev"
+ }
+ },
+ "node_modules/tinypool": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/tinypool/-/tinypool-1.1.1.tgz",
+ "integrity": "sha512-Zba82s87IFq9A9XmjiX5uZA/ARWDrB03OHlq+Vw1fSdt0I+4/Kutwy8BP4Y/y/aORMo61FQ0vIb5j44vSo5Pkg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^18.0.0 || >=20.0.0"
+ }
+ },
+ "node_modules/tinyrainbow": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/tinyrainbow/-/tinyrainbow-2.0.0.tgz",
+ "integrity": "sha512-op4nsTR47R6p0vMUUoYl/a+ljLFVtlfaXkLQmqfLR1qHma1h/ysYk4hEXZ880bf2CYgTskvTa/e196Vd5dDQXw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=14.0.0"
+ }
+ },
+ "node_modules/tinyspy": {
+ "version": "4.0.4",
+ "resolved": "https://registry.npmjs.org/tinyspy/-/tinyspy-4.0.4.tgz",
+ "integrity": "sha512-azl+t0z7pw/z958Gy9svOTuzqIk6xq+NSheJzn5MMWtWTFywIacg2wUlzKFGtt3cthx0r2SxMK0yzJOR0IES7Q==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=14.0.0"
+ }
+ },
+ "node_modules/tree-kill": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/tree-kill/-/tree-kill-1.2.2.tgz",
+ "integrity": "sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==",
+ "dev": true,
+ "license": "MIT",
+ "bin": {
+ "tree-kill": "cli.js"
+ }
+ },
+ "node_modules/ts-interface-checker": {
+ "version": "0.1.13",
+ "resolved": "https://registry.npmjs.org/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz",
+ "integrity": "sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==",
+ "dev": true,
+ "license": "Apache-2.0"
+ },
+ "node_modules/tsup": {
+ "version": "8.5.1",
+ "resolved": "https://registry.npmjs.org/tsup/-/tsup-8.5.1.tgz",
+ "integrity": "sha512-xtgkqwdhpKWr3tKPmCkvYmS9xnQK3m3XgxZHwSUjvfTjp7YfXe5tT3GgWi0F2N+ZSMsOeWeZFh7ZZFg5iPhing==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "bundle-require": "^5.1.0",
+ "cac": "^6.7.14",
+ "chokidar": "^4.0.3",
+ "consola": "^3.4.0",
+ "debug": "^4.4.0",
+ "esbuild": "^0.27.0",
+ "fix-dts-default-cjs-exports": "^1.0.0",
+ "joycon": "^3.1.1",
+ "picocolors": "^1.1.1",
+ "postcss-load-config": "^6.0.1",
+ "resolve-from": "^5.0.0",
+ "rollup": "^4.34.8",
+ "source-map": "^0.7.6",
+ "sucrase": "^3.35.0",
+ "tinyexec": "^0.3.2",
+ "tinyglobby": "^0.2.11",
+ "tree-kill": "^1.2.2"
+ },
+ "bin": {
+ "tsup": "dist/cli-default.js",
+ "tsup-node": "dist/cli-node.js"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "@microsoft/api-extractor": "^7.36.0",
+ "@swc/core": "^1",
+ "postcss": "^8.4.12",
+ "typescript": ">=4.5.0"
+ },
+ "peerDependenciesMeta": {
+ "@microsoft/api-extractor": {
+ "optional": true
+ },
+ "@swc/core": {
+ "optional": true
+ },
+ "postcss": {
+ "optional": true
+ },
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/typescript": {
+ "version": "5.9.3",
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",
+ "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "bin": {
+ "tsc": "bin/tsc",
+ "tsserver": "bin/tsserver"
+ },
+ "engines": {
+ "node": ">=14.17"
+ }
+ },
+ "node_modules/ufo": {
+ "version": "1.6.4",
+ "resolved": "https://registry.npmjs.org/ufo/-/ufo-1.6.4.tgz",
+ "integrity": "sha512-JFNbkD1Svwe0KvGi8GOeLcP4kAWQ609twvCdcHxq1oSL8svv39ZuSvajcD8B+5D0eL4+s1Is2D/O6KN3qcTeRA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/undici-types": {
+ "version": "7.18.2",
+ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.18.2.tgz",
+ "integrity": "sha512-AsuCzffGHJybSaRrmr5eHr81mwJU3kjw6M+uprWvCXiNeN9SOGwQ3Jn8jb8m3Z6izVgknn1R0FTCEAP2QrLY/w==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/viem": {
+ "version": "2.55.1",
+ "resolved": "https://registry.npmjs.org/viem/-/viem-2.55.1.tgz",
+ "integrity": "sha512-sajvEmONS3dEDFh0jKXGugTU8ImyGoIV3sEHSWNRhgkH484v/+6DjZAplRhcdeqNV/VBxOs/l3raOG4NaXvX9A==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/wevm"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "@noble/curves": "1.9.1",
+ "@noble/hashes": "1.8.0",
+ "@scure/bip32": "1.7.0",
+ "@scure/bip39": "1.6.0",
+ "abitype": "1.2.3",
+ "isows": "1.0.7",
+ "ox": "0.14.30",
+ "ws": "8.21.0"
+ },
+ "peerDependencies": {
+ "typescript": ">=5.0.4"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/vite": {
+ "version": "7.3.6",
+ "resolved": "https://registry.npmjs.org/vite/-/vite-7.3.6.tgz",
+ "integrity": "sha512-4XP60spRGjSZFf1qYH+dJIkK2znL3zQfl9KkOV9MkkRR/3Dls0dxaBsQPTloEc5BLXWPL9vsOxopxyKoMmDueg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "esbuild": "^0.27.0 || ^0.28.0",
+ "fdir": "^6.5.0",
+ "picomatch": "^4.0.3",
+ "postcss": "^8.5.6",
+ "rollup": "^4.43.0",
+ "tinyglobby": "^0.2.15"
+ },
+ "bin": {
+ "vite": "bin/vite.js"
+ },
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ },
+ "funding": {
+ "url": "https://github.com/vitejs/vite?sponsor=1"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.3.3"
+ },
+ "peerDependencies": {
+ "@types/node": "^20.19.0 || >=22.12.0",
+ "jiti": ">=1.21.0",
+ "less": "^4.0.0",
+ "lightningcss": "^1.21.0",
+ "sass": "^1.70.0",
+ "sass-embedded": "^1.70.0",
+ "stylus": ">=0.54.8",
+ "sugarss": "^5.0.0",
+ "terser": "^5.16.0",
+ "tsx": "^4.8.1",
+ "yaml": "^2.4.2"
+ },
+ "peerDependenciesMeta": {
+ "@types/node": {
+ "optional": true
+ },
+ "jiti": {
+ "optional": true
+ },
+ "less": {
+ "optional": true
+ },
+ "lightningcss": {
+ "optional": true
+ },
+ "sass": {
+ "optional": true
+ },
+ "sass-embedded": {
+ "optional": true
+ },
+ "stylus": {
+ "optional": true
+ },
+ "sugarss": {
+ "optional": true
+ },
+ "terser": {
+ "optional": true
+ },
+ "tsx": {
+ "optional": true
+ },
+ "yaml": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/vite-node": {
+ "version": "3.2.4",
+ "resolved": "https://registry.npmjs.org/vite-node/-/vite-node-3.2.4.tgz",
+ "integrity": "sha512-EbKSKh+bh1E1IFxeO0pg1n4dvoOTt0UDiXMd/qn++r98+jPO1xtJilvXldeuQ8giIB5IkpjCgMleHMNEsGH6pg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "cac": "^6.7.14",
+ "debug": "^4.4.1",
+ "es-module-lexer": "^1.7.0",
+ "pathe": "^2.0.3",
+ "vite": "^5.0.0 || ^6.0.0 || ^7.0.0-0"
+ },
+ "bin": {
+ "vite-node": "vite-node.mjs"
+ },
+ "engines": {
+ "node": "^18.0.0 || ^20.0.0 || >=22.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/vitest": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/vitest/-/vitest-3.2.7.tgz",
+ "integrity": "sha512-KrxIJ62Fd89gfysR4WotlgZABiz2dqFPgqGzX7s+CwsqLFomRH7777ZcrOD6+WVAh7khPQP41A+BKbpcJFrdEg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/chai": "^5.2.2",
+ "@vitest/expect": "3.2.7",
+ "@vitest/mocker": "3.2.7",
+ "@vitest/pretty-format": "^3.2.7",
+ "@vitest/runner": "3.2.7",
+ "@vitest/snapshot": "3.2.7",
+ "@vitest/spy": "3.2.7",
+ "@vitest/utils": "3.2.7",
+ "chai": "^5.2.0",
+ "debug": "^4.4.1",
+ "expect-type": "^1.2.1",
+ "magic-string": "^0.30.17",
+ "pathe": "^2.0.3",
+ "picomatch": "^4.0.2",
+ "std-env": "^3.9.0",
+ "tinybench": "^2.9.0",
+ "tinyexec": "^0.3.2",
+ "tinyglobby": "^0.2.14",
+ "tinypool": "^1.1.1",
+ "tinyrainbow": "^2.0.0",
+ "vite": "^5.0.0 || ^6.0.0 || ^7.0.0-0",
+ "vite-node": "3.2.4",
+ "why-is-node-running": "^2.3.0"
+ },
+ "bin": {
+ "vitest": "vitest.mjs"
+ },
+ "engines": {
+ "node": "^18.0.0 || ^20.0.0 || >=22.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ },
+ "peerDependencies": {
+ "@edge-runtime/vm": "*",
+ "@types/debug": "^4.1.12",
+ "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0",
+ "@vitest/browser": "3.2.7",
+ "@vitest/ui": "3.2.7",
+ "happy-dom": "*",
+ "jsdom": "*"
+ },
+ "peerDependenciesMeta": {
+ "@edge-runtime/vm": {
+ "optional": true
+ },
+ "@types/debug": {
+ "optional": true
+ },
+ "@types/node": {
+ "optional": true
+ },
+ "@vitest/browser": {
+ "optional": true
+ },
+ "@vitest/ui": {
+ "optional": true
+ },
+ "happy-dom": {
+ "optional": true
+ },
+ "jsdom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/why-is-node-running": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/why-is-node-running/-/why-is-node-running-2.3.0.tgz",
+ "integrity": "sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "siginfo": "^2.0.0",
+ "stackback": "0.0.2"
+ },
+ "bin": {
+ "why-is-node-running": "cli.js"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/ws": {
+ "version": "8.21.0",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-8.21.0.tgz",
+ "integrity": "sha512-Vsp28b7DRcimFQvrqu2Wek3z1iYxDCWqHYB8Qsnk/S4RfaCQzPGPyBNuVjJV3cd6UiKtUtp6sNM77gWvzcCH+g==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=10.0.0"
+ },
+ "peerDependencies": {
+ "bufferutil": "^4.0.1",
+ "utf-8-validate": ">=5.0.2"
+ },
+ "peerDependenciesMeta": {
+ "bufferutil": {
+ "optional": true
+ },
+ "utf-8-validate": {
+ "optional": true
+ }
+ }
+ }
+ }
+}
diff --git a/robinhood/hood-js/scripts/size.mjs b/robinhood/hood-js/scripts/size.mjs
new file mode 100644
index 000000000..e1107c6ad
--- /dev/null
+++ b/robinhood/hood-js/scripts/size.mjs
@@ -0,0 +1,36 @@
+#!/usr/bin/env node
+// Reports hood-js's own gzipped bundle size and checks it against the budget.
+// viem (peer) and hoodchain (dependency) are external and NOT counted here —
+// they are installed alongside, exactly like viem is for any viem-based lib.
+import { readFileSync, statSync } from 'node:fs'
+import { gzipSync } from 'node:zlib'
+import { fileURLToPath } from 'node:url'
+import { dirname, join } from 'node:path'
+
+const root = join(dirname(fileURLToPath(import.meta.url)), '..')
+const BUDGET_KB = 15
+
+function report(label, file) {
+ const bytes = statSync(file).size
+ const gz = gzipSync(readFileSync(file)).length
+ console.log(
+ `${label.padEnd(22)} ${(bytes / 1024).toFixed(2).padStart(8)} kB ${(gz / 1024)
+ .toFixed(2)
+ .padStart(8)} kB gz`,
+ )
+ return gz
+}
+
+console.log('hood-js bundle size (external: viem, hoodchain)\n')
+console.log(`${''.padEnd(22)} ${'raw'.padStart(8)} ${'gzipped'.padStart(8)}`)
+const esm = report('dist/index.js (ESM)', join(root, 'dist/index.js'))
+report('dist/index.cjs (CJS)', join(root, 'dist/index.cjs'))
+
+const gzKb = esm / 1024
+console.log(`\nBudget: ≤ ${BUDGET_KB} kB gzipped on top of viem`)
+if (gzKb <= BUDGET_KB) {
+ console.log(`PASS — ${gzKb.toFixed(2)} kB (${(BUDGET_KB - gzKb).toFixed(2)} kB headroom)`)
+} else {
+ console.error(`FAIL — ${gzKb.toFixed(2)} kB exceeds the ${BUDGET_KB} kB budget`)
+ process.exit(1)
+}
diff --git a/robinhood/hood-js/src/coins.ts b/robinhood/hood-js/src/coins.ts
new file mode 100644
index 000000000..85721dbd0
--- /dev/null
+++ b/robinhood/hood-js/src/coins.ts
@@ -0,0 +1,151 @@
+import { HoodError, toHoodError } from './errors.js'
+import { geckoNetwork } from './state.js'
+
+/** One trending coin returned by {@link coins}. */
+export interface TrendingCoin {
+ /** Base-token ticker, e.g. `"HOODBOT"`. */
+ symbol: string
+ /** Human name of the pool pairing, e.g. `"HOODBOT / WETH 1%"`. */
+ name: string
+ /** Base-token contract address. */
+ address: string
+ /** The Uniswap-style pool address the metrics come from. */
+ pool: string
+ /** DEX the pool lives on, e.g. `"uniswap-v3-robinhood"`. */
+ dex: string
+ /** Current base-token price in USD. */
+ priceUsd: number
+ /** 24-hour price change, in percent (e.g. `180.16`). `null` when unknown. */
+ change24h: number | null
+ /** 24-hour trade volume in USD. `null` when unknown. */
+ volume24hUsd: number | null
+ /** Fully-diluted valuation in USD. `null` when unknown. */
+ fdvUsd: number | null
+ /** Total pool liquidity in USD. `null` when unknown. */
+ liquidityUsd: number | null
+ /** ISO timestamp the pool was created, when reported. */
+ createdAt: string | null
+ /** GeckoTerminal page for the pool. */
+ url: string
+}
+
+/** Options for {@link coins}. */
+export interface CoinsOptions {
+ /** Max coins to return. @defaultValue `20` */
+ limit?: number
+ /**
+ * Ranking window GeckoTerminal computes "trending" over.
+ * @defaultValue `'24h'`
+ */
+ window?: '5m' | '1h' | '6h' | '24h'
+ /** Per-request timeout in ms. @defaultValue `10000` */
+ timeoutMs?: number
+}
+
+const GECKO_BASE = 'https://api.geckoterminal.com/api/v2'
+
+interface GeckoPool {
+ id: string
+ attributes: {
+ address: string
+ name: string
+ base_token_price_usd: string | null
+ fdv_usd: string | null
+ market_cap_usd: string | null
+ reserve_in_usd: string | null
+ pool_created_at: string | null
+ price_change_percentage?: Record<string, string | null>
+ volume_usd?: Record<string, string | null>
+ }
+ relationships?: {
+ base_token?: { data?: { id: string } }
+ dex?: { data?: { id: string } }
+ }
+}
+
+interface GeckoIncluded {
+ id: string
+ type: string
+ attributes: { address?: string; name?: string; symbol?: string }
+}
+
+function num(value: string | null | undefined): number | null {
+ if (value === null || value === undefined) return null
+ const n = Number(value)
+ return Number.isFinite(n) ? n : null
+}
+
+/**
+ * Trending memecoins on Robinhood Chain, aggregated across the launchpad
+ * (NOXA / The Odyssey) and Uniswap pools by GeckoTerminal's public onchain
+ * index — the same data provider that already covers chain 4663. Returns
+ * live USD price, 24h change, volume, and liquidity. No key, no wallet.
+ *
+ * @example
+ * ```js
+ * const top = await hood.coins()
+ * for (const c of top) console.log(c.symbol, `$${c.priceUsd}`, `${c.change24h}%`)
+ * ```
+ */
+export async function coins(options: CoinsOptions = {}): Promise<TrendingCoin[]> {
+ const limit = options.limit ?? 20
+ const window = options.window ?? '24h'
+ const timeoutMs = options.timeoutMs ?? 10_000
+ const network = geckoNetwork()
+
+ const url = `${GECKO_BASE}/networks/${network}/trending_pools?include=base_token,dex&duration=${window}&page=1`
+
+ const controller = new AbortController()
+ const timer = setTimeout(() => controller.abort(), timeoutMs)
+ let res: Response
+ try {
+ res = await fetch(url, {
+ headers: { accept: 'application/json' },
+ signal: controller.signal,
+ })
+ } catch (err) {
+ throw toHoodError(err)
+ } finally {
+ clearTimeout(timer)
+ }
+
+ if (res.status === 429) {
+ throw new HoodError(
+ 'GeckoTerminal is rate-limiting trending-coin requests (free tier is ~30/min). Slow down or add your own API key upstream.',
+ 'NETWORK',
+ )
+ }
+ if (!res.ok) {
+ throw new HoodError(
+ `Couldn't load trending coins for network "${network}" (HTTP ${res.status}). If Robinhood Chain isn't indexed yet, set hood.config({ geckoNetwork }) to the correct slug.`,
+ 'NETWORK',
+ )
+ }
+
+ const body = (await res.json()) as { data?: GeckoPool[]; included?: GeckoIncluded[] }
+ const pools = body.data ?? []
+ const tokenById = new Map<string, GeckoIncluded>()
+ for (const inc of body.included ?? []) {
+ if (inc.type === 'token') tokenById.set(inc.id, inc)
+ }
+
+ return pools.slice(0, limit).map((pool): TrendingCoin => {
+ const a = pool.attributes
+ const baseId = pool.relationships?.base_token?.data?.id
+ const base = baseId ? tokenById.get(baseId) : undefined
+ return {
+ symbol: base?.attributes.symbol ?? a.name.split(' / ')[0] ?? '',
+ name: a.name,
+ address: base?.attributes.address ?? (baseId ? baseId.split('_')[1] ?? '' : ''),
+ pool: a.address,
+ dex: pool.relationships?.dex?.data?.id ?? 'unknown',
+ priceUsd: num(a.base_token_price_usd) ?? 0,
+ change24h: num(a.price_change_percentage?.h24),
+ volume24hUsd: num(a.volume_usd?.h24),
+ fdvUsd: num(a.fdv_usd),
+ liquidityUsd: num(a.reserve_in_usd),
+ createdAt: a.pool_created_at ?? null,
+ url: `https://www.geckoterminal.com/${network}/pools/${a.address}`,
+ }
+ })
+}
diff --git a/robinhood/hood-js/src/errors.ts b/robinhood/hood-js/src/errors.ts
new file mode 100644
index 000000000..2f5998069
--- /dev/null
+++ b/robinhood/hood-js/src/errors.ts
@@ -0,0 +1,142 @@
+import {
+ FeedConnectionError,
+ FeedNotFoundError,
+ HoodchainError,
+ InvalidFeedAnswerError,
+ NoAccountError,
+ NoRouteError,
+ StaleFeedError,
+ StockTokenEligibilityError,
+ UnknownSymbolError,
+} from 'hoodchain'
+
+/**
+ * The single error type hood-js throws. Every failure — a bad symbol, a dry
+ * pool, an ineligible Stock Token buy, a network blip — surfaces as a
+ * `HoodError` with a plain-language `message`, a machine-readable `code`, and
+ * the original error preserved on `cause` for debugging. You never see a raw
+ * viem stack trace.
+ *
+ * @example
+ * ```js
+ * try {
+ * await hood.price('NOTREAL')
+ * } catch (err) {
+ * if (err instanceof HoodError) console.log(err.code, err.message)
+ * }
+ * ```
+ */
+export class HoodError extends Error {
+ override name = 'HoodError'
+ /** Stable, machine-readable error code (see {@link HoodErrorCode}). */
+ readonly code: HoodErrorCode
+
+ constructor(message: string, code: HoodErrorCode, options?: { cause?: unknown }) {
+ super(message, options)
+ this.code = code
+ }
+}
+
+/** The set of stable error codes {@link HoodError} can carry. */
+export type HoodErrorCode =
+ | 'UNKNOWN_SYMBOL'
+ | 'NO_FEED'
+ | 'STALE_PRICE'
+ | 'BAD_PRICE'
+ | 'NO_ROUTE'
+ | 'NEEDS_WALLET'
+ | 'NEEDS_ELIGIBILITY'
+ | 'FEED_CONNECTION'
+ | 'BAD_INPUT'
+ | 'NETWORK'
+ | 'UNKNOWN'
+
+/** Throw a `HoodError` for an invalid argument before any network call. */
+export function badInput(message: string): never {
+ throw new HoodError(message, 'BAD_INPUT')
+}
+
+/**
+ * Translate any thrown value into a friendly {@link HoodError}. hoodchain's
+ * typed errors map to specific codes and clearer copy; everything else is
+ * wrapped as `UNKNOWN` (or `NETWORK` when it smells like a transport failure)
+ * with the original kept on `cause`.
+ */
+export function toHoodError(err: unknown): HoodError {
+ if (err instanceof HoodError) return err
+
+ if (err instanceof UnknownSymbolError) {
+ return new HoodError(
+ `"${err.symbol}" is not a Robinhood Chain Stock Token. Symbols are tickers like "AAPL" or "TSLA" (case-insensitive).`,
+ 'UNKNOWN_SYMBOL',
+ { cause: err },
+ )
+ }
+ if (err instanceof FeedNotFoundError) {
+ return new HoodError(
+ `"${err.symbol}" has no Chainlink price feed on Robinhood Chain, so it can't be priced. You can still read balances for it.`,
+ 'NO_FEED',
+ { cause: err },
+ )
+ }
+ if (err instanceof StaleFeedError) {
+ return new HoodError(
+ `The price for "${err.symbol}" is stale (${err.ageSeconds}s old). Stock feeds pause outside market hours; retry during a trading session or pass a looser staleness window.`,
+ 'STALE_PRICE',
+ { cause: err },
+ )
+ }
+ if (err instanceof InvalidFeedAnswerError) {
+ return new HoodError(`The price feed returned an invalid answer. ${err.message}`, 'BAD_PRICE', {
+ cause: err,
+ })
+ }
+ if (err instanceof NoRouteError) {
+ return new HoodError(
+ `No swappable route with liquidity between those tokens. Many Robinhood Chain pools exist but hold no liquidity — try a different pair or amount.`,
+ 'NO_ROUTE',
+ { cause: err },
+ )
+ }
+ if (err instanceof StockTokenEligibilityError) {
+ return new HoodError(
+ 'Refusing to buy a Stock Token: eligibility not acknowledged. Stock Tokens are tokenized debt securities (issuer: Robinhood Assets (Jersey) Ltd) and may not be offered, sold, or delivered to US persons (extra limits: Canada, UK, Switzerland). If you are eligible, call hood.config({ acknowledgeEligibility: true }) first.',
+ 'NEEDS_ELIGIBILITY',
+ { cause: err },
+ )
+ }
+ if (err instanceof NoAccountError) {
+ return new HoodError(
+ 'This action needs a wallet. Pass one to hood.swap({ ...quote, wallet }) — a 0x private key (Node) or an injected EIP-1193 provider (browser).',
+ 'NEEDS_WALLET',
+ { cause: err },
+ )
+ }
+ if (err instanceof FeedConnectionError) {
+ return new HoodError(`Lost the sequencer feed connection. ${err.message}`, 'FEED_CONNECTION', {
+ cause: err,
+ })
+ }
+ if (err instanceof HoodchainError) {
+ return new HoodError(err.message, 'UNKNOWN', { cause: err })
+ }
+
+ const message = err instanceof Error ? err.message : String(err)
+ const isNetwork = /fetch|network|timeout|ECONN|ENOTFOUND|socket|HTTP request failed/i.test(message)
+ return new HoodError(
+ isNetwork
+ ? `Couldn't reach Robinhood Chain. Check your connection or set a custom RPC with hood.config({ rpcUrl }). (${message})`
+ : message || 'An unknown error occurred.',
+ isNetwork ? 'NETWORK' : 'UNKNOWN',
+ { cause: err },
+ )
+}
+
+/** Run `fn`, re-throwing any failure as a friendly {@link HoodError}. */
+export async function friendly<T>(fn: () => Promise<T>): Promise<T> {
+ try {
+ return await fn()
+ } catch (err) {
+ throw toHoodError(err)
+ }
+}
diff --git a/robinhood/hood-js/src/index.ts b/robinhood/hood-js/src/index.ts
new file mode 100644
index 000000000..21e2b6c5c
--- /dev/null
+++ b/robinhood/hood-js/src/index.ts
@@ -0,0 +1,543 @@
+/**
+ * hood-js — the "just works" layer over the Robinhood Chain SDK.
+ *
+ * One import, sensible defaults, promise-first, browser and Node. Public RPC
+ * by default; no config required to read prices, portfolios, and trending
+ * coins. Think `axios` to hoodchain's `http`.
+ *
+ * @example
+ * ```js
+ * import hood from 'hood-js'
+ * const { usd } = await hood.price('AAPL')
+ * ```
+ *
+ * @packageDocumentation
+ */
+import {
+ aggregatorV3Abi,
+ executeSwap,
+ FEED_DECIMALS,
+ getPortfolio,
+ getQuote,
+ getStockToken,
+ getRecentLaunches,
+ MAINNET_EXPLORER_URL,
+ quoteSwap,
+ watchLaunches,
+ type HoodClient,
+ type Launch,
+ type LaunchpadName,
+} from 'hoodchain'
+import { formatUnits, isAddress, parseUnits, type Account, type Address, type Transport } from 'viem'
+import { custom } from 'viem'
+import { privateKeyToAccount } from 'viem/accounts'
+import { coins, type CoinsOptions, type TrendingCoin } from './coins.js'
+import { badInput, friendly, HoodError, toHoodError, type HoodErrorCode } from './errors.js'
+import { resolveToken, type TokenRef } from './tokens.js'
+import {
+ configure,
+ currentNetwork,
+ readClient,
+ setNetwork,
+ writeClient,
+ type HoodConfig,
+} from './state.js'
+
+const TESTNET_EXPLORER_URL = 'https://explorer.testnet.chain.robinhood.com'
+
+function explorerBase(client: HoodClient): string {
+ return client.network === 'testnet' ? TESTNET_EXPLORER_URL : MAINNET_EXPLORER_URL
+}
+
+// ---------------------------------------------------------------------------
+// prices
+// ---------------------------------------------------------------------------
+
+/** A single Stock Token price. */
+export interface Price {
+ symbol: string
+ /** Price of one token in USD, or `null` when the token has no live feed. */
+ usd: number | null
+ /** When the Chainlink feed last updated, or `null` when unpriced. */
+ updatedAt: Date | null
+}
+
+/**
+ * The live USD price of one Robinhood Chain Stock Token.
+ *
+ * @example
+ * ```js
+ * const { symbol, usd, updatedAt } = await hood.price('TSLA')
+ * ```
+ */
+async function price(symbol: string): Promise<Price> {
+ if (typeof symbol !== 'string' || symbol.trim() === '') {
+ badInput('price(symbol) needs a ticker string like "AAPL".')
+ }
+ return friendly(async () => {
+ const q = await getQuote(readClient(), symbol)
+ return { symbol: q.symbol, usd: q.priceUsd, updatedAt: new Date(q.updatedAt * 1000) }
+ })
+}
+
+/**
+ * Live USD prices for many Stock Tokens in one batched multicall. Order is
+ * preserved; tokens without a Chainlink feed come back with `usd: null`
+ * instead of throwing.
+ *
+ * @example
+ * ```js
+ * const [aapl, tsla] = await hood.prices(['AAPL', 'TSLA'])
+ * ```
+ */
+async function prices(symbols: string[]): Promise<Price[]> {
+ if (!Array.isArray(symbols) || symbols.length === 0) {
+ badInput('prices([symbols]) needs a non-empty array of tickers.')
+ }
+ return friendly(async () => {
+ const client = readClient()
+ const entries = symbols.map((s) => {
+ if (typeof s !== 'string' || s.trim() === '') badInput('Every symbol must be a non-empty string.')
+ const token = getStockToken(s)
+ return {
+ symbol: token.symbol,
+ feed: token.feed,
+ feedDecimals: token.feedDecimals ?? FEED_DECIMALS,
+ }
+ })
+
+ const withFeed = entries.filter((e): e is typeof e & { feed: Address } => e.feed !== null)
+ const results =
+ withFeed.length > 0
+ ? await client.public.multicall({
+ contracts: withFeed.map((e) => ({
+ address: e.feed,
+ abi: aggregatorV3Abi,
+ functionName: 'latestRoundData' as const,
+ })),
+ allowFailure: true,
+ })
+ : []
+
+ const priced = new Map<string, { usd: number; updatedAt: Date }>()
+ withFeed.forEach((e, i) => {
+ const r = results[i]
+ if (!r || r.status !== 'success') return
+ const [, answer, , updatedAt] = r.result as readonly [bigint, bigint, bigint, bigint, bigint]
+ if (answer <= 0n || updatedAt === 0n) return
+ priced.set(e.symbol, {
+ usd: Number(formatUnits(answer, e.feedDecimals)),
+ updatedAt: new Date(Number(updatedAt) * 1000),
+ })
+ })
+
+ return entries.map((e) => {
+ const p = priced.get(e.symbol)
+ return { symbol: e.symbol, usd: p ? p.usd : null, updatedAt: p ? p.updatedAt : null }
+ })
+ })
+}
+
+// ---------------------------------------------------------------------------
+// portfolio
+// ---------------------------------------------------------------------------
+
+/** One holding inside a {@link PortfolioResult}. */
+export interface PortfolioPosition {
+ symbol: string
+ address: Address
+ /** Raw token balance (float). */
+ tokens: number
+ /** Multiplier-correct share-equivalent units (ERC-8056 `uiMultiplier`). */
+ shares: number
+ /** Feed price per token in USD, or `null` when unpriced. */
+ price: number | null
+ /** USD value of the position, or `null` when unpriced. */
+ usd: number | null
+}
+
+/** Result of {@link portfolio}. */
+export interface PortfolioResult {
+ owner: Address
+ /** Total USD value across priceable positions. */
+ totalUsd: number
+ positions: PortfolioPosition[]
+ /** Symbols held but not priceable (no feed / stale feed). */
+ unpriced: string[]
+}
+
+/**
+ * Every Stock Token position for a wallet, multiplier-corrected and
+ * USD-valued in one multicall sweep.
+ *
+ * @example
+ * ```js
+ * const { totalUsd, positions } = await hood.portfolio('0xabc…')
+ * ```
+ */
+async function portfolio(address: string): Promise<PortfolioResult> {
+ if (typeof address !== 'string' || !isAddress(address)) {
+ badInput('portfolio(address) needs a 0x wallet address.')
+ }
+ return friendly(async () => {
+ const p = await getPortfolio(readClient(), address as Address)
+ return {
+ owner: p.owner,
+ totalUsd: p.totalUsd,
+ positions: p.positions.map((pos) => ({
+ symbol: pos.symbol,
+ address: pos.address,
+ tokens: pos.balanceTokens,
+ shares: pos.shareEquivalent,
+ price: pos.quote ? pos.quote.priceUsd : null,
+ usd: pos.valueUsd,
+ })),
+ unpriced: p.unpricedSymbols,
+ }
+ })
+}
+
+// ---------------------------------------------------------------------------
+// launches
+// ---------------------------------------------------------------------------
+
+/** A decoded launchpad token launch (friendly shape). */
+export interface LaunchEvent {
+ launchpad: LaunchpadName
+ /** New token contract address. */
+ token: Address
+ /** Wallet that launched it. */
+ creator: Address
+ /** Uniswap pool (immediate for NOXA; `null` for Odyssey pre-graduation). */
+ pool: Address | null
+ /** Block number of the launch. */
+ block: number
+ /** Launch transaction hash. */
+ tx: `0x${string}`
+ /** Explorer link to the token. */
+ url: string
+}
+
+/** Options for {@link launches}. */
+export interface LaunchesOptions {
+ /** Restrict to one launchpad. Defaults to both NOXA and The Odyssey. */
+ launchpad?: LaunchpadName
+ /** Stream new launches live via the callback. Requires a callback argument. */
+ live?: boolean
+ /** For the historical (non-live) call: how many blocks back to scan. */
+ lookbackBlocks?: bigint
+ /** Poll interval in ms for the live watcher. @defaultValue `2000` */
+ pollingInterval?: number
+ /** Called when the live watcher errors (it keeps polling). */
+ onError?: (error: HoodError) => void
+}
+
+/** Callback for streaming launches. */
+export type LaunchCallback = (launch: LaunchEvent) => void
+
+function decorateLaunch(client: HoodClient, l: Launch): LaunchEvent {
+ return {
+ launchpad: l.launchpad,
+ token: l.token,
+ creator: l.creator,
+ pool: l.pool,
+ block: Number(l.blockNumber),
+ tx: l.transactionHash,
+ url: `${explorerBase(client)}/token/${l.token}`,
+ }
+}
+
+/**
+ * New launchpad coins — either the recent history (returns a Promise) or a
+ * live stream (pass a callback, returns an unwatch function).
+ *
+ * @example Recent launches
+ * ```js
+ * const recent = await hood.launches()
+ * ```
+ * @example Live stream
+ * ```js
+ * const stop = hood.launches({ live: true }, (coin) => console.log(coin.token))
+ * // later: stop()
+ * ```
+ */
+function launches(callback: LaunchCallback): () => void
+function launches(options: LaunchesOptions, callback: LaunchCallback): () => void
+function launches(options?: LaunchesOptions): Promise<LaunchEvent[]>
+function launches(
+ a?: LaunchesOptions | LaunchCallback,
+ b?: LaunchCallback,
+): Promise<LaunchEvent[]> | (() => void) {
+ let options: LaunchesOptions = {}
+ let callback: LaunchCallback | undefined
+ if (typeof a === 'function') callback = a
+ else if (a && typeof a === 'object') options = a
+ if (typeof b === 'function') callback = b
+
+ const client = readClient()
+
+ if (options.live && !callback) {
+ badInput('launches({ live: true }, cb) needs a callback to stream to.')
+ }
+
+ if (callback) {
+ const cb = callback
+ return watchLaunches(client, (l) => cb(decorateLaunch(client, l)), {
+ launchpad: options.launchpad,
+ pollingInterval: options.pollingInterval,
+ onError: options.onError ? (e) => options.onError!(toHoodError(e)) : undefined,
+ })
+ }
+
+ return friendly(async () => {
+ const list = await getRecentLaunches(client, {
+ lookbackBlocks: options.lookbackBlocks,
+ launchpad: options.launchpad,
+ })
+ return list.map((l) => decorateLaunch(client, l))
+ })
+}
+
+// ---------------------------------------------------------------------------
+// quote & swap
+// ---------------------------------------------------------------------------
+
+/** Internal payload {@link quote} embeds so {@link swap} can execute it. */
+interface QuoteRaw {
+ network: 'mainnet' | 'testnet'
+ tokenIn: Address
+ tokenOut: Address
+ amountIn: string
+ buyDecimals: number
+ sellLabel: string
+ buyLabel: string
+}
+
+/** A swap quote. Spread it straight into {@link swap} with a `wallet`. */
+export interface Quote {
+ /** Input token label. */
+ sell: string
+ /** Output token label. */
+ buy: string
+ /** Human input amount. */
+ sellAmount: string
+ /** Human output amount at the quoted price. */
+ buyAmount: string
+ /** Output per input unit. */
+ rate: number
+ /** Token path `[in, …hops, out]`. */
+ route: Address[]
+ /** Internal execution payload — carried for {@link swap}; do not edit. */
+ _raw: QuoteRaw
+}
+
+function normalizeAmount(amount: number | string): string {
+ const str = typeof amount === 'number' ? amount.toString() : String(amount).trim()
+ if (!/^\d+(\.\d+)?$/.test(str) || Number(str) <= 0) {
+ badInput(`Amount must be a positive number (got "${amount}").`)
+ }
+ return str
+}
+
+/**
+ * Quote a swap without a wallet. `sell`/`buy` accept a Stock Token ticker,
+ * `"USDG"` / `"WETH"`, or any `0x` token address. `amount` is human units of
+ * the sell token.
+ *
+ * @example
+ * ```js
+ * const q = await hood.quote({ sell: 'USDG', buy: 'CASHCAT', amount: 100 })
+ * console.log(`Get ${q.buyAmount} CASHCAT`)
+ * ```
+ */
+async function quote(args: { sell: TokenRef; buy: TokenRef; amount: number | string }): Promise<Quote> {
+ if (!args || args.sell == null || args.buy == null || args.amount == null) {
+ badInput('quote needs { sell, buy, amount }.')
+ }
+ const amountStr = normalizeAmount(args.amount)
+ return friendly(async () => {
+ const client = readClient()
+ const tokenIn = await resolveToken(client, args.sell)
+ const tokenOut = await resolveToken(client, args.buy)
+ const amountIn = parseUnits(amountStr, tokenIn.decimals)
+ const q = await quoteSwap(client, {
+ tokenIn: tokenIn.address,
+ tokenOut: tokenOut.address,
+ amountIn,
+ })
+ const buyAmount = formatUnits(q.amountOut, tokenOut.decimals)
+ const rate = Number(amountStr) > 0 ? Number(buyAmount) / Number(amountStr) : 0
+ return {
+ sell: tokenIn.label,
+ buy: tokenOut.label,
+ sellAmount: amountStr,
+ buyAmount,
+ rate,
+ route: q.route.path,
+ _raw: {
+ network: client.network,
+ tokenIn: tokenIn.address,
+ tokenOut: tokenOut.address,
+ amountIn: amountIn.toString(),
+ buyDecimals: tokenOut.decimals,
+ sellLabel: tokenIn.label,
+ buyLabel: tokenOut.label,
+ },
+ }
+ })
+}
+
+/** A wallet for {@link swap}: a `0x` private key (Node) or EIP-1193 provider. */
+export type WalletInput = `0x${string}` | { request: (args: { method: string; params?: unknown[] }) => Promise<unknown> }
+
+/** Result of a settled {@link swap}. */
+export interface SwapResult {
+ /** Swap transaction hash. */
+ hash: `0x${string}`
+ /** Explorer link to the transaction. */
+ url: string
+ sold: string
+ bought: string
+ /** Quoted output amount (human units). */
+ amountOut: string
+ /** Slippage-protected minimum that was enforced on-chain. */
+ minReceived: string
+ /** Receipt status. */
+ status: 'success' | 'reverted'
+}
+
+/** Parameters for {@link swap}: a quote spread in, plus a wallet. */
+export type SwapParams = Partial<Quote> & {
+ wallet: WalletInput
+ /** Re-quote inline instead of spreading a quote. */
+ sell?: TokenRef
+ buy?: TokenRef
+ amount?: number | string
+ /** Slippage tolerance in percent (e.g. `0.5`). Defaults to 0.5%. */
+ slippage?: number
+ /** Slippage in basis points; overrides `slippage`. */
+ slippageBps?: number
+ /** Recipient of the output tokens. Defaults to the wallet address. */
+ recipient?: Address
+}
+
+async function resolveWallet(wallet: WalletInput): Promise<{ account: Account; transport?: Transport }> {
+ if (typeof wallet === 'string') {
+ if (!/^0x[0-9a-fA-F]{64}$/.test(wallet)) {
+ badInput('A string wallet must be a 0x-prefixed 32-byte private key.')
+ }
+ return { account: privateKeyToAccount(wallet) }
+ }
+ if (wallet && typeof wallet.request === 'function') {
+ const accounts = (await wallet.request({ method: 'eth_requestAccounts' })) as Address[]
+ const address = accounts?.[0]
+ if (!address) badInput('The injected wallet returned no account. Connect it first.')
+ // viem accepts a bare address as a JSON-RPC account on a wallet client.
+ return { account: address as unknown as Account, transport: custom(wallet) }
+ }
+ return badInput('wallet must be a 0x private key or an EIP-1193 provider.')
+}
+
+/**
+ * Execute a swap. Spread a {@link quote} in and add a `wallet`, or pass
+ * `{ sell, buy, amount, wallet }` to quote and swap in one call.
+ *
+ * Buying a Stock Token requires `hood.config({ acknowledgeEligibility: true })`
+ * first (US persons are barred). Approvals are handled automatically.
+ *
+ * @example
+ * ```js
+ * const q = await hood.quote({ sell: 'USDG', buy: 'CASHCAT', amount: 100 })
+ * const { hash, url } = await hood.swap({ ...q, wallet: process.env.PK })
+ * ```
+ */
+async function swap(params: SwapParams): Promise<SwapResult> {
+ if (!params || !('wallet' in params)) badInput('swap needs { ...quote, wallet }.')
+ return friendly(async () => {
+ const { account, transport } = await resolveWallet(params.wallet)
+
+ let raw = params._raw
+ if (!raw) {
+ if (params.sell == null || params.buy == null || params.amount == null) {
+ badInput('swap needs a quote (spread hood.quote(...)) or { sell, buy, amount }.')
+ }
+ const q = await quote({ sell: params.sell, buy: params.buy, amount: params.amount })
+ raw = q._raw
+ }
+
+ if (raw.network !== currentNetwork()) {
+ badInput(
+ `This quote was made for ${raw.network} but hood is now on ${currentNetwork()}. Re-quote after switching networks.`,
+ )
+ }
+
+ const client = writeClient(account, transport)
+ const slippageBps =
+ params.slippageBps ?? (params.slippage != null ? Math.round(params.slippage * 100) : undefined)
+
+ const result = await executeSwap(
+ client,
+ { tokenIn: raw.tokenIn, tokenOut: raw.tokenOut, amountIn: BigInt(raw.amountIn) },
+ { slippageBps, recipient: params.recipient },
+ )
+
+ return {
+ hash: result.hash,
+ url: `${explorerBase(client)}/tx/${result.hash}`,
+ sold: raw.sellLabel,
+ bought: raw.buyLabel,
+ amountOut: formatUnits(result.quote.amountOut, raw.buyDecimals),
+ minReceived: formatUnits(result.amountOutMinimum, raw.buyDecimals),
+ status: result.receipt.status,
+ }
+ })
+}
+
+// ---------------------------------------------------------------------------
+// config & network
+// ---------------------------------------------------------------------------
+
+/** The hood-js facade. The default export. */
+export interface Hood {
+ price: typeof price
+ prices: typeof prices
+ portfolio: typeof portfolio
+ coins: (options?: CoinsOptions) => Promise<TrendingCoin[]>
+ launches: typeof launches
+ quote: typeof quote
+ swap: typeof swap
+ /** Point every subsequent call at the given options. Chainable. */
+ config: (config: HoodConfig) => Hood
+ /** Flip every call to testnet (chain 46630). Chainable. */
+ testnet: () => Hood
+ /** Flip every call back to mainnet (chain 4663). Chainable. */
+ mainnet: () => Hood
+}
+
+const hood: Hood = {
+ price,
+ prices,
+ portfolio,
+ coins,
+ launches,
+ quote,
+ swap,
+ config(config: HoodConfig) {
+ configure(config)
+ return hood
+ },
+ testnet() {
+ setNetwork('testnet')
+ return hood
+ },
+ mainnet() {
+ setNetwork('mainnet')
+ return hood
+ },
+}
+
+export default hood
+
+// Named exports for TypeScript consumers and error handling.
+export { HoodError }
+export type { HoodErrorCode, HoodConfig, CoinsOptions, TrendingCoin, TokenRef }
diff --git a/robinhood/hood-js/src/state.ts b/robinhood/hood-js/src/state.ts
new file mode 100644
index 000000000..4dcf75173
--- /dev/null
+++ b/robinhood/hood-js/src/state.ts
@@ -0,0 +1,122 @@
+import { createHoodClient, type HoodClient, type HoodNetwork } from 'hoodchain'
+import type { Account, Transport } from 'viem'
+
+/** Options for {@link configure} (exposed as `hood.config`). */
+export interface HoodConfig {
+ /** Custom RPC URL. Overrides the public default and any `alchemyKey`. */
+ rpcUrl?: string
+ /**
+ * Alchemy API key. On mainnet this builds
+ * `https://robinhood-mainnet.g.alchemy.com/v2/{key}` for you. Ignored when
+ * an explicit `rpcUrl` is set.
+ */
+ alchemyKey?: string
+ /**
+ * Affirm you are eligible to acquire Stock Tokens. Stock Tokens are
+ * tokenized debt securities that may not be offered, sold, or delivered to
+ * US persons (extra limits: Canada, UK, Switzerland). Buying one throws
+ * until this is `true`. Selling and reading are never gated.
+ * @defaultValue `false`
+ */
+ acknowledgeEligibility?: boolean
+ /**
+ * GeckoTerminal network slug used by {@link import('./coins').coins}.
+ * @defaultValue `'robinhood'`
+ */
+ geckoNetwork?: string
+}
+
+interface InternalState {
+ network: HoodNetwork
+ rpcUrl?: string
+ alchemyKey?: string
+ acknowledgeEligibility: boolean
+ geckoNetwork: string
+}
+
+const state: InternalState = {
+ network: 'mainnet',
+ acknowledgeEligibility: false,
+ geckoNetwork: 'robinhood',
+}
+
+/** Cache of read-only clients, keyed by the config that produced them. */
+let cachedClient: HoodClient | null = null
+let cachedKey = ''
+
+function stateKey(): string {
+ return [state.network, resolveRpcUrl() ?? '', state.acknowledgeEligibility].join('|')
+}
+
+function resolveRpcUrl(): string | undefined {
+ if (state.rpcUrl) return state.rpcUrl
+ if (state.alchemyKey && state.network === 'mainnet') {
+ return `https://robinhood-mainnet.g.alchemy.com/v2/${state.alchemyKey}`
+ }
+ return undefined
+}
+
+/** Merge user config into the module state and invalidate the cached client. */
+export function configure(config: HoodConfig): void {
+ if ('rpcUrl' in config) state.rpcUrl = config.rpcUrl
+ if ('alchemyKey' in config) state.alchemyKey = config.alchemyKey
+ if ('acknowledgeEligibility' in config) {
+ state.acknowledgeEligibility = Boolean(config.acknowledgeEligibility)
+ }
+ if (config.geckoNetwork) state.geckoNetwork = config.geckoNetwork
+ cachedClient = null
+}
+
+/** Switch every subsequent call to the given network and drop the cache. */
+export function setNetwork(network: HoodNetwork): void {
+ if (state.network !== network) {
+ state.network = network
+ cachedClient = null
+ }
+}
+
+/** The active network name. */
+export function currentNetwork(): HoodNetwork {
+ return state.network
+}
+
+/** The GeckoTerminal slug for {@link import('./coins').coins}. */
+export function geckoNetwork(): string {
+ return state.geckoNetwork
+}
+
+/** Whether the operator affirmed Stock Token eligibility. */
+export function eligibilityAcknowledged(): boolean {
+ return state.acknowledgeEligibility
+}
+
+/**
+ * The memoized read-only hoodchain client for the current config. Rebuilt
+ * automatically whenever the network, RPC, or eligibility flag changes.
+ */
+export function readClient(): HoodClient {
+ const key = stateKey()
+ if (!cachedClient || cachedKey !== key) {
+ cachedClient = createHoodClient({
+ chain: state.network,
+ rpcUrl: resolveRpcUrl(),
+ acknowledgeStockTokenEligibility: state.acknowledgeEligibility,
+ })
+ cachedKey = key
+ }
+ return cachedClient
+}
+
+/**
+ * Build a one-off write client bound to `account` (and optional custom
+ * transport for injected providers). Never cached — swaps are explicit.
+ */
+export function writeClient(account: Account, transport?: Transport): HoodClient {
+ return createHoodClient({
+ chain: state.network,
+ rpcUrl: resolveRpcUrl(),
+ transport,
+ account,
+ acknowledgeStockTokenEligibility: state.acknowledgeEligibility,
+ })
+}
diff --git a/robinhood/hood-js/src/tokens.ts b/robinhood/hood-js/src/tokens.ts
new file mode 100644
index 000000000..9be8263f7
--- /dev/null
+++ b/robinhood/hood-js/src/tokens.ts
@@ -0,0 +1,89 @@
+import {
+ erc20Abi,
+ getStockToken,
+ isStockTokenSymbol,
+ MAINNET_ADDRESSES,
+ STOCK_TOKEN_DECIMALS,
+ TESTNET_ADDRESSES,
+ TESTNET_STOCK_TOKENS,
+ USDG_DECIMALS,
+ type HoodClient,
+} from 'hoodchain'
+import { isAddress, type Address } from 'viem'
+import { badInput, friendly } from './errors.js'
+
+/** A resolved token: its on-chain address, decimals, and display label. */
+export interface ResolvedToken {
+ address: Address
+ decimals: number
+ /** Human label — the ticker for known tokens, else a shortened address. */
+ label: string
+}
+
+/**
+ * A token reference accepted across the API. Either:
+ * - a Stock Token ticker (`'AAPL'`, `'TSLA'`, case-insensitive),
+ * - `'USDG'` / `'WETH'` / `'ETH'` (WETH),
+ * - or a raw `0x…` contract address (any memecoin / ERC-20).
+ */
+export type TokenRef = string
+
+function netAddresses(client: HoodClient) {
+ return client.network === 'testnet' ? TESTNET_ADDRESSES : MAINNET_ADDRESSES
+}
+
+/**
+ * Resolve a {@link TokenRef} into an address + decimals. Known symbols resolve
+ * offline; unknown addresses read `decimals()` on-chain once.
+ */
+export async function resolveToken(client: HoodClient, ref: TokenRef): Promise<ResolvedToken> {
+ if (typeof ref !== 'string' || ref.trim() === '') {
+ badInput('Token must be a ticker ("AAPL"), "USDG"/"WETH"/"ETH", or a 0x address.')
+ }
+ const token = ref.trim()
+ const upper = token.toUpperCase()
+
+ if (upper === 'USDG') {
+ return { address: netAddresses(client).usdg, decimals: USDG_DECIMALS, label: 'USDG' }
+ }
+ if (upper === 'WETH' || upper === 'ETH') {
+ return { address: netAddresses(client).weth, decimals: 18, label: 'WETH' }
+ }
+
+ if (isAddress(token)) {
+ const decimals = await friendly(() =>
+ client.public.readContract({ address: token as Address, abi: erc20Abi, functionName: 'decimals' }),
+ )
+ return { address: token as Address, decimals: Number(decimals), label: shorten(token) }
+ }
+
+ // Testnet Stock Tokens are a fixed faucet set, not the mainnet registry.
+ if (client.network === 'testnet') {
+ const addr = (TESTNET_STOCK_TOKENS as Record<string, Address>)[upper]
+ if (addr) return { address: addr, decimals: STOCK_TOKEN_DECIMALS, label: upper }
+ badInput(
+ `"${token}" is not a testnet token. Testnet Stock Tokens are ${Object.keys(TESTNET_STOCK_TOKENS).join(', ')}, plus "USDG"/"WETH" or a 0x address.`,
+ )
+ }
+
+ if (isStockTokenSymbol(upper)) {
+ const st = getStockToken(upper)
+ return { address: st.address, decimals: st.decimals, label: st.symbol }
+ }
+
+ badInput(`"${token}" is not a known Stock Token, "USDG"/"WETH", or a 0x address.`)
+}
+
+/** Whether a {@link TokenRef} names a canonical mainnet Stock Token. */
+export function isStockRef(client: HoodClient, ref: string): boolean {
+ if (isAddress(ref)) return false
+ const upper = ref.trim().toUpperCase()
+ if (upper === 'USDG' || upper === 'WETH' || upper === 'ETH') return false
+ return client.network === 'testnet'
+ ? upper in TESTNET_STOCK_TOKENS
+ : isStockTokenSymbol(upper)
+}
+
+function shorten(address: string): string {
+ return `${address.slice(0, 6)}…${address.slice(-4)}`
+}
diff --git a/robinhood/hood-js/tsup.config.ts b/robinhood/hood-js/tsup.config.ts
index 62f6e1a90..fd798c3a1 100644
--- a/robinhood/hood-js/tsup.config.ts
+++ b/robinhood/hood-js/tsup.config.ts
@@ -8,6 +8,9 @@ export default defineConfig({
minify: true,
treeshake: true,
sourcemap: true,
+ // Hoist the default export onto module.exports so `require('hood-js')` yields
+ // the `hood` facade directly (named type exports still ride along).
+ cjsInterop: true,
// viem is a peer dependency and hoodchain is a runtime dependency; keeping
// both external is what holds hood-js's own bundle under the size budget.
external: ['viem', 'hoodchain'],
diff --git a/robinhood/hood-mcp/package-lock.json b/robinhood/hood-mcp/package-lock.json
new file mode 100644
index 000000000..1dcc03319
--- /dev/null
+++ b/robinhood/hood-mcp/package-lock.json
@@ -0,0 +1,3927 @@
+{
+ "name": "hood-mcp",
+ "version": "0.1.0",
+ "lockfileVersion": 3,
+ "requires": true,
+ "packages": {
+ "": {
+ "name": "hood-mcp",
+ "version": "0.1.0",
+ "license": "MIT",
+ "dependencies": {
+ "@modelcontextprotocol/sdk": "^1.29.0",
+ "hoodchain": "file:../robinhood-chain-sdk",
+ "viem": "^2.55.1",
+ "ws": "^8.21.0",
+ "zod": "^3.25.76"
+ },
+ "bin": {
+ "hood-mcp": "dist/data-server.js",
+ "hood-mcp-trading": "dist/trading-server.js"
+ },
+ "devDependencies": {
+ "@types/node": "^24.0.0",
+ "@types/ws": "^8.18.0",
+ "tsup": "^8.5.0",
+ "tsx": "^4.19.0",
+ "typescript": "^5.9.0",
+ "vitest": "^3.2.0"
+ },
+ "engines": {
+ "node": ">=20"
+ }
+ },
+ "../robinhood-chain-sdk": {
+ "name": "hoodchain",
+ "version": "0.1.0",
+ "license": "MIT",
+ "devDependencies": {
+ "@types/node": "^24.0.0",
+ "@types/ws": "^8.18.0",
+ "tsup": "^8.5.0",
+ "typedoc": "^0.28.0",
+ "typescript": "^5.9.0",
+ "viem": "^2.55.0",
+ "vitest": "^3.2.0",
+ "ws": "^8.18.0"
+ },
+ "engines": {
+ "node": ">=20"
+ },
+ "peerDependencies": {
+ "viem": "^2.55.0",
+ "ws": "^8.18.0"
+ },
+ "peerDependenciesMeta": {
+ "ws": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@adraffy/ens-normalize": {
+ "version": "1.11.1",
+ "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.11.1.tgz",
+ "integrity": "sha512-nhCBV3quEgesuf7c7KYfperqSS14T8bYuvJ8PcLJp6znkZpFc0AuW4qBtr8eKVyPPe/8RSr7sglCWPU5eaxwKQ==",
+ "license": "MIT"
+ },
+ "node_modules/@esbuild/aix-ppc64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.27.7.tgz",
+ "integrity": "sha512-EKX3Qwmhz1eMdEJokhALr0YiD0lhQNwDqkPYyPhiSwKrh7/4KRjQc04sZ8db+5DVVnZ1LmbNDI1uAMPEUBnQPg==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "aix"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/android-arm": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.27.7.tgz",
+ "integrity": "sha512-jbPXvB4Yj2yBV7HUfE2KHe4GJX51QplCN1pGbYjvsyCZbQmies29EoJbkEc+vYuU5o45AfQn37vZlyXy4YJ8RQ==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/android-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.27.7.tgz",
+ "integrity": "sha512-62dPZHpIXzvChfvfLJow3q5dDtiNMkwiRzPylSCfriLvZeq0a1bWChrGx/BbUbPwOrsWKMn8idSllklzBy+dgQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/android-x64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.27.7.tgz",
+ "integrity": "sha512-x5VpMODneVDb70PYV2VQOmIUUiBtY3D3mPBG8NxVk5CogneYhkR7MmM3yR/uMdITLrC1ml/NV1rj4bMJuy9MCg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/darwin-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.27.7.tgz",
+ "integrity": "sha512-5lckdqeuBPlKUwvoCXIgI2D9/ABmPq3Rdp7IfL70393YgaASt7tbju3Ac+ePVi3KDH6N2RqePfHnXkaDtY9fkw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/darwin-x64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.27.7.tgz",
+ "integrity": "sha512-rYnXrKcXuT7Z+WL5K980jVFdvVKhCHhUwid+dDYQpH+qu+TefcomiMAJpIiC2EM3Rjtq0sO3StMV/+3w3MyyqQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/freebsd-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.27.7.tgz",
+ "integrity": "sha512-B48PqeCsEgOtzME2GbNM2roU29AMTuOIN91dsMO30t+Ydis3z/3Ngoj5hhnsOSSwNzS+6JppqWsuhTp6E82l2w==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/freebsd-x64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.27.7.tgz",
+ "integrity": "sha512-jOBDK5XEjA4m5IJK3bpAQF9/Lelu/Z9ZcdhTRLf4cajlB+8VEhFFRjWgfy3M1O4rO2GQ/b2dLwCUGpiF/eATNQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-arm": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.27.7.tgz",
+ "integrity": "sha512-RkT/YXYBTSULo3+af8Ib0ykH8u2MBh57o7q/DAs3lTJlyVQkgQvlrPTnjIzzRPQyavxtPtfg0EopvDyIt0j1rA==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.27.7.tgz",
+ "integrity": "sha512-RZPHBoxXuNnPQO9rvjh5jdkRmVizktkT7TCDkDmQ0W2SwHInKCAV95GRuvdSvA7w4VMwfCjUiPwDi0ZO6Nfe9A==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-ia32": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.27.7.tgz",
+ "integrity": "sha512-GA48aKNkyQDbd3KtkplYWT102C5sn/EZTY4XROkxONgruHPU72l+gW+FfF8tf2cFjeHaRbWpOYa/uRBz/Xq1Pg==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-loong64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.27.7.tgz",
+ "integrity": "sha512-a4POruNM2oWsD4WKvBSEKGIiWQF8fZOAsycHOt6JBpZ+JN2n2JH9WAv56SOyu9X5IqAjqSIPTaJkqN8F7XOQ5Q==",
+ "cpu": [
+ "loong64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-mips64el": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.27.7.tgz",
+ "integrity": "sha512-KabT5I6StirGfIz0FMgl1I+R1H73Gp0ofL9A3nG3i/cYFJzKHhouBV5VWK1CSgKvVaG4q1RNpCTR2LuTVB3fIw==",
+ "cpu": [
+ "mips64el"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-ppc64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.27.7.tgz",
+ "integrity": "sha512-gRsL4x6wsGHGRqhtI+ifpN/vpOFTQtnbsupUF5R5YTAg+y/lKelYR1hXbnBdzDjGbMYjVJLJTd2OFmMewAgwlQ==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-riscv64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.27.7.tgz",
+ "integrity": "sha512-hL25LbxO1QOngGzu2U5xeXtxXcW+/GvMN3ejANqXkxZ/opySAZMrc+9LY/WyjAan41unrR3YrmtTsUpwT66InQ==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-s390x": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.27.7.tgz",
+ "integrity": "sha512-2k8go8Ycu1Kb46vEelhu1vqEP+UeRVj2zY1pSuPdgvbd5ykAw82Lrro28vXUrRmzEsUV0NzCf54yARIK8r0fdw==",
+ "cpu": [
+ "s390x"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-x64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.27.7.tgz",
+ "integrity": "sha512-hzznmADPt+OmsYzw1EE33ccA+HPdIqiCRq7cQeL1Jlq2gb1+OyWBkMCrYGBJ+sxVzve2ZJEVeePbLM2iEIZSxA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/netbsd-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.27.7.tgz",
+ "integrity": "sha512-b6pqtrQdigZBwZxAn1UpazEisvwaIDvdbMbmrly7cDTMFnw/+3lVxxCTGOrkPVnsYIosJJXAsILG9XcQS+Yu6w==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "netbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/netbsd-x64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.27.7.tgz",
+ "integrity": "sha512-OfatkLojr6U+WN5EDYuoQhtM+1xco+/6FSzJJnuWiUw5eVcicbyK3dq5EeV/QHT1uy6GoDhGbFpprUiHUYggrw==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "netbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/openbsd-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.27.7.tgz",
+ "integrity": "sha512-AFuojMQTxAz75Fo8idVcqoQWEHIXFRbOc1TrVcFSgCZtQfSdc1RXgB3tjOn/krRHENUB4j00bfGjyl2mJrU37A==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/openbsd-x64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.27.7.tgz",
+ "integrity": "sha512-+A1NJmfM8WNDv5CLVQYJ5PshuRm/4cI6WMZRg1by1GwPIQPCTs1GLEUHwiiQGT5zDdyLiRM/l1G0Pv54gvtKIg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/openharmony-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.27.7.tgz",
+ "integrity": "sha512-+KrvYb/C8zA9CU/g0sR6w2RBw7IGc5J2BPnc3dYc5VJxHCSF1yNMxTV5LQ7GuKteQXZtspjFbiuW5/dOj7H4Yw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openharmony"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/sunos-x64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.27.7.tgz",
+ "integrity": "sha512-ikktIhFBzQNt/QDyOL580ti9+5mL/YZeUPKU2ivGtGjdTYoqz6jObj6nOMfhASpS4GU4Q/Clh1QtxWAvcYKamA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "sunos"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/win32-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.27.7.tgz",
+ "integrity": "sha512-7yRhbHvPqSpRUV7Q20VuDwbjW5kIMwTHpptuUzV+AA46kiPze5Z7qgt6CLCK3pWFrHeNfDd1VKgyP4O+ng17CA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/win32-ia32": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.27.7.tgz",
+ "integrity": "sha512-SmwKXe6VHIyZYbBLJrhOoCJRB/Z1tckzmgTLfFYOfpMAx63BJEaL9ExI8x7v0oAO3Zh6D/Oi1gVxEYr5oUCFhw==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/win32-x64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.27.7.tgz",
+ "integrity": "sha512-56hiAJPhwQ1R4i+21FVF7V8kSD5zZTdHcVuRFMW0hn753vVfQN8xlx4uOPT4xoGH0Z/oVATuR82AiqSTDIpaHg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@hono/node-server": {
+ "version": "1.19.14",
+ "resolved": "https://registry.npmjs.org/@hono/node-server/-/node-server-1.19.14.tgz",
+ "integrity": "sha512-GwtvgtXxnWsucXvbQXkRgqksiH2Qed37H9xHZocE5sA3N8O8O8/8FA3uclQXxXVzc9XBZuEOMK7+r02FmSpHtw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=18.14.1"
+ },
+ "peerDependencies": {
+ "hono": "^4"
+ }
+ },
+ "node_modules/@jridgewell/gen-mapping": {
+ "version": "0.3.13",
+ "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz",
+ "integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/sourcemap-codec": "^1.5.0",
+ "@jridgewell/trace-mapping": "^0.3.24"
+ }
+ },
+ "node_modules/@jridgewell/resolve-uri": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz",
+ "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/@jridgewell/sourcemap-codec": {
+ "version": "1.5.5",
+ "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz",
+ "integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@jridgewell/trace-mapping": {
+ "version": "0.3.31",
+ "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz",
+ "integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/resolve-uri": "^3.1.0",
+ "@jridgewell/sourcemap-codec": "^1.4.14"
+ }
+ },
+ "node_modules/@modelcontextprotocol/sdk": {
+ "version": "1.29.0",
+ "resolved": "https://registry.npmjs.org/@modelcontextprotocol/sdk/-/sdk-1.29.0.tgz",
+ "integrity": "sha512-zo37mZA9hJWpULgkRpowewez1y6ML5GsXJPY8FI0tBBCd77HEvza4jDqRKOXgHNn867PVGCyTdzqpz0izu5ZjQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@hono/node-server": "^1.19.9",
+ "ajv": "^8.17.1",
+ "ajv-formats": "^3.0.1",
+ "content-type": "^1.0.5",
+ "cors": "^2.8.5",
+ "cross-spawn": "^7.0.5",
+ "eventsource": "^3.0.2",
+ "eventsource-parser": "^3.0.0",
+ "express": "^5.2.1",
+ "express-rate-limit": "^8.2.1",
+ "hono": "^4.11.4",
+ "jose": "^6.1.3",
+ "json-schema-typed": "^8.0.2",
+ "pkce-challenge": "^5.0.0",
+ "raw-body": "^3.0.0",
+ "zod": "^3.25 || ^4.0",
+ "zod-to-json-schema": "^3.25.1"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "@cfworker/json-schema": "^4.1.1",
+ "zod": "^3.25 || ^4.0"
+ },
+ "peerDependenciesMeta": {
+ "@cfworker/json-schema": {
+ "optional": true
+ },
+ "zod": {
+ "optional": false
+ }
+ }
+ },
+ "node_modules/@noble/ciphers": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/@noble/ciphers/-/ciphers-1.3.0.tgz",
+ "integrity": "sha512-2I0gnIVPtfnMw9ee9h1dJG7tp81+8Ob3OJb3Mv37rx5L40/b0i7djjCVvGOVqc9AEIQyvyu1i6ypKdFw8R8gQw==",
+ "license": "MIT",
+ "engines": {
+ "node": "^14.21.3 || >=16"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/@noble/curves": {
+ "version": "1.9.1",
+ "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.9.1.tgz",
+ "integrity": "sha512-k11yZxZg+t+gWvBbIswW0yoJlu8cHOC7dhunwOzoWH/mXGBiYyR4YY6hAEK/3EUs4UpB8la1RfdRpeGsFHkWsA==",
+ "license": "MIT",
+ "dependencies": {
+ "@noble/hashes": "1.8.0"
+ },
+ "engines": {
+ "node": "^14.21.3 || >=16"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/@noble/hashes": {
+ "version": "1.8.0",
+ "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.8.0.tgz",
+ "integrity": "sha512-jCs9ldd7NwzpgXDIf6P3+NrHh9/sD6CQdxHyjQI+h/6rDNo88ypBxxz45UDuZHz9r3tNz7N/VInSVoVdtXEI4A==",
+ "license": "MIT",
+ "engines": {
+ "node": "^14.21.3 || >=16"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/@rollup/rollup-android-arm-eabi": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.62.2.tgz",
+ "integrity": "sha512-6o7ZLZK+BeenkZCFNDXqpbjw9bD6nuWonvS/lwQJp7NoVVxm6p3qE7qQ5jGuBjiFsgvqjD8mZAU5oWxTmbOeOg==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ]
+ },
+ "node_modules/@rollup/rollup-android-arm64": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.62.2.tgz",
+ "integrity": "sha512-BaH7BllCACHoH1LguOU56UItGfUWjujlO65kS9LAodViaN4bwIKd7oeW/ZHJ/4ljr/7MIiENnNy3HJ0zXv8Zkw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ]
+ },
+ "node_modules/@rollup/rollup-darwin-arm64": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.62.2.tgz",
+ "integrity": "sha512-v39RCCvj4He82I9sFmk+M1VZ0PLM9sfsLVikjfx2hYBNALhrrOR2D3JjQA6AhlaSOgcR+RzrKY7e1+bT6SUO/A==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ]
+ },
+ "node_modules/@rollup/rollup-darwin-x64": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.62.2.tgz",
+ "integrity": "sha512-yl0y2vq3S3lHeuXhEdss6TWfKW8vkujImO12tn4ZkG/4oghr09LvdYm2RElVjokTQiUvDUGXLGsYeLqUMCKpGA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ]
+ },
+ "node_modules/@rollup/rollup-freebsd-arm64": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.62.2.tgz",
+ "integrity": "sha512-tT4pvt4qXD+vEoezupCWi+a1F0vvDiksiHc+PxRlYTOH1I6/X4id9jPxTP+Fg+545euaFT1jJVs4CEdHZAU1vw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ]
+ },
+ "node_modules/@rollup/rollup-freebsd-x64": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.62.2.tgz",
+ "integrity": "sha512-6nU5F2wCW+qvCBhTn1pdIU3bzsIoF7EUwsCDRxilWGprQR6yd508YnH9+OKFCwpfS8pjZqDUmnCAr7exax0XCg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm-gnueabihf": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.62.2.tgz",
+ "integrity": "sha512-n1GJHPOvpIfhi3TmrCeh6S6URt9BFCt0KQE3qvexyGCTAKpR4Lg+eWvNZEqu7epxwus/8ElT3hacYEucm49SZg==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm-musleabihf": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.62.2.tgz",
+ "integrity": "sha512-JqgflS8wEB+UXV/vS1RpRbifGBeN4D5lz8D8oOFbFZw4vedvdOgCFAjfBmIMdW3yL10XpQQ0Ambepw6MXrhOnA==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm64-gnu": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.62.2.tgz",
+ "integrity": "sha512-wnFJkogWvN4jm/hQRF2UBaeUmk20j5+DmHvoyWii2b8HJDyvz1MF2OU/6ynXt2KR63rbZLWkFpoytpdc/yBuSA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm64-musl": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.62.2.tgz",
+ "integrity": "sha512-HVu2bp0zhvJ8xHEV9+UUs7S90VadmBSY3LcIMvozbPo4AuMGDWlz3ymHLHZPX4hR67TKTt8Qp5PJ5RBg/i+RMQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-loong64-gnu": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.62.2.tgz",
+ "integrity": "sha512-mQqqAV8QaoSgr9I2fKDLY2BAVvmKjWoGiu/cSYQonsLvtqwEn1E4QYfnCOcp5zoEqNhsDYin1s6jx/VJmrxlZg==",
+ "cpu": [
+ "loong64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-loong64-musl": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-musl/-/rollup-linux-loong64-musl-4.62.2.tgz",
+ "integrity": "sha512-IxKLoxCQ2IWi6bT2akyDUBGsOImDKB+sPp4EsTmwFQ/fMwpCKm8uLSSgP/Kx/QYUgKis6SEZ5/Nlhup0DIA0PQ==",
+ "cpu": [
+ "loong64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-ppc64-gnu": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.62.2.tgz",
+ "integrity": "sha512-Mk5ha2RQSgyFfmYYLkBpPnUk8D8FriBxesO1u9O75X0mHgXL1UQcH5Itl2lurWL2tj0RxV9b9tJgipac0hRY9A==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-ppc64-musl": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-musl/-/rollup-linux-ppc64-musl-4.62.2.tgz",
+ "integrity": "sha512-CjvEnqJL/0/TQ3TXX3OPIJ/kmBellrWd4heXUmHeJlTnmwjKpSJzoehLaL6Xk0ZnMHBu9dZuFADNOrtjF4v+2w==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-riscv64-gnu": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.62.2.tgz",
+ "integrity": "sha512-1SiZbzwdkaDURsew/tSOrooKiYy7EQGT6m8ufavAi9NEyQb/6VuIxFXAL1fqa4iZe3g4NbNk4P7J32z2tw5Mgg==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-riscv64-musl": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.62.2.tgz",
+ "integrity": "sha512-nQts12zJ3NQRoE6uYljOH89v7szzLDvG2JD/vsX+vGXU8w/At1GowTZ5/7qeFQ8m7L55rpR8Okugnuo5bgjy2Q==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-s390x-gnu": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.62.2.tgz",
+ "integrity": "sha512-E9/ll019jhPIJgpzfZoIkBGhcz+kKNgVWYRY0zr9srBdPPFVpvOKW8VaJKUbeK+eZXyQF9ltME+Kk6affeaPgg==",
+ "cpu": [
+ "s390x"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-x64-gnu": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.62.2.tgz",
+ "integrity": "sha512-5BqxR/pshjey51iliyzTD5Xi3EN0aLmQ2lZ3lvefVV9c82BvrLo2/6OT55iifpWBufs6kdwWbuOKS841DrmK9A==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-x64-musl": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.62.2.tgz",
+ "integrity": "sha512-uNN83XxQrRAh/w0/pmAfibcwyb6YWt4gP+dpnQKPVJshAloQ785ii8CT8ZCIxkGg9opVsvAlGhFitSm6D1Jjpg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-openbsd-x64": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-openbsd-x64/-/rollup-openbsd-x64-4.62.2.tgz",
+ "integrity": "sha512-srjEIxSH3LRnJN6THczDHWQplqEMFiAJrTab0msUryh9kwNpkICf3Ea6q6MN/2cZwRFUNx5w+h6Hpi4QuHS6Zg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openbsd"
+ ]
+ },
+ "node_modules/@rollup/rollup-openharmony-arm64": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.62.2.tgz",
+ "integrity": "sha512-8hOJnxgbyObnCm5AlRA3A931xX19xq80RjVTKgJOvEKWqJruP/Uf12IbAOaDjjEXYRewwHLfmF0YRIdK3OwKWA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openharmony"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-arm64-msvc": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.62.2.tgz",
+ "integrity": "sha512-mmF4AY1i0hG/bLWUctUq59gtmgaSIRa3cu/A3JFRp/sCNEme2bgDEiDS22P9FbnJB8NJNF4jPJiSP5RHQpUTDg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-ia32-msvc": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.62.2.tgz",
+ "integrity": "sha512-DZgkknc6jhHrk46V25vbAM0zZkyP0nSDkJB8/dRkLTxv470dOmWDqGoEJl/9A0dFfS7yE3REOwNDxpHwSLSt0Q==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-x64-gnu": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.62.2.tgz",
+ "integrity": "sha512-T6xr6ucWSFto+VGajA8YH26LdpHRuP4YLHEKAtCWvJDOlnmWcDZVCI2Jmjr+IFHDlt2zRaTAKE4tfjTaWLgJBg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-x64-msvc": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.62.2.tgz",
+ "integrity": "sha512-BfzEnDJOt9T8M989/lA37EcJgat01wLRnoi5dQf3QzOH7jzpqTAzdDbVfRljVr5r+jzKqpbHeyOfAaXxAd0PAA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@scure/base": {
+ "version": "1.2.6",
+ "resolved": "https://registry.npmjs.org/@scure/base/-/base-1.2.6.tgz",
+ "integrity": "sha512-g/nm5FgUa//MCj1gV09zTJTaM6KBAHqLN907YVQqf7zC49+DcO4B1so4ZX07Ef10Twr6nuqYEH9GEggFXA4Fmg==",
+ "license": "MIT",
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/@scure/bip32": {
+ "version": "1.7.0",
+ "resolved": "https://registry.npmjs.org/@scure/bip32/-/bip32-1.7.0.tgz",
+ "integrity": "sha512-E4FFX/N3f4B80AKWp5dP6ow+flD1LQZo/w8UnLGYZO674jS6YnYeepycOOksv+vLPSpgN35wgKgy+ybfTb2SMw==",
+ "license": "MIT",
+ "dependencies": {
+ "@noble/curves": "~1.9.0",
+ "@noble/hashes": "~1.8.0",
+ "@scure/base": "~1.2.5"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/@scure/bip39": {
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/@scure/bip39/-/bip39-1.6.0.tgz",
+ "integrity": "sha512-+lF0BbLiJNwVlev4eKelw1WWLaiKXw7sSl8T6FvBlWkdX+94aGJ4o8XjUdlyhTCjd8c+B3KT3JfS8P0bLRNU6A==",
+ "license": "MIT",
+ "dependencies": {
+ "@noble/hashes": "~1.8.0",
+ "@scure/base": "~1.2.5"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/@types/chai": {
+ "version": "5.2.3",
+ "resolved": "https://registry.npmjs.org/@types/chai/-/chai-5.2.3.tgz",
+ "integrity": "sha512-Mw558oeA9fFbv65/y4mHtXDs9bPnFMZAL/jxdPFUpOHHIXX91mcgEHbS5Lahr+pwZFR8A7GQleRWeI6cGFC2UA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/deep-eql": "*",
+ "assertion-error": "^2.0.1"
+ }
+ },
+ "node_modules/@types/deep-eql": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/@types/deep-eql/-/deep-eql-4.0.2.tgz",
+ "integrity": "sha512-c9h9dVVMigMPc4bwTvC5dxqtqJZwQPePsWjPlpSOnojbor6pGqdk541lfA7AqFQr5pB1BRdq0juY9db81BwyFw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@types/estree": {
+ "version": "1.0.9",
+ "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.9.tgz",
+ "integrity": "sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@types/node": {
+ "version": "24.13.3",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-24.13.3.tgz",
+ "integrity": "sha512-Dh8vAsV36ig5wa9OX4pXvMc9D3Veibfw2wix0CUwYODLD8nkj9UsLjASr49nPg+2eKzxhBV+v7L8pXvT4e639Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "undici-types": "~7.18.0"
+ }
+ },
+ "node_modules/@types/ws": {
+ "version": "8.18.1",
+ "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.18.1.tgz",
+ "integrity": "sha512-ThVF6DCVhA8kUGy+aazFQ4kXQ7E1Ty7A3ypFOe0IcJV8O/M511G99AW24irKrW56Wt44yG9+ij8FaqoBGkuBXg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/node": "*"
+ }
+ },
+ "node_modules/@vitest/expect": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-3.2.7.tgz",
+ "integrity": "sha512-E8eBXaKibuvH2pSZErOjdVb5vF4PbKYcrnluBTYxEk1l/VhhwZg1kZQsdtjq+CsF5CFydf2Rdkz7jDHKSisi3w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/chai": "^5.2.2",
+ "@vitest/spy": "3.2.7",
+ "@vitest/utils": "3.2.7",
+ "chai": "^5.2.0",
+ "tinyrainbow": "^2.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/@vitest/mocker": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-3.2.7.tgz",
+ "integrity": "sha512-Trr0hYO9CM3Wj6ksWHRhK9IZpIY6wTMO5u/MqXurMxT57sWBaOPEtP3Oq60ihZuh5JsiagKfz95OcxdEP6dBrA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@vitest/spy": "3.2.7",
+ "estree-walker": "^3.0.3",
+ "magic-string": "^0.30.17"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ },
+ "peerDependencies": {
+ "msw": "^2.4.9",
+ "vite": "^5.0.0 || ^6.0.0 || ^7.0.0-0"
+ },
+ "peerDependenciesMeta": {
+ "msw": {
+ "optional": true
+ },
+ "vite": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@vitest/pretty-format": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-3.2.7.tgz",
+ "integrity": "sha512-KUHlwqVu0sRlhCdyPdQ/wBoTfRahjUky1MubOmYw9fWfIZy1gNoHpuaaQBPAaMaVYdQYHJLurzj8ECCj5OwTqA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "tinyrainbow": "^2.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/@vitest/runner": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-3.2.7.tgz",
+ "integrity": "sha512-sB9y4ovltoQP+WaUPwmSxO9WIg9Ig694Di5PalVPsYHklAdE027mehpWF2SQSVq+k6sFgaivbTjTJwZLSHbedA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@vitest/utils": "3.2.7",
+ "pathe": "^2.0.3",
+ "strip-literal": "^3.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/@vitest/snapshot": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-3.2.7.tgz",
+ "integrity": "sha512-7C+MwShwtBSI5Buwoyg3s/iY1eHL9PKAf+O1wVh/TdnjXUtkoL/9YQtre90i4MtNXM6edP1wJ2zOBpfCyhIS7g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@vitest/pretty-format": "3.2.7",
+ "magic-string": "^0.30.17",
+ "pathe": "^2.0.3"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/@vitest/spy": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-3.2.7.tgz",
+ "integrity": "sha512-Q2eQGI6d2L/hBtZ0qNuKcAGid68XK6cv1xsoaIma6PaJhHPoqcEJhYpXZ/5myCMqkNgtP6UKuBhbc0nHKnrkuQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "tinyspy": "^4.0.3"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/@vitest/utils": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-3.2.7.tgz",
+ "integrity": "sha512-x6BDOd7dyo3PFLY3I9/HJ25X/6OurhGXk2/B9gOZNPF7XDVjeBK4k01lQE5uvDpbuheErh91qYuE1E2OEjK3Rw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@vitest/pretty-format": "3.2.7",
+ "loupe": "^3.1.4",
+ "tinyrainbow": "^2.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/abitype": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/abitype/-/abitype-1.2.3.tgz",
+ "integrity": "sha512-Ofer5QUnuUdTFsBRwARMoWKOH1ND5ehwYhJ3OJ/BQO+StkwQjHw0XyVh4vDttzHB7QOFhPHa/o413PJ82gU/Tg==",
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/wevm"
+ },
+ "peerDependencies": {
+ "typescript": ">=5.0.4",
+ "zod": "^3.22.0 || ^4.0.0"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ },
+ "zod": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/accepts": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/accepts/-/accepts-2.0.0.tgz",
+ "integrity": "sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng==",
+ "license": "MIT",
+ "dependencies": {
+ "mime-types": "^3.0.0",
+ "negotiator": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/acorn": {
+ "version": "8.17.0",
+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.17.0.tgz",
+ "integrity": "sha512-xRQbDb9BnwDafYNn6Vwl839DYVjqXYb1XVGtWAZ1kcDc6iwAL4hg3B1dZlRiuENFeO2H53gFG3in621AdERVAg==",
+ "dev": true,
+ "license": "MIT",
+ "bin": {
+ "acorn": "bin/acorn"
+ },
+ "engines": {
+ "node": ">=0.4.0"
+ }
+ },
+ "node_modules/ajv": {
+ "version": "8.20.0",
+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.20.0.tgz",
+ "integrity": "sha512-Thbli+OlOj+iMPYFBVBfJ3OmCAnaSyNn4M1vz9T6Gka5Jt9ba/HIR56joy65tY6kx/FCF5VXNB819Y7/GUrBGA==",
+ "license": "MIT",
+ "dependencies": {
+ "fast-deep-equal": "^3.1.3",
+ "fast-uri": "^3.0.1",
+ "json-schema-traverse": "^1.0.0",
+ "require-from-string": "^2.0.2"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/epoberezkin"
+ }
+ },
+ "node_modules/ajv-formats": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-3.0.1.tgz",
+ "integrity": "sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ==",
+ "license": "MIT",
+ "dependencies": {
+ "ajv": "^8.0.0"
+ },
+ "peerDependencies": {
+ "ajv": "^8.0.0"
+ },
+ "peerDependenciesMeta": {
+ "ajv": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/any-promise": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz",
+ "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/assertion-error": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-2.0.1.tgz",
+ "integrity": "sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/body-parser": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-2.3.0.tgz",
+ "integrity": "sha512-2cGmJupaNgg+QUwVLAucDuWuoMZ6EX9iHDRswZ5lsNYEmwPaRknMPCLZz07yTzVq/83p4o/wzbDZbBrTvGGTIw==",
+ "license": "MIT",
+ "dependencies": {
+ "bytes": "^3.1.2",
+ "content-type": "^2.0.0",
+ "debug": "^4.4.3",
+ "http-errors": "^2.0.1",
+ "iconv-lite": "^0.7.2",
+ "on-finished": "^2.4.1",
+ "qs": "^6.15.2",
+ "raw-body": "^3.0.2",
+ "type-is": "^2.1.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/express"
+ }
+ },
+ "node_modules/body-parser/node_modules/content-type": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/content-type/-/content-type-2.0.0.tgz",
+ "integrity": "sha512-j/O/d7GcZCyNl7/hwZAb606rzqkyvaDctLmckbxLzHvFBzTJHuGEdodATcP3yIRoDrLHkIATJuvzbFlp/ki2cQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/express"
+ }
+ },
+ "node_modules/bundle-require": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/bundle-require/-/bundle-require-5.1.0.tgz",
+ "integrity": "sha512-3WrrOuZiyaaZPWiEt4G3+IffISVC9HYlWueJEBWED4ZH4aIAC2PnkdnuRrR94M+w6yGWn4AglWtJtBI8YqvgoA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "load-tsconfig": "^0.2.3"
+ },
+ "engines": {
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ },
+ "peerDependencies": {
+ "esbuild": ">=0.18"
+ }
+ },
+ "node_modules/bytes": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz",
+ "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/cac": {
+ "version": "6.7.14",
+ "resolved": "https://registry.npmjs.org/cac/-/cac-6.7.14.tgz",
+ "integrity": "sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/call-bind-apply-helpers": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz",
+ "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==",
+ "license": "MIT",
+ "dependencies": {
+ "es-errors": "^1.3.0",
+ "function-bind": "^1.1.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/call-bound": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/call-bound/-/call-bound-1.0.4.tgz",
+ "integrity": "sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==",
+ "license": "MIT",
+ "dependencies": {
+ "call-bind-apply-helpers": "^1.0.2",
+ "get-intrinsic": "^1.3.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/chai": {
+ "version": "5.3.3",
+ "resolved": "https://registry.npmjs.org/chai/-/chai-5.3.3.tgz",
+ "integrity": "sha512-4zNhdJD/iOjSH0A05ea+Ke6MU5mmpQcbQsSOkgdaUMJ9zTlDTD/GYlwohmIE2u0gaxHYiVHEn1Fw9mZ/ktJWgw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "assertion-error": "^2.0.1",
+ "check-error": "^2.1.1",
+ "deep-eql": "^5.0.1",
+ "loupe": "^3.1.0",
+ "pathval": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/check-error": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/check-error/-/check-error-2.1.3.tgz",
+ "integrity": "sha512-PAJdDJusoxnwm1VwW07VWwUN1sl7smmC3OKggvndJFadxxDRyFJBX/ggnu/KE4kQAB7a3Dp8f/YXC1FlUprWmA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 16"
+ }
+ },
+ "node_modules/chokidar": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-4.0.3.tgz",
+ "integrity": "sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "readdirp": "^4.0.1"
+ },
+ "engines": {
+ "node": ">= 14.16.0"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/commander": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz",
+ "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/confbox": {
+ "version": "0.1.8",
+ "resolved": "https://registry.npmjs.org/confbox/-/confbox-0.1.8.tgz",
+ "integrity": "sha512-RMtmw0iFkeR4YV+fUOSucriAQNb9g8zFR52MWCtl+cCZOFRNL6zeB395vPzFhEjjn4fMxXudmELnl/KF/WrK6w==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/consola": {
+ "version": "3.4.2",
+ "resolved": "https://registry.npmjs.org/consola/-/consola-3.4.2.tgz",
+ "integrity": "sha512-5IKcdX0nnYavi6G7TtOhwkYzyjfJlatbjMjuLSfE2kYT5pMDOilZ4OvMhi637CcDICTmz3wARPoyhqyX1Y+XvA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^14.18.0 || >=16.10.0"
+ }
+ },
+ "node_modules/content-disposition": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-1.1.0.tgz",
+ "integrity": "sha512-5jRCH9Z/+DRP7rkvY83B+yGIGX96OYdJmzngqnw2SBSxqCFPd0w2km3s5iawpGX8krnwSGmF0FW5Nhr0Hfai3g==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/express"
+ }
+ },
+ "node_modules/content-type": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz",
+ "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/cookie": {
+ "version": "0.7.2",
+ "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.2.tgz",
+ "integrity": "sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/cookie-signature": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.2.2.tgz",
+ "integrity": "sha512-D76uU73ulSXrD1UXF4KE2TMxVVwhsnCgfAyTg9k8P6KGZjlXKrOLe4dJQKI3Bxi5wjesZoFXJWElNWBjPZMbhg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.6.0"
+ }
+ },
+ "node_modules/cors": {
+ "version": "2.8.6",
+ "resolved": "https://registry.npmjs.org/cors/-/cors-2.8.6.tgz",
+ "integrity": "sha512-tJtZBBHA6vjIAaF6EnIaq6laBBP9aq/Y3ouVJjEfoHbRBcHBAHYcMh/w8LDrk2PvIMMq8gmopa5D4V8RmbrxGw==",
+ "license": "MIT",
+ "dependencies": {
+ "object-assign": "^4",
+ "vary": "^1"
+ },
+ "engines": {
+ "node": ">= 0.10"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/express"
+ }
+ },
+ "node_modules/cross-spawn": {
+ "version": "7.0.6",
+ "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz",
+ "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==",
+ "license": "MIT",
+ "dependencies": {
+ "path-key": "^3.1.0",
+ "shebang-command": "^2.0.0",
+ "which": "^2.0.1"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/debug": {
+ "version": "4.4.3",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz",
+ "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==",
+ "license": "MIT",
+ "dependencies": {
+ "ms": "^2.1.3"
+ },
+ "engines": {
+ "node": ">=6.0"
+ },
+ "peerDependenciesMeta": {
+ "supports-color": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/deep-eql": {
+ "version": "5.0.2",
+ "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-5.0.2.tgz",
+ "integrity": "sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/depd": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz",
+ "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/dunder-proto": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz",
+ "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==",
+ "license": "MIT",
+ "dependencies": {
+ "call-bind-apply-helpers": "^1.0.1",
+ "es-errors": "^1.3.0",
+ "gopd": "^1.2.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/ee-first": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz",
+ "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==",
+ "license": "MIT"
+ },
+ "node_modules/encodeurl": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz",
+ "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/es-define-property": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz",
+ "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/es-errors": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz",
+ "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/es-module-lexer": {
+ "version": "1.7.0",
+ "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.7.0.tgz",
+ "integrity": "sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/es-object-atoms": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.2.tgz",
+ "integrity": "sha512-HWcBoN6NileqtSydK2FqHbS/LoDd2pqrnQHLyJzBj4kOp/ky2MWMN694xOfkK8/SnUsW2DH7EfyVlydKCsm1Zw==",
+ "license": "MIT",
+ "dependencies": {
+ "es-errors": "^1.3.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/esbuild": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.27.7.tgz",
+ "integrity": "sha512-IxpibTjyVnmrIQo5aqNpCgoACA/dTKLTlhMHihVHhdkxKyPO1uBBthumT0rdHmcsk9uMonIWS0m4FljWzILh3w==",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "MIT",
+ "bin": {
+ "esbuild": "bin/esbuild"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "optionalDependencies": {
+ "@esbuild/aix-ppc64": "0.27.7",
+ "@esbuild/android-arm": "0.27.7",
+ "@esbuild/android-arm64": "0.27.7",
+ "@esbuild/android-x64": "0.27.7",
+ "@esbuild/darwin-arm64": "0.27.7",
+ "@esbuild/darwin-x64": "0.27.7",
+ "@esbuild/freebsd-arm64": "0.27.7",
+ "@esbuild/freebsd-x64": "0.27.7",
+ "@esbuild/linux-arm": "0.27.7",
+ "@esbuild/linux-arm64": "0.27.7",
+ "@esbuild/linux-ia32": "0.27.7",
+ "@esbuild/linux-loong64": "0.27.7",
+ "@esbuild/linux-mips64el": "0.27.7",
+ "@esbuild/linux-ppc64": "0.27.7",
+ "@esbuild/linux-riscv64": "0.27.7",
+ "@esbuild/linux-s390x": "0.27.7",
+ "@esbuild/linux-x64": "0.27.7",
+ "@esbuild/netbsd-arm64": "0.27.7",
+ "@esbuild/netbsd-x64": "0.27.7",
+ "@esbuild/openbsd-arm64": "0.27.7",
+ "@esbuild/openbsd-x64": "0.27.7",
+ "@esbuild/openharmony-arm64": "0.27.7",
+ "@esbuild/sunos-x64": "0.27.7",
+ "@esbuild/win32-arm64": "0.27.7",
+ "@esbuild/win32-ia32": "0.27.7",
+ "@esbuild/win32-x64": "0.27.7"
+ }
+ },
+ "node_modules/escape-html": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz",
+ "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==",
+ "license": "MIT"
+ },
+ "node_modules/estree-walker": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-3.0.3.tgz",
+ "integrity": "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/estree": "^1.0.0"
+ }
+ },
+ "node_modules/etag": {
+ "version": "1.8.1",
+ "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz",
+ "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/eventemitter3": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.1.tgz",
+ "integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==",
+ "license": "MIT"
+ },
+ "node_modules/eventsource": {
+ "version": "3.0.7",
+ "resolved": "https://registry.npmjs.org/eventsource/-/eventsource-3.0.7.tgz",
+ "integrity": "sha512-CRT1WTyuQoD771GW56XEZFQ/ZoSfWid1alKGDYMmkt2yl8UXrVR4pspqWNEcqKvVIzg6PAltWjxcSSPrboA4iA==",
+ "license": "MIT",
+ "dependencies": {
+ "eventsource-parser": "^3.0.1"
+ },
+ "engines": {
+ "node": ">=18.0.0"
+ }
+ },
+ "node_modules/eventsource-parser": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/eventsource-parser/-/eventsource-parser-3.1.0.tgz",
+ "integrity": "sha512-kJezFj9YFAMLeORyi7aCLxLbD5/qWMQnoMVlVPyHIll7lgRJCc3JVln9Vgl9nwQi0YkMnhdGTMNn7CkRRAptMg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=18.0.0"
+ }
+ },
+ "node_modules/expect-type": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/expect-type/-/expect-type-1.4.0.tgz",
+ "integrity": "sha512-KfYbmpRm0VbLjEvVa9yGwCi9GI34xvi7A/HXYWQO65CSD2u3MczUJSuwXKFIxlGsgBQizV9q5J9NHj4VG0n+pA==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=12.0.0"
+ }
+ },
+ "node_modules/express": {
+ "version": "5.2.1",
+ "resolved": "https://registry.npmjs.org/express/-/express-5.2.1.tgz",
+ "integrity": "sha512-hIS4idWWai69NezIdRt2xFVofaF4j+6INOpJlVOLDO8zXGpUVEVzIYk12UUi2JzjEzWL3IOAxcTubgz9Po0yXw==",
+ "license": "MIT",
+ "dependencies": {
+ "accepts": "^2.0.0",
+ "body-parser": "^2.2.1",
+ "content-disposition": "^1.0.0",
+ "content-type": "^1.0.5",
+ "cookie": "^0.7.1",
+ "cookie-signature": "^1.2.1",
+ "debug": "^4.4.0",
+ "depd": "^2.0.0",
+ "encodeurl": "^2.0.0",
+ "escape-html": "^1.0.3",
+ "etag": "^1.8.1",
+ "finalhandler": "^2.1.0",
+ "fresh": "^2.0.0",
+ "http-errors": "^2.0.0",
+ "merge-descriptors": "^2.0.0",
+ "mime-types": "^3.0.0",
+ "on-finished": "^2.4.1",
+ "once": "^1.4.0",
+ "parseurl": "^1.3.3",
+ "proxy-addr": "^2.0.7",
+ "qs": "^6.14.0",
+ "range-parser": "^1.2.1",
+ "router": "^2.2.0",
+ "send": "^1.1.0",
+ "serve-static": "^2.2.0",
+ "statuses": "^2.0.1",
+ "type-is": "^2.0.1",
+ "vary": "^1.1.2"
+ },
+ "engines": {
+ "node": ">= 18"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/express"
+ }
+ },
+ "node_modules/express-rate-limit": {
+ "version": "8.5.2",
+ "resolved": "https://registry.npmjs.org/express-rate-limit/-/express-rate-limit-8.5.2.tgz",
+ "integrity": "sha512-5Kb34ipNX694DH48vN9irak1Qx30nb0PLYHXfJgw4YEjiC3ZEmZJhwOp+VfiCYwFzvFTdB9QkArYS5kXa2cx2A==",
+ "license": "MIT",
+ "dependencies": {
+ "ip-address": "^10.2.0"
+ },
+ "engines": {
+ "node": ">= 16"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/express-rate-limit"
+ },
+ "peerDependencies": {
+ "express": ">= 4.11"
+ }
+ },
+ "node_modules/fast-deep-equal": {
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
+ "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==",
+ "license": "MIT"
+ },
+ "node_modules/fast-uri": {
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.3.tgz",
+ "integrity": "sha512-i70LwGWUduXqzicKXWshooq+sWL1K3WUU5rKZNG/0i3a1OSoX3HqhH5WbWwTmqWfor4urUakGPiRQcleRZTwOg==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/fastify"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/fastify"
+ }
+ ],
+ "license": "BSD-3-Clause"
+ },
+ "node_modules/fdir": {
+ "version": "6.5.0",
+ "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz",
+ "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "peerDependencies": {
+ "picomatch": "^3 || ^4"
+ },
+ "peerDependenciesMeta": {
+ "picomatch": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/finalhandler": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-2.1.1.tgz",
+ "integrity": "sha512-S8KoZgRZN+a5rNwqTxlZZePjT/4cnm0ROV70LedRHZ0p8u9fRID0hJUZQpkKLzro8LfmC8sx23bY6tVNxv8pQA==",
+ "license": "MIT",
+ "dependencies": {
+ "debug": "^4.4.0",
+ "encodeurl": "^2.0.0",
+ "escape-html": "^1.0.3",
+ "on-finished": "^2.4.1",
+ "parseurl": "^1.3.3",
+ "statuses": "^2.0.1"
+ },
+ "engines": {
+ "node": ">= 18.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/express"
+ }
+ },
+ "node_modules/fix-dts-default-cjs-exports": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/fix-dts-default-cjs-exports/-/fix-dts-default-cjs-exports-1.0.1.tgz",
+ "integrity": "sha512-pVIECanWFC61Hzl2+oOCtoJ3F17kglZC/6N94eRWycFgBH35hHx0Li604ZIzhseh97mf2p0cv7vVrOZGoqhlEg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "magic-string": "^0.30.17",
+ "mlly": "^1.7.4",
+ "rollup": "^4.34.8"
+ }
+ },
+ "node_modules/forwarded": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz",
+ "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/fresh": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/fresh/-/fresh-2.0.0.tgz",
+ "integrity": "sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/fsevents": {
+ "version": "2.3.3",
+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
+ "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
+ }
+ },
+ "node_modules/function-bind": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
+ "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/get-intrinsic": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz",
+ "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==",
+ "license": "MIT",
+ "dependencies": {
+ "call-bind-apply-helpers": "^1.0.2",
+ "es-define-property": "^1.0.1",
+ "es-errors": "^1.3.0",
+ "es-object-atoms": "^1.1.1",
+ "function-bind": "^1.1.2",
+ "get-proto": "^1.0.1",
+ "gopd": "^1.2.0",
+ "has-symbols": "^1.1.0",
+ "hasown": "^2.0.2",
+ "math-intrinsics": "^1.1.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/get-proto": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz",
+ "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==",
+ "license": "MIT",
+ "dependencies": {
+ "dunder-proto": "^1.0.1",
+ "es-object-atoms": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/gopd": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz",
+ "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/has-symbols": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz",
+ "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/hasown": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.4.tgz",
+ "integrity": "sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A==",
+ "license": "MIT",
+ "dependencies": {
+ "function-bind": "^1.1.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/hono": {
+ "version": "4.12.29",
+ "resolved": "https://registry.npmjs.org/hono/-/hono-4.12.29.tgz",
+ "integrity": "sha512-1hNiRjawYrLq/4m3DQQjPGFg0VZkk4RjQJDff/excI6Dm9BiL75qxGrd7/c6YOxPdq6AscP3LiXhQ6fKFC1Waw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=16.9.0"
+ }
+ },
+ "node_modules/hoodchain": {
+ "resolved": "../robinhood-chain-sdk",
+ "link": true
+ },
+ "node_modules/http-errors": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.1.tgz",
+ "integrity": "sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ==",
+ "license": "MIT",
+ "dependencies": {
+ "depd": "~2.0.0",
+ "inherits": "~2.0.4",
+ "setprototypeof": "~1.2.0",
+ "statuses": "~2.0.2",
+ "toidentifier": "~1.0.1"
+ },
+ "engines": {
+ "node": ">= 0.8"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/express"
+ }
+ },
+ "node_modules/iconv-lite": {
+ "version": "0.7.3",
+ "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.7.3.tgz",
+ "integrity": "sha512-IKXpvIzjnC9XTAUbVBcMfGS0EPaIXtW6v+zr+RRp+hqULEpo0owZax6wyRwPOJbWbzjYspQwusTsfVr0ifh4uQ==",
+ "license": "MIT",
+ "dependencies": {
+ "safer-buffer": ">= 2.1.2 < 3.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/express"
+ }
+ },
+ "node_modules/inherits": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
+ "license": "ISC"
+ },
+ "node_modules/ip-address": {
+ "version": "10.2.0",
+ "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.2.0.tgz",
+ "integrity": "sha512-/+S6j4E9AHvW9SWMSEY9Xfy66O5PWvVEJ08O0y5JGyEKQpojb0K0GKpz/v5HJ/G0vi3D2sjGK78119oXZeE0qA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 12"
+ }
+ },
+ "node_modules/ipaddr.js": {
+ "version": "1.9.1",
+ "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz",
+ "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/is-promise": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-4.0.0.tgz",
+ "integrity": "sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==",
+ "license": "MIT"
+ },
+ "node_modules/isexe": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
+ "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==",
+ "license": "ISC"
+ },
+ "node_modules/isows": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/isows/-/isows-1.0.7.tgz",
+ "integrity": "sha512-I1fSfDCZL5P0v33sVqeTDSpcstAg/N+wF5HS033mogOVIp4B+oHC7oOCsA3axAbBSGTJ8QubbNmnIRN/h8U7hg==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/wevm"
+ }
+ ],
+ "license": "MIT",
+ "peerDependencies": {
+ "ws": "*"
+ }
+ },
+ "node_modules/jose": {
+ "version": "6.2.3",
+ "resolved": "https://registry.npmjs.org/jose/-/jose-6.2.3.tgz",
+ "integrity": "sha512-YYVDInQKFJfR/xa3ojUTl8c2KoTwiL1R5Wg9YCydwH0x0B9grbzlg5HC7mMjCtUJjbQ/YnGEZIhI5tCgfTb4Hw==",
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/panva"
+ }
+ },
+ "node_modules/joycon": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/joycon/-/joycon-3.1.1.tgz",
+ "integrity": "sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/js-tokens": {
+ "version": "9.0.1",
+ "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-9.0.1.tgz",
+ "integrity": "sha512-mxa9E9ITFOt0ban3j6L5MpjwegGz6lBQmM1IJkWeBZGcMxto50+eWdjC/52xDbS2vy0k7vIMK0Fe2wfL9OQSpQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/json-schema-traverse": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz",
+ "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==",
+ "license": "MIT"
+ },
+ "node_modules/json-schema-typed": {
+ "version": "8.0.2",
+ "resolved": "https://registry.npmjs.org/json-schema-typed/-/json-schema-typed-8.0.2.tgz",
+ "integrity": "sha512-fQhoXdcvc3V28x7C7BMs4P5+kNlgUURe2jmUT1T//oBRMDrqy1QPelJimwZGo7Hg9VPV3EQV5Bnq4hbFy2vetA==",
+ "license": "BSD-2-Clause"
+ },
+ "node_modules/lilconfig": {
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.3.tgz",
+ "integrity": "sha512-/vlFKAoH5Cgt3Ie+JLhRbwOsCQePABiU3tJ1egGvyQ+33R/vcwM2Zl2QR/LzjsBeItPt3oSVXapn+m4nQDvpzw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=14"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/antonk52"
+ }
+ },
+ "node_modules/lines-and-columns": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz",
+ "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/load-tsconfig": {
+ "version": "0.2.5",
+ "resolved": "https://registry.npmjs.org/load-tsconfig/-/load-tsconfig-0.2.5.tgz",
+ "integrity": "sha512-IXO6OCs9yg8tMKzfPZ1YmheJbZCiEsnBdcB03l0OcfK9prKnJb96siuHCr5Fl37/yo9DnKU+TLpxzTUspw9shg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ }
+ },
+ "node_modules/loupe": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/loupe/-/loupe-3.2.1.tgz",
+ "integrity": "sha512-CdzqowRJCeLU72bHvWqwRBBlLcMEtIvGrlvef74kMnV2AolS9Y8xUv1I0U/MNAWMhBlKIoyuEgoJ0t/bbwHbLQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/magic-string": {
+ "version": "0.30.21",
+ "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.21.tgz",
+ "integrity": "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/sourcemap-codec": "^1.5.5"
+ }
+ },
+ "node_modules/math-intrinsics": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz",
+ "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/media-typer": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-1.1.0.tgz",
+ "integrity": "sha512-aisnrDP4GNe06UcKFnV5bfMNPBUw4jsLGaWwWfnH3v02GnBuXX2MCVn5RbrWo0j3pczUilYblq7fQ7Nw2t5XKw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/merge-descriptors": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-2.0.0.tgz",
+ "integrity": "sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/mime-db": {
+ "version": "1.54.0",
+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz",
+ "integrity": "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/mime-types": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.2.tgz",
+ "integrity": "sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A==",
+ "license": "MIT",
+ "dependencies": {
+ "mime-db": "^1.54.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/express"
+ }
+ },
+ "node_modules/mlly": {
+ "version": "1.8.2",
+ "resolved": "https://registry.npmjs.org/mlly/-/mlly-1.8.2.tgz",
+ "integrity": "sha512-d+ObxMQFmbt10sretNDytwt85VrbkhhUA/JBGm1MPaWJ65Cl4wOgLaB1NYvJSZ0Ef03MMEU/0xpPMXUIQ29UfA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "acorn": "^8.16.0",
+ "pathe": "^2.0.3",
+ "pkg-types": "^1.3.1",
+ "ufo": "^1.6.3"
+ }
+ },
+ "node_modules/ms": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
+ "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
+ "license": "MIT"
+ },
+ "node_modules/mz": {
+ "version": "2.7.0",
+ "resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz",
+ "integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "any-promise": "^1.0.0",
+ "object-assign": "^4.0.1",
+ "thenify-all": "^1.0.0"
+ }
+ },
+ "node_modules/nanoid": {
+ "version": "3.3.16",
+ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.16.tgz",
+ "integrity": "sha512-bzlKTyNJ7+LdGIIwy8ijFpIqEQIvafahV7eYykJ8Cvh42EdJeODoJ6gUJXpQJvej1BddH8OqTXZNE/KfbWAu8Q==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "bin": {
+ "nanoid": "bin/nanoid.cjs"
+ },
+ "engines": {
+ "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
+ }
+ },
+ "node_modules/negotiator": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-1.0.0.tgz",
+ "integrity": "sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/object-assign": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
+ "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/object-inspect": {
+ "version": "1.13.4",
+ "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.4.tgz",
+ "integrity": "sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/on-finished": {
+ "version": "2.4.1",
+ "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz",
+ "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==",
+ "license": "MIT",
+ "dependencies": {
+ "ee-first": "1.1.1"
+ },
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/once": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
+ "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==",
+ "license": "ISC",
+ "dependencies": {
+ "wrappy": "1"
+ }
+ },
+ "node_modules/ox": {
+ "version": "0.14.30",
+ "resolved": "https://registry.npmjs.org/ox/-/ox-0.14.30.tgz",
+ "integrity": "sha512-LI11uu+8iiM1B3CLckgd++YF1a0A2k5wDoM9ZeQMiL21BOzQs6L//BLS6hb1HSEKCyycdDIQLsVQx9MjpcC0hA==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/wevm"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "@adraffy/ens-normalize": "^1.11.0",
+ "@noble/ciphers": "^1.3.0",
+ "@noble/curves": "1.9.1",
+ "@noble/hashes": "^1.8.0",
+ "@scure/bip32": "^1.7.0",
+ "@scure/bip39": "^1.6.0",
+ "abitype": "^1.2.3",
+ "eventemitter3": "5.0.1"
+ },
+ "peerDependencies": {
+ "typescript": ">=5.4.0"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/parseurl": {
+ "version": "1.3.3",
+ "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz",
+ "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/path-key": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
+ "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/path-to-regexp": {
+ "version": "8.4.2",
+ "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-8.4.2.tgz",
+ "integrity": "sha512-qRcuIdP69NPm4qbACK+aDogI5CBDMi1jKe0ry5rSQJz8JVLsC7jV8XpiJjGRLLol3N+R5ihGYcrPLTno6pAdBA==",
+ "license": "MIT",
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/express"
+ }
+ },
+ "node_modules/pathe": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/pathe/-/pathe-2.0.3.tgz",
+ "integrity": "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/pathval": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/pathval/-/pathval-2.0.1.tgz",
+ "integrity": "sha512-//nshmD55c46FuFw26xV/xFAaB5HF9Xdap7HJBBnrKdAd6/GxDBaNA1870O79+9ueg61cZLSVc+OaFlfmObYVQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 14.16"
+ }
+ },
+ "node_modules/picocolors": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
+ "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/picomatch": {
+ "version": "4.0.5",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.5.tgz",
+ "integrity": "sha512-RvwwcruNjI1ncT5xRakeyS9Lf8lcItv34KD+aif+VH9kduAyfYBipGh12274xtenIPZ119/R9BdTBa8gAwSh0A==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
+ }
+ },
+ "node_modules/pirates": {
+ "version": "4.0.7",
+ "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.7.tgz",
+ "integrity": "sha512-TfySrs/5nm8fQJDcBDuUng3VOUKsd7S+zqvbOTiGXHfxX4wK31ard+hoNuvkicM/2YFzlpDgABOevKSsB4G/FA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/pkce-challenge": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/pkce-challenge/-/pkce-challenge-5.0.1.tgz",
+ "integrity": "sha512-wQ0b/W4Fr01qtpHlqSqspcj3EhBvimsdh0KlHhH8HRZnMsEa0ea2fTULOXOS9ccQr3om+GcGRk4e+isrZWV8qQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=16.20.0"
+ }
+ },
+ "node_modules/pkg-types": {
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/pkg-types/-/pkg-types-1.3.1.tgz",
+ "integrity": "sha512-/Jm5M4RvtBFVkKWRu2BLUTNP8/M2a+UwuAX+ae4770q1qVGtfjG+WTCupoZixokjmHiry8uI+dlY8KXYV5HVVQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "confbox": "^0.1.8",
+ "mlly": "^1.7.4",
+ "pathe": "^2.0.1"
+ }
+ },
+ "node_modules/postcss": {
+ "version": "8.5.17",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.17.tgz",
+ "integrity": "sha512-J7EF+8X+CzRPaJPOv9Ck2wNWJvGnnl3PcNPAdGg6GTLjyVpyQ0yATMSXRFRV01BviT/9Gwuc3rjEyJbDJG9a4w==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/postcss"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "nanoid": "^3.3.12",
+ "picocolors": "^1.1.1",
+ "source-map-js": "^1.2.1"
+ },
+ "engines": {
+ "node": "^10 || ^12 || >=14"
+ }
+ },
+ "node_modules/postcss-load-config": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-6.0.1.tgz",
+ "integrity": "sha512-oPtTM4oerL+UXmx+93ytZVN82RrlY/wPUV8IeDxFrzIjXOLF1pN+EmKPLbubvKHT2HC20xXsCAH2Z+CKV6Oz/g==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "lilconfig": "^3.1.1"
+ },
+ "engines": {
+ "node": ">= 18"
+ },
+ "peerDependencies": {
+ "jiti": ">=1.21.0",
+ "postcss": ">=8.0.9",
+ "tsx": "^4.8.1",
+ "yaml": "^2.4.2"
+ },
+ "peerDependenciesMeta": {
+ "jiti": {
+ "optional": true
+ },
+ "postcss": {
+ "optional": true
+ },
+ "tsx": {
+ "optional": true
+ },
+ "yaml": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/proxy-addr": {
+ "version": "2.0.7",
+ "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz",
+ "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==",
+ "license": "MIT",
+ "dependencies": {
+ "forwarded": "0.2.0",
+ "ipaddr.js": "1.9.1"
+ },
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/qs": {
+ "version": "6.15.3",
+ "resolved": "https://registry.npmjs.org/qs/-/qs-6.15.3.tgz",
+ "integrity": "sha512-O9gl3zCl5h5blw1KGUzQKhA5oUXSl8rwUIM5o0S3nCXMliSvy5Dzx7/DJcI+SwgICv+IneSZwhBh1oSyEHA71A==",
+ "license": "BSD-3-Clause",
+ "dependencies": {
+ "es-define-property": "^1.0.1",
+ "side-channel": "^1.1.1"
+ },
+ "engines": {
+ "node": ">=0.6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/range-parser": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.3.0.tgz",
+ "integrity": "sha512-hek2mFQpPuI4E1BBKrSto+BU3e3x4xuarsbiwr3+lf7p44juvFMV0XFWQAP3xUyqXA4RrXLIoaSUGbSt056ZMw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/express"
+ }
+ },
+ "node_modules/raw-body": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-3.0.2.tgz",
+ "integrity": "sha512-K5zQjDllxWkf7Z5xJdV0/B0WTNqx6vxG70zJE4N0kBs4LovmEYWJzQGxC9bS9RAKu3bgM40lrd5zoLJ12MQ5BA==",
+ "license": "MIT",
+ "dependencies": {
+ "bytes": "~3.1.2",
+ "http-errors": "~2.0.1",
+ "iconv-lite": "~0.7.0",
+ "unpipe": "~1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/readdirp": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-4.1.2.tgz",
+ "integrity": "sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 14.18.0"
+ },
+ "funding": {
+ "type": "individual",
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/require-from-string": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz",
+ "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/resolve-from": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz",
+ "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/rollup": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.62.2.tgz",
+ "integrity": "sha512-RFnrW4lhXA3s3eqHDZvN654g8OTjzRfqpIRJYczCGB6HzphckVAi/Qh4tbPUbRuDi7s1Llv8g/NspLkttY3gTA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/estree": "1.0.9"
+ },
+ "bin": {
+ "rollup": "dist/bin/rollup"
+ },
+ "engines": {
+ "node": ">=18.0.0",
+ "npm": ">=8.0.0"
+ },
+ "optionalDependencies": {
+ "@rollup/rollup-android-arm-eabi": "4.62.2",
+ "@rollup/rollup-android-arm64": "4.62.2",
+ "@rollup/rollup-darwin-arm64": "4.62.2",
+ "@rollup/rollup-darwin-x64": "4.62.2",
+ "@rollup/rollup-freebsd-arm64": "4.62.2",
+ "@rollup/rollup-freebsd-x64": "4.62.2",
+ "@rollup/rollup-linux-arm-gnueabihf": "4.62.2",
+ "@rollup/rollup-linux-arm-musleabihf": "4.62.2",
+ "@rollup/rollup-linux-arm64-gnu": "4.62.2",
+ "@rollup/rollup-linux-arm64-musl": "4.62.2",
+ "@rollup/rollup-linux-loong64-gnu": "4.62.2",
+ "@rollup/rollup-linux-loong64-musl": "4.62.2",
+ "@rollup/rollup-linux-ppc64-gnu": "4.62.2",
+ "@rollup/rollup-linux-ppc64-musl": "4.62.2",
+ "@rollup/rollup-linux-riscv64-gnu": "4.62.2",
+ "@rollup/rollup-linux-riscv64-musl": "4.62.2",
+ "@rollup/rollup-linux-s390x-gnu": "4.62.2",
+ "@rollup/rollup-linux-x64-gnu": "4.62.2",
+ "@rollup/rollup-linux-x64-musl": "4.62.2",
+ "@rollup/rollup-openbsd-x64": "4.62.2",
+ "@rollup/rollup-openharmony-arm64": "4.62.2",
+ "@rollup/rollup-win32-arm64-msvc": "4.62.2",
+ "@rollup/rollup-win32-ia32-msvc": "4.62.2",
+ "@rollup/rollup-win32-x64-gnu": "4.62.2",
+ "@rollup/rollup-win32-x64-msvc": "4.62.2",
+ "fsevents": "~2.3.2"
+ }
+ },
+ "node_modules/router": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/router/-/router-2.2.0.tgz",
+ "integrity": "sha512-nLTrUKm2UyiL7rlhapu/Zl45FwNgkZGaCpZbIHajDYgwlJCOzLSk+cIPAnsEqV955GjILJnKbdQC1nVPz+gAYQ==",
+ "license": "MIT",
+ "dependencies": {
+ "debug": "^4.4.0",
+ "depd": "^2.0.0",
+ "is-promise": "^4.0.0",
+ "parseurl": "^1.3.3",
+ "path-to-regexp": "^8.0.0"
+ },
+ "engines": {
+ "node": ">= 18"
+ }
+ },
+ "node_modules/safer-buffer": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
+ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==",
+ "license": "MIT"
+ },
+ "node_modules/send": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/send/-/send-1.2.1.tgz",
+ "integrity": "sha512-1gnZf7DFcoIcajTjTwjwuDjzuz4PPcY2StKPlsGAQ1+YH20IRVrBaXSWmdjowTJ6u8Rc01PoYOGHXfP1mYcZNQ==",
+ "license": "MIT",
+ "dependencies": {
+ "debug": "^4.4.3",
+ "encodeurl": "^2.0.0",
+ "escape-html": "^1.0.3",
+ "etag": "^1.8.1",
+ "fresh": "^2.0.0",
+ "http-errors": "^2.0.1",
+ "mime-types": "^3.0.2",
+ "ms": "^2.1.3",
+ "on-finished": "^2.4.1",
+ "range-parser": "^1.2.1",
+ "statuses": "^2.0.2"
+ },
+ "engines": {
+ "node": ">= 18"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/express"
+ }
+ },
+ "node_modules/serve-static": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-2.2.1.tgz",
+ "integrity": "sha512-xRXBn0pPqQTVQiC8wyQrKs2MOlX24zQ0POGaj0kultvoOCstBQM5yvOhAVSUwOMjQtTvsPWoNCHfPGwaaQJhTw==",
+ "license": "MIT",
+ "dependencies": {
+ "encodeurl": "^2.0.0",
+ "escape-html": "^1.0.3",
+ "parseurl": "^1.3.3",
+ "send": "^1.2.0"
+ },
+ "engines": {
+ "node": ">= 18"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/express"
+ }
+ },
+ "node_modules/setprototypeof": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz",
+ "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==",
+ "license": "ISC"
+ },
+ "node_modules/shebang-command": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",
+ "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==",
+ "license": "MIT",
+ "dependencies": {
+ "shebang-regex": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/shebang-regex": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz",
+ "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/side-channel": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.1.tgz",
+ "integrity": "sha512-6x6dK6zJdpTzF4sQeNYxwtvBzf6Eg4GtlesS94HOvTudUeyK2WXAaIfmDgsyslYrRBeFIlsi54AYsFGUuhmvrQ==",
+ "license": "MIT",
+ "dependencies": {
+ "es-errors": "^1.3.0",
+ "object-inspect": "^1.13.4",
+ "side-channel-list": "^1.0.1",
+ "side-channel-map": "^1.0.1",
+ "side-channel-weakmap": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/side-channel-list": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/side-channel-list/-/side-channel-list-1.0.1.tgz",
+ "integrity": "sha512-mjn/0bi/oUURjc5Xl7IaWi/OJJJumuoJFQJfDDyO46+hBWsfaVM65TBHq2eoZBhzl9EchxOijpkbRC8SVBQU0w==",
+ "license": "MIT",
+ "dependencies": {
+ "es-errors": "^1.3.0",
+ "object-inspect": "^1.13.4"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/side-channel-map": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/side-channel-map/-/side-channel-map-1.0.1.tgz",
+ "integrity": "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==",
+ "license": "MIT",
+ "dependencies": {
+ "call-bound": "^1.0.2",
+ "es-errors": "^1.3.0",
+ "get-intrinsic": "^1.2.5",
+ "object-inspect": "^1.13.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/side-channel-weakmap": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/side-channel-weakmap/-/side-channel-weakmap-1.0.2.tgz",
+ "integrity": "sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==",
+ "license": "MIT",
+ "dependencies": {
+ "call-bound": "^1.0.2",
+ "es-errors": "^1.3.0",
+ "get-intrinsic": "^1.2.5",
+ "object-inspect": "^1.13.3",
+ "side-channel-map": "^1.0.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/siginfo": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/siginfo/-/siginfo-2.0.0.tgz",
+ "integrity": "sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/source-map": {
+ "version": "0.7.6",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.6.tgz",
+ "integrity": "sha512-i5uvt8C3ikiWeNZSVZNWcfZPItFQOsYTUAOkcUPGd8DqDy1uOUikjt5dG+uRlwyvR108Fb9DOd4GvXfT0N2/uQ==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">= 12"
+ }
+ },
+ "node_modules/source-map-js": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz",
+ "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/stackback": {
+ "version": "0.0.2",
+ "resolved": "https://registry.npmjs.org/stackback/-/stackback-0.0.2.tgz",
+ "integrity": "sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/statuses": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.2.tgz",
+ "integrity": "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/std-env": {
+ "version": "3.10.0",
+ "resolved": "https://registry.npmjs.org/std-env/-/std-env-3.10.0.tgz",
+ "integrity": "sha512-5GS12FdOZNliM5mAOxFRg7Ir0pWz8MdpYm6AY6VPkGpbA7ZzmbzNcBJQ0GPvvyWgcY7QAhCgf9Uy89I03faLkg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/strip-literal": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/strip-literal/-/strip-literal-3.1.0.tgz",
+ "integrity": "sha512-8r3mkIM/2+PpjHoOtiAW8Rg3jJLHaV7xPwG+YRGrv6FP0wwk/toTpATxWYOW0BKdWwl82VT2tFYi5DlROa0Mxg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "js-tokens": "^9.0.1"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/antfu"
+ }
+ },
+ "node_modules/sucrase": {
+ "version": "3.35.1",
+ "resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.35.1.tgz",
+ "integrity": "sha512-DhuTmvZWux4H1UOnWMB3sk0sbaCVOoQZjv8u1rDoTV0HTdGem9hkAZtl4JZy8P2z4Bg0nT+YMeOFyVr4zcG5Tw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/gen-mapping": "^0.3.2",
+ "commander": "^4.0.0",
+ "lines-and-columns": "^1.1.6",
+ "mz": "^2.7.0",
+ "pirates": "^4.0.1",
+ "tinyglobby": "^0.2.11",
+ "ts-interface-checker": "^0.1.9"
+ },
+ "bin": {
+ "sucrase": "bin/sucrase",
+ "sucrase-node": "bin/sucrase-node"
+ },
+ "engines": {
+ "node": ">=16 || 14 >=14.17"
+ }
+ },
+ "node_modules/thenify": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz",
+ "integrity": "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "any-promise": "^1.0.0"
+ }
+ },
+ "node_modules/thenify-all": {
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz",
+ "integrity": "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "thenify": ">= 3.1.0 < 4"
+ },
+ "engines": {
+ "node": ">=0.8"
+ }
+ },
+ "node_modules/tinybench": {
+ "version": "2.9.0",
+ "resolved": "https://registry.npmjs.org/tinybench/-/tinybench-2.9.0.tgz",
+ "integrity": "sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/tinyexec": {
+ "version": "0.3.2",
+ "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-0.3.2.tgz",
+ "integrity": "sha512-KQQR9yN7R5+OSwaK0XQoj22pwHoTlgYqmUscPYoknOoWCWfj/5/ABTMRi69FrKU5ffPVh5QcFikpWJI/P1ocHA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/tinyglobby": {
+ "version": "0.2.17",
+ "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.17.tgz",
+ "integrity": "sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "fdir": "^6.5.0",
+ "picomatch": "^4.0.4"
+ },
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/SuperchupuDev"
+ }
+ },
+ "node_modules/tinypool": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/tinypool/-/tinypool-1.1.1.tgz",
+ "integrity": "sha512-Zba82s87IFq9A9XmjiX5uZA/ARWDrB03OHlq+Vw1fSdt0I+4/Kutwy8BP4Y/y/aORMo61FQ0vIb5j44vSo5Pkg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^18.0.0 || >=20.0.0"
+ }
+ },
+ "node_modules/tinyrainbow": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/tinyrainbow/-/tinyrainbow-2.0.0.tgz",
+ "integrity": "sha512-op4nsTR47R6p0vMUUoYl/a+ljLFVtlfaXkLQmqfLR1qHma1h/ysYk4hEXZ880bf2CYgTskvTa/e196Vd5dDQXw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=14.0.0"
+ }
+ },
+ "node_modules/tinyspy": {
+ "version": "4.0.4",
+ "resolved": "https://registry.npmjs.org/tinyspy/-/tinyspy-4.0.4.tgz",
+ "integrity": "sha512-azl+t0z7pw/z958Gy9svOTuzqIk6xq+NSheJzn5MMWtWTFywIacg2wUlzKFGtt3cthx0r2SxMK0yzJOR0IES7Q==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=14.0.0"
+ }
+ },
+ "node_modules/toidentifier": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz",
+ "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.6"
+ }
+ },
+ "node_modules/tree-kill": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/tree-kill/-/tree-kill-1.2.2.tgz",
+ "integrity": "sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==",
+ "dev": true,
+ "license": "MIT",
+ "bin": {
+ "tree-kill": "cli.js"
+ }
+ },
+ "node_modules/ts-interface-checker": {
+ "version": "0.1.13",
+ "resolved": "https://registry.npmjs.org/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz",
+ "integrity": "sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==",
+ "dev": true,
+ "license": "Apache-2.0"
+ },
+ "node_modules/tsup": {
+ "version": "8.5.1",
+ "resolved": "https://registry.npmjs.org/tsup/-/tsup-8.5.1.tgz",
+ "integrity": "sha512-xtgkqwdhpKWr3tKPmCkvYmS9xnQK3m3XgxZHwSUjvfTjp7YfXe5tT3GgWi0F2N+ZSMsOeWeZFh7ZZFg5iPhing==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "bundle-require": "^5.1.0",
+ "cac": "^6.7.14",
+ "chokidar": "^4.0.3",
+ "consola": "^3.4.0",
+ "debug": "^4.4.0",
+ "esbuild": "^0.27.0",
+ "fix-dts-default-cjs-exports": "^1.0.0",
+ "joycon": "^3.1.1",
+ "picocolors": "^1.1.1",
+ "postcss-load-config": "^6.0.1",
+ "resolve-from": "^5.0.0",
+ "rollup": "^4.34.8",
+ "source-map": "^0.7.6",
+ "sucrase": "^3.35.0",
+ "tinyexec": "^0.3.2",
+ "tinyglobby": "^0.2.11",
+ "tree-kill": "^1.2.2"
+ },
+ "bin": {
+ "tsup": "dist/cli-default.js",
+ "tsup-node": "dist/cli-node.js"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "@microsoft/api-extractor": "^7.36.0",
+ "@swc/core": "^1",
+ "postcss": "^8.4.12",
+ "typescript": ">=4.5.0"
+ },
+ "peerDependenciesMeta": {
+ "@microsoft/api-extractor": {
+ "optional": true
+ },
+ "@swc/core": {
+ "optional": true
+ },
+ "postcss": {
+ "optional": true
+ },
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/tsx": {
+ "version": "4.23.0",
+ "resolved": "https://registry.npmjs.org/tsx/-/tsx-4.23.0.tgz",
+ "integrity": "sha512-eUdUIaCr963q2h5u3+QwvYp0+eqPvn+egeqZUm0hwERCqqx1E3kK5ehbGCvqSE5MQAULr67ww0cA3jKc3YkM1w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "esbuild": "~0.28.0"
+ },
+ "bin": {
+ "tsx": "dist/cli.mjs"
+ },
+ "engines": {
+ "node": ">=18.0.0"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.3.3"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/aix-ppc64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.28.1.tgz",
+ "integrity": "sha512-Svl7tq8k/08+p6CXPpRjQ1fKX+1odH/BQbb48fV6fj3CWHhsoIOoY87w1oHXm0qEpkIK3ZfVgp0hed3XBXzXMQ==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "aix"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/android-arm": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.28.1.tgz",
+ "integrity": "sha512-0k2F129Xdio1TdJfzJ8sy1Q47vUD2NnwdhiAf7drUN1EBTfPf4hsFCtmMgu/6m8JSzsBrlmVjudMBQqOfG8usQ==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/android-arm64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.28.1.tgz",
+ "integrity": "sha512-34EGEbCIAgosYz6goLcopX6Mo7NyGv9tfwEM2/7Ce2VcVRk568iSvniGWcUXIy7wEDR1wzolcxcriFVrWYcwBg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/android-x64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.28.1.tgz",
+ "integrity": "sha512-dbwY7ltSMDWsRatcRpCnES4F+im88OCUgGZjy52shC7GqHRE/cYlxNbB4Z4UpJswpcc4Qxd2oE/ufM0p61IKng==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/darwin-arm64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.28.1.tgz",
+ "integrity": "sha512-TZbWkQY7kvTAXbXUT7uVACR5cMHsDiSz9z7ZKAX/RTq/WJEk3QyRr0wZpNhBDX+/0CtdqUIJlOiodQcta6tY3Q==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/darwin-x64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.28.1.tgz",
+ "integrity": "sha512-zfdzgK9ACBNZLI/CyHTOx81SyNbM6YXn7rxSgX97VjyiPl9W1i4Ka4fgKECEoFCKGpvBj5qArWIGgQjOwkgskQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/freebsd-arm64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.28.1.tgz",
+ "integrity": "sha512-wG2EA8ENdEI0qhkSZMjfqrdY+ziCYCPMmtZjjIwOmXFjmyzEHn+UUxk5of+SYsjtfs3VpnlC7QLzSI5hY/rOAw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/freebsd-x64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.28.1.tgz",
+ "integrity": "sha512-i7dZ9vQgnvSCzi/rYCXNgtF/U+eKZNJBzu3eTQbRgHnM7tNSizLOkRFAl3qzVc/Op/u5YkHHa4pf/3DOYHthLQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/linux-arm": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.28.1.tgz",
+ "integrity": "sha512-qVXBOHQS+d5Y722GwJzJUtOLlX7km3CraOaGormF1pDtPd2C/l1SHRPgjLunLGe51Sh5YYWKMFDyV4SxgMQYTQ==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/linux-arm64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.28.1.tgz",
+ "integrity": "sha512-yHs+0uc8+nvEAfAfxrWQKK5peSNzBc4PegcMO0EJ2hT71uA7vB8Ihg2e77R2P7SG5uYjPbHlLLmve4LLLRCf0g==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/linux-ia32": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.28.1.tgz",
+ "integrity": "sha512-d1z4ZuP0ajrfz/FhGT4vv278rX8KnPPJx8i5+AtK7TYbx9Le9F1hyzurZpkEyjkGa9dUGhQow4C1NmeGvqxN2w==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/linux-loong64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.28.1.tgz",
+ "integrity": "sha512-M5sRjUVZrkm1OAPR3dlOYzNmN+loZKGVi1VUQGrwuqLcbR6qeAz+famMhjASeH3YVKvZz+zT1jlh/keC3Rj/lg==",
+ "cpu": [
+ "loong64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/linux-mips64el": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.28.1.tgz",
+ "integrity": "sha512-mRObBZeHh2OxcBFPWE/FjylkRgZdYuiTR3vaTozquCGOH14iP9oN4x4Ge81CoIDYQrXmIxpFumJBu5MtZpnQJQ==",
+ "cpu": [
+ "mips64el"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/linux-ppc64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.28.1.tgz",
+ "integrity": "sha512-slScBsMAb3GFDcdrCgLwZtPYRoH2H/youv10QiZyRjmsP48fznoveWytSgCI/R0ZcUgpc0ZhIUEx6LHts8yrfQ==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/linux-riscv64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.28.1.tgz",
+ "integrity": "sha512-kw0owk1o0GFETUJyW0jc0G4Yzs0BHZn0JDZ8JRT088vjJYX777BAs1fDGxAC+q831qOs2DTC96mNsG2opdfyyQ==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/linux-s390x": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.28.1.tgz",
+ "integrity": "sha512-/lAIjX8aYFRByhh6L5rYtPEDRqa9de/4V/juOXcta5frjvzXO4/sqEtyytse0g3zZFuWu5cDN0MkLz2qRDD2Ag==",
+ "cpu": [
+ "s390x"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/linux-x64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.28.1.tgz",
+ "integrity": "sha512-u/anNYF2mmVOEDwLtnQ1wOr3EZ9sTNGLWrsYGYwHWzGA3Si84IOkHXlbWTD1NB+9/1lcnweYKO54uhxZydNzfA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/netbsd-arm64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.28.1.tgz",
+ "integrity": "sha512-oks0DYbLwWMmaakTsCb+zL4E+aHRVLom9IJZOAthMQEPiQmydXHkziYEsGYRx0uNV/IjEKGAV941JzH02pflqw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "netbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/netbsd-x64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.28.1.tgz",
+ "integrity": "sha512-aeL6lAnN89Hz43Mlh1G8ARasbuoYvSITDEx0tHh5b7jJnHcssqgjy9Yx430GDpmCa6OyrKoS0aNRjKundRizGg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "netbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/openbsd-arm64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.28.1.tgz",
+ "integrity": "sha512-MEFJe5C3R8pwXdZ5Y21oo6m7ePiS0d9pWucn99O/wvyJZChoIQKrQDxKrGeW8F5+T0okTHesAmDeiHDTIq0V/Q==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/openbsd-x64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.28.1.tgz",
+ "integrity": "sha512-i/ZLIOafE0Z8cI/XANJAixoJL/uRAoS2xOA3rb0xN+KK0K177cMAsQYkzHtBrtMXAKuAc7HGgcWiZ/sRC1Nxgw==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/openharmony-arm64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.28.1.tgz",
+ "integrity": "sha512-ge+Z7EXFNt2BO1oAMsVpiQ8EwndV9i1xXerAeTIK7AtPs3bKFXQM7nlRxDSIUIMeueR1CNXxqztLzdNeReKBJg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openharmony"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/sunos-x64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.28.1.tgz",
+ "integrity": "sha512-BEjgtECkL3vY+SaSQ6nzVfiALUeFxpawyp8Jmf5PtYhf1Ug40N1h/hxlhts+f1FvSvarEigdxS3BlSMI2PJLcQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "sunos"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/win32-arm64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.28.1.tgz",
+ "integrity": "sha512-lCv9eK/H6ZJWbE7bh2nw54CZ9M2nupBxJcTsdk/QQnWkdSjKGuxmmH8/GWrlT1eMmZfn4dGcCjRte397WqfQXA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/win32-ia32": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.28.1.tgz",
+ "integrity": "sha512-zvb/mB2bSCoJOpoCBgYKKpX6YM6mJBlBUVUtVj41DlZJVEB6/0CKlRYxP5wWl1C1ILiCoAU5wZZ4q1P3qeS6Eg==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/win32-x64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.28.1.tgz",
+ "integrity": "sha512-bm4Mowrv+GXMlpWX++EcXw/iLyd1o3+bJkC2DkWXYVvgZCqD/bSj9ctZeAMC3cIxgjRVR2Dufaiu4YPxr5gW1A==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/esbuild": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.28.1.tgz",
+ "integrity": "sha512-HrJrvZv5ayxBzPfwphOoNzkzOIIlifzk0KJrGK2c8R4+LKpMtpYLQeUdjnwjWv/LZlkH2laZk+4w78pi99D4Vw==",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "MIT",
+ "bin": {
+ "esbuild": "bin/esbuild"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "optionalDependencies": {
+ "@esbuild/aix-ppc64": "0.28.1",
+ "@esbuild/android-arm": "0.28.1",
+ "@esbuild/android-arm64": "0.28.1",
+ "@esbuild/android-x64": "0.28.1",
+ "@esbuild/darwin-arm64": "0.28.1",
+ "@esbuild/darwin-x64": "0.28.1",
+ "@esbuild/freebsd-arm64": "0.28.1",
+ "@esbuild/freebsd-x64": "0.28.1",
+ "@esbuild/linux-arm": "0.28.1",
+ "@esbuild/linux-arm64": "0.28.1",
+ "@esbuild/linux-ia32": "0.28.1",
+ "@esbuild/linux-loong64": "0.28.1",
+ "@esbuild/linux-mips64el": "0.28.1",
+ "@esbuild/linux-ppc64": "0.28.1",
+ "@esbuild/linux-riscv64": "0.28.1",
+ "@esbuild/linux-s390x": "0.28.1",
+ "@esbuild/linux-x64": "0.28.1",
+ "@esbuild/netbsd-arm64": "0.28.1",
+ "@esbuild/netbsd-x64": "0.28.1",
+ "@esbuild/openbsd-arm64": "0.28.1",
+ "@esbuild/openbsd-x64": "0.28.1",
+ "@esbuild/openharmony-arm64": "0.28.1",
+ "@esbuild/sunos-x64": "0.28.1",
+ "@esbuild/win32-arm64": "0.28.1",
+ "@esbuild/win32-ia32": "0.28.1",
+ "@esbuild/win32-x64": "0.28.1"
+ }
+ },
+ "node_modules/type-is": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/type-is/-/type-is-2.1.0.tgz",
+ "integrity": "sha512-faYHw0anBbc/kWF3zFTEnxSFOAGUX9GFbOBthvDdLsIlEoWOFOtS0zgCiQYwIskL9iGXZL3kAXD8OoZ4GmMATA==",
+ "license": "MIT",
+ "dependencies": {
+ "content-type": "^2.0.0",
+ "media-typer": "^1.1.0",
+ "mime-types": "^3.0.0"
+ },
+ "engines": {
+ "node": ">= 18"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/express"
+ }
+ },
+ "node_modules/type-is/node_modules/content-type": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/content-type/-/content-type-2.0.0.tgz",
+ "integrity": "sha512-j/O/d7GcZCyNl7/hwZAb606rzqkyvaDctLmckbxLzHvFBzTJHuGEdodATcP3yIRoDrLHkIATJuvzbFlp/ki2cQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/express"
+ }
+ },
+ "node_modules/typescript": {
+ "version": "5.9.3",
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",
+ "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==",
+ "devOptional": true,
+ "license": "Apache-2.0",
+ "bin": {
+ "tsc": "bin/tsc",
+ "tsserver": "bin/tsserver"
+ },
+ "engines": {
+ "node": ">=14.17"
+ }
+ },
+ "node_modules/ufo": {
+ "version": "1.6.4",
+ "resolved": "https://registry.npmjs.org/ufo/-/ufo-1.6.4.tgz",
+ "integrity": "sha512-JFNbkD1Svwe0KvGi8GOeLcP4kAWQ609twvCdcHxq1oSL8svv39ZuSvajcD8B+5D0eL4+s1Is2D/O6KN3qcTeRA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/undici-types": {
+ "version": "7.18.2",
+ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.18.2.tgz",
+ "integrity": "sha512-AsuCzffGHJybSaRrmr5eHr81mwJU3kjw6M+uprWvCXiNeN9SOGwQ3Jn8jb8m3Z6izVgknn1R0FTCEAP2QrLY/w==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/unpipe": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz",
+ "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/vary": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz",
+ "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/viem": {
+ "version": "2.55.1",
+ "resolved": "https://registry.npmjs.org/viem/-/viem-2.55.1.tgz",
+ "integrity": "sha512-sajvEmONS3dEDFh0jKXGugTU8ImyGoIV3sEHSWNRhgkH484v/+6DjZAplRhcdeqNV/VBxOs/l3raOG4NaXvX9A==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/wevm"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "@noble/curves": "1.9.1",
+ "@noble/hashes": "1.8.0",
+ "@scure/bip32": "1.7.0",
+ "@scure/bip39": "1.6.0",
+ "abitype": "1.2.3",
+ "isows": "1.0.7",
+ "ox": "0.14.30",
+ "ws": "8.21.0"
+ },
+ "peerDependencies": {
+ "typescript": ">=5.0.4"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/vite": {
+ "version": "7.3.6",
+ "resolved": "https://registry.npmjs.org/vite/-/vite-7.3.6.tgz",
+ "integrity": "sha512-4XP60spRGjSZFf1qYH+dJIkK2znL3zQfl9KkOV9MkkRR/3Dls0dxaBsQPTloEc5BLXWPL9vsOxopxyKoMmDueg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "esbuild": "^0.27.0 || ^0.28.0",
+ "fdir": "^6.5.0",
+ "picomatch": "^4.0.3",
+ "postcss": "^8.5.6",
+ "rollup": "^4.43.0",
+ "tinyglobby": "^0.2.15"
+ },
+ "bin": {
+ "vite": "bin/vite.js"
+ },
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ },
+ "funding": {
+ "url": "https://github.com/vitejs/vite?sponsor=1"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.3.3"
+ },
+ "peerDependencies": {
+ "@types/node": "^20.19.0 || >=22.12.0",
+ "jiti": ">=1.21.0",
+ "less": "^4.0.0",
+ "lightningcss": "^1.21.0",
+ "sass": "^1.70.0",
+ "sass-embedded": "^1.70.0",
+ "stylus": ">=0.54.8",
+ "sugarss": "^5.0.0",
+ "terser": "^5.16.0",
+ "tsx": "^4.8.1",
+ "yaml": "^2.4.2"
+ },
+ "peerDependenciesMeta": {
+ "@types/node": {
+ "optional": true
+ },
+ "jiti": {
+ "optional": true
+ },
+ "less": {
+ "optional": true
+ },
+ "lightningcss": {
+ "optional": true
+ },
+ "sass": {
+ "optional": true
+ },
+ "sass-embedded": {
+ "optional": true
+ },
+ "stylus": {
+ "optional": true
+ },
+ "sugarss": {
+ "optional": true
+ },
+ "terser": {
+ "optional": true
+ },
+ "tsx": {
+ "optional": true
+ },
+ "yaml": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/vite-node": {
+ "version": "3.2.4",
+ "resolved": "https://registry.npmjs.org/vite-node/-/vite-node-3.2.4.tgz",
+ "integrity": "sha512-EbKSKh+bh1E1IFxeO0pg1n4dvoOTt0UDiXMd/qn++r98+jPO1xtJilvXldeuQ8giIB5IkpjCgMleHMNEsGH6pg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "cac": "^6.7.14",
+ "debug": "^4.4.1",
+ "es-module-lexer": "^1.7.0",
+ "pathe": "^2.0.3",
+ "vite": "^5.0.0 || ^6.0.0 || ^7.0.0-0"
+ },
+ "bin": {
+ "vite-node": "vite-node.mjs"
+ },
+ "engines": {
+ "node": "^18.0.0 || ^20.0.0 || >=22.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/vitest": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/vitest/-/vitest-3.2.7.tgz",
+ "integrity": "sha512-KrxIJ62Fd89gfysR4WotlgZABiz2dqFPgqGzX7s+CwsqLFomRH7777ZcrOD6+WVAh7khPQP41A+BKbpcJFrdEg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/chai": "^5.2.2",
+ "@vitest/expect": "3.2.7",
+ "@vitest/mocker": "3.2.7",
+ "@vitest/pretty-format": "^3.2.7",
+ "@vitest/runner": "3.2.7",
+ "@vitest/snapshot": "3.2.7",
+ "@vitest/spy": "3.2.7",
+ "@vitest/utils": "3.2.7",
+ "chai": "^5.2.0",
+ "debug": "^4.4.1",
+ "expect-type": "^1.2.1",
+ "magic-string": "^0.30.17",
+ "pathe": "^2.0.3",
+ "picomatch": "^4.0.2",
+ "std-env": "^3.9.0",
+ "tinybench": "^2.9.0",
+ "tinyexec": "^0.3.2",
+ "tinyglobby": "^0.2.14",
+ "tinypool": "^1.1.1",
+ "tinyrainbow": "^2.0.0",
+ "vite": "^5.0.0 || ^6.0.0 || ^7.0.0-0",
+ "vite-node": "3.2.4",
+ "why-is-node-running": "^2.3.0"
+ },
+ "bin": {
+ "vitest": "vitest.mjs"
+ },
+ "engines": {
+ "node": "^18.0.0 || ^20.0.0 || >=22.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ },
+ "peerDependencies": {
+ "@edge-runtime/vm": "*",
+ "@types/debug": "^4.1.12",
+ "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0",
+ "@vitest/browser": "3.2.7",
+ "@vitest/ui": "3.2.7",
+ "happy-dom": "*",
+ "jsdom": "*"
+ },
+ "peerDependenciesMeta": {
+ "@edge-runtime/vm": {
+ "optional": true
+ },
+ "@types/debug": {
+ "optional": true
+ },
+ "@types/node": {
+ "optional": true
+ },
+ "@vitest/browser": {
+ "optional": true
+ },
+ "@vitest/ui": {
+ "optional": true
+ },
+ "happy-dom": {
+ "optional": true
+ },
+ "jsdom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/which": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
+ "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
+ "license": "ISC",
+ "dependencies": {
+ "isexe": "^2.0.0"
+ },
+ "bin": {
+ "node-which": "bin/node-which"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/why-is-node-running": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/why-is-node-running/-/why-is-node-running-2.3.0.tgz",
+ "integrity": "sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "siginfo": "^2.0.0",
+ "stackback": "0.0.2"
+ },
+ "bin": {
+ "why-is-node-running": "cli.js"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/wrappy": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
+ "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==",
+ "license": "ISC"
+ },
+ "node_modules/ws": {
+ "version": "8.21.0",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-8.21.0.tgz",
+ "integrity": "sha512-Vsp28b7DRcimFQvrqu2Wek3z1iYxDCWqHYB8Qsnk/S4RfaCQzPGPyBNuVjJV3cd6UiKtUtp6sNM77gWvzcCH+g==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=10.0.0"
+ },
+ "peerDependencies": {
+ "bufferutil": "^4.0.1",
+ "utf-8-validate": ">=5.0.2"
+ },
+ "peerDependenciesMeta": {
+ "bufferutil": {
+ "optional": true
+ },
+ "utf-8-validate": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/zod": {
+ "version": "3.25.76",
+ "resolved": "https://registry.npmjs.org/zod/-/zod-3.25.76.tgz",
+ "integrity": "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==",
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/colinhacks"
+ }
+ },
+ "node_modules/zod-to-json-schema": {
+ "version": "3.25.2",
+ "resolved": "https://registry.npmjs.org/zod-to-json-schema/-/zod-to-json-schema-3.25.2.tgz",
+ "integrity": "sha512-O/PgfnpT1xKSDeQYSCfRI5Gy3hPf91mKVDuYLUHZJMiDFptvP41MSnWofm8dnCm0256ZNfZIM7DSzuSMAFnjHA==",
+ "license": "ISC",
+ "peerDependencies": {
+ "zod": "^3.25.28 || ^4"
+ }
+ }
+ }
+}
diff --git a/robinhood/hood-mcp/package.json b/robinhood/hood-mcp/package.json
index 31d21d016..929991d62 100644
--- a/robinhood/hood-mcp/package.json
+++ b/robinhood/hood-mcp/package.json
@@ -66,9 +66,9 @@
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.29.0",
- "hoodchain": "^0.1.0",
- "viem": "^2.55.0",
- "ws": "^8.18.0",
+ "hoodchain": "file:../robinhood-chain-sdk",
+ "viem": "^2.55.1",
+ "ws": "^8.21.0",
"zod": "^3.25.76"
},
"devDependencies": {
diff --git a/robinhood/hood-mcp/src/data-server.ts b/robinhood/hood-mcp/src/data-server.ts
new file mode 100644
index 000000000..c6d348be7
--- /dev/null
+++ b/robinhood/hood-mcp/src/data-server.ts
@@ -0,0 +1,133 @@
+/**
+ * hood-mcp — the read-only data server for Robinhood Chain.
+ *
+ * Zero config: runs against the public RPC with no key. Default transport is
+ * stdio (for Claude Desktop / Claude Code / Cursor / any stdio MCP client).
+ * Pass `--http` (or set `HOOD_MCP_TRANSPORT=http`) to serve Streamable HTTP on
+ * `HOOD_MCP_PORT` (default 8730).
+ *
+ * @packageDocumentation
+ */
+
+import http from 'node:http'
+import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'
+import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js'
+import { StreamableHTTPServerTransport } from '@modelcontextprotocol/sdk/server/streamableHttp.js'
+import type { HoodClient } from 'hoodchain'
+import { readOnlyClient, resolveNetwork } from './shared/client.js'
+import { registerDataTools } from './register-data.js'
+import { SERVER_NAME, SERVER_VERSION } from './version.js'
+import { loadPaywallMiddleware, readPaywallConfig } from './x402-seam.js'
+
+const INSTRUCTIONS = `Read-only market data for Robinhood Chain (chain ID 4663), the permissionless
+Arbitrum Orbit L2 with tokenized-equity "Stock Tokens", the USDG stablecoin, and the NOXA / The
+Odyssey memecoin launchpads. Use get_stock_quote for a ticker's oracle+DEX price and premium,
+get_portfolio for a wallet's holdings, list_trending_coins / get_coin for memecoins,
+get_recent_launches / watch_launches for launchpad activity, and get_chain_stats for the chain.
+All data is public and read-only. To place trades, use the separate hood-mcp-trading server.`
+
+function buildServer(client: HoodClient): McpServer {
+ const server = new McpServer(
+ { name: SERVER_NAME, version: SERVER_VERSION },
+ { instructions: INSTRUCTIONS },
+ )
+ registerDataTools(server, client)
+ return server
+}
+
+async function runStdio(client: HoodClient): Promise<void> {
+ const server = buildServer(client)
+ const transport = new StdioServerTransport()
+ await server.connect(transport)
+ // stderr is safe for logs on stdio (stdout is the protocol channel).
+ process.stderr.write(`[${SERVER_NAME}] data server ready on stdio (network=${client.network})\n`)
+}
+
+async function runHttp(client: HoodClient, port: number): Promise<void> {
+ const paywall = await loadPaywallMiddleware(readPaywallConfig())
+
+ const httpServer = http.createServer((req, res) => {
+ void handle(req, res)
+ })
+
+ async function handle(req: http.IncomingMessage, res: http.ServerResponse): Promise<void> {
+ // CORS for browser-based MCP clients; expose the session header.
+ res.setHeader('Access-Control-Allow-Origin', '*')
+ res.setHeader('Access-Control-Allow-Headers', 'Content-Type, Mcp-Session-Id, X-PAYMENT')
+ res.setHeader('Access-Control-Allow-Methods', 'GET, POST, OPTIONS')
+ res.setHeader('Access-Control-Expose-Headers', 'Mcp-Session-Id')
+ if (req.method === 'OPTIONS') {
+ res.writeHead(204).end()
+ return
+ }
+
+ const path = (req.url ?? '/').split('?')[0]
+ if (path === '/health') {
+ res.writeHead(200, { 'content-type': 'application/json' })
+ res.end(JSON.stringify({ ok: true, server: SERVER_NAME, version: SERVER_VERSION, network: client.network }))
+ return
+ }
+ if (path !== '/mcp') {
+ res.writeHead(404, { 'content-type': 'application/json' })
+ res.end(JSON.stringify({ error: 'not found', hint: 'POST JSON-RPC to /mcp' }))
+ return
+ }
+ if (req.method !== 'POST') {
+ // Stateless transport: no server-initiated SSE stream.
+ res.writeHead(405, { 'content-type': 'application/json' })
+ res.end(JSON.stringify({ error: 'method not allowed', hint: 'use POST for JSON-RPC' }))
+ return
+ }
+
+ // Optional x402 paywall (inert unless hood402 is installed and configured).
+ await new Promise<void>((resolve) => paywall(req, res, resolve))
+ if (res.writableEnded) return
+
+ const chunks: Buffer[] = []
+ for await (const chunk of req) chunks.push(chunk as Buffer)
+ let body: unknown
+ try {
+ body = chunks.length ? JSON.parse(Buffer.concat(chunks).toString('utf8')) : undefined
+ } catch {
+ res.writeHead(400, { 'content-type': 'application/json' })
+ res.end(JSON.stringify({ jsonrpc: '2.0', error: { code: -32700, message: 'Parse error' }, id: null }))
+ return
+ }
+
+ // Stateless: a fresh server + transport per request keeps sessions isolated.
+ const server = buildServer(client)
+ const transport = new StreamableHTTPServerTransport({ sessionIdGenerator: undefined })
+ res.on('close', () => {
+ void transport.close()
+ void server.close()
+ })
+ await server.connect(transport)
+ await transport.handleRequest(req, res, body)
+ }
+
+ await new Promise<void>((resolve) => httpServer.listen(port, resolve))
+ process.stderr.write(
+ `[${SERVER_NAME}] data server ready on http://localhost:${port}/mcp (network=${client.network})\n`,
+ )
+}
+
+async function main(): Promise<void> {
+ const client = readOnlyClient()
+ const useHttp = process.argv.includes('--http') || process.env.HOOD_MCP_TRANSPORT === 'http'
+ if (useHttp) {
+ const port = Number(process.env.HOOD_MCP_PORT ?? 8730)
+ await runHttp(client, port)
+ } else {
+ await runStdio(client)
+ }
+}
+
+// Only run when executed as a binary, not when imported.
+if (import.meta.url === `file://${process.argv[1]}`) {
+ main().catch((e) => {
+ process.stderr.write(`[${SERVER_NAME}] fatal: ${e instanceof Error ? e.stack : String(e)}\n`)
+ process.exit(1)
+ })
+}
+
+export { buildServer as buildDataServer, resolveNetwork }
diff --git a/robinhood/hood-mcp/src/register-data.ts b/robinhood/hood-mcp/src/register-data.ts
new file mode 100644
index 000000000..e7e666336
--- /dev/null
+++ b/robinhood/hood-mcp/src/register-data.ts
@@ -0,0 +1,608 @@
+/**
+ * Register every read-only data tool on an MCP server. Shared by the stdio and
+ * Streamable-HTTP transports so both expose an identical tool surface.
+ *
+ * Every tool: a precise zod input schema, a one-line description an LLM can
+ * route on, real upstream data, and a structured error on failure (never a
+ * bare throw across the transport).
+ */
+
+import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'
+import { z } from 'zod'
+import {
+ getMultiplier,
+ getPortfolio,
+ getQuote,
+ getRecentLaunches,
+ getStockToken,
+ getStockTokenByAddress,
+ listPricedStockTokens,
+ listStockTokens,
+ quoteSwap,
+ swapAddresses,
+ getUsdgBalance,
+ formatUsdg,
+ watchLaunches,
+ FeedNotFoundError,
+ StaleFeedError,
+ UnknownSymbolError,
+ NoRouteError,
+} from 'hoodchain'
+import type { HoodClient, Launch, LaunchpadName } from 'hoodchain'
+import { addressLink, errMessage, isAddress, round, toError, toResult, txLink } from './shared/format.js'
+import {
+ fetchBlockscoutStats,
+ fetchChainTvl,
+ fetchGtToken,
+ fetchTokenMeta,
+ fetchTokenPools,
+ fetchTrendingPools,
+ searchBlockscout,
+ UpstreamError,
+} from './shared/upstreams.js'
+import type { GtPool } from './shared/upstreams.js'
+
+const ONE_TOKEN = 10n ** 18n // 1 Stock Token, 18 decimals
+
+/** Strip GeckoTerminal's `robinhood_` network prefix from a token id. */
+function stripNetworkPrefix(id: string | undefined): string | null {
+ if (!id) return null
+ const i = id.indexOf('_')
+ return i >= 0 ? id.slice(i + 1) : id
+}
+
+function numOrNull(v: string | null | undefined): number | null {
+ if (v === null || v === undefined || v === '') return null
+ const n = Number(v)
+ return Number.isFinite(n) ? n : null
+}
+
+/**
+ * Register all data tools. `client` is a read-only hoodchain client and
+ * `network` its network name (used for explorer links + testnet Blockscout).
+ */
+export function registerDataTools(server: McpServer, client: HoodClient): void {
+ const network = client.network
+ const chainId = client.chain.id
+
+ // ---------------------------------------------------------- get_chain_stats
+ server.registerTool(
+ 'get_chain_stats',
+ {
+ title: 'Robinhood Chain stats',
+ description:
+ 'Live Robinhood Chain overview: latest block, gas price, TVL, and network totals ' +
+ '(blocks, addresses, transactions, block time). No inputs.',
+ inputSchema: {},
+ annotations: { readOnlyHint: true, openWorldHint: true },
+ },
+ async () => {
+ try {
+ const [blockR, gasR, tvlR, statsR] = await Promise.allSettled([
+ client.public.getBlockNumber(),
+ client.public.getGasPrice(),
+ fetchChainTvl(),
+ fetchBlockscoutStats(network),
+ ])
+ const stats = statsR.status === 'fulfilled' ? statsR.value : null
+ return toResult({
+ network,
+ chainId,
+ latestBlock: blockR.status === 'fulfilled' ? blockR.value.toString() : null,
+ gasPriceWei: gasR.status === 'fulfilled' ? gasR.value.toString() : null,
+ gasPriceGwei: gasR.status === 'fulfilled' ? round(Number(gasR.value) / 1e9, 4) : null,
+ tvlUsd: tvlR.status === 'fulfilled' ? tvlR.value : null,
+ blockscout: stats
+ ? {
+ averageBlockTimeMs: stats.average_block_time,
+ totalBlocks: stats.total_blocks,
+ totalAddresses: stats.total_addresses,
+ totalTransactions: stats.total_transactions,
+ transactionsToday: stats.transactions_today,
+ gasPrices: stats.gas_prices,
+ ethPriceUsd: numOrNull(stats.coin_price),
+ }
+ : null,
+ sources: ['robinhood-chain-rpc', 'defillama', 'blockscout'],
+ asOf: new Date().toISOString(),
+ })
+ } catch (e) {
+ return toError(`Failed to read chain stats: ${errMessage(e)}`)
+ }
+ },
+ )
+
+ // -------------------------------------------------------- list_stock_tokens
+ server.registerTool(
+ 'list_stock_tokens',
+ {
+ title: 'List Stock Tokens',
+ description:
+ 'The registry of tokenized-equity Stock Tokens on Robinhood Chain (ticker, name, ' +
+ 'contract, Chainlink feed). Set pricedOnly to return only tokens with a live feed.',
+ inputSchema: {
+ pricedOnly: z.boolean().optional().describe('Only tokens with a Chainlink price feed.'),
+ limit: z.number().int().positive().max(200).optional().describe('Max entries (default all).'),
+ offset: z.number().int().nonnegative().optional().describe('Skip this many (pagination).'),
+ },
+ annotations: { readOnlyHint: true, openWorldHint: false },
+ },
+ async ({ pricedOnly, limit, offset }) => {
+ const all = pricedOnly ? listPricedStockTokens() : listStockTokens()
+ const start = offset ?? 0
+ const slice = all.slice(start, limit ? start + limit : undefined)
+ return toResult({
+ network,
+ total: all.length,
+ returned: slice.length,
+ offset: start,
+ tokens: slice.map((t) => ({
+ symbol: t.symbol,
+ name: t.name,
+ address: t.address,
+ decimals: t.decimals,
+ hasFeed: t.feed !== null,
+ feed: t.feed,
+ explorer: addressLink(network, t.address),
+ })),
+ })
+ },
+ )
+
+ // ---------------------------------------------------------- get_stock_quote
+ server.registerTool(
+ 'get_stock_quote',
+ {
+ title: 'Get Stock Token quote',
+ description:
+ 'Price a Stock Token by ticker: the Chainlink oracle price, the on-chain Uniswap ' +
+ 'DEX mid price, the premium/discount between them, and the ERC-8056 multiplier ' +
+ '(so you also get the underlying share price).',
+ inputSchema: {
+ symbol: z.string().min(1).describe('Ticker, e.g. "AAPL" or "TSLA" (case-insensitive).'),
+ maxAgeSeconds: z
+ .number()
+ .int()
+ .positive()
+ .optional()
+ .describe('Reject the Chainlink answer if older than this (default 3 days; 24/5 feeds).'),
+ },
+ annotations: { readOnlyHint: true, openWorldHint: true },
+ },
+ async ({ symbol, maxAgeSeconds }) => {
+ let token
+ try {
+ token = getStockToken(symbol)
+ } catch (e) {
+ if (e instanceof UnknownSymbolError) {
+ return toError(
+ `"${symbol}" is not a Stock Token on Robinhood Chain.`,
+ 'Call list_stock_tokens to see valid tickers.',
+ )
+ }
+ return toError(errMessage(e))
+ }
+
+ // Chainlink price (independent of DEX so a stale feed still returns DEX data).
+ let chainlink: Record<string, unknown> | null = null
+ let chainlinkError: string | null = null
+ try {
+ const q = await getQuote(client, symbol, maxAgeSeconds ? { maxAgeSeconds } : {})
+ chainlink = {
+ priceUsd: round(q.priceUsd, 6),
+ feed: q.feed,
+ roundId: q.roundId.toString(),
+ updatedAt: q.updatedAt,
+ ageSeconds: q.ageSeconds,
+ }
+ } catch (e) {
+ if (e instanceof FeedNotFoundError) chainlinkError = `no Chainlink feed for ${token.symbol}`
+ else if (e instanceof StaleFeedError) chainlinkError = e.message
+ else chainlinkError = errMessage(e)
+ }
+
+ // ERC-8056 multiplier → underlying share price.
+ const multiplier = await getMultiplier(client, symbol)
+ const chainlinkPrice = chainlink ? (chainlink.priceUsd as number) : null
+ const underlyingSharePriceUsd =
+ chainlinkPrice !== null && multiplier && multiplier > 0n
+ ? round(chainlinkPrice / (Number(multiplier) / 1e18), 6)
+ : null
+
+ // On-chain DEX mid: quote 1 token -> USDG.
+ let dexPriceUsd: number | null = null
+ let dexError: string | null = null
+ try {
+ const { usdg } = swapAddresses(client)
+ const dq = await quoteSwap(client, { tokenIn: token.address, tokenOut: usdg, amountIn: ONE_TOKEN })
+ dexPriceUsd = round(Number(dq.amountOut) / 1e6, 6) // USDG is 6 decimals
+ } catch (e) {
+ dexError = e instanceof NoRouteError ? 'no Uniswap route to USDG (may trade on Arcus only)' : errMessage(e)
+ }
+
+ const premiumPct =
+ chainlinkPrice !== null && dexPriceUsd !== null && chainlinkPrice > 0
+ ? round(((dexPriceUsd - chainlinkPrice) / chainlinkPrice) * 100, 4)
+ : null
+
+ return toResult({
+ symbol: token.symbol,
+ name: token.name,
+ address: token.address,
+ network,
+ chainlink,
+ chainlinkError,
+ dexPriceUsd,
+ dexError,
+ premiumPct,
+ premiumNote:
+ premiumPct === null
+ ? 'premium requires both a Chainlink and a DEX price'
+ : 'positive = DEX trades above oracle',
+ uiMultiplier: multiplier ? multiplier.toString() : null,
+ underlyingSharePriceUsd,
+ explorer: addressLink(network, token.address),
+ sources: ['chainlink', 'uniswap-v3', 'robinhood-chain-rpc'],
+ asOf: new Date().toISOString(),
+ disclosure:
+ 'Stock Tokens are tokenized debt securities (Robinhood Assets (Jersey) Ltd) and may not be ' +
+ 'offered, sold, or delivered to US persons. This tool is read-only data.',
+ })
+ },
+ )
+
+ // ------------------------------------------------------------- get_portfolio
+ server.registerTool(
+ 'get_portfolio',
+ {
+ title: 'Get Stock Token portfolio',
+ description:
+ 'Multiplier-correct Stock Token portfolio for any address: per-position token balance, ' +
+ 'ERC-8056 share-equivalent, USD value, plus the USDG cash balance. Read-only.',
+ inputSchema: {
+ address: z.string().describe('Wallet address (0x…40 hex) to value.'),
+ },
+ annotations: { readOnlyHint: true, openWorldHint: true },
+ },
+ async ({ address }) => {
+ if (!isAddress(address)) return toError(`"${address}" is not a valid 0x address.`)
+ try {
+ const [portfolio, usdgRaw] = await Promise.all([
+ getPortfolio(client, address),
+ getUsdgBalance(client, address),
+ ])
+ return toResult({
+ owner: portfolio.owner,
+ network,
+ usdgBalance: formatUsdg(usdgRaw),
+ totalStockValueUsd: round(portfolio.totalUsd, 2),
+ positionCount: portfolio.positions.length,
+ positions: portfolio.positions.map((p) => ({
+ symbol: p.symbol,
+ address: p.address,
+ balanceTokens: round(p.balanceTokens, 8),
+ shareEquivalent: round(p.shareEquivalent, 8),
+ uiMultiplier: p.uiMultiplier.toString(),
+ priceUsd: p.quote ? round(p.quote.priceUsd, 6) : null,
+ valueUsd: p.valueUsd === null ? null : round(p.valueUsd, 2),
+ })),
+ unpricedSymbols: portfolio.unpricedSymbols,
+ explorer: addressLink(network, portfolio.owner),
+ note: 'valueUsd = balance × feed price (feeds are already multiplier-adjusted; not double-counted).',
+ asOf: new Date().toISOString(),
+ })
+ } catch (e) {
+ return toError(`Failed to read portfolio: ${errMessage(e)}`)
+ }
+ },
+ )
+
+ // ----------------------------------------------------------------- get_coin
+ server.registerTool(
+ 'get_coin',
+ {
+ title: 'Get token / memecoin detail',
+ description:
+ 'Detail for any Robinhood Chain token by contract address: price, 24h volume, ' +
+ 'liquidity, FDV, holder count, and whether it is a registered Stock Token.',
+ inputSchema: {
+ address: z.string().describe('Token contract address (0x…40 hex).'),
+ },
+ annotations: { readOnlyHint: true, openWorldHint: true },
+ },
+ async ({ address }) => {
+ if (!isAddress(address)) return toError(`"${address}" is not a valid 0x address.`)
+ try {
+ const [metaR, gtR, poolsR] = await Promise.allSettled([
+ fetchTokenMeta(network, address),
+ fetchGtToken(address),
+ fetchTokenPools(address),
+ ])
+ const meta = metaR.status === 'fulfilled' ? metaR.value : null
+ const gt = gtR.status === 'fulfilled' ? gtR.value : null
+ const pools = poolsR.status === 'fulfilled' ? poolsR.value : []
+ const topPool = pools[0] ?? null
+ const stockToken = getStockTokenByAddress(address as `0x${string}`)
+
+ if (!meta && !gt && !topPool) {
+ return toError(`No token found at ${address} on Robinhood Chain ${network}.`)
+ }
+
+ return toResult({
+ address,
+ network,
+ name: meta?.name ?? gt?.name ?? null,
+ symbol: meta?.symbol ?? gt?.symbol ?? null,
+ decimals: meta?.decimals ? Number(meta.decimals) : (gt?.decimals ?? null),
+ priceUsd: numOrNull(gt?.price_usd) ?? numOrNull(topPool?.attributes.base_token_price_usd),
+ fdvUsd: numOrNull(gt?.fdv_usd) ?? numOrNull(topPool?.attributes.fdv_usd),
+ marketCapUsd: numOrNull(meta?.circulating_market_cap) ?? numOrNull(topPool?.attributes.market_cap_usd),
+ volume24hUsd: numOrNull(gt?.volume_usd?.h24) ?? numOrNull(topPool?.attributes.volume_usd?.h24),
+ liquidityUsd: numOrNull(gt?.total_reserve_in_usd) ?? numOrNull(topPool?.attributes.reserve_in_usd),
+ holders: meta?.holders_count ? Number(meta.holders_count) : null,
+ totalSupply: meta?.total_supply ?? gt?.total_supply ?? null,
+ isStockToken: stockToken !== null,
+ stockToken: stockToken ? { symbol: stockToken.symbol, name: stockToken.name, feed: stockToken.feed } : null,
+ topPool: topPool
+ ? { name: topPool.attributes.name, address: topPool.attributes.address, dex: topPool.relationships?.dex?.data?.id ?? null }
+ : null,
+ poolCount: pools.length,
+ explorer: addressLink(network, address),
+ sources: ['blockscout', 'geckoterminal', 'hoodchain-registry'],
+ asOf: new Date().toISOString(),
+ })
+ } catch (e) {
+ return toError(`Failed to read token: ${errMessage(e)}`)
+ }
+ },
+ )
+
+ // ----------------------------------------------------- list_trending_coins
+ server.registerTool(
+ 'list_trending_coins',
+ {
+ title: 'List trending coins',
+ description:
+ 'The trending pools on Robinhood Chain right now (memecoins and stocks) with price, ' +
+ '24h volume, price change, and liquidity — the pulse of the chain.',
+ inputSchema: {
+ limit: z.number().int().positive().max(30).optional().describe('How many (default 10, max 30).'),
+ },
+ annotations: { readOnlyHint: true, openWorldHint: true },
+ },
+ async ({ limit }) => {
+ try {
+ const pools = await fetchTrendingPools(limit ?? 10)
+ return toResult({
+ network,
+ count: pools.length,
+ coins: pools.map((p: GtPool) => ({
+ poolName: p.attributes.name,
+ poolAddress: p.attributes.address,
+ baseTokenAddress: stripNetworkPrefix(p.relationships?.base_token?.data?.id),
+ quoteTokenAddress: stripNetworkPrefix(p.relationships?.quote_token?.data?.id),
+ priceUsd: numOrNull(p.attributes.base_token_price_usd),
+ priceChange24hPct: numOrNull(p.attributes.price_change_percentage?.h24),
+ volume24hUsd: numOrNull(p.attributes.volume_usd?.h24),
+ liquidityUsd: numOrNull(p.attributes.reserve_in_usd),
+ fdvUsd: numOrNull(p.attributes.fdv_usd),
+ buys24h: p.attributes.transactions?.h24?.buys ?? null,
+ sells24h: p.attributes.transactions?.h24?.sells ?? null,
+ createdAt: p.attributes.pool_created_at,
+ })),
+ source: 'geckoterminal',
+ asOf: new Date().toISOString(),
+ })
+ } catch (e) {
+ if (e instanceof UpstreamError && /HTTP 429/.test(e.message)) {
+ return toError('GeckoTerminal rate limit hit.', 'Retry in ~60s (public free tier is ~30 req/min).')
+ }
+ return toError(`Failed to read trending coins: ${errMessage(e)}`)
+ }
+ },
+ )
+
+ // --------------------------------------------------------- get_recent_launches
+ server.registerTool(
+ 'get_recent_launches',
+ {
+ title: 'Recent launchpad launches',
+ description:
+ 'Recently launched tokens on Robinhood Chain launchpads (NOXA and The Odyssey), ' +
+ 'newest first, scanned from on-chain logs.',
+ inputSchema: {
+ lookbackBlocks: z
+ .number()
+ .int()
+ .positive()
+ .max(500_000)
+ .optional()
+ .describe('Blocks to scan back (~30k ≈ 1h; default 30000).'),
+ launchpad: z.enum(['noxa', 'odyssey']).optional().describe('Restrict to one launchpad.'),
+ limit: z.number().int().positive().max(100).optional().describe('Max launches to return (default 25).'),
+ },
+ annotations: { readOnlyHint: true, openWorldHint: true },
+ },
+ async ({ lookbackBlocks, launchpad, limit }) => {
+ try {
+ const launches = await getRecentLaunches(client, {
+ lookbackBlocks: lookbackBlocks ? BigInt(lookbackBlocks) : undefined,
+ launchpad: launchpad as LaunchpadName | undefined,
+ })
+ const newestFirst = [...launches].reverse().slice(0, limit ?? 25)
+ return toResult({
+ network,
+ scannedBlocks: lookbackBlocks ?? 30_000,
+ count: newestFirst.length,
+ launches: newestFirst.map((l) => launchJson(l, network)),
+ asOf: new Date().toISOString(),
+ })
+ } catch (e) {
+ return toError(`Failed to scan launches: ${errMessage(e)}`)
+ }
+ },
+ )
+
+ // ------------------------------------------------------------ watch_launches
+ server.registerTool(
+ 'watch_launches',
+ {
+ title: 'Watch for live launches',
+ description:
+ 'Watch NOXA + The Odyssey live for new token launches, blocking up to waitSeconds ' +
+ '(or until limit launches are seen), then returns what appeared. Falls back to the ' +
+ 'most recent launch if none fire in the window.',
+ inputSchema: {
+ waitSeconds: z.number().int().positive().max(120).optional().describe('How long to watch (default 20, max 120).'),
+ launchpad: z.enum(['noxa', 'odyssey']).optional().describe('Restrict to one launchpad.'),
+ limit: z.number().int().positive().max(50).optional().describe('Stop early after this many (default 20).'),
+ includeRecentIfEmpty: z
+ .boolean()
+ .optional()
+ .describe('If nothing launches in the window, return the latest recent launch (default true).'),
+ },
+ annotations: { readOnlyHint: true, openWorldHint: true },
+ },
+ async ({ waitSeconds, launchpad, limit, includeRecentIfEmpty }) => {
+ const seconds = waitSeconds ?? 20
+ const max = limit ?? 20
+ const seen: Launch[] = []
+ try {
+ await new Promise<void>((resolve) => {
+ let settled = false
+ const finish = () => {
+ if (settled) return
+ settled = true
+ unwatch()
+ clearTimeout(timer)
+ resolve()
+ }
+ const unwatch = watchLaunches(
+ client,
+ (l) => {
+ seen.push(l)
+ if (seen.length >= max) finish()
+ },
+ { launchpad: launchpad as LaunchpadName | undefined, onError: () => {} },
+ )
+ const timer = setTimeout(finish, seconds * 1000)
+ })
+
+ let source: 'live' | 'recent-fallback' = 'live'
+ let launches = seen
+ if (seen.length === 0 && (includeRecentIfEmpty ?? true)) {
+ const recent = await getRecentLaunches(client, {
+ lookbackBlocks: 60_000n,
+ launchpad: launchpad as LaunchpadName | undefined,
+ })
+ launches = recent.slice(-1)
+ source = 'recent-fallback'
+ }
+ return toResult({
+ network,
+ watchedSeconds: seconds,
+ source,
+ count: launches.length,
+ launches: launches.map((l) => launchJson(l, network)),
+ note:
+ source === 'recent-fallback'
+ ? 'No launch fired during the window; showing the most recent launch instead.'
+ : 'Launches observed live during the watch window.',
+ asOf: new Date().toISOString(),
+ })
+ } catch (e) {
+ return toError(`Watch failed: ${errMessage(e)}`)
+ }
+ },
+ )
+
+ // ------------------------------------------------------------- search_token
+ server.registerTool(
+ 'search_token',
+ {
+ title: 'Search tokens',
+ description:
+ 'Find tokens on Robinhood Chain by ticker, name, or contract address — searches the ' +
+ 'Stock Token registry and the Blockscout index together.',
+ inputSchema: {
+ query: z.string().min(1).describe('Ticker, name fragment, or 0x address.'),
+ limit: z.number().int().positive().max(50).optional().describe('Max results (default 20).'),
+ },
+ annotations: { readOnlyHint: true, openWorldHint: true },
+ },
+ async ({ query, limit }) => {
+ const cap = limit ?? 20
+ const byAddress = new Map<string, Record<string, unknown>>()
+ const add = (row: Record<string, unknown>) => {
+ const key = String(row.address).toLowerCase()
+ if (!byAddress.has(key)) byAddress.set(key, row)
+ }
+
+ // 1. Registry matches (ticker/name/address).
+ const q = query.toLowerCase()
+ for (const t of listStockTokens()) {
+ if (
+ t.symbol.toLowerCase().includes(q) ||
+ t.name.toLowerCase().includes(q) ||
+ t.address.toLowerCase() === q
+ ) {
+ add({
+ address: t.address,
+ symbol: t.symbol,
+ name: t.name,
+ type: 'stock-token',
+ isStockToken: true,
+ verified: true,
+ explorer: addressLink(network, t.address),
+ })
+ }
+ }
+
+ // 2. Blockscout index (tokens/contracts).
+ try {
+ const items = await searchBlockscout(network, query)
+ for (const it of items) {
+ const addr = it.address_hash ?? it.address
+ if (!addr) continue
+ add({
+ address: addr,
+ symbol: it.symbol ?? null,
+ name: it.name ?? null,
+ type: it.token_type ? 'token' : (it.type ?? 'address'),
+ isStockToken: getStockTokenByAddress(addr as `0x${string}`) !== null,
+ verified: Boolean(it.is_smart_contract_verified),
+ marketCapUsd: numOrNull(it.circulating_market_cap),
+ explorer: addressLink(network, addr),
+ })
+ }
+ } catch (e) {
+ // Registry results still return even if Blockscout is unavailable.
+ if (byAddress.size === 0) return toError(`Search failed: ${errMessage(e)}`)
+ }
+
+ const results = [...byAddress.values()].slice(0, cap)
+ return toResult({
+ network,
+ query,
+ count: results.length,
+ results,
+ sources: ['hoodchain-registry', 'blockscout'],
+ asOf: new Date().toISOString(),
+ })
+ },
+ )
+}
+
+/** Serialize a launch with explorer links. */
+function launchJson(l: Launch, network: HoodClient['network']) {
+ return {
+ launchpad: l.launchpad,
+ token: l.token,
+ creator: l.creator,
+ pool: l.pool,
+ blockNumber: l.blockNumber.toString(),
+ transactionHash: l.transactionHash,
+ tokenExplorer: addressLink(network, l.token),
+ txExplorer: txLink(network, l.transactionHash),
+ }
+}
diff --git a/robinhood/hood-mcp/src/shared/client.ts b/robinhood/hood-mcp/src/shared/client.ts
new file mode 100644
index 000000000..b7fc79ad7
--- /dev/null
+++ b/robinhood/hood-mcp/src/shared/client.ts
@@ -0,0 +1,57 @@
+/**
+ * Build a hoodchain client from environment configuration, shared by both
+ * servers. The data server calls {@link readOnlyClient}; the trading server
+ * calls {@link walletClientFromEnv}.
+ */
+
+import { createHoodClient } from 'hoodchain'
+import type { HoodClient, HoodNetwork } from 'hoodchain'
+import { privateKeyToAccount } from 'viem/accounts'
+
+/** Resolve the target network from `HOOD_MCP_NETWORK` (default mainnet). */
+export function resolveNetwork(env: NodeJS.ProcessEnv = process.env): HoodNetwork {
+ const raw = (env.HOOD_MCP_NETWORK ?? 'mainnet').toLowerCase()
+ if (raw === 'testnet') return 'testnet'
+ if (raw === 'mainnet') return 'mainnet'
+ throw new Error(`HOOD_MCP_NETWORK must be "mainnet" or "testnet" (got "${raw}")`)
+}
+
+/**
+ * Build the RPC URL: an Alchemy endpoint when `ALCHEMY_KEY` is set (faster,
+ * private, higher limits), otherwise the SDK's public-RPC default.
+ */
+function rpcUrl(network: HoodNetwork, env: NodeJS.ProcessEnv): string | undefined {
+ const key = env.ALCHEMY_KEY
+ if (!key) return undefined
+ return network === 'testnet'
+ ? `https://robinhood-testnet.g.alchemy.com/v2/${key}`
+ : `https://robinhood-mainnet.g.alchemy.com/v2/${key}`
+}
+
+/** A read-only client — no wallet, no key required. */
+export function readOnlyClient(env: NodeJS.ProcessEnv = process.env): HoodClient {
+ const network = resolveNetwork(env)
+ return createHoodClient({ chain: network, rpcUrl: rpcUrl(network, env) })
+}
+
+/**
+ * A wallet-backed client from `ROBINHOOD_CHAIN_PRIVATE_KEY`. Throws with a
+ * precise message if the key is missing or malformed.
+ */
+export function walletClientFromEnv(env: NodeJS.ProcessEnv = process.env): HoodClient {
+ const network = resolveNetwork(env)
+ const key = env.ROBINHOOD_CHAIN_PRIVATE_KEY
+ if (!key) {
+ throw new Error('ROBINHOOD_CHAIN_PRIVATE_KEY is not set — the trading server needs a wallet key.')
+ }
+ if (!/^0x[0-9a-fA-F]{64}$/.test(key)) {
+ throw new Error('ROBINHOOD_CHAIN_PRIVATE_KEY must be a 0x-prefixed 32-byte hex string (66 chars).')
+ }
+ const account = privateKeyToAccount(key as `0x${string}`)
+ return createHoodClient({
+ chain: network,
+ rpcUrl: rpcUrl(network, env),
+ account,
+ acknowledgeStockTokenEligibility: env.HOOD_MCP_ACKNOWLEDGE_ELIGIBILITY === '1',
+ })
+}
diff --git a/robinhood/hood-mcp/src/shared/format.ts b/robinhood/hood-mcp/src/shared/format.ts
new file mode 100644
index 000000000..0911f395d
--- /dev/null
+++ b/robinhood/hood-mcp/src/shared/format.ts
@@ -0,0 +1,87 @@
+/**
+ * Serialization + display helpers shared by both servers.
+ *
+ * viem returns `bigint` everywhere; MCP tool results are JSON, and
+ * `JSON.stringify` throws on bigints. Everything a tool returns to the model
+ * goes through {@link toResult}, which stringifies bigints losslessly.
+ */
+
+import type { Address } from 'viem'
+import { MAINNET_EXPLORER_URL } from 'hoodchain'
+import type { HoodNetwork } from 'hoodchain'
+
+const TESTNET_EXPLORER_URL = 'https://explorer.testnet.chain.robinhood.com'
+
+/** Explorer base URL for a network. */
+export function explorerUrl(network: HoodNetwork): string {
+ return network === 'testnet' ? TESTNET_EXPLORER_URL : MAINNET_EXPLORER_URL
+}
+
+/** Explorer address link. */
+export function addressLink(network: HoodNetwork, address: string): string {
+ return `${explorerUrl(network)}/address/${address}`
+}
+
+/** Explorer transaction link. */
+export function txLink(network: HoodNetwork, hash: string): string {
+ return `${explorerUrl(network)}/tx/${hash}`
+}
+
+/** JSON replacer that renders bigints as decimal strings. */
+function bigintReplacer(_key: string, value: unknown): unknown {
+ return typeof value === 'bigint' ? value.toString() : value
+}
+
+/** Pretty JSON string with bigint support. */
+export function toJson(value: unknown): string {
+ return JSON.stringify(value, bigintReplacer, 2)
+}
+
+/**
+ * Build the MCP tool result payload from a plain JS object. Returns both a
+ * human/LLM-readable text block and machine-readable `structuredContent`, both
+ * bigint-safe.
+ */
+export function toResult(value: Record<string, unknown>): {
+ content: { type: 'text'; text: string }[]
+ structuredContent: Record<string, unknown>
+} {
+ // Round-trip through the replacer so structuredContent is also bigint-free
+ // (the MCP transport JSON-encodes it and would otherwise throw).
+ const structured = JSON.parse(JSON.stringify(value, bigintReplacer)) as Record<string, unknown>
+ return {
+ content: [{ type: 'text', text: toJson(value) }],
+ structuredContent: structured,
+ }
+}
+
+/** Build a standard error tool result (isError) with an actionable hint. */
+export function toError(message: string, hint?: string): {
+ content: { type: 'text'; text: string }[]
+ isError: true
+} {
+ const text = hint ? `${message}\n\nHint: ${hint}` : message
+ return { content: [{ type: 'text', text }], isError: true }
+}
+
+/** Round a float to `dp` decimal places, returning a Number (not a string). */
+export function round(value: number, dp = 6): number {
+ const f = 10 ** dp
+ return Math.round(value * f) / f
+}
+
+/** Lowercase-compare two addresses. */
+export function sameAddress(a: string, b: string): boolean {
+ return a.toLowerCase() === b.toLowerCase()
+}
+
+/** Narrow an unknown thrown value to a message string. */
+export function errMessage(e: unknown): string {
+ if (e instanceof Error) return e.message
+ return typeof e === 'string' ? e : JSON.stringify(e)
+}
+
+/** Type guard for a 0x-prefixed EVM address. */
+export function isAddress(value: string): value is Address {
+ return /^0x[0-9a-fA-F]{40}$/.test(value)
+}
diff --git a/robinhood/hood-mcp/src/shared/trading-env.ts b/robinhood/hood-mcp/src/shared/trading-env.ts
new file mode 100644
index 000000000..2ed146784
--- /dev/null
+++ b/robinhood/hood-mcp/src/shared/trading-env.ts
@@ -0,0 +1,97 @@
+/**
+ * Trading-server configuration and the in-process spend ledger that enforces
+ * hard caps. Both the per-call and per-session limits are denominated in USD
+ * (USDG), and every mutating tool must call {@link assertWithinCaps} before it
+ * signs anything and {@link recordSpend} only after settlement succeeds.
+ */
+
+/** Parsed, validated trading configuration. */
+export interface TradingConfig {
+ /** Whether `HOOD_MCP_ENABLE_TRADING === '1'`. When false, no tool may sign. */
+ enabled: boolean
+ /** Max USD value moved in a single tool call. */
+ maxSpendPerCallUsd: number
+ /** Max cumulative USD value moved across the whole server session. */
+ maxSpendPerSessionUsd: number
+ /** Whether the operator affirmed Stock Token acquisition eligibility. */
+ acknowledgeEligibility: boolean
+}
+
+function parsePositiveNumber(name: string, raw: string | undefined, fallback: number): number {
+ if (raw === undefined || raw === '') return fallback
+ const n = Number(raw)
+ if (!Number.isFinite(n) || n <= 0) {
+ throw new Error(`${name} must be a positive number (got "${raw}")`)
+ }
+ return n
+}
+
+/** Read the trading config from the environment. */
+export function readTradingConfig(env: NodeJS.ProcessEnv = process.env): TradingConfig {
+ const perCall = parsePositiveNumber('HOOD_MCP_MAX_SPEND_USDG', env.HOOD_MCP_MAX_SPEND_USDG, 25)
+ const perSession = parsePositiveNumber(
+ 'HOOD_MCP_MAX_SESSION_USDG',
+ env.HOOD_MCP_MAX_SESSION_USDG,
+ Math.max(perCall, 100),
+ )
+ if (perSession < perCall) {
+ throw new Error(
+ `HOOD_MCP_MAX_SESSION_USDG (${perSession}) must be >= HOOD_MCP_MAX_SPEND_USDG (${perCall}).`,
+ )
+ }
+ return {
+ enabled: env.HOOD_MCP_ENABLE_TRADING === '1',
+ maxSpendPerCallUsd: perCall,
+ maxSpendPerSessionUsd: perSession,
+ acknowledgeEligibility: env.HOOD_MCP_ACKNOWLEDGE_ELIGIBILITY === '1',
+ }
+}
+
+/** Session spend accumulator. One instance lives for the life of the server. */
+export class SpendLedger {
+ private spentUsd = 0
+
+ constructor(private readonly config: TradingConfig) {}
+
+ /** Total USD moved so far this session. */
+ get spent(): number {
+ return this.spentUsd
+ }
+
+ /** USD remaining before the session cap is hit. */
+ get sessionRemaining(): number {
+ return Math.max(0, this.config.maxSpendPerSessionUsd - this.spentUsd)
+ }
+
+ /**
+ * Throw if `usdValue` would breach the per-call or per-session cap. Call this
+ * BEFORE signing. `usdValue` must be a finite non-negative number; an
+ * un-valuable spend (no price route) is a caller error and must be rejected
+ * upstream rather than passed here as 0.
+ */
+ assertWithinCaps(usdValue: number): void {
+ if (!Number.isFinite(usdValue) || usdValue < 0) {
+ throw new Error(`internal: refusing to check a non-finite spend value (${usdValue})`)
+ }
+ if (usdValue > this.config.maxSpendPerCallUsd) {
+ throw new Error(
+ `spend $${usdValue.toFixed(2)} exceeds the per-call cap of ` +
+ `$${this.config.maxSpendPerCallUsd} (HOOD_MCP_MAX_SPEND_USDG). ` +
+ `Lower the amount or raise the cap.`,
+ )
+ }
+ if (this.spentUsd + usdValue > this.config.maxSpendPerSessionUsd) {
+ throw new Error(
+ `spend $${usdValue.toFixed(2)} would bring this session to ` +
+ `$${(this.spentUsd + usdValue).toFixed(2)}, over the per-session cap of ` +
+ `$${this.config.maxSpendPerSessionUsd} (HOOD_MCP_MAX_SESSION_USDG). ` +
+ `$${this.sessionRemaining.toFixed(2)} remaining. Restart the server to reset.`,
+ )
+ }
+ }
+
+ /** Record a settled spend. Call only AFTER a successful on-chain settlement. */
+ recordSpend(usdValue: number): void {
+ this.spentUsd += usdValue
+ }
+}
diff --git a/robinhood/hood-mcp/src/shared/upstreams.ts b/robinhood/hood-mcp/src/shared/upstreams.ts
new file mode 100644
index 000000000..3558ed9f4
--- /dev/null
+++ b/robinhood/hood-mcp/src/shared/upstreams.ts
@@ -0,0 +1,221 @@
+/**
+ * Read-only upstream data providers for Robinhood Chain, each hit live with a
+ * timeout and a structured error. No API keys required; all are public.
+ *
+ * - DefiLlama — chain TVL (`/v2/chains`, filtered to "Robinhood Chain").
+ * - Blockscout — chain stats, token metadata (holders/volume), and search
+ * (`https://robinhoodchain.blockscout.com/api/v2/...`).
+ * - GeckoTerminal — DEX pool prices, trending pools, and token pools for the
+ * `robinhood` network (`https://api.geckoterminal.com/api/v2/...`).
+ *
+ * Verified live during the build: DefiLlama lists chainId 4663, Blockscout Pro
+ * v2 API answers `/stats` `/search` `/tokens/:addr`, and GeckoTerminal's
+ * network id for Robinhood Chain is `robinhood`.
+ */
+
+const DEFILLAMA = 'https://api.llama.fi'
+const GECKOTERMINAL = 'https://api.geckoterminal.com/api/v2'
+
+/** Blockscout base for a network. Testnet Blockscout has the same v2 API shape. */
+export function blockscoutBase(network: 'mainnet' | 'testnet'): string {
+ return network === 'testnet'
+ ? 'https://explorer.testnet.chain.robinhood.com'
+ : 'https://robinhoodchain.blockscout.com'
+}
+
+/** GeckoTerminal network slug for Robinhood Chain mainnet (verified live). */
+export const GECKOTERMINAL_NETWORK = 'robinhood'
+
+export class UpstreamError extends Error {
+ constructor(
+ readonly provider: string,
+ message: string,
+ ) {
+ super(`${provider}: ${message}`)
+ this.name = 'UpstreamError'
+ }
+}
+
+async function getJson<T>(provider: string, url: string, timeoutMs = 12_000): Promise<T> {
+ const controller = new AbortController()
+ const timer = setTimeout(() => controller.abort(), timeoutMs)
+ try {
+ const res = await fetch(url, {
+ signal: controller.signal,
+ headers: { accept: 'application/json', 'user-agent': 'hood-mcp/0.1 (+https://three.ws)' },
+ })
+ if (!res.ok) throw new UpstreamError(provider, `HTTP ${res.status} for ${url}`)
+ return (await res.json()) as T
+ } catch (e) {
+ if (e instanceof UpstreamError) throw e
+ const reason = e instanceof Error && e.name === 'AbortError' ? `timed out after ${timeoutMs}ms` : String(e)
+ throw new UpstreamError(provider, `${reason} for ${url}`)
+ } finally {
+ clearTimeout(timer)
+ }
+}
+
+// ---------------------------------------------------------------- DefiLlama
+
+interface LlamaChain {
+ name: string
+ chainId: number | null
+ tvl: number
+}
+
+/** Current TVL for Robinhood Chain from DefiLlama, or `null` if unavailable. */
+export async function fetchChainTvl(): Promise<number | null> {
+ const chains = await getJson<LlamaChain[]>('defillama', `${DEFILLAMA}/v2/chains`)
+ const hit = chains.find((c) => c.chainId === 4663 || /robinhood/i.test(c.name))
+ return hit ? hit.tvl : null
+}
+
+// ---------------------------------------------------------------- Blockscout
+
+export interface BlockscoutStats {
+ average_block_time: number
+ total_blocks: string
+ total_addresses: string
+ total_transactions: string
+ transactions_today: string
+ gas_prices: { slow: number; average: number; fast: number } | null
+ coin_price: string | null
+}
+
+/** Chain-wide stats from Blockscout. */
+export function fetchBlockscoutStats(network: 'mainnet' | 'testnet'): Promise<BlockscoutStats> {
+ return getJson<BlockscoutStats>('blockscout', `${blockscoutBase(network)}/api/v2/stats`)
+}
+
+export interface BlockscoutToken {
+ address_hash?: string
+ address?: string
+ name: string | null
+ symbol: string | null
+ decimals: string | null
+ holders_count?: string | null
+ holders?: string | null
+ total_supply: string | null
+ volume_24h?: string | null
+ circulating_market_cap?: string | null
+ exchange_rate?: string | null
+ icon_url?: string | null
+ type?: string | null
+}
+
+/** Token metadata (holders, 24h volume, market cap) from Blockscout. */
+export function fetchTokenMeta(network: 'mainnet' | 'testnet', address: string): Promise<BlockscoutToken> {
+ return getJson<BlockscoutToken>('blockscout', `${blockscoutBase(network)}/api/v2/tokens/${address}`)
+}
+
+export interface BlockscoutSearchItem {
+ address_hash?: string
+ address?: string
+ name?: string | null
+ symbol?: string | null
+ type?: string
+ token_type?: string | null
+ is_smart_contract_verified?: boolean
+ certified?: boolean
+ circulating_market_cap?: string | null
+ exchange_rate?: string | null
+ icon_url?: string | null
+}
+
+/** Full-text search across tokens/addresses/tx on Blockscout. */
+export async function searchBlockscout(
+ network: 'mainnet' | 'testnet',
+ query: string,
+): Promise<BlockscoutSearchItem[]> {
+ const data = await getJson<{ items?: BlockscoutSearchItem[] }>(
+ 'blockscout',
+ `${blockscoutBase(network)}/api/v2/search?q=${encodeURIComponent(query)}`,
+ )
+ return data.items ?? []
+}
+
+// -------------------------------------------------------------- GeckoTerminal
+
+/** Attributes GeckoTerminal returns on a pool. */
+export interface GtPoolAttributes {
+ name: string
+ address: string
+ base_token_price_usd: string | null
+ quote_token_price_usd: string | null
+ base_token_price_native_currency: string | null
+ pool_created_at: string | null
+ fdv_usd: string | null
+ market_cap_usd: string | null
+ reserve_in_usd: string | null
+ volume_usd: { h1?: string; h6?: string; h24?: string } | null
+ price_change_percentage: { h1?: string; h6?: string; h24?: string } | null
+ transactions: Record<string, { buys?: number; sells?: number }> | null
+}
+
+export interface GtPool {
+ id: string
+ type: string
+ attributes: GtPoolAttributes
+ relationships?: {
+ base_token?: { data?: { id?: string } }
+ quote_token?: { data?: { id?: string } }
+ dex?: { data?: { id?: string } }
+ }
+}
+
+interface GtResponse<T> {
+ data: T
+ included?: unknown[]
+}
+
+/** Trending pools on Robinhood Chain (proxy for trending coins). */
+export async function fetchTrendingPools(limit = 10): Promise<GtPool[]> {
+ const data = await getJson<GtResponse<GtPool[]>>(
+ 'geckoterminal',
+ `${GECKOTERMINAL}/networks/${GECKOTERMINAL_NETWORK}/trending_pools?page=1`,
+ )
+ return (data.data ?? []).slice(0, limit)
+}
+
+/** All pools for a token on Robinhood Chain, most-liquid first. */
+export async function fetchTokenPools(tokenAddress: string): Promise<GtPool[]> {
+ const data = await getJson<GtResponse<GtPool[]>>(
+ 'geckoterminal',
+ `${GECKOTERMINAL}/networks/${GECKOTERMINAL_NETWORK}/tokens/${tokenAddress}/pools?page=1`,
+ )
+ const pools = data.data ?? []
+ return pools.sort((a, b) => {
+ const ra = Number(a.attributes.reserve_in_usd ?? 0)
+ const rb = Number(b.attributes.reserve_in_usd ?? 0)
+ return rb - ra
+ })
+}
+
+export interface GtTokenAttributes {
+ address: string
+ name: string | null
+ symbol: string | null
+ decimals: number | null
+ total_supply: string | null
+ price_usd: string | null
+ fdv_usd: string | null
+ total_reserve_in_usd: string | null
+ volume_usd: { h24?: string } | null
+ market_cap_usd: string | null
+ image_url?: string | null
+}
+
+/** Token-level info from GeckoTerminal, or `null` if the token is unknown there. */
+export async function fetchGtToken(tokenAddress: string): Promise<GtTokenAttributes | null> {
+ try {
+ const data = await getJson<GtResponse<{ attributes: GtTokenAttributes }>>(
+ 'geckoterminal',
+ `${GECKOTERMINAL}/networks/${GECKOTERMINAL_NETWORK}/tokens/${tokenAddress}`,
+ )
+ return data.data?.attributes ?? null
+ } catch (e) {
+ // A 404 from GeckoTerminal means "not indexed", not a hard failure.
+ if (e instanceof UpstreamError && /HTTP 404/.test(e.message)) return null
+ throw e
+ }
+}
diff --git a/robinhood/hood-mcp/src/version.ts b/robinhood/hood-mcp/src/version.ts
new file mode 100644
index 000000000..654b8b43c
--- /dev/null
+++ b/robinhood/hood-mcp/src/version.ts
@@ -0,0 +1,3 @@
+/** Package name + version, surfaced in MCP server metadata. */
+export const SERVER_NAME = 'hood-mcp'
+export const SERVER_VERSION = '0.1.0'
diff --git a/robinhood/hood-mcp/src/x402-seam.ts b/robinhood/hood-mcp/src/x402-seam.ts
new file mode 100644
index 000000000..e631f10e4
--- /dev/null
+++ b/robinhood/hood-mcp/src/x402-seam.ts
@@ -0,0 +1,69 @@
+/**
+ * Optional x402 monetization seam for the HTTP transport.
+ *
+ * Design contract: the free data tools are ALWAYS free. This seam exists only
+ * to paywall a future set of expensive tools (deep history, firehose) once the
+ * sibling `hood402` package (prompt 05, USDG-on-Robinhood-Chain x402 rail)
+ * lands. Until then it is inert and documented.
+ *
+ * When `hood402` is installed AND `HOOD_MCP_PAYWALL_PRICE` + `HOOD_MCP_PAY_TO`
+ * are set, {@link applyPaywall} attaches its Express middleware to the MCP HTTP
+ * route so that any tool named in {@link PAID_TOOLS} requires an x402 payment.
+ * If `hood402` cannot be resolved, it logs once to stderr and stays open — the
+ * server never fails closed on a missing optional dependency.
+ */
+
+import type { IncomingMessage, ServerResponse } from 'node:http'
+
+/**
+ * Tools gated behind x402 when the paywall is active. Empty today: this server
+ * ships only free tools. Add a tool name here the day a metered tool exists.
+ */
+export const PAID_TOOLS: readonly string[] = []
+
+export interface PaywallConfig {
+ price?: string
+ payTo?: string
+}
+
+export function readPaywallConfig(env: NodeJS.ProcessEnv = process.env): PaywallConfig {
+ return { price: env.HOOD_MCP_PAYWALL_PRICE, payTo: env.HOOD_MCP_PAY_TO }
+}
+
+let warned = false
+
+/**
+ * Attempt to attach the hood402 paywall middleware. Returns an Express-style
+ * `(req, res, next)` middleware. When the paywall is not configured or hood402
+ * is not installed, returns a pass-through so the caller can always `use()` it.
+ */
+export async function loadPaywallMiddleware(
+ config: PaywallConfig,
+): Promise<(req: IncomingMessage, res: ServerResponse, next: () => void) => void> {
+ const passthrough = (_req: IncomingMessage, _res: ServerResponse, next: () => void) => next()
+
+ if (!config.price || !config.payTo || PAID_TOOLS.length === 0) return passthrough
+
+ try {
+ // Resolved dynamically so hood402 stays an OPTIONAL dependency — its
+ // absence must never break the free server.
+ const mod = (await import(/* @vite-ignore */ 'hood402/server')) as {
+ paywall?: (opts: { price: string; payTo: string; network: string }) => (
+ req: IncomingMessage,
+ res: ServerResponse,
+ next: () => void,
+ ) => void
+ }
+ if (typeof mod.paywall !== 'function') return passthrough
+ return mod.paywall({ price: config.price, payTo: config.payTo, network: 'robinhood' })
+ } catch {
+ if (!warned) {
+ warned = true
+ process.stderr.write(
+ '[hood-mcp] HOOD_MCP_PAYWALL_* is set but the optional `hood402` package is not installed; ' +
+ 'serving all tools free. Install hood402 to enable metered paid tools.\n',
+ )
+ }
+ return passthrough
+ }
+}
diff --git a/robinhood/hood-traders/.env.example b/robinhood/hood-traders/.env.example
new file mode 100644
index 000000000..38a0d4e37
--- /dev/null
+++ b/robinhood/hood-traders/.env.example
@@ -0,0 +1,40 @@
+# ─────────────────────────────────────────────────────────────────────────────
+# hood-traders configuration. Copy to `.env` and edit. NOTHING here is required
+# to run in paper mode — `docker compose up` and `npm run fleet` both work with
+# zero config against live mainnet data.
+# ─────────────────────────────────────────────────────────────────────────────
+
+# ── Network ──────────────────────────────────────────────────────────────────
+# Which Robinhood Chain to observe/trade on. mainnet = 4663, testnet = 46630.
+HOOD_NETWORK=mainnet
+# Optional paid RPC (Alchemy recommended for live trading). Falls back to the
+# public RPC baked into viem's chain def when unset.
+# HOOD_RPC_URL=https://robinhood-mainnet.g.alchemy.com/v2/YOUR_KEY
+
+# ── Live trading (OFF by default) ────────────────────────────────────────────
+# Paper mode is the default and needs none of the below. To trade REAL funds you
+# must set HOOD_TRADERS_LIVE=1 AND provide a funded key. Every safeguard below
+# still applies in live mode — they are not optional.
+HOOD_TRADERS_LIVE=0
+# Wallet private key for live/testnet execution. Env var ONLY — never in code.
+# ROBINHOOD_CHAIN_PRIVATE_KEY=0x...
+
+# Affirm you are NOT a US/CA/UK/CH person before any Stock Token ACQUISITION.
+# Stock Tokens are tokenized debt securities and may not be sold to US persons.
+# Leaving this false blocks the premium-watch strategy from buying Stock Tokens
+# (it stays alerts-only). Selling and displaying data are never gated.
+HOOD_STOCK_TOKEN_ELIGIBLE=false
+
+# ── Global risk rails (apply to the whole fleet) ─────────────────────────────
+# Hard ceiling on notional the entire fleet may spend per UTC day, in USDG.
+FLEET_MAX_DAILY_SPEND_USDG=250
+# Dashboard + kill-switch HTTP server port.
+DASHBOARD_PORT=4670
+# Path to a file whose existence trips the global kill switch.
+KILL_FILE=./KILL
+
+# ── Per-agent risk rails (defaults; overridable per agent in fleet config) ───
+AGENT_MAX_POSITION_USDG=50
+AGENT_MAX_DAILY_SPEND_USDG=100
+AGENT_MAX_SLIPPAGE_BPS=100
+AGENT_COOLDOWN_SECONDS=60
diff --git a/robinhood/hood-traders/.gitignore b/robinhood/hood-traders/.gitignore
new file mode 100644
index 000000000..a61db4e32
--- /dev/null
+++ b/robinhood/hood-traders/.gitignore
@@ -0,0 +1,18 @@
+node_modules/
+dist/
+*.log
+
+# Secrets — never commit
+.env
+.env.*
+!.env.example
+
+# Runtime state
+*.db
+*.db-shm
+*.db-wal
+data/
+KILL
+
+# OS
+.DS_Store
diff --git a/robinhood/hood-traders/LICENSE b/robinhood/hood-traders/LICENSE
new file mode 100644
index 000000000..4216cf919
--- /dev/null
+++ b/robinhood/hood-traders/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2026 nirholas
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/robinhood/hood-traders/package-lock.json b/robinhood/hood-traders/package-lock.json
new file mode 100644
index 000000000..e9eab3f5b
--- /dev/null
+++ b/robinhood/hood-traders/package-lock.json
@@ -0,0 +1,3262 @@
+{
+ "name": "hood-traders",
+ "version": "0.1.0",
+ "lockfileVersion": 3,
+ "requires": true,
+ "packages": {
+ "": {
+ "name": "hood-traders",
+ "version": "0.1.0",
+ "license": "MIT",
+ "dependencies": {
+ "better-sqlite3": "^11.8.0",
+ "hoodchain": "file:../robinhood-chain-sdk",
+ "viem": "^2.55.0",
+ "ws": "^8.18.0"
+ },
+ "bin": {
+ "hood-traders": "dist/main.js"
+ },
+ "devDependencies": {
+ "@types/better-sqlite3": "^7.6.0",
+ "@types/node": "^24.0.0",
+ "@types/ws": "^8.18.0",
+ "tsup": "^8.5.0",
+ "tsx": "^4.19.0",
+ "typescript": "^5.9.0",
+ "vitest": "^3.2.0"
+ },
+ "engines": {
+ "node": ">=20"
+ }
+ },
+ "../robinhood-chain-sdk": {
+ "name": "hoodchain",
+ "version": "0.1.0",
+ "license": "MIT",
+ "devDependencies": {
+ "@types/node": "^24.0.0",
+ "@types/ws": "^8.18.0",
+ "tsup": "^8.5.0",
+ "typedoc": "^0.28.0",
+ "typescript": "^5.9.0",
+ "viem": "^2.55.0",
+ "vitest": "^3.2.0",
+ "ws": "^8.18.0"
+ },
+ "engines": {
+ "node": ">=20"
+ },
+ "peerDependencies": {
+ "viem": "^2.55.0",
+ "ws": "^8.18.0"
+ },
+ "peerDependenciesMeta": {
+ "ws": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@adraffy/ens-normalize": {
+ "version": "1.11.1",
+ "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.11.1.tgz",
+ "integrity": "sha512-nhCBV3quEgesuf7c7KYfperqSS14T8bYuvJ8PcLJp6znkZpFc0AuW4qBtr8eKVyPPe/8RSr7sglCWPU5eaxwKQ==",
+ "license": "MIT"
+ },
+ "node_modules/@esbuild/aix-ppc64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.27.7.tgz",
+ "integrity": "sha512-EKX3Qwmhz1eMdEJokhALr0YiD0lhQNwDqkPYyPhiSwKrh7/4KRjQc04sZ8db+5DVVnZ1LmbNDI1uAMPEUBnQPg==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "aix"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/android-arm": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.27.7.tgz",
+ "integrity": "sha512-jbPXvB4Yj2yBV7HUfE2KHe4GJX51QplCN1pGbYjvsyCZbQmies29EoJbkEc+vYuU5o45AfQn37vZlyXy4YJ8RQ==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/android-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.27.7.tgz",
+ "integrity": "sha512-62dPZHpIXzvChfvfLJow3q5dDtiNMkwiRzPylSCfriLvZeq0a1bWChrGx/BbUbPwOrsWKMn8idSllklzBy+dgQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/android-x64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.27.7.tgz",
+ "integrity": "sha512-x5VpMODneVDb70PYV2VQOmIUUiBtY3D3mPBG8NxVk5CogneYhkR7MmM3yR/uMdITLrC1ml/NV1rj4bMJuy9MCg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/darwin-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.27.7.tgz",
+ "integrity": "sha512-5lckdqeuBPlKUwvoCXIgI2D9/ABmPq3Rdp7IfL70393YgaASt7tbju3Ac+ePVi3KDH6N2RqePfHnXkaDtY9fkw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/darwin-x64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.27.7.tgz",
+ "integrity": "sha512-rYnXrKcXuT7Z+WL5K980jVFdvVKhCHhUwid+dDYQpH+qu+TefcomiMAJpIiC2EM3Rjtq0sO3StMV/+3w3MyyqQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/freebsd-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.27.7.tgz",
+ "integrity": "sha512-B48PqeCsEgOtzME2GbNM2roU29AMTuOIN91dsMO30t+Ydis3z/3Ngoj5hhnsOSSwNzS+6JppqWsuhTp6E82l2w==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/freebsd-x64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.27.7.tgz",
+ "integrity": "sha512-jOBDK5XEjA4m5IJK3bpAQF9/Lelu/Z9ZcdhTRLf4cajlB+8VEhFFRjWgfy3M1O4rO2GQ/b2dLwCUGpiF/eATNQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-arm": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.27.7.tgz",
+ "integrity": "sha512-RkT/YXYBTSULo3+af8Ib0ykH8u2MBh57o7q/DAs3lTJlyVQkgQvlrPTnjIzzRPQyavxtPtfg0EopvDyIt0j1rA==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.27.7.tgz",
+ "integrity": "sha512-RZPHBoxXuNnPQO9rvjh5jdkRmVizktkT7TCDkDmQ0W2SwHInKCAV95GRuvdSvA7w4VMwfCjUiPwDi0ZO6Nfe9A==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-ia32": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.27.7.tgz",
+ "integrity": "sha512-GA48aKNkyQDbd3KtkplYWT102C5sn/EZTY4XROkxONgruHPU72l+gW+FfF8tf2cFjeHaRbWpOYa/uRBz/Xq1Pg==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-loong64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.27.7.tgz",
+ "integrity": "sha512-a4POruNM2oWsD4WKvBSEKGIiWQF8fZOAsycHOt6JBpZ+JN2n2JH9WAv56SOyu9X5IqAjqSIPTaJkqN8F7XOQ5Q==",
+ "cpu": [
+ "loong64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-mips64el": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.27.7.tgz",
+ "integrity": "sha512-KabT5I6StirGfIz0FMgl1I+R1H73Gp0ofL9A3nG3i/cYFJzKHhouBV5VWK1CSgKvVaG4q1RNpCTR2LuTVB3fIw==",
+ "cpu": [
+ "mips64el"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-ppc64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.27.7.tgz",
+ "integrity": "sha512-gRsL4x6wsGHGRqhtI+ifpN/vpOFTQtnbsupUF5R5YTAg+y/lKelYR1hXbnBdzDjGbMYjVJLJTd2OFmMewAgwlQ==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-riscv64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.27.7.tgz",
+ "integrity": "sha512-hL25LbxO1QOngGzu2U5xeXtxXcW+/GvMN3ejANqXkxZ/opySAZMrc+9LY/WyjAan41unrR3YrmtTsUpwT66InQ==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-s390x": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.27.7.tgz",
+ "integrity": "sha512-2k8go8Ycu1Kb46vEelhu1vqEP+UeRVj2zY1pSuPdgvbd5ykAw82Lrro28vXUrRmzEsUV0NzCf54yARIK8r0fdw==",
+ "cpu": [
+ "s390x"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-x64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.27.7.tgz",
+ "integrity": "sha512-hzznmADPt+OmsYzw1EE33ccA+HPdIqiCRq7cQeL1Jlq2gb1+OyWBkMCrYGBJ+sxVzve2ZJEVeePbLM2iEIZSxA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/netbsd-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.27.7.tgz",
+ "integrity": "sha512-b6pqtrQdigZBwZxAn1UpazEisvwaIDvdbMbmrly7cDTMFnw/+3lVxxCTGOrkPVnsYIosJJXAsILG9XcQS+Yu6w==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "netbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/netbsd-x64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.27.7.tgz",
+ "integrity": "sha512-OfatkLojr6U+WN5EDYuoQhtM+1xco+/6FSzJJnuWiUw5eVcicbyK3dq5EeV/QHT1uy6GoDhGbFpprUiHUYggrw==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "netbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/openbsd-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.27.7.tgz",
+ "integrity": "sha512-AFuojMQTxAz75Fo8idVcqoQWEHIXFRbOc1TrVcFSgCZtQfSdc1RXgB3tjOn/krRHENUB4j00bfGjyl2mJrU37A==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/openbsd-x64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.27.7.tgz",
+ "integrity": "sha512-+A1NJmfM8WNDv5CLVQYJ5PshuRm/4cI6WMZRg1by1GwPIQPCTs1GLEUHwiiQGT5zDdyLiRM/l1G0Pv54gvtKIg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/openharmony-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.27.7.tgz",
+ "integrity": "sha512-+KrvYb/C8zA9CU/g0sR6w2RBw7IGc5J2BPnc3dYc5VJxHCSF1yNMxTV5LQ7GuKteQXZtspjFbiuW5/dOj7H4Yw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openharmony"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/sunos-x64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.27.7.tgz",
+ "integrity": "sha512-ikktIhFBzQNt/QDyOL580ti9+5mL/YZeUPKU2ivGtGjdTYoqz6jObj6nOMfhASpS4GU4Q/Clh1QtxWAvcYKamA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "sunos"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/win32-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.27.7.tgz",
+ "integrity": "sha512-7yRhbHvPqSpRUV7Q20VuDwbjW5kIMwTHpptuUzV+AA46kiPze5Z7qgt6CLCK3pWFrHeNfDd1VKgyP4O+ng17CA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/win32-ia32": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.27.7.tgz",
+ "integrity": "sha512-SmwKXe6VHIyZYbBLJrhOoCJRB/Z1tckzmgTLfFYOfpMAx63BJEaL9ExI8x7v0oAO3Zh6D/Oi1gVxEYr5oUCFhw==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/win32-x64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.27.7.tgz",
+ "integrity": "sha512-56hiAJPhwQ1R4i+21FVF7V8kSD5zZTdHcVuRFMW0hn753vVfQN8xlx4uOPT4xoGH0Z/oVATuR82AiqSTDIpaHg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@jridgewell/gen-mapping": {
+ "version": "0.3.13",
+ "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz",
+ "integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/sourcemap-codec": "^1.5.0",
+ "@jridgewell/trace-mapping": "^0.3.24"
+ }
+ },
+ "node_modules/@jridgewell/resolve-uri": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz",
+ "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/@jridgewell/sourcemap-codec": {
+ "version": "1.5.5",
+ "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz",
+ "integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@jridgewell/trace-mapping": {
+ "version": "0.3.31",
+ "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz",
+ "integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/resolve-uri": "^3.1.0",
+ "@jridgewell/sourcemap-codec": "^1.4.14"
+ }
+ },
+ "node_modules/@noble/ciphers": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/@noble/ciphers/-/ciphers-1.3.0.tgz",
+ "integrity": "sha512-2I0gnIVPtfnMw9ee9h1dJG7tp81+8Ob3OJb3Mv37rx5L40/b0i7djjCVvGOVqc9AEIQyvyu1i6ypKdFw8R8gQw==",
+ "license": "MIT",
+ "engines": {
+ "node": "^14.21.3 || >=16"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/@noble/curves": {
+ "version": "1.9.1",
+ "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.9.1.tgz",
+ "integrity": "sha512-k11yZxZg+t+gWvBbIswW0yoJlu8cHOC7dhunwOzoWH/mXGBiYyR4YY6hAEK/3EUs4UpB8la1RfdRpeGsFHkWsA==",
+ "license": "MIT",
+ "dependencies": {
+ "@noble/hashes": "1.8.0"
+ },
+ "engines": {
+ "node": "^14.21.3 || >=16"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/@noble/hashes": {
+ "version": "1.8.0",
+ "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.8.0.tgz",
+ "integrity": "sha512-jCs9ldd7NwzpgXDIf6P3+NrHh9/sD6CQdxHyjQI+h/6rDNo88ypBxxz45UDuZHz9r3tNz7N/VInSVoVdtXEI4A==",
+ "license": "MIT",
+ "engines": {
+ "node": "^14.21.3 || >=16"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/@rollup/rollup-android-arm-eabi": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.62.2.tgz",
+ "integrity": "sha512-6o7ZLZK+BeenkZCFNDXqpbjw9bD6nuWonvS/lwQJp7NoVVxm6p3qE7qQ5jGuBjiFsgvqjD8mZAU5oWxTmbOeOg==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ]
+ },
+ "node_modules/@rollup/rollup-android-arm64": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.62.2.tgz",
+ "integrity": "sha512-BaH7BllCACHoH1LguOU56UItGfUWjujlO65kS9LAodViaN4bwIKd7oeW/ZHJ/4ljr/7MIiENnNy3HJ0zXv8Zkw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ]
+ },
+ "node_modules/@rollup/rollup-darwin-arm64": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.62.2.tgz",
+ "integrity": "sha512-v39RCCvj4He82I9sFmk+M1VZ0PLM9sfsLVikjfx2hYBNALhrrOR2D3JjQA6AhlaSOgcR+RzrKY7e1+bT6SUO/A==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ]
+ },
+ "node_modules/@rollup/rollup-darwin-x64": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.62.2.tgz",
+ "integrity": "sha512-yl0y2vq3S3lHeuXhEdss6TWfKW8vkujImO12tn4ZkG/4oghr09LvdYm2RElVjokTQiUvDUGXLGsYeLqUMCKpGA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ]
+ },
+ "node_modules/@rollup/rollup-freebsd-arm64": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.62.2.tgz",
+ "integrity": "sha512-tT4pvt4qXD+vEoezupCWi+a1F0vvDiksiHc+PxRlYTOH1I6/X4id9jPxTP+Fg+545euaFT1jJVs4CEdHZAU1vw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ]
+ },
+ "node_modules/@rollup/rollup-freebsd-x64": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.62.2.tgz",
+ "integrity": "sha512-6nU5F2wCW+qvCBhTn1pdIU3bzsIoF7EUwsCDRxilWGprQR6yd508YnH9+OKFCwpfS8pjZqDUmnCAr7exax0XCg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm-gnueabihf": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.62.2.tgz",
+ "integrity": "sha512-n1GJHPOvpIfhi3TmrCeh6S6URt9BFCt0KQE3qvexyGCTAKpR4Lg+eWvNZEqu7epxwus/8ElT3hacYEucm49SZg==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm-musleabihf": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.62.2.tgz",
+ "integrity": "sha512-JqgflS8wEB+UXV/vS1RpRbifGBeN4D5lz8D8oOFbFZw4vedvdOgCFAjfBmIMdW3yL10XpQQ0Ambepw6MXrhOnA==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm64-gnu": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.62.2.tgz",
+ "integrity": "sha512-wnFJkogWvN4jm/hQRF2UBaeUmk20j5+DmHvoyWii2b8HJDyvz1MF2OU/6ynXt2KR63rbZLWkFpoytpdc/yBuSA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm64-musl": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.62.2.tgz",
+ "integrity": "sha512-HVu2bp0zhvJ8xHEV9+UUs7S90VadmBSY3LcIMvozbPo4AuMGDWlz3ymHLHZPX4hR67TKTt8Qp5PJ5RBg/i+RMQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-loong64-gnu": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.62.2.tgz",
+ "integrity": "sha512-mQqqAV8QaoSgr9I2fKDLY2BAVvmKjWoGiu/cSYQonsLvtqwEn1E4QYfnCOcp5zoEqNhsDYin1s6jx/VJmrxlZg==",
+ "cpu": [
+ "loong64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-loong64-musl": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-musl/-/rollup-linux-loong64-musl-4.62.2.tgz",
+ "integrity": "sha512-IxKLoxCQ2IWi6bT2akyDUBGsOImDKB+sPp4EsTmwFQ/fMwpCKm8uLSSgP/Kx/QYUgKis6SEZ5/Nlhup0DIA0PQ==",
+ "cpu": [
+ "loong64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-ppc64-gnu": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.62.2.tgz",
+ "integrity": "sha512-Mk5ha2RQSgyFfmYYLkBpPnUk8D8FriBxesO1u9O75X0mHgXL1UQcH5Itl2lurWL2tj0RxV9b9tJgipac0hRY9A==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-ppc64-musl": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-musl/-/rollup-linux-ppc64-musl-4.62.2.tgz",
+ "integrity": "sha512-CjvEnqJL/0/TQ3TXX3OPIJ/kmBellrWd4heXUmHeJlTnmwjKpSJzoehLaL6Xk0ZnMHBu9dZuFADNOrtjF4v+2w==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-riscv64-gnu": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.62.2.tgz",
+ "integrity": "sha512-1SiZbzwdkaDURsew/tSOrooKiYy7EQGT6m8ufavAi9NEyQb/6VuIxFXAL1fqa4iZe3g4NbNk4P7J32z2tw5Mgg==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-riscv64-musl": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.62.2.tgz",
+ "integrity": "sha512-nQts12zJ3NQRoE6uYljOH89v7szzLDvG2JD/vsX+vGXU8w/At1GowTZ5/7qeFQ8m7L55rpR8Okugnuo5bgjy2Q==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-s390x-gnu": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.62.2.tgz",
+ "integrity": "sha512-E9/ll019jhPIJgpzfZoIkBGhcz+kKNgVWYRY0zr9srBdPPFVpvOKW8VaJKUbeK+eZXyQF9ltME+Kk6affeaPgg==",
+ "cpu": [
+ "s390x"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-x64-gnu": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.62.2.tgz",
+ "integrity": "sha512-5BqxR/pshjey51iliyzTD5Xi3EN0aLmQ2lZ3lvefVV9c82BvrLo2/6OT55iifpWBufs6kdwWbuOKS841DrmK9A==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-x64-musl": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.62.2.tgz",
+ "integrity": "sha512-uNN83XxQrRAh/w0/pmAfibcwyb6YWt4gP+dpnQKPVJshAloQ785ii8CT8ZCIxkGg9opVsvAlGhFitSm6D1Jjpg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-openbsd-x64": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-openbsd-x64/-/rollup-openbsd-x64-4.62.2.tgz",
+ "integrity": "sha512-srjEIxSH3LRnJN6THczDHWQplqEMFiAJrTab0msUryh9kwNpkICf3Ea6q6MN/2cZwRFUNx5w+h6Hpi4QuHS6Zg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openbsd"
+ ]
+ },
+ "node_modules/@rollup/rollup-openharmony-arm64": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.62.2.tgz",
+ "integrity": "sha512-8hOJnxgbyObnCm5AlRA3A931xX19xq80RjVTKgJOvEKWqJruP/Uf12IbAOaDjjEXYRewwHLfmF0YRIdK3OwKWA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openharmony"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-arm64-msvc": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.62.2.tgz",
+ "integrity": "sha512-mmF4AY1i0hG/bLWUctUq59gtmgaSIRa3cu/A3JFRp/sCNEme2bgDEiDS22P9FbnJB8NJNF4jPJiSP5RHQpUTDg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-ia32-msvc": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.62.2.tgz",
+ "integrity": "sha512-DZgkknc6jhHrk46V25vbAM0zZkyP0nSDkJB8/dRkLTxv470dOmWDqGoEJl/9A0dFfS7yE3REOwNDxpHwSLSt0Q==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-x64-gnu": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.62.2.tgz",
+ "integrity": "sha512-T6xr6ucWSFto+VGajA8YH26LdpHRuP4YLHEKAtCWvJDOlnmWcDZVCI2Jmjr+IFHDlt2zRaTAKE4tfjTaWLgJBg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-x64-msvc": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.62.2.tgz",
+ "integrity": "sha512-BfzEnDJOt9T8M989/lA37EcJgat01wLRnoi5dQf3QzOH7jzpqTAzdDbVfRljVr5r+jzKqpbHeyOfAaXxAd0PAA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@scure/base": {
+ "version": "1.2.6",
+ "resolved": "https://registry.npmjs.org/@scure/base/-/base-1.2.6.tgz",
+ "integrity": "sha512-g/nm5FgUa//MCj1gV09zTJTaM6KBAHqLN907YVQqf7zC49+DcO4B1so4ZX07Ef10Twr6nuqYEH9GEggFXA4Fmg==",
+ "license": "MIT",
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/@scure/bip32": {
+ "version": "1.7.0",
+ "resolved": "https://registry.npmjs.org/@scure/bip32/-/bip32-1.7.0.tgz",
+ "integrity": "sha512-E4FFX/N3f4B80AKWp5dP6ow+flD1LQZo/w8UnLGYZO674jS6YnYeepycOOksv+vLPSpgN35wgKgy+ybfTb2SMw==",
+ "license": "MIT",
+ "dependencies": {
+ "@noble/curves": "~1.9.0",
+ "@noble/hashes": "~1.8.0",
+ "@scure/base": "~1.2.5"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/@scure/bip39": {
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/@scure/bip39/-/bip39-1.6.0.tgz",
+ "integrity": "sha512-+lF0BbLiJNwVlev4eKelw1WWLaiKXw7sSl8T6FvBlWkdX+94aGJ4o8XjUdlyhTCjd8c+B3KT3JfS8P0bLRNU6A==",
+ "license": "MIT",
+ "dependencies": {
+ "@noble/hashes": "~1.8.0",
+ "@scure/base": "~1.2.5"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/@types/better-sqlite3": {
+ "version": "7.6.13",
+ "resolved": "https://registry.npmjs.org/@types/better-sqlite3/-/better-sqlite3-7.6.13.tgz",
+ "integrity": "sha512-NMv9ASNARoKksWtsq/SHakpYAYnhBrQgGD8zkLYk/jaK8jUGn08CfEdTRgYhMypUQAfzSP8W6gNLe0q19/t4VA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/node": "*"
+ }
+ },
+ "node_modules/@types/chai": {
+ "version": "5.2.3",
+ "resolved": "https://registry.npmjs.org/@types/chai/-/chai-5.2.3.tgz",
+ "integrity": "sha512-Mw558oeA9fFbv65/y4mHtXDs9bPnFMZAL/jxdPFUpOHHIXX91mcgEHbS5Lahr+pwZFR8A7GQleRWeI6cGFC2UA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/deep-eql": "*",
+ "assertion-error": "^2.0.1"
+ }
+ },
+ "node_modules/@types/deep-eql": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/@types/deep-eql/-/deep-eql-4.0.2.tgz",
+ "integrity": "sha512-c9h9dVVMigMPc4bwTvC5dxqtqJZwQPePsWjPlpSOnojbor6pGqdk541lfA7AqFQr5pB1BRdq0juY9db81BwyFw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@types/estree": {
+ "version": "1.0.9",
+ "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.9.tgz",
+ "integrity": "sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@types/node": {
+ "version": "24.13.3",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-24.13.3.tgz",
+ "integrity": "sha512-Dh8vAsV36ig5wa9OX4pXvMc9D3Veibfw2wix0CUwYODLD8nkj9UsLjASr49nPg+2eKzxhBV+v7L8pXvT4e639Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "undici-types": "~7.18.0"
+ }
+ },
+ "node_modules/@types/ws": {
+ "version": "8.18.1",
+ "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.18.1.tgz",
+ "integrity": "sha512-ThVF6DCVhA8kUGy+aazFQ4kXQ7E1Ty7A3ypFOe0IcJV8O/M511G99AW24irKrW56Wt44yG9+ij8FaqoBGkuBXg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/node": "*"
+ }
+ },
+ "node_modules/@vitest/expect": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-3.2.7.tgz",
+ "integrity": "sha512-E8eBXaKibuvH2pSZErOjdVb5vF4PbKYcrnluBTYxEk1l/VhhwZg1kZQsdtjq+CsF5CFydf2Rdkz7jDHKSisi3w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/chai": "^5.2.2",
+ "@vitest/spy": "3.2.7",
+ "@vitest/utils": "3.2.7",
+ "chai": "^5.2.0",
+ "tinyrainbow": "^2.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/@vitest/mocker": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-3.2.7.tgz",
+ "integrity": "sha512-Trr0hYO9CM3Wj6ksWHRhK9IZpIY6wTMO5u/MqXurMxT57sWBaOPEtP3Oq60ihZuh5JsiagKfz95OcxdEP6dBrA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@vitest/spy": "3.2.7",
+ "estree-walker": "^3.0.3",
+ "magic-string": "^0.30.17"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ },
+ "peerDependencies": {
+ "msw": "^2.4.9",
+ "vite": "^5.0.0 || ^6.0.0 || ^7.0.0-0"
+ },
+ "peerDependenciesMeta": {
+ "msw": {
+ "optional": true
+ },
+ "vite": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@vitest/pretty-format": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-3.2.7.tgz",
+ "integrity": "sha512-KUHlwqVu0sRlhCdyPdQ/wBoTfRahjUky1MubOmYw9fWfIZy1gNoHpuaaQBPAaMaVYdQYHJLurzj8ECCj5OwTqA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "tinyrainbow": "^2.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/@vitest/runner": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-3.2.7.tgz",
+ "integrity": "sha512-sB9y4ovltoQP+WaUPwmSxO9WIg9Ig694Di5PalVPsYHklAdE027mehpWF2SQSVq+k6sFgaivbTjTJwZLSHbedA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@vitest/utils": "3.2.7",
+ "pathe": "^2.0.3",
+ "strip-literal": "^3.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/@vitest/snapshot": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-3.2.7.tgz",
+ "integrity": "sha512-7C+MwShwtBSI5Buwoyg3s/iY1eHL9PKAf+O1wVh/TdnjXUtkoL/9YQtre90i4MtNXM6edP1wJ2zOBpfCyhIS7g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@vitest/pretty-format": "3.2.7",
+ "magic-string": "^0.30.17",
+ "pathe": "^2.0.3"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/@vitest/spy": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-3.2.7.tgz",
+ "integrity": "sha512-Q2eQGI6d2L/hBtZ0qNuKcAGid68XK6cv1xsoaIma6PaJhHPoqcEJhYpXZ/5myCMqkNgtP6UKuBhbc0nHKnrkuQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "tinyspy": "^4.0.3"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/@vitest/utils": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-3.2.7.tgz",
+ "integrity": "sha512-x6BDOd7dyo3PFLY3I9/HJ25X/6OurhGXk2/B9gOZNPF7XDVjeBK4k01lQE5uvDpbuheErh91qYuE1E2OEjK3Rw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@vitest/pretty-format": "3.2.7",
+ "loupe": "^3.1.4",
+ "tinyrainbow": "^2.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/abitype": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/abitype/-/abitype-1.2.3.tgz",
+ "integrity": "sha512-Ofer5QUnuUdTFsBRwARMoWKOH1ND5ehwYhJ3OJ/BQO+StkwQjHw0XyVh4vDttzHB7QOFhPHa/o413PJ82gU/Tg==",
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/wevm"
+ },
+ "peerDependencies": {
+ "typescript": ">=5.0.4",
+ "zod": "^3.22.0 || ^4.0.0"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ },
+ "zod": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/acorn": {
+ "version": "8.17.0",
+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.17.0.tgz",
+ "integrity": "sha512-xRQbDb9BnwDafYNn6Vwl839DYVjqXYb1XVGtWAZ1kcDc6iwAL4hg3B1dZlRiuENFeO2H53gFG3in621AdERVAg==",
+ "dev": true,
+ "license": "MIT",
+ "bin": {
+ "acorn": "bin/acorn"
+ },
+ "engines": {
+ "node": ">=0.4.0"
+ }
+ },
+ "node_modules/any-promise": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz",
+ "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/assertion-error": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-2.0.1.tgz",
+ "integrity": "sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/base64-js": {
+ "version": "1.5.1",
+ "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz",
+ "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "license": "MIT"
+ },
+ "node_modules/better-sqlite3": {
+ "version": "11.10.0",
+ "resolved": "https://registry.npmjs.org/better-sqlite3/-/better-sqlite3-11.10.0.tgz",
+ "integrity": "sha512-EwhOpyXiOEL/lKzHz9AW1msWFNzGc/z+LzeB3/jnFJpxu+th2yqvzsSWas1v9jgs9+xiXJcD5A8CJxAG2TaghQ==",
+ "hasInstallScript": true,
+ "license": "MIT",
+ "dependencies": {
+ "bindings": "^1.5.0",
+ "prebuild-install": "^7.1.1"
+ }
+ },
+ "node_modules/bindings": {
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz",
+ "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==",
+ "license": "MIT",
+ "dependencies": {
+ "file-uri-to-path": "1.0.0"
+ }
+ },
+ "node_modules/bl": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz",
+ "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==",
+ "license": "MIT",
+ "dependencies": {
+ "buffer": "^5.5.0",
+ "inherits": "^2.0.4",
+ "readable-stream": "^3.4.0"
+ }
+ },
+ "node_modules/buffer": {
+ "version": "5.7.1",
+ "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz",
+ "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "base64-js": "^1.3.1",
+ "ieee754": "^1.1.13"
+ }
+ },
+ "node_modules/bundle-require": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/bundle-require/-/bundle-require-5.1.0.tgz",
+ "integrity": "sha512-3WrrOuZiyaaZPWiEt4G3+IffISVC9HYlWueJEBWED4ZH4aIAC2PnkdnuRrR94M+w6yGWn4AglWtJtBI8YqvgoA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "load-tsconfig": "^0.2.3"
+ },
+ "engines": {
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ },
+ "peerDependencies": {
+ "esbuild": ">=0.18"
+ }
+ },
+ "node_modules/cac": {
+ "version": "6.7.14",
+ "resolved": "https://registry.npmjs.org/cac/-/cac-6.7.14.tgz",
+ "integrity": "sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/chai": {
+ "version": "5.3.3",
+ "resolved": "https://registry.npmjs.org/chai/-/chai-5.3.3.tgz",
+ "integrity": "sha512-4zNhdJD/iOjSH0A05ea+Ke6MU5mmpQcbQsSOkgdaUMJ9zTlDTD/GYlwohmIE2u0gaxHYiVHEn1Fw9mZ/ktJWgw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "assertion-error": "^2.0.1",
+ "check-error": "^2.1.1",
+ "deep-eql": "^5.0.1",
+ "loupe": "^3.1.0",
+ "pathval": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/check-error": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/check-error/-/check-error-2.1.3.tgz",
+ "integrity": "sha512-PAJdDJusoxnwm1VwW07VWwUN1sl7smmC3OKggvndJFadxxDRyFJBX/ggnu/KE4kQAB7a3Dp8f/YXC1FlUprWmA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 16"
+ }
+ },
+ "node_modules/chokidar": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-4.0.3.tgz",
+ "integrity": "sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "readdirp": "^4.0.1"
+ },
+ "engines": {
+ "node": ">= 14.16.0"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/chownr": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz",
+ "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==",
+ "license": "ISC"
+ },
+ "node_modules/commander": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz",
+ "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/confbox": {
+ "version": "0.1.8",
+ "resolved": "https://registry.npmjs.org/confbox/-/confbox-0.1.8.tgz",
+ "integrity": "sha512-RMtmw0iFkeR4YV+fUOSucriAQNb9g8zFR52MWCtl+cCZOFRNL6zeB395vPzFhEjjn4fMxXudmELnl/KF/WrK6w==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/consola": {
+ "version": "3.4.2",
+ "resolved": "https://registry.npmjs.org/consola/-/consola-3.4.2.tgz",
+ "integrity": "sha512-5IKcdX0nnYavi6G7TtOhwkYzyjfJlatbjMjuLSfE2kYT5pMDOilZ4OvMhi637CcDICTmz3wARPoyhqyX1Y+XvA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^14.18.0 || >=16.10.0"
+ }
+ },
+ "node_modules/debug": {
+ "version": "4.4.3",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz",
+ "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ms": "^2.1.3"
+ },
+ "engines": {
+ "node": ">=6.0"
+ },
+ "peerDependenciesMeta": {
+ "supports-color": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/decompress-response": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-6.0.0.tgz",
+ "integrity": "sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==",
+ "license": "MIT",
+ "dependencies": {
+ "mimic-response": "^3.1.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/deep-eql": {
+ "version": "5.0.2",
+ "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-5.0.2.tgz",
+ "integrity": "sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/deep-extend": {
+ "version": "0.6.0",
+ "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz",
+ "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=4.0.0"
+ }
+ },
+ "node_modules/detect-libc": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz",
+ "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==",
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/end-of-stream": {
+ "version": "1.4.5",
+ "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.5.tgz",
+ "integrity": "sha512-ooEGc6HP26xXq/N+GCGOT0JKCLDGrq2bQUZrQ7gyrJiZANJ/8YDTxTpQBXGMn+WbIQXNVpyWymm7KYVICQnyOg==",
+ "license": "MIT",
+ "dependencies": {
+ "once": "^1.4.0"
+ }
+ },
+ "node_modules/es-module-lexer": {
+ "version": "1.7.0",
+ "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.7.0.tgz",
+ "integrity": "sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/esbuild": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.27.7.tgz",
+ "integrity": "sha512-IxpibTjyVnmrIQo5aqNpCgoACA/dTKLTlhMHihVHhdkxKyPO1uBBthumT0rdHmcsk9uMonIWS0m4FljWzILh3w==",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "MIT",
+ "bin": {
+ "esbuild": "bin/esbuild"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "optionalDependencies": {
+ "@esbuild/aix-ppc64": "0.27.7",
+ "@esbuild/android-arm": "0.27.7",
+ "@esbuild/android-arm64": "0.27.7",
+ "@esbuild/android-x64": "0.27.7",
+ "@esbuild/darwin-arm64": "0.27.7",
+ "@esbuild/darwin-x64": "0.27.7",
+ "@esbuild/freebsd-arm64": "0.27.7",
+ "@esbuild/freebsd-x64": "0.27.7",
+ "@esbuild/linux-arm": "0.27.7",
+ "@esbuild/linux-arm64": "0.27.7",
+ "@esbuild/linux-ia32": "0.27.7",
+ "@esbuild/linux-loong64": "0.27.7",
+ "@esbuild/linux-mips64el": "0.27.7",
+ "@esbuild/linux-ppc64": "0.27.7",
+ "@esbuild/linux-riscv64": "0.27.7",
+ "@esbuild/linux-s390x": "0.27.7",
+ "@esbuild/linux-x64": "0.27.7",
+ "@esbuild/netbsd-arm64": "0.27.7",
+ "@esbuild/netbsd-x64": "0.27.7",
+ "@esbuild/openbsd-arm64": "0.27.7",
+ "@esbuild/openbsd-x64": "0.27.7",
+ "@esbuild/openharmony-arm64": "0.27.7",
+ "@esbuild/sunos-x64": "0.27.7",
+ "@esbuild/win32-arm64": "0.27.7",
+ "@esbuild/win32-ia32": "0.27.7",
+ "@esbuild/win32-x64": "0.27.7"
+ }
+ },
+ "node_modules/estree-walker": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-3.0.3.tgz",
+ "integrity": "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/estree": "^1.0.0"
+ }
+ },
+ "node_modules/eventemitter3": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.1.tgz",
+ "integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==",
+ "license": "MIT"
+ },
+ "node_modules/expand-template": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/expand-template/-/expand-template-2.0.3.tgz",
+ "integrity": "sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg==",
+ "license": "(MIT OR WTFPL)",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/expect-type": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/expect-type/-/expect-type-1.4.0.tgz",
+ "integrity": "sha512-KfYbmpRm0VbLjEvVa9yGwCi9GI34xvi7A/HXYWQO65CSD2u3MczUJSuwXKFIxlGsgBQizV9q5J9NHj4VG0n+pA==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=12.0.0"
+ }
+ },
+ "node_modules/fdir": {
+ "version": "6.5.0",
+ "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz",
+ "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "peerDependencies": {
+ "picomatch": "^3 || ^4"
+ },
+ "peerDependenciesMeta": {
+ "picomatch": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/file-uri-to-path": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz",
+ "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==",
+ "license": "MIT"
+ },
+ "node_modules/fix-dts-default-cjs-exports": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/fix-dts-default-cjs-exports/-/fix-dts-default-cjs-exports-1.0.1.tgz",
+ "integrity": "sha512-pVIECanWFC61Hzl2+oOCtoJ3F17kglZC/6N94eRWycFgBH35hHx0Li604ZIzhseh97mf2p0cv7vVrOZGoqhlEg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "magic-string": "^0.30.17",
+ "mlly": "^1.7.4",
+ "rollup": "^4.34.8"
+ }
+ },
+ "node_modules/fs-constants": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz",
+ "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==",
+ "license": "MIT"
+ },
+ "node_modules/fsevents": {
+ "version": "2.3.3",
+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
+ "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
+ }
+ },
+ "node_modules/github-from-package": {
+ "version": "0.0.0",
+ "resolved": "https://registry.npmjs.org/github-from-package/-/github-from-package-0.0.0.tgz",
+ "integrity": "sha512-SyHy3T1v2NUXn29OsWdxmK6RwHD+vkj3v8en8AOBZ1wBQ/hCAQ5bAQTD02kW4W9tUp/3Qh6J8r9EvntiyCmOOw==",
+ "license": "MIT"
+ },
+ "node_modules/hoodchain": {
+ "resolved": "../robinhood-chain-sdk",
+ "link": true
+ },
+ "node_modules/ieee754": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz",
+ "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "license": "BSD-3-Clause"
+ },
+ "node_modules/inherits": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
+ "license": "ISC"
+ },
+ "node_modules/ini": {
+ "version": "1.3.8",
+ "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz",
+ "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==",
+ "license": "ISC"
+ },
+ "node_modules/isows": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/isows/-/isows-1.0.7.tgz",
+ "integrity": "sha512-I1fSfDCZL5P0v33sVqeTDSpcstAg/N+wF5HS033mogOVIp4B+oHC7oOCsA3axAbBSGTJ8QubbNmnIRN/h8U7hg==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/wevm"
+ }
+ ],
+ "license": "MIT",
+ "peerDependencies": {
+ "ws": "*"
+ }
+ },
+ "node_modules/joycon": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/joycon/-/joycon-3.1.1.tgz",
+ "integrity": "sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/js-tokens": {
+ "version": "9.0.1",
+ "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-9.0.1.tgz",
+ "integrity": "sha512-mxa9E9ITFOt0ban3j6L5MpjwegGz6lBQmM1IJkWeBZGcMxto50+eWdjC/52xDbS2vy0k7vIMK0Fe2wfL9OQSpQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/lilconfig": {
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.3.tgz",
+ "integrity": "sha512-/vlFKAoH5Cgt3Ie+JLhRbwOsCQePABiU3tJ1egGvyQ+33R/vcwM2Zl2QR/LzjsBeItPt3oSVXapn+m4nQDvpzw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=14"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/antonk52"
+ }
+ },
+ "node_modules/lines-and-columns": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz",
+ "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/load-tsconfig": {
+ "version": "0.2.5",
+ "resolved": "https://registry.npmjs.org/load-tsconfig/-/load-tsconfig-0.2.5.tgz",
+ "integrity": "sha512-IXO6OCs9yg8tMKzfPZ1YmheJbZCiEsnBdcB03l0OcfK9prKnJb96siuHCr5Fl37/yo9DnKU+TLpxzTUspw9shg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ }
+ },
+ "node_modules/loupe": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/loupe/-/loupe-3.2.1.tgz",
+ "integrity": "sha512-CdzqowRJCeLU72bHvWqwRBBlLcMEtIvGrlvef74kMnV2AolS9Y8xUv1I0U/MNAWMhBlKIoyuEgoJ0t/bbwHbLQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/magic-string": {
+ "version": "0.30.21",
+ "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.21.tgz",
+ "integrity": "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/sourcemap-codec": "^1.5.5"
+ }
+ },
+ "node_modules/mimic-response": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-3.1.0.tgz",
+ "integrity": "sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/minimist": {
+ "version": "1.2.8",
+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz",
+ "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==",
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/mkdirp-classic": {
+ "version": "0.5.3",
+ "resolved": "https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz",
+ "integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==",
+ "license": "MIT"
+ },
+ "node_modules/mlly": {
+ "version": "1.8.2",
+ "resolved": "https://registry.npmjs.org/mlly/-/mlly-1.8.2.tgz",
+ "integrity": "sha512-d+ObxMQFmbt10sretNDytwt85VrbkhhUA/JBGm1MPaWJ65Cl4wOgLaB1NYvJSZ0Ef03MMEU/0xpPMXUIQ29UfA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "acorn": "^8.16.0",
+ "pathe": "^2.0.3",
+ "pkg-types": "^1.3.1",
+ "ufo": "^1.6.3"
+ }
+ },
+ "node_modules/ms": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
+ "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/mz": {
+ "version": "2.7.0",
+ "resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz",
+ "integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "any-promise": "^1.0.0",
+ "object-assign": "^4.0.1",
+ "thenify-all": "^1.0.0"
+ }
+ },
+ "node_modules/nanoid": {
+ "version": "3.3.16",
+ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.16.tgz",
+ "integrity": "sha512-bzlKTyNJ7+LdGIIwy8ijFpIqEQIvafahV7eYykJ8Cvh42EdJeODoJ6gUJXpQJvej1BddH8OqTXZNE/KfbWAu8Q==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "bin": {
+ "nanoid": "bin/nanoid.cjs"
+ },
+ "engines": {
+ "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
+ }
+ },
+ "node_modules/napi-build-utils": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/napi-build-utils/-/napi-build-utils-2.0.0.tgz",
+ "integrity": "sha512-GEbrYkbfF7MoNaoh2iGG84Mnf/WZfB0GdGEsM8wz7Expx/LlWf5U8t9nvJKXSp3qr5IsEbK04cBGhol/KwOsWA==",
+ "license": "MIT"
+ },
+ "node_modules/node-abi": {
+ "version": "3.94.0",
+ "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.94.0.tgz",
+ "integrity": "sha512-W5ZNO5KRPB5TkYmGVD9F6YqhsglXJzE6etpbmT+f6EQElhiX/UTG551cnsRGvLG3fyZEg9HwaDmNmj5nwJ4z9g==",
+ "license": "MIT",
+ "dependencies": {
+ "semver": "^7.3.5"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/object-assign": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
+ "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/once": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
+ "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==",
+ "license": "ISC",
+ "dependencies": {
+ "wrappy": "1"
+ }
+ },
+ "node_modules/ox": {
+ "version": "0.14.30",
+ "resolved": "https://registry.npmjs.org/ox/-/ox-0.14.30.tgz",
+ "integrity": "sha512-LI11uu+8iiM1B3CLckgd++YF1a0A2k5wDoM9ZeQMiL21BOzQs6L//BLS6hb1HSEKCyycdDIQLsVQx9MjpcC0hA==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/wevm"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "@adraffy/ens-normalize": "^1.11.0",
+ "@noble/ciphers": "^1.3.0",
+ "@noble/curves": "1.9.1",
+ "@noble/hashes": "^1.8.0",
+ "@scure/bip32": "^1.7.0",
+ "@scure/bip39": "^1.6.0",
+ "abitype": "^1.2.3",
+ "eventemitter3": "5.0.1"
+ },
+ "peerDependencies": {
+ "typescript": ">=5.4.0"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/pathe": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/pathe/-/pathe-2.0.3.tgz",
+ "integrity": "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/pathval": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/pathval/-/pathval-2.0.1.tgz",
+ "integrity": "sha512-//nshmD55c46FuFw26xV/xFAaB5HF9Xdap7HJBBnrKdAd6/GxDBaNA1870O79+9ueg61cZLSVc+OaFlfmObYVQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 14.16"
+ }
+ },
+ "node_modules/picocolors": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
+ "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/picomatch": {
+ "version": "4.0.5",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.5.tgz",
+ "integrity": "sha512-RvwwcruNjI1ncT5xRakeyS9Lf8lcItv34KD+aif+VH9kduAyfYBipGh12274xtenIPZ119/R9BdTBa8gAwSh0A==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
+ }
+ },
+ "node_modules/pirates": {
+ "version": "4.0.7",
+ "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.7.tgz",
+ "integrity": "sha512-TfySrs/5nm8fQJDcBDuUng3VOUKsd7S+zqvbOTiGXHfxX4wK31ard+hoNuvkicM/2YFzlpDgABOevKSsB4G/FA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/pkg-types": {
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/pkg-types/-/pkg-types-1.3.1.tgz",
+ "integrity": "sha512-/Jm5M4RvtBFVkKWRu2BLUTNP8/M2a+UwuAX+ae4770q1qVGtfjG+WTCupoZixokjmHiry8uI+dlY8KXYV5HVVQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "confbox": "^0.1.8",
+ "mlly": "^1.7.4",
+ "pathe": "^2.0.1"
+ }
+ },
+ "node_modules/postcss": {
+ "version": "8.5.17",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.17.tgz",
+ "integrity": "sha512-J7EF+8X+CzRPaJPOv9Ck2wNWJvGnnl3PcNPAdGg6GTLjyVpyQ0yATMSXRFRV01BviT/9Gwuc3rjEyJbDJG9a4w==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/postcss"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "nanoid": "^3.3.12",
+ "picocolors": "^1.1.1",
+ "source-map-js": "^1.2.1"
+ },
+ "engines": {
+ "node": "^10 || ^12 || >=14"
+ }
+ },
+ "node_modules/postcss-load-config": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-6.0.1.tgz",
+ "integrity": "sha512-oPtTM4oerL+UXmx+93ytZVN82RrlY/wPUV8IeDxFrzIjXOLF1pN+EmKPLbubvKHT2HC20xXsCAH2Z+CKV6Oz/g==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "lilconfig": "^3.1.1"
+ },
+ "engines": {
+ "node": ">= 18"
+ },
+ "peerDependencies": {
+ "jiti": ">=1.21.0",
+ "postcss": ">=8.0.9",
+ "tsx": "^4.8.1",
+ "yaml": "^2.4.2"
+ },
+ "peerDependenciesMeta": {
+ "jiti": {
+ "optional": true
+ },
+ "postcss": {
+ "optional": true
+ },
+ "tsx": {
+ "optional": true
+ },
+ "yaml": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/prebuild-install": {
+ "version": "7.1.3",
+ "resolved": "https://registry.npmjs.org/prebuild-install/-/prebuild-install-7.1.3.tgz",
+ "integrity": "sha512-8Mf2cbV7x1cXPUILADGI3wuhfqWvtiLA1iclTDbFRZkgRQS0NqsPZphna9V+HyTEadheuPmjaJMsbzKQFOzLug==",
+ "deprecated": "No longer maintained. Please contact the author of the relevant native addon; alternatives are available.",
+ "license": "MIT",
+ "dependencies": {
+ "detect-libc": "^2.0.0",
+ "expand-template": "^2.0.3",
+ "github-from-package": "0.0.0",
+ "minimist": "^1.2.3",
+ "mkdirp-classic": "^0.5.3",
+ "napi-build-utils": "^2.0.0",
+ "node-abi": "^3.3.0",
+ "pump": "^3.0.0",
+ "rc": "^1.2.7",
+ "simple-get": "^4.0.0",
+ "tar-fs": "^2.0.0",
+ "tunnel-agent": "^0.6.0"
+ },
+ "bin": {
+ "prebuild-install": "bin.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/pump": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.4.tgz",
+ "integrity": "sha512-VS7sjc6KR7e1ukRFhQSY5LM2uBWAUPiOPa/A3mkKmiMwSmRFUITt0xuj+/lesgnCv+dPIEYlkzrcyXgquIHMcA==",
+ "license": "MIT",
+ "dependencies": {
+ "end-of-stream": "^1.1.0",
+ "once": "^1.3.1"
+ }
+ },
+ "node_modules/rc": {
+ "version": "1.2.8",
+ "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz",
+ "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==",
+ "license": "(BSD-2-Clause OR MIT OR Apache-2.0)",
+ "dependencies": {
+ "deep-extend": "^0.6.0",
+ "ini": "~1.3.0",
+ "minimist": "^1.2.0",
+ "strip-json-comments": "~2.0.1"
+ },
+ "bin": {
+ "rc": "cli.js"
+ }
+ },
+ "node_modules/readable-stream": {
+ "version": "3.6.2",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz",
+ "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==",
+ "license": "MIT",
+ "dependencies": {
+ "inherits": "^2.0.3",
+ "string_decoder": "^1.1.1",
+ "util-deprecate": "^1.0.1"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/readdirp": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-4.1.2.tgz",
+ "integrity": "sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 14.18.0"
+ },
+ "funding": {
+ "type": "individual",
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/resolve-from": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz",
+ "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/rollup": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.62.2.tgz",
+ "integrity": "sha512-RFnrW4lhXA3s3eqHDZvN654g8OTjzRfqpIRJYczCGB6HzphckVAi/Qh4tbPUbRuDi7s1Llv8g/NspLkttY3gTA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/estree": "1.0.9"
+ },
+ "bin": {
+ "rollup": "dist/bin/rollup"
+ },
+ "engines": {
+ "node": ">=18.0.0",
+ "npm": ">=8.0.0"
+ },
+ "optionalDependencies": {
+ "@rollup/rollup-android-arm-eabi": "4.62.2",
+ "@rollup/rollup-android-arm64": "4.62.2",
+ "@rollup/rollup-darwin-arm64": "4.62.2",
+ "@rollup/rollup-darwin-x64": "4.62.2",
+ "@rollup/rollup-freebsd-arm64": "4.62.2",
+ "@rollup/rollup-freebsd-x64": "4.62.2",
+ "@rollup/rollup-linux-arm-gnueabihf": "4.62.2",
+ "@rollup/rollup-linux-arm-musleabihf": "4.62.2",
+ "@rollup/rollup-linux-arm64-gnu": "4.62.2",
+ "@rollup/rollup-linux-arm64-musl": "4.62.2",
+ "@rollup/rollup-linux-loong64-gnu": "4.62.2",
+ "@rollup/rollup-linux-loong64-musl": "4.62.2",
+ "@rollup/rollup-linux-ppc64-gnu": "4.62.2",
+ "@rollup/rollup-linux-ppc64-musl": "4.62.2",
+ "@rollup/rollup-linux-riscv64-gnu": "4.62.2",
+ "@rollup/rollup-linux-riscv64-musl": "4.62.2",
+ "@rollup/rollup-linux-s390x-gnu": "4.62.2",
+ "@rollup/rollup-linux-x64-gnu": "4.62.2",
+ "@rollup/rollup-linux-x64-musl": "4.62.2",
+ "@rollup/rollup-openbsd-x64": "4.62.2",
+ "@rollup/rollup-openharmony-arm64": "4.62.2",
+ "@rollup/rollup-win32-arm64-msvc": "4.62.2",
+ "@rollup/rollup-win32-ia32-msvc": "4.62.2",
+ "@rollup/rollup-win32-x64-gnu": "4.62.2",
+ "@rollup/rollup-win32-x64-msvc": "4.62.2",
+ "fsevents": "~2.3.2"
+ }
+ },
+ "node_modules/safe-buffer": {
+ "version": "5.2.1",
+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
+ "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "license": "MIT"
+ },
+ "node_modules/semver": {
+ "version": "7.8.5",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz",
+ "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==",
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/siginfo": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/siginfo/-/siginfo-2.0.0.tgz",
+ "integrity": "sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/simple-concat": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.1.tgz",
+ "integrity": "sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "license": "MIT"
+ },
+ "node_modules/simple-get": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/simple-get/-/simple-get-4.0.1.tgz",
+ "integrity": "sha512-brv7p5WgH0jmQJr1ZDDfKDOSeWWg+OVypG99A/5vYGPqJ6pxiaHLy8nxtFjBA7oMa01ebA9gfh1uMCFqOuXxvA==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "decompress-response": "^6.0.0",
+ "once": "^1.3.1",
+ "simple-concat": "^1.0.0"
+ }
+ },
+ "node_modules/source-map": {
+ "version": "0.7.6",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.6.tgz",
+ "integrity": "sha512-i5uvt8C3ikiWeNZSVZNWcfZPItFQOsYTUAOkcUPGd8DqDy1uOUikjt5dG+uRlwyvR108Fb9DOd4GvXfT0N2/uQ==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">= 12"
+ }
+ },
+ "node_modules/source-map-js": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz",
+ "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/stackback": {
+ "version": "0.0.2",
+ "resolved": "https://registry.npmjs.org/stackback/-/stackback-0.0.2.tgz",
+ "integrity": "sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/std-env": {
+ "version": "3.10.0",
+ "resolved": "https://registry.npmjs.org/std-env/-/std-env-3.10.0.tgz",
+ "integrity": "sha512-5GS12FdOZNliM5mAOxFRg7Ir0pWz8MdpYm6AY6VPkGpbA7ZzmbzNcBJQ0GPvvyWgcY7QAhCgf9Uy89I03faLkg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/string_decoder": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",
+ "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==",
+ "license": "MIT",
+ "dependencies": {
+ "safe-buffer": "~5.2.0"
+ }
+ },
+ "node_modules/strip-json-comments": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz",
+ "integrity": "sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/strip-literal": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/strip-literal/-/strip-literal-3.1.0.tgz",
+ "integrity": "sha512-8r3mkIM/2+PpjHoOtiAW8Rg3jJLHaV7xPwG+YRGrv6FP0wwk/toTpATxWYOW0BKdWwl82VT2tFYi5DlROa0Mxg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "js-tokens": "^9.0.1"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/antfu"
+ }
+ },
+ "node_modules/sucrase": {
+ "version": "3.35.1",
+ "resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.35.1.tgz",
+ "integrity": "sha512-DhuTmvZWux4H1UOnWMB3sk0sbaCVOoQZjv8u1rDoTV0HTdGem9hkAZtl4JZy8P2z4Bg0nT+YMeOFyVr4zcG5Tw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/gen-mapping": "^0.3.2",
+ "commander": "^4.0.0",
+ "lines-and-columns": "^1.1.6",
+ "mz": "^2.7.0",
+ "pirates": "^4.0.1",
+ "tinyglobby": "^0.2.11",
+ "ts-interface-checker": "^0.1.9"
+ },
+ "bin": {
+ "sucrase": "bin/sucrase",
+ "sucrase-node": "bin/sucrase-node"
+ },
+ "engines": {
+ "node": ">=16 || 14 >=14.17"
+ }
+ },
+ "node_modules/tar-fs": {
+ "version": "2.1.5",
+ "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.5.tgz",
+ "integrity": "sha512-OboTd8mmMhZDNPV+UjQcK9yKAatXu2aJ+r1w4im1Otd4M4fl2hwvdoXUxIYHFTHWK/3y3FarBP70v3vwmGlOxw==",
+ "license": "MIT",
+ "dependencies": {
+ "chownr": "^1.1.1",
+ "mkdirp-classic": "^0.5.2",
+ "pump": "^3.0.0",
+ "tar-stream": "^2.1.4"
+ }
+ },
+ "node_modules/tar-stream": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz",
+ "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==",
+ "license": "MIT",
+ "dependencies": {
+ "bl": "^4.0.3",
+ "end-of-stream": "^1.4.1",
+ "fs-constants": "^1.0.0",
+ "inherits": "^2.0.3",
+ "readable-stream": "^3.1.1"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/thenify": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz",
+ "integrity": "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "any-promise": "^1.0.0"
+ }
+ },
+ "node_modules/thenify-all": {
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz",
+ "integrity": "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "thenify": ">= 3.1.0 < 4"
+ },
+ "engines": {
+ "node": ">=0.8"
+ }
+ },
+ "node_modules/tinybench": {
+ "version": "2.9.0",
+ "resolved": "https://registry.npmjs.org/tinybench/-/tinybench-2.9.0.tgz",
+ "integrity": "sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/tinyexec": {
+ "version": "0.3.2",
+ "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-0.3.2.tgz",
+ "integrity": "sha512-KQQR9yN7R5+OSwaK0XQoj22pwHoTlgYqmUscPYoknOoWCWfj/5/ABTMRi69FrKU5ffPVh5QcFikpWJI/P1ocHA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/tinyglobby": {
+ "version": "0.2.17",
+ "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.17.tgz",
+ "integrity": "sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "fdir": "^6.5.0",
+ "picomatch": "^4.0.4"
+ },
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/SuperchupuDev"
+ }
+ },
+ "node_modules/tinypool": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/tinypool/-/tinypool-1.1.1.tgz",
+ "integrity": "sha512-Zba82s87IFq9A9XmjiX5uZA/ARWDrB03OHlq+Vw1fSdt0I+4/Kutwy8BP4Y/y/aORMo61FQ0vIb5j44vSo5Pkg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^18.0.0 || >=20.0.0"
+ }
+ },
+ "node_modules/tinyrainbow": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/tinyrainbow/-/tinyrainbow-2.0.0.tgz",
+ "integrity": "sha512-op4nsTR47R6p0vMUUoYl/a+ljLFVtlfaXkLQmqfLR1qHma1h/ysYk4hEXZ880bf2CYgTskvTa/e196Vd5dDQXw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=14.0.0"
+ }
+ },
+ "node_modules/tinyspy": {
+ "version": "4.0.4",
+ "resolved": "https://registry.npmjs.org/tinyspy/-/tinyspy-4.0.4.tgz",
+ "integrity": "sha512-azl+t0z7pw/z958Gy9svOTuzqIk6xq+NSheJzn5MMWtWTFywIacg2wUlzKFGtt3cthx0r2SxMK0yzJOR0IES7Q==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=14.0.0"
+ }
+ },
+ "node_modules/tree-kill": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/tree-kill/-/tree-kill-1.2.2.tgz",
+ "integrity": "sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==",
+ "dev": true,
+ "license": "MIT",
+ "bin": {
+ "tree-kill": "cli.js"
+ }
+ },
+ "node_modules/ts-interface-checker": {
+ "version": "0.1.13",
+ "resolved": "https://registry.npmjs.org/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz",
+ "integrity": "sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==",
+ "dev": true,
+ "license": "Apache-2.0"
+ },
+ "node_modules/tsup": {
+ "version": "8.5.1",
+ "resolved": "https://registry.npmjs.org/tsup/-/tsup-8.5.1.tgz",
+ "integrity": "sha512-xtgkqwdhpKWr3tKPmCkvYmS9xnQK3m3XgxZHwSUjvfTjp7YfXe5tT3GgWi0F2N+ZSMsOeWeZFh7ZZFg5iPhing==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "bundle-require": "^5.1.0",
+ "cac": "^6.7.14",
+ "chokidar": "^4.0.3",
+ "consola": "^3.4.0",
+ "debug": "^4.4.0",
+ "esbuild": "^0.27.0",
+ "fix-dts-default-cjs-exports": "^1.0.0",
+ "joycon": "^3.1.1",
+ "picocolors": "^1.1.1",
+ "postcss-load-config": "^6.0.1",
+ "resolve-from": "^5.0.0",
+ "rollup": "^4.34.8",
+ "source-map": "^0.7.6",
+ "sucrase": "^3.35.0",
+ "tinyexec": "^0.3.2",
+ "tinyglobby": "^0.2.11",
+ "tree-kill": "^1.2.2"
+ },
+ "bin": {
+ "tsup": "dist/cli-default.js",
+ "tsup-node": "dist/cli-node.js"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "@microsoft/api-extractor": "^7.36.0",
+ "@swc/core": "^1",
+ "postcss": "^8.4.12",
+ "typescript": ">=4.5.0"
+ },
+ "peerDependenciesMeta": {
+ "@microsoft/api-extractor": {
+ "optional": true
+ },
+ "@swc/core": {
+ "optional": true
+ },
+ "postcss": {
+ "optional": true
+ },
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/tsx": {
+ "version": "4.23.0",
+ "resolved": "https://registry.npmjs.org/tsx/-/tsx-4.23.0.tgz",
+ "integrity": "sha512-eUdUIaCr963q2h5u3+QwvYp0+eqPvn+egeqZUm0hwERCqqx1E3kK5ehbGCvqSE5MQAULr67ww0cA3jKc3YkM1w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "esbuild": "~0.28.0"
+ },
+ "bin": {
+ "tsx": "dist/cli.mjs"
+ },
+ "engines": {
+ "node": ">=18.0.0"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.3.3"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/aix-ppc64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.28.1.tgz",
+ "integrity": "sha512-Svl7tq8k/08+p6CXPpRjQ1fKX+1odH/BQbb48fV6fj3CWHhsoIOoY87w1oHXm0qEpkIK3ZfVgp0hed3XBXzXMQ==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "aix"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/android-arm": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.28.1.tgz",
+ "integrity": "sha512-0k2F129Xdio1TdJfzJ8sy1Q47vUD2NnwdhiAf7drUN1EBTfPf4hsFCtmMgu/6m8JSzsBrlmVjudMBQqOfG8usQ==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/android-arm64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.28.1.tgz",
+ "integrity": "sha512-34EGEbCIAgosYz6goLcopX6Mo7NyGv9tfwEM2/7Ce2VcVRk568iSvniGWcUXIy7wEDR1wzolcxcriFVrWYcwBg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/android-x64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.28.1.tgz",
+ "integrity": "sha512-dbwY7ltSMDWsRatcRpCnES4F+im88OCUgGZjy52shC7GqHRE/cYlxNbB4Z4UpJswpcc4Qxd2oE/ufM0p61IKng==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/darwin-arm64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.28.1.tgz",
+ "integrity": "sha512-TZbWkQY7kvTAXbXUT7uVACR5cMHsDiSz9z7ZKAX/RTq/WJEk3QyRr0wZpNhBDX+/0CtdqUIJlOiodQcta6tY3Q==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/darwin-x64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.28.1.tgz",
+ "integrity": "sha512-zfdzgK9ACBNZLI/CyHTOx81SyNbM6YXn7rxSgX97VjyiPl9W1i4Ka4fgKECEoFCKGpvBj5qArWIGgQjOwkgskQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/freebsd-arm64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.28.1.tgz",
+ "integrity": "sha512-wG2EA8ENdEI0qhkSZMjfqrdY+ziCYCPMmtZjjIwOmXFjmyzEHn+UUxk5of+SYsjtfs3VpnlC7QLzSI5hY/rOAw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/freebsd-x64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.28.1.tgz",
+ "integrity": "sha512-i7dZ9vQgnvSCzi/rYCXNgtF/U+eKZNJBzu3eTQbRgHnM7tNSizLOkRFAl3qzVc/Op/u5YkHHa4pf/3DOYHthLQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/linux-arm": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.28.1.tgz",
+ "integrity": "sha512-qVXBOHQS+d5Y722GwJzJUtOLlX7km3CraOaGormF1pDtPd2C/l1SHRPgjLunLGe51Sh5YYWKMFDyV4SxgMQYTQ==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/linux-arm64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.28.1.tgz",
+ "integrity": "sha512-yHs+0uc8+nvEAfAfxrWQKK5peSNzBc4PegcMO0EJ2hT71uA7vB8Ihg2e77R2P7SG5uYjPbHlLLmve4LLLRCf0g==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/linux-ia32": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.28.1.tgz",
+ "integrity": "sha512-d1z4ZuP0ajrfz/FhGT4vv278rX8KnPPJx8i5+AtK7TYbx9Le9F1hyzurZpkEyjkGa9dUGhQow4C1NmeGvqxN2w==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/linux-loong64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.28.1.tgz",
+ "integrity": "sha512-M5sRjUVZrkm1OAPR3dlOYzNmN+loZKGVi1VUQGrwuqLcbR6qeAz+famMhjASeH3YVKvZz+zT1jlh/keC3Rj/lg==",
+ "cpu": [
+ "loong64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/linux-mips64el": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.28.1.tgz",
+ "integrity": "sha512-mRObBZeHh2OxcBFPWE/FjylkRgZdYuiTR3vaTozquCGOH14iP9oN4x4Ge81CoIDYQrXmIxpFumJBu5MtZpnQJQ==",
+ "cpu": [
+ "mips64el"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/linux-ppc64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.28.1.tgz",
+ "integrity": "sha512-slScBsMAb3GFDcdrCgLwZtPYRoH2H/youv10QiZyRjmsP48fznoveWytSgCI/R0ZcUgpc0ZhIUEx6LHts8yrfQ==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/linux-riscv64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.28.1.tgz",
+ "integrity": "sha512-kw0owk1o0GFETUJyW0jc0G4Yzs0BHZn0JDZ8JRT088vjJYX777BAs1fDGxAC+q831qOs2DTC96mNsG2opdfyyQ==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/linux-s390x": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.28.1.tgz",
+ "integrity": "sha512-/lAIjX8aYFRByhh6L5rYtPEDRqa9de/4V/juOXcta5frjvzXO4/sqEtyytse0g3zZFuWu5cDN0MkLz2qRDD2Ag==",
+ "cpu": [
+ "s390x"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/linux-x64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.28.1.tgz",
+ "integrity": "sha512-u/anNYF2mmVOEDwLtnQ1wOr3EZ9sTNGLWrsYGYwHWzGA3Si84IOkHXlbWTD1NB+9/1lcnweYKO54uhxZydNzfA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/netbsd-arm64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.28.1.tgz",
+ "integrity": "sha512-oks0DYbLwWMmaakTsCb+zL4E+aHRVLom9IJZOAthMQEPiQmydXHkziYEsGYRx0uNV/IjEKGAV941JzH02pflqw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "netbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/netbsd-x64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.28.1.tgz",
+ "integrity": "sha512-aeL6lAnN89Hz43Mlh1G8ARasbuoYvSITDEx0tHh5b7jJnHcssqgjy9Yx430GDpmCa6OyrKoS0aNRjKundRizGg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "netbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/openbsd-arm64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.28.1.tgz",
+ "integrity": "sha512-MEFJe5C3R8pwXdZ5Y21oo6m7ePiS0d9pWucn99O/wvyJZChoIQKrQDxKrGeW8F5+T0okTHesAmDeiHDTIq0V/Q==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/openbsd-x64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.28.1.tgz",
+ "integrity": "sha512-i/ZLIOafE0Z8cI/XANJAixoJL/uRAoS2xOA3rb0xN+KK0K177cMAsQYkzHtBrtMXAKuAc7HGgcWiZ/sRC1Nxgw==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/openharmony-arm64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.28.1.tgz",
+ "integrity": "sha512-ge+Z7EXFNt2BO1oAMsVpiQ8EwndV9i1xXerAeTIK7AtPs3bKFXQM7nlRxDSIUIMeueR1CNXxqztLzdNeReKBJg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openharmony"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/sunos-x64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.28.1.tgz",
+ "integrity": "sha512-BEjgtECkL3vY+SaSQ6nzVfiALUeFxpawyp8Jmf5PtYhf1Ug40N1h/hxlhts+f1FvSvarEigdxS3BlSMI2PJLcQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "sunos"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/win32-arm64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.28.1.tgz",
+ "integrity": "sha512-lCv9eK/H6ZJWbE7bh2nw54CZ9M2nupBxJcTsdk/QQnWkdSjKGuxmmH8/GWrlT1eMmZfn4dGcCjRte397WqfQXA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/win32-ia32": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.28.1.tgz",
+ "integrity": "sha512-zvb/mB2bSCoJOpoCBgYKKpX6YM6mJBlBUVUtVj41DlZJVEB6/0CKlRYxP5wWl1C1ILiCoAU5wZZ4q1P3qeS6Eg==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/win32-x64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.28.1.tgz",
+ "integrity": "sha512-bm4Mowrv+GXMlpWX++EcXw/iLyd1o3+bJkC2DkWXYVvgZCqD/bSj9ctZeAMC3cIxgjRVR2Dufaiu4YPxr5gW1A==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/esbuild": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.28.1.tgz",
+ "integrity": "sha512-HrJrvZv5ayxBzPfwphOoNzkzOIIlifzk0KJrGK2c8R4+LKpMtpYLQeUdjnwjWv/LZlkH2laZk+4w78pi99D4Vw==",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "MIT",
+ "bin": {
+ "esbuild": "bin/esbuild"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "optionalDependencies": {
+ "@esbuild/aix-ppc64": "0.28.1",
+ "@esbuild/android-arm": "0.28.1",
+ "@esbuild/android-arm64": "0.28.1",
+ "@esbuild/android-x64": "0.28.1",
+ "@esbuild/darwin-arm64": "0.28.1",
+ "@esbuild/darwin-x64": "0.28.1",
+ "@esbuild/freebsd-arm64": "0.28.1",
+ "@esbuild/freebsd-x64": "0.28.1",
+ "@esbuild/linux-arm": "0.28.1",
+ "@esbuild/linux-arm64": "0.28.1",
+ "@esbuild/linux-ia32": "0.28.1",
+ "@esbuild/linux-loong64": "0.28.1",
+ "@esbuild/linux-mips64el": "0.28.1",
+ "@esbuild/linux-ppc64": "0.28.1",
+ "@esbuild/linux-riscv64": "0.28.1",
+ "@esbuild/linux-s390x": "0.28.1",
+ "@esbuild/linux-x64": "0.28.1",
+ "@esbuild/netbsd-arm64": "0.28.1",
+ "@esbuild/netbsd-x64": "0.28.1",
+ "@esbuild/openbsd-arm64": "0.28.1",
+ "@esbuild/openbsd-x64": "0.28.1",
+ "@esbuild/openharmony-arm64": "0.28.1",
+ "@esbuild/sunos-x64": "0.28.1",
+ "@esbuild/win32-arm64": "0.28.1",
+ "@esbuild/win32-ia32": "0.28.1",
+ "@esbuild/win32-x64": "0.28.1"
+ }
+ },
+ "node_modules/tunnel-agent": {
+ "version": "0.6.0",
+ "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz",
+ "integrity": "sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==",
+ "license": "Apache-2.0",
+ "dependencies": {
+ "safe-buffer": "^5.0.1"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/typescript": {
+ "version": "5.9.3",
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",
+ "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==",
+ "devOptional": true,
+ "license": "Apache-2.0",
+ "bin": {
+ "tsc": "bin/tsc",
+ "tsserver": "bin/tsserver"
+ },
+ "engines": {
+ "node": ">=14.17"
+ }
+ },
+ "node_modules/ufo": {
+ "version": "1.6.4",
+ "resolved": "https://registry.npmjs.org/ufo/-/ufo-1.6.4.tgz",
+ "integrity": "sha512-JFNbkD1Svwe0KvGi8GOeLcP4kAWQ609twvCdcHxq1oSL8svv39ZuSvajcD8B+5D0eL4+s1Is2D/O6KN3qcTeRA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/undici-types": {
+ "version": "7.18.2",
+ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.18.2.tgz",
+ "integrity": "sha512-AsuCzffGHJybSaRrmr5eHr81mwJU3kjw6M+uprWvCXiNeN9SOGwQ3Jn8jb8m3Z6izVgknn1R0FTCEAP2QrLY/w==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/util-deprecate": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
+ "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==",
+ "license": "MIT"
+ },
+ "node_modules/viem": {
+ "version": "2.55.1",
+ "resolved": "https://registry.npmjs.org/viem/-/viem-2.55.1.tgz",
+ "integrity": "sha512-sajvEmONS3dEDFh0jKXGugTU8ImyGoIV3sEHSWNRhgkH484v/+6DjZAplRhcdeqNV/VBxOs/l3raOG4NaXvX9A==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/wevm"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "@noble/curves": "1.9.1",
+ "@noble/hashes": "1.8.0",
+ "@scure/bip32": "1.7.0",
+ "@scure/bip39": "1.6.0",
+ "abitype": "1.2.3",
+ "isows": "1.0.7",
+ "ox": "0.14.30",
+ "ws": "8.21.0"
+ },
+ "peerDependencies": {
+ "typescript": ">=5.0.4"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/vite": {
+ "version": "7.3.6",
+ "resolved": "https://registry.npmjs.org/vite/-/vite-7.3.6.tgz",
+ "integrity": "sha512-4XP60spRGjSZFf1qYH+dJIkK2znL3zQfl9KkOV9MkkRR/3Dls0dxaBsQPTloEc5BLXWPL9vsOxopxyKoMmDueg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "esbuild": "^0.27.0 || ^0.28.0",
+ "fdir": "^6.5.0",
+ "picomatch": "^4.0.3",
+ "postcss": "^8.5.6",
+ "rollup": "^4.43.0",
+ "tinyglobby": "^0.2.15"
+ },
+ "bin": {
+ "vite": "bin/vite.js"
+ },
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ },
+ "funding": {
+ "url": "https://github.com/vitejs/vite?sponsor=1"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.3.3"
+ },
+ "peerDependencies": {
+ "@types/node": "^20.19.0 || >=22.12.0",
+ "jiti": ">=1.21.0",
+ "less": "^4.0.0",
+ "lightningcss": "^1.21.0",
+ "sass": "^1.70.0",
+ "sass-embedded": "^1.70.0",
+ "stylus": ">=0.54.8",
+ "sugarss": "^5.0.0",
+ "terser": "^5.16.0",
+ "tsx": "^4.8.1",
+ "yaml": "^2.4.2"
+ },
+ "peerDependenciesMeta": {
+ "@types/node": {
+ "optional": true
+ },
+ "jiti": {
+ "optional": true
+ },
+ "less": {
+ "optional": true
+ },
+ "lightningcss": {
+ "optional": true
+ },
+ "sass": {
+ "optional": true
+ },
+ "sass-embedded": {
+ "optional": true
+ },
+ "stylus": {
+ "optional": true
+ },
+ "sugarss": {
+ "optional": true
+ },
+ "terser": {
+ "optional": true
+ },
+ "tsx": {
+ "optional": true
+ },
+ "yaml": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/vite-node": {
+ "version": "3.2.4",
+ "resolved": "https://registry.npmjs.org/vite-node/-/vite-node-3.2.4.tgz",
+ "integrity": "sha512-EbKSKh+bh1E1IFxeO0pg1n4dvoOTt0UDiXMd/qn++r98+jPO1xtJilvXldeuQ8giIB5IkpjCgMleHMNEsGH6pg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "cac": "^6.7.14",
+ "debug": "^4.4.1",
+ "es-module-lexer": "^1.7.0",
+ "pathe": "^2.0.3",
+ "vite": "^5.0.0 || ^6.0.0 || ^7.0.0-0"
+ },
+ "bin": {
+ "vite-node": "vite-node.mjs"
+ },
+ "engines": {
+ "node": "^18.0.0 || ^20.0.0 || >=22.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/vitest": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/vitest/-/vitest-3.2.7.tgz",
+ "integrity": "sha512-KrxIJ62Fd89gfysR4WotlgZABiz2dqFPgqGzX7s+CwsqLFomRH7777ZcrOD6+WVAh7khPQP41A+BKbpcJFrdEg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/chai": "^5.2.2",
+ "@vitest/expect": "3.2.7",
+ "@vitest/mocker": "3.2.7",
+ "@vitest/pretty-format": "^3.2.7",
+ "@vitest/runner": "3.2.7",
+ "@vitest/snapshot": "3.2.7",
+ "@vitest/spy": "3.2.7",
+ "@vitest/utils": "3.2.7",
+ "chai": "^5.2.0",
+ "debug": "^4.4.1",
+ "expect-type": "^1.2.1",
+ "magic-string": "^0.30.17",
+ "pathe": "^2.0.3",
+ "picomatch": "^4.0.2",
+ "std-env": "^3.9.0",
+ "tinybench": "^2.9.0",
+ "tinyexec": "^0.3.2",
+ "tinyglobby": "^0.2.14",
+ "tinypool": "^1.1.1",
+ "tinyrainbow": "^2.0.0",
+ "vite": "^5.0.0 || ^6.0.0 || ^7.0.0-0",
+ "vite-node": "3.2.4",
+ "why-is-node-running": "^2.3.0"
+ },
+ "bin": {
+ "vitest": "vitest.mjs"
+ },
+ "engines": {
+ "node": "^18.0.0 || ^20.0.0 || >=22.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ },
+ "peerDependencies": {
+ "@edge-runtime/vm": "*",
+ "@types/debug": "^4.1.12",
+ "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0",
+ "@vitest/browser": "3.2.7",
+ "@vitest/ui": "3.2.7",
+ "happy-dom": "*",
+ "jsdom": "*"
+ },
+ "peerDependenciesMeta": {
+ "@edge-runtime/vm": {
+ "optional": true
+ },
+ "@types/debug": {
+ "optional": true
+ },
+ "@types/node": {
+ "optional": true
+ },
+ "@vitest/browser": {
+ "optional": true
+ },
+ "@vitest/ui": {
+ "optional": true
+ },
+ "happy-dom": {
+ "optional": true
+ },
+ "jsdom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/why-is-node-running": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/why-is-node-running/-/why-is-node-running-2.3.0.tgz",
+ "integrity": "sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "siginfo": "^2.0.0",
+ "stackback": "0.0.2"
+ },
+ "bin": {
+ "why-is-node-running": "cli.js"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/wrappy": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
+ "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==",
+ "license": "ISC"
+ },
+ "node_modules/ws": {
+ "version": "8.21.0",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-8.21.0.tgz",
+ "integrity": "sha512-Vsp28b7DRcimFQvrqu2Wek3z1iYxDCWqHYB8Qsnk/S4RfaCQzPGPyBNuVjJV3cd6UiKtUtp6sNM77gWvzcCH+g==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=10.0.0"
+ },
+ "peerDependencies": {
+ "bufferutil": "^4.0.1",
+ "utf-8-validate": ">=5.0.2"
+ },
+ "peerDependenciesMeta": {
+ "bufferutil": {
+ "optional": true
+ },
+ "utf-8-validate": {
+ "optional": true
+ }
+ }
+ }
+ }
+}
diff --git a/robinhood/hood-traders/package.json b/robinhood/hood-traders/package.json
index 186528b0a..9e07d81da 100644
--- a/robinhood/hood-traders/package.json
+++ b/robinhood/hood-traders/package.json
@@ -42,7 +42,7 @@
},
"dependencies": {
"better-sqlite3": "^11.8.0",
- "hoodchain": "^0.1.0",
+ "hoodchain": "file:../robinhood-chain-sdk",
"viem": "^2.55.0",
"ws": "^8.18.0"
},
diff --git a/robinhood/hood-traders/src/framework/config.ts b/robinhood/hood-traders/src/framework/config.ts
new file mode 100644
index 000000000..7c1adcfbe
--- /dev/null
+++ b/robinhood/hood-traders/src/framework/config.ts
@@ -0,0 +1,70 @@
+import type { HoodNetwork } from 'hoodchain'
+import type { Mode, RiskLimits } from './types.js'
+
+/** Fleet-wide configuration resolved from the environment. */
+export interface FleetConfig {
+ network: HoodNetwork
+ rpcUrl: string | undefined
+ mode: Mode
+ /** Set true only when HOOD_TRADERS_LIVE=1 AND a key is present. */
+ hasWallet: boolean
+ privateKey: `0x${string}` | undefined
+ stockTokenEligible: boolean
+ fleetMaxDailySpendUsdg: number
+ dashboardPort: number
+ killFile: string
+ /** Path to the SQLite journal. */
+ dbPath: string
+ defaultLimits: RiskLimits
+}
+
+function num(name: string, fallback: number): number {
+ const raw = process.env[name]
+ if (raw === undefined || raw === '') return fallback
+ const n = Number(raw)
+ if (!Number.isFinite(n) || n < 0) {
+ throw new Error(`Env ${name}="${raw}" is not a non-negative number`)
+ }
+ return n
+}
+
+function bool(name: string, fallback: boolean): boolean {
+ const raw = process.env[name]
+ if (raw === undefined || raw === '') return fallback
+ return raw === '1' || raw.toLowerCase() === 'true' || raw.toLowerCase() === 'yes'
+}
+
+/**
+ * Resolve fleet configuration from the environment.
+ *
+ * Live mode is deliberately hard to enable by accident: it requires BOTH
+ * `HOOD_TRADERS_LIVE=1` and a `ROBINHOOD_CHAIN_PRIVATE_KEY`. Missing either one
+ * falls back to paper mode rather than erroring, so a mis-set flag can never
+ * silently spend real funds.
+ */
+export function loadFleetConfig(env: NodeJS.ProcessEnv = process.env): FleetConfig {
+ const network = (env.HOOD_NETWORK === 'testnet' ? 'testnet' : 'mainnet') as HoodNetwork
+ const wantLive = bool('HOOD_TRADERS_LIVE', false)
+ const privateKey = env.ROBINHOOD_CHAIN_PRIVATE_KEY as `0x${string}` | undefined
+ const hasKey = typeof privateKey === 'string' && /^0x[0-9a-fA-F]{64}$/.test(privateKey)
+ const mode: Mode = wantLive && hasKey ? 'live' : 'paper'
+
+ return {
+ network,
+ rpcUrl: env.HOOD_RPC_URL || undefined,
+ mode,
+ hasWallet: hasKey,
+ privateKey: hasKey ? privateKey : undefined,
+ stockTokenEligible: bool('HOOD_STOCK_TOKEN_ELIGIBLE', false),
+ fleetMaxDailySpendUsdg: num('FLEET_MAX_DAILY_SPEND_USDG', 250),
+ dashboardPort: num('DASHBOARD_PORT', 4670),
+ killFile: env.KILL_FILE || './KILL',
+ dbPath: env.HOOD_TRADERS_DB || './data/hood-traders.db',
+ defaultLimits: {
+ maxPositionUsdg: num('AGENT_MAX_POSITION_USDG', 50),
+ maxDailySpendUsdg: num('AGENT_MAX_DAILY_SPEND_USDG', 100),
+ maxSlippageBps: num('AGENT_MAX_SLIPPAGE_BPS', 100),
+ cooldownSeconds: num('AGENT_COOLDOWN_SECONDS', 60),
+ },
+ }
+}
diff --git a/robinhood/hood-traders/src/framework/journal.ts b/robinhood/hood-traders/src/framework/journal.ts
new file mode 100644
index 000000000..af7c7a468
--- /dev/null
+++ b/robinhood/hood-traders/src/framework/journal.ts
@@ -0,0 +1,207 @@
+import Database from 'better-sqlite3'
+import { mkdirSync } from 'node:fs'
+import { dirname } from 'node:path'
+import type { DecisionRecord, EquityPoint, TradeRecord } from './types.js'
+
+/**
+ * The decision journal — the agent's black box recorder. Every observe, every
+ * refusal, every trade (paper or live), and every equity mark lands here so the
+ * dashboard can answer "why did this trade fire?" and the whole run is auditable
+ * after the fact.
+ *
+ * SQLite via better-sqlite3 (synchronous, zero-config, embedded). bigints are
+ * stored as decimal TEXT — SQLite integers are 64-bit signed and token amounts
+ * routinely exceed that, so TEXT is the only lossless option.
+ */
+export class Journal {
+ private readonly db: Database.Database
+
+ constructor(dbPath: string) {
+ if (dbPath !== ':memory:') mkdirSync(dirname(dbPath), { recursive: true })
+ this.db = new Database(dbPath)
+ this.db.pragma('journal_mode = WAL')
+ this.db.pragma('foreign_keys = ON')
+ this.migrate()
+ }
+
+ private migrate(): void {
+ this.db.exec(`
+ CREATE TABLE IF NOT EXISTS trades (
+ id INTEGER PRIMARY KEY AUTOINCREMENT,
+ agent_id TEXT NOT NULL,
+ mode TEXT NOT NULL,
+ ts INTEGER NOT NULL,
+ side TEXT NOT NULL,
+ token TEXT NOT NULL,
+ token_symbol TEXT NOT NULL,
+ quote_token TEXT NOT NULL,
+ quote_symbol TEXT NOT NULL,
+ amount_in TEXT NOT NULL,
+ amount_out TEXT NOT NULL,
+ tx_hash TEXT,
+ reason TEXT NOT NULL,
+ slippage_bps INTEGER NOT NULL,
+ gas_estimate TEXT NOT NULL,
+ meta TEXT NOT NULL
+ );
+ CREATE INDEX IF NOT EXISTS idx_trades_agent_ts ON trades(agent_id, ts);
+
+ CREATE TABLE IF NOT EXISTS decisions (
+ id INTEGER PRIMARY KEY AUTOINCREMENT,
+ agent_id TEXT NOT NULL,
+ ts INTEGER NOT NULL,
+ kind TEXT NOT NULL,
+ detail TEXT NOT NULL,
+ meta TEXT NOT NULL
+ );
+ CREATE INDEX IF NOT EXISTS idx_decisions_agent_ts ON decisions(agent_id, ts);
+
+ CREATE TABLE IF NOT EXISTS equity (
+ id INTEGER PRIMARY KEY AUTOINCREMENT,
+ agent_id TEXT NOT NULL,
+ ts INTEGER NOT NULL,
+ realized_usd REAL NOT NULL,
+ open_value_usd REAL NOT NULL,
+ equity_usd REAL NOT NULL
+ );
+ CREATE INDEX IF NOT EXISTS idx_equity_agent_ts ON equity(agent_id, ts);
+ `)
+ }
+
+ recordTrade(t: TradeRecord): number {
+ const info = this.db
+ .prepare(
+ `INSERT INTO trades
+ (agent_id, mode, ts, side, token, token_symbol, quote_token, quote_symbol,
+ amount_in, amount_out, tx_hash, reason, slippage_bps, gas_estimate, meta)
+ VALUES (@agent_id,@mode,@ts,@side,@token,@token_symbol,@quote_token,@quote_symbol,
+ @amount_in,@amount_out,@tx_hash,@reason,@slippage_bps,@gas_estimate,@meta)`,
+ )
+ .run({
+ agent_id: t.agentId,
+ mode: t.mode,
+ ts: t.ts,
+ side: t.side,
+ token: t.token,
+ token_symbol: t.tokenSymbol,
+ quote_token: t.quoteToken,
+ quote_symbol: t.quoteSymbol,
+ amount_in: t.amountIn.toString(),
+ amount_out: t.amountOut.toString(),
+ tx_hash: t.txHash,
+ reason: t.reason,
+ slippage_bps: t.slippageBps,
+ gas_estimate: t.gasEstimate.toString(),
+ meta: JSON.stringify(t.meta ?? {}),
+ })
+ return Number(info.lastInsertRowid)
+ }
+
+ recordDecision(d: DecisionRecord): number {
+ const info = this.db
+ .prepare(
+ `INSERT INTO decisions (agent_id, ts, kind, detail, meta)
+ VALUES (@agent_id,@ts,@kind,@detail,@meta)`,
+ )
+ .run({
+ agent_id: d.agentId,
+ ts: d.ts,
+ kind: d.kind,
+ detail: d.detail,
+ meta: JSON.stringify(d.meta ?? {}),
+ })
+ return Number(info.lastInsertRowid)
+ }
+
+ recordEquity(e: EquityPoint): void {
+ this.db
+ .prepare(
+ `INSERT INTO equity (agent_id, ts, realized_usd, open_value_usd, equity_usd)
+ VALUES (?,?,?,?,?)`,
+ )
+ .run(e.agentId, e.ts, e.realizedUsd, e.openValueUsd, e.equityUsd)
+ }
+
+ /** Sum of USDG-denominated spend by an agent since a UTC-day boundary (ms). */
+ spentSince(agentId: string, sinceMs: number, quoteSymbol = 'USDG'): number {
+ const rows = this.db
+ .prepare(
+ `SELECT amount_in FROM trades
+ WHERE agent_id=? AND ts>=? AND side='buy' AND quote_symbol=?`,
+ )
+ .all(agentId, sinceMs, quoteSymbol) as { amount_in: string }[]
+ // amount_in is USDG (6dp) smallest units → dollars
+ return rows.reduce((sum, r) => sum + Number(BigInt(r.amount_in)) / 1e6, 0)
+ }
+
+ recentTrades(agentId: string, limit = 50): TradeRecord[] {
+ const rows = this.db
+ .prepare(`SELECT * FROM trades WHERE agent_id=? ORDER BY ts DESC LIMIT ?`)
+ .all(agentId, limit) as Record<string, unknown>[]
+ return rows.map(rowToTrade)
+ }
+
+ recentDecisions(agentId: string, limit = 100): DecisionRecord[] {
+ const rows = this.db
+ .prepare(`SELECT * FROM decisions WHERE agent_id=? ORDER BY ts DESC LIMIT ?`)
+ .all(agentId, limit) as Record<string, unknown>[]
+ return rows.map((r) => ({
+ id: r.id as number,
+ agentId: r.agent_id as string,
+ ts: r.ts as number,
+ kind: r.kind as DecisionRecord['kind'],
+ detail: r.detail as string,
+ meta: JSON.parse((r.meta as string) || '{}'),
+ }))
+ }
+
+ equityCurve(agentId: string, limit = 500): EquityPoint[] {
+ const rows = this.db
+ .prepare(
+ `SELECT * FROM (
+ SELECT * FROM equity WHERE agent_id=? ORDER BY ts DESC LIMIT ?
+ ) ORDER BY ts ASC`,
+ )
+ .all(agentId, limit) as Record<string, unknown>[]
+ return rows.map((r) => ({
+ agentId: r.agent_id as string,
+ ts: r.ts as number,
+ realizedUsd: r.realized_usd as number,
+ openValueUsd: r.open_value_usd as number,
+ equityUsd: r.equity_usd as number,
+ }))
+ }
+
+ /** All trades across every agent, newest first — for the fleet-wide feed. */
+ allRecentTrades(limit = 100): TradeRecord[] {
+ const rows = this.db
+ .prepare(`SELECT * FROM trades ORDER BY ts DESC LIMIT ?`)
+ .all(limit) as Record<string, unknown>[]
+ return rows.map(rowToTrade)
+ }
+
+ close(): void {
+ this.db.close()
+ }
+}
+
+function rowToTrade(r: Record<string, unknown>): TradeRecord {
+ return {
+ id: r.id as number,
+ agentId: r.agent_id as string,
+ mode: r.mode as TradeRecord['mode'],
+ ts: r.ts as number,
+ side: r.side as 'buy' | 'sell',
+ token: r.token as `0x${string}`,
+ tokenSymbol: r.token_symbol as string,
+ quoteToken: r.quote_token as `0x${string}`,
+ quoteSymbol: r.quote_symbol as string,
+ amountIn: BigInt(r.amount_in as string),
+ amountOut: BigInt(r.amount_out as string),
+ txHash: (r.tx_hash as `0x${string}` | null) ?? null,
+ reason: r.reason as string,
+ slippageBps: r.slippage_bps as number,
+ gasEstimate: BigInt(r.gas_estimate as string),
+ meta: JSON.parse((r.meta as string) || '{}'),
+ }
+}
diff --git a/robinhood/hood-traders/src/framework/kill.ts b/robinhood/hood-traders/src/framework/kill.ts
new file mode 100644
index 000000000..712c79544
--- /dev/null
+++ b/robinhood/hood-traders/src/framework/kill.ts
@@ -0,0 +1,74 @@
+import { existsSync } from 'node:fs'
+
+/**
+ * Global kill switch. Once tripped it is irreversible for the process lifetime:
+ * every agent checks `isKilled()` before each decide/execute step and refuses to
+ * open new positions. Three independent triggers, per the spec:
+ *
+ * 1. SIGINT / SIGTERM (Ctrl-C, container stop)
+ * 2. the presence of a `KILL` file on disk (drop-a-file panic button)
+ * 3. an HTTP `POST /kill` on the dashboard server (wired in server/)
+ *
+ * The switch never sells or unwinds on its own — it HALTS new risk. Unwinding is
+ * an explicit operator action, because a forced market-sell into thin liquidity
+ * during whatever caused the panic is usually worse than holding.
+ */
+export class KillSwitch {
+ private killed = false
+ private reason: string | null = null
+ private readonly listeners = new Set<(reason: string) => void>()
+ private fileTimer: ReturnType<typeof setInterval> | null = null
+
+ constructor(private readonly killFilePath: string) {}
+
+ /** Install SIGINT/SIGTERM handlers and begin polling the kill file. */
+ arm(): void {
+ const onSignal = (sig: string) => () => this.trip(`signal:${sig}`)
+ process.once('SIGINT', onSignal('SIGINT'))
+ process.once('SIGTERM', onSignal('SIGTERM'))
+
+ // Poll the kill file. If it already exists at boot, trip immediately.
+ const check = () => {
+ if (!this.killed && existsSync(this.killFilePath)) this.trip('kill_file')
+ }
+ check()
+ this.fileTimer = setInterval(check, 1000)
+ // Do not keep the event loop alive solely for this poll.
+ this.fileTimer.unref?.()
+ }
+
+ /** Trip the switch. Idempotent. */
+ trip(reason: string): void {
+ if (this.killed) return
+ this.killed = true
+ this.reason = reason
+ for (const l of this.listeners) {
+ try {
+ l(reason)
+ } catch {
+ // a listener throwing must not stop the others from being notified
+ }
+ }
+ }
+
+ isKilled(): boolean {
+ return this.killed
+ }
+
+ killReason(): string | null {
+ return this.reason
+ }
+
+ /** Subscribe to the trip event. Returns an unsubscribe fn. */
+ onKill(listener: (reason: string) => void): () => void {
+ this.listeners.add(listener)
+ return () => this.listeners.delete(listener)
+ }
+
+ /** Stop the file poller (used in tests/teardown). */
+ dispose(): void {
+ if (this.fileTimer) clearInterval(this.fileTimer)
+ this.fileTimer = null
+ this.listeners.clear()
+ }
+}
diff --git a/robinhood/hood-traders/src/framework/risk.ts b/robinhood/hood-traders/src/framework/risk.ts
new file mode 100644
index 000000000..0fdb5817d
--- /dev/null
+++ b/robinhood/hood-traders/src/framework/risk.ts
@@ -0,0 +1,114 @@
+import type { RefusalReason, RiskLimits } from './types.js'
+
+/** Everything the risk engine needs to rule on a single intent. */
+export interface RiskContext {
+ /** `buy` grows exposure and hits spend/position caps; `sell` reduces it and is exempt from those. */
+ side: 'buy' | 'sell'
+ /** USD notional of this order (agent computes it from live prices; USDG≈USD, WETH×ethUsd). */
+ notionalUsd: number
+ /** USD value the token position would reach AFTER a buy fills. */
+ positionUsdAfter: number
+ /** USD this agent has already spent this UTC day. */
+ spentTodayUsd: number
+ /** USD the whole fleet has spent this UTC day. */
+ fleetSpentTodayUsd: number
+ /** ms epoch of this agent's last executed trade, or null. */
+ lastTradeAt: number | null
+ /** Slippage bound (bps) the order would execute with. */
+ slippageBps: number
+ /** Whether the global kill switch is tripped. */
+ killed: boolean
+ /** Current time (ms) — injected for deterministic tests. */
+ now: number
+ /** Fleet-wide daily spend ceiling (USD). */
+ fleetMaxDailySpendUsdg: number
+}
+
+/** Result of a risk check. */
+export interface RiskVerdict {
+ ok: boolean
+ reason?: RefusalReason
+ /** Human explanation, safe to journal and surface on the dashboard. */
+ detail: string
+}
+
+/**
+ * The risk engine. It is the last gate before any order — paper or live —
+ * reaches execution, and it fails CLOSED: any check it cannot satisfy refuses
+ * the trade rather than letting it through. Refusals are ordered from
+ * cheapest/most-fatal (kill switch) to most-specific (caps) so the journaled
+ * reason is the most meaningful one.
+ *
+ * Sells are intentionally exempt from spend and position caps: those caps exist
+ * to bound how much risk you take ON, and refusing a de-risking sell because of
+ * a spend cap would trap an agent in a losing position. Sells still honor the
+ * kill switch, cooldown, and slippage bound.
+ */
+export class RiskEngine {
+ constructor(private readonly limits: RiskLimits) {}
+
+ get riskLimits(): RiskLimits {
+ return this.limits
+ }
+
+ check(ctx: RiskContext): RiskVerdict {
+ if (ctx.killed) {
+ return { ok: false, reason: 'kill_switch', detail: 'kill switch is tripped — no new orders' }
+ }
+
+ if (ctx.notionalUsd <= 0) {
+ return { ok: false, reason: 'zero_amount', detail: 'order notional is zero or negative' }
+ }
+
+ // Cooldown throttles trade frequency regardless of side.
+ if (ctx.lastTradeAt !== null) {
+ const elapsed = (ctx.now - ctx.lastTradeAt) / 1000
+ if (elapsed < this.limits.cooldownSeconds) {
+ const wait = (this.limits.cooldownSeconds - elapsed).toFixed(1)
+ return { ok: false, reason: 'cooldown', detail: `cooldown active — ${wait}s until next trade allowed` }
+ }
+ }
+
+ // Slippage bound must never exceed the configured cap.
+ if (ctx.slippageBps > this.limits.maxSlippageBps) {
+ return {
+ ok: false,
+ reason: 'slippage_bound',
+ detail: `slippage ${ctx.slippageBps}bps exceeds cap ${this.limits.maxSlippageBps}bps`,
+ }
+ }
+
+ // Spend/position caps only constrain buys (exposure-increasing orders).
+ if (ctx.side === 'buy') {
+ if (ctx.positionUsdAfter > this.limits.maxPositionUsdg) {
+ return {
+ ok: false,
+ reason: 'position_cap',
+ detail: `position would reach $${ctx.positionUsdAfter.toFixed(2)}, over cap $${this.limits.maxPositionUsdg}`,
+ }
+ }
+ if (ctx.spentTodayUsd + ctx.notionalUsd > this.limits.maxDailySpendUsdg) {
+ return {
+ ok: false,
+ reason: 'daily_cap',
+ detail: `daily spend would reach $${(ctx.spentTodayUsd + ctx.notionalUsd).toFixed(2)}, over cap $${this.limits.maxDailySpendUsdg}`,
+ }
+ }
+ if (ctx.fleetSpentTodayUsd + ctx.notionalUsd > ctx.fleetMaxDailySpendUsdg) {
+ return {
+ ok: false,
+ reason: 'fleet_daily_cap',
+ detail: `fleet daily spend would reach $${(ctx.fleetSpentTodayUsd + ctx.notionalUsd).toFixed(2)}, over cap $${ctx.fleetMaxDailySpendUsdg}`,
+ }
+ }
+ }
+
+ return { ok: true, detail: 'within all risk limits' }
+ }
+}
+
+/** UTC-midnight ms boundary for `now` — the daily-cap accounting window. */
+export function utcDayStart(now: number): number {
+ const d = new Date(now)
+ return Date.UTC(d.getUTCFullYear(), d.getUTCMonth(), d.getUTCDate())
+}
diff --git a/robinhood/hood-traders/src/framework/types.ts b/robinhood/hood-traders/src/framework/types.ts
new file mode 100644
index 000000000..ddec994e1
--- /dev/null
+++ b/robinhood/hood-traders/src/framework/types.ts
@@ -0,0 +1,152 @@
+import type { Address, Hash } from 'viem'
+
+/** Trading mode. `paper` simulates fills against live liquidity; `live` signs real swaps. */
+export type Mode = 'paper' | 'live'
+
+/** A single actionable instruction produced by a strategy's `decide` step. */
+export interface Intent {
+ /** `buy` = spend the quote token to acquire `token`; `sell` = the reverse. */
+ side: 'buy' | 'sell'
+ /** The non-quote token being acquired (buy) or disposed (sell). */
+ token: Address
+ /** Human label for the token, for journal/dashboard readability. */
+ tokenSymbol: string
+ /** Notional to trade, denominated in the quote token's smallest unit (USDG=6dp, WETH=18dp). */
+ amountIn: bigint
+ /** Which token `amountIn` is denominated in (what leaves the wallet on a buy). */
+ quoteToken: Address
+ /** Quote token symbol, e.g. `USDG` or `WETH`. */
+ quoteSymbol: string
+ /** Free-text reason the strategy fired — surfaced verbatim in the decision journal. */
+ reason: string
+ /** Optional per-intent slippage override (bps). Falls back to the agent's cap. */
+ maxSlippageBps?: number
+ /** Opaque strategy metadata persisted with the decision (take-profit level, curve %, premium bps…). */
+ meta?: Record<string, unknown>
+}
+
+/** An alert a strategy raises without trading (e.g. premium-watch in alerts-only mode). */
+export interface Alert {
+ level: 'info' | 'warn'
+ message: string
+ meta?: Record<string, unknown>
+}
+
+/** What a strategy returns each tick. */
+export interface Decision {
+ intents: Intent[]
+ alerts: Alert[]
+}
+
+/** A position the agent is currently holding (paper or live). */
+export interface Position {
+ token: Address
+ tokenSymbol: string
+ /** Token units held (smallest unit). */
+ amount: bigint
+ /** Quote token spent to open, smallest unit. */
+ costBasis: bigint
+ quoteToken: Address
+ quoteSymbol: string
+ /** ms epoch the position opened. */
+ openedAt: number
+ /** Strategy metadata carried from the opening intent. */
+ meta: Record<string, unknown>
+}
+
+/** Outcome of the simulate step — a real QuoterV2 `eth_call` against live pools. */
+export interface Simulation {
+ amountIn: bigint
+ /** Expected output at current liquidity. */
+ expectedOut: bigint
+ /** Minimum out after slippage bound. */
+ minOut: bigint
+ /** Implied price impact vs a hypothetical zero-slippage fill, in bps (best-effort). */
+ routeHops: number
+ gasEstimate: bigint
+ slippageBps: number
+}
+
+/** Reason an intent was refused before execution. */
+export type RefusalReason =
+ | 'position_cap'
+ | 'daily_cap'
+ | 'fleet_daily_cap'
+ | 'slippage_bound'
+ | 'cooldown'
+ | 'kill_switch'
+ | 'no_route'
+ | 'eligibility_gate'
+ | 'insufficient_balance'
+ | 'zero_amount'
+
+/** A journaled trade (executed or simulated). */
+export interface TradeRecord {
+ id?: number
+ agentId: string
+ mode: Mode
+ ts: number
+ side: 'buy' | 'sell'
+ token: Address
+ tokenSymbol: string
+ quoteToken: Address
+ quoteSymbol: string
+ amountIn: bigint
+ amountOut: bigint
+ /** null in paper mode; the swap tx hash in live mode. */
+ txHash: Hash | null
+ reason: string
+ slippageBps: number
+ gasEstimate: bigint
+ meta: Record<string, unknown>
+}
+
+/** A journaled decision that did NOT result in a trade (refused / held / alerted). */
+export interface DecisionRecord {
+ id?: number
+ agentId: string
+ ts: number
+ kind: 'refused' | 'alert' | 'observe';
+ detail: string
+ meta: Record<string, unknown>
+}
+
+/** A point on an agent's equity curve. */
+export interface EquityPoint {
+ agentId: string
+ ts: number
+ /** Realized PnL to date (quote units, USDG cents-style as float USD). */
+ realizedUsd: number
+ /** Marked value of open positions (USD). */
+ openValueUsd: number
+ /** realized + open. */
+ equityUsd: number
+}
+
+/** Per-agent risk limits. */
+export interface RiskLimits {
+ maxPositionUsdg: number
+ maxDailySpendUsdg: number
+ maxSlippageBps: number
+ cooldownSeconds: number
+}
+
+/** Live snapshot of an agent for the dashboard. */
+export interface AgentStatus {
+ id: string
+ strategy: string
+ mode: Mode
+ running: boolean
+ killed: boolean
+ limits: RiskLimits
+ spentTodayUsd: number
+ realizedUsd: number
+ openValueUsd: number
+ equityUsd: number
+ positions: Position[]
+ lastTickAt: number | null
+ lastError: string | null
+ ticks: number
+ trades: number
+ refusals: number
+}
diff --git a/robinhood/hood-traders/tsup.config.ts b/robinhood/hood-traders/tsup.config.ts
new file mode 100644
index 000000000..f84b2596c
--- /dev/null
+++ b/robinhood/hood-traders/tsup.config.ts
@@ -0,0 +1,14 @@
+import { defineConfig } from 'tsup'
+
+export default defineConfig({
+ entry: ['src/main.ts', 'src/index.ts'],
+ format: ['esm'],
+ target: 'node20',
+ platform: 'node',
+ dts: { entry: 'src/index.ts' },
+ sourcemap: true,
+ clean: true,
+ // better-sqlite3 is a native addon; never bundle it.
+ external: ['better-sqlite3', 'hoodchain', 'viem', 'ws'],
+ banner: { js: '#!/usr/bin/env node' },
+})
diff --git a/robinhood/hood-traders/vitest.config.ts b/robinhood/hood-traders/vitest.config.ts
new file mode 100644
index 000000000..9ec39911f
--- /dev/null
+++ b/robinhood/hood-traders/vitest.config.ts
@@ -0,0 +1,9 @@
+import { defineConfig } from 'vitest/config'
+
+export default defineConfig({
+ test: {
+ include: ['tests/**/*.test.ts'],
+ testTimeout: 20000,
+ hookTimeout: 20000,
+ },
+})
diff --git a/robinhood/hood402/.env.example b/robinhood/hood402/.env.example
new file mode 100644
index 000000000..3485db1d4
--- /dev/null
+++ b/robinhood/hood402/.env.example
@@ -0,0 +1,29 @@
+# hood402 — environment configuration
+# Copy to `.env` and fill in. NEVER commit a real key. `.gitignore` covers `.env*`.
+
+# ---- Facilitator (the service you run) ----
+# The gas wallet that broadcasts settlement transactions. Needs ETH on Robinhood
+# Chain for gas. It never holds user funds — it only relays signed EIP-3009
+# authorizations. Keep hard limits on this key.
+FACILITATOR_PRIVATE_KEY=0x0000000000000000000000000000000000000000000000000000000000000000
+
+# Which network the facilitator settles on: `robinhood` (mainnet 4663) or
+# `robinhood-testnet` (46630). You can list several, comma-separated.
+FACILITATOR_NETWORKS=robinhood,robinhood-testnet
+
+# Optional custom RPC (defaults to the public Robinhood Chain RPC per network).
+# ROBINHOOD_RPC_URL=https://robinhood-mainnet.g.alchemy.com/v2/YOUR_KEY
+# ROBINHOOD_TESTNET_RPC_URL=https://rpc.testnet.chain.robinhood.com
+
+# HTTP port for the facilitator service.
+PORT=4021
+
+# Path to the SQLite settlement ledger (idempotency + audit).
+LEDGER_PATH=./data/hood402-ledger.sqlite
+
+# ---- Client (a payer / agent paying for services) ----
+# The wallet that signs USDG payments. Needs USDG balance (NOT ETH — gasless).
+ROBINHOOD_CHAIN_PRIVATE_KEY=0x0000000000000000000000000000000000000000000000000000000000000000
+
+# Hard spend cap (in USDG) per origin, per client session. Refuses to sign above it.
+HOOD402_MAX_SPEND_PER_ORIGIN=1.00
diff --git a/robinhood/hood402/.gitignore b/robinhood/hood402/.gitignore
new file mode 100644
index 000000000..ee0a5c9ea
--- /dev/null
+++ b/robinhood/hood402/.gitignore
@@ -0,0 +1,12 @@
+node_modules/
+dist/
+*.log
+.env
+.env.*
+!.env.example
+coverage/
+*.sqlite
+*.sqlite-journal
+*.db
+facilitator/data/
+.DS_Store
diff --git a/robinhood/hood402/LICENSE b/robinhood/hood402/LICENSE
new file mode 100644
index 000000000..4216cf919
--- /dev/null
+++ b/robinhood/hood402/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2026 nirholas
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/robinhood/hood402/package.json b/robinhood/hood402/package.json
new file mode 100644
index 000000000..1ab529723
--- /dev/null
+++ b/robinhood/hood402/package.json
@@ -0,0 +1,83 @@
+{
+ "name": "hood402",
+ "version": "0.1.0",
+ "description": "x402 payment rail for USDG on Robinhood Chain (chain 4663). Spec-conformant `exact`/EIP-3009 server middleware, client fetch wrapper, and a self-hostable facilitator. Interoperates with any standard x402 client.",
+ "keywords": [
+ "x402",
+ "robinhood",
+ "robinhood-chain",
+ "usdg",
+ "eip-3009",
+ "transferwithauthorization",
+ "payments",
+ "402",
+ "micropayments",
+ "agent-payments",
+ "viem",
+ "stablecoin"
+ ],
+ "license": "MIT",
+ "author": "nirholas (https://x.com/nichxbt)",
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/nirholas/hood402.git"
+ },
+ "homepage": "https://nirholas.github.io/hood402/",
+ "bugs": {
+ "url": "https://github.com/nirholas/hood402/issues"
+ },
+ "type": "module",
+ "engines": {
+ "node": ">=20"
+ },
+ "sideEffects": false,
+ "main": "./dist/index.cjs",
+ "module": "./dist/index.js",
+ "types": "./dist/index.d.ts",
+ "exports": {
+ ".": {
+ "types": "./dist/index.d.ts",
+ "import": "./dist/index.js",
+ "require": "./dist/index.cjs"
+ },
+ "./server": {
+ "types": "./dist/server/index.d.ts",
+ "import": "./dist/server/index.js",
+ "require": "./dist/server/index.cjs"
+ },
+ "./client": {
+ "types": "./dist/client/index.d.ts",
+ "import": "./dist/client/index.js",
+ "require": "./dist/client/index.cjs"
+ },
+ "./package.json": "./package.json"
+ },
+ "files": [
+ "dist",
+ "README.md",
+ "LICENSE"
+ ],
+ "scripts": {
+ "build": "tsup",
+ "typecheck": "tsc --noEmit",
+ "test": "vitest run tests",
+ "test:watch": "vitest",
+ "verify:usdg": "node scripts/verify-usdg.mjs",
+ "e2e": "tsx examples/e2e.ts",
+ "demo:server": "tsx examples/demo-server.ts",
+ "prepublishOnly": "npm run build && npm test"
+ },
+ "peerDependencies": {
+ "viem": "^2.55.0"
+ },
+ "devDependencies": {
+ "tsup": "^8.3.5",
+ "tsx": "^4.19.2",
+ "typescript": "^5.7.2",
+ "viem": "^2.55.0",
+ "vitest": "^2.1.8"
+ },
+ "workspaces": [
+ "facilitator"
+ ]
+}
diff --git a/robinhood/hood402/src/abi.ts b/robinhood/hood402/src/abi.ts
new file mode 100644
index 000000000..ab151b4e9
--- /dev/null
+++ b/robinhood/hood402/src/abi.ts
@@ -0,0 +1,62 @@
+/**
+ * Minimal ABI fragments for the USDG facet on Robinhood Chain.
+ *
+ * USDG (Paxos Global Dollar) is a facet/diamond stablecoin. The EIP-3009
+ * surface (`transferWithAuthorization`, `authorizationState`) is registered to
+ * a facet — verified on-chain via `getFacet(bytes4)` returning a non-zero
+ * implementation for selectors `0xe3ee160e` and `0xe94a0102` on both mainnet
+ * (chain 4663) and testnet (46630). See `scripts/verify-usdg.mjs` to reproduce.
+ *
+ * The `transferWithAuthorization` selector on USDG is the split `(v, r, s)`
+ * form (`0xe3ee160e`), the same form used by Circle's USDC — so any standard
+ * x402 `exact` facilitator settles USDG without modification.
+ */
+
+/** EIP-3009 `transferWithAuthorization` (v, r, s form) — selector 0xe3ee160e. */
+export const eip3009Abi = [
+ {
+ type: 'function',
+ name: 'transferWithAuthorization',
+ stateMutability: 'nonpayable',
+ inputs: [
+ { name: 'from', type: 'address' },
+ { name: 'to', type: 'address' },
+ { name: 'value', type: 'uint256' },
+ { name: 'validAfter', type: 'uint256' },
+ { name: 'validBefore', type: 'uint256' },
+ { name: 'nonce', type: 'bytes32' },
+ { name: 'v', type: 'uint8' },
+ { name: 'r', type: 'bytes32' },
+ { name: 's', type: 'bytes32' },
+ ],
+ outputs: [],
+ },
+ {
+ type: 'function',
+ name: 'authorizationState',
+ stateMutability: 'view',
+ inputs: [
+ { name: 'authorizer', type: 'address' },
+ { name: 'nonce', type: 'bytes32' },
+ ],
+ outputs: [{ name: '', type: 'bool' }],
+ },
+] as const
+
+/** ERC-20 reads used during verification. */
+export const erc20Abi = [
+ {
+ type: 'function',
+ name: 'balanceOf',
+ stateMutability: 'view',
+ inputs: [{ name: 'account', type: 'address' }],
+ outputs: [{ name: '', type: 'uint256' }],
+ },
+ {
+ type: 'function',
+ name: 'decimals',
+ stateMutability: 'view',
+ inputs: [],
+ outputs: [{ name: '', type: 'uint8' }],
+ },
+] as const
diff --git a/robinhood/hood402/src/errors.ts b/robinhood/hood402/src/errors.ts
new file mode 100644
index 000000000..6d2e4e394
--- /dev/null
+++ b/robinhood/hood402/src/errors.ts
@@ -0,0 +1,60 @@
+/**
+ * Canonical `invalidReason` codes returned by verification and settlement.
+ *
+ * These mirror the x402 reference facilitator's vocabulary so that clients and
+ * dashboards built for the wider ecosystem recognize hood402's responses.
+ */
+export type InvalidReason =
+ | 'malformed_payment'
+ | 'unsupported_scheme'
+ | 'unsupported_network'
+ | 'network_mismatch'
+ | 'invalid_scheme'
+ | 'invalid_signature'
+ | 'invalid_recipient'
+ | 'invalid_asset'
+ | 'insufficient_amount'
+ | 'authorization_expired'
+ | 'authorization_not_yet_valid'
+ | 'authorization_already_used'
+ | 'insufficient_funds'
+ | 'simulation_failed'
+ | 'settlement_failed'
+
+/** Human-readable one-liners for each reason (used in logs and docs). */
+export const REASON_TEXT: Record<InvalidReason, string> = {
+ malformed_payment: 'The X-PAYMENT header could not be decoded into a valid payment payload.',
+ unsupported_scheme: 'The payment scheme is not supported (only "exact" is implemented).',
+ unsupported_network: 'The payment network is not a known Robinhood Chain network.',
+ network_mismatch: 'The payment network does not match the network the resource requires.',
+ invalid_scheme: 'The payment scheme does not match the required scheme.',
+ invalid_signature: 'The EIP-3009 signature is invalid or does not recover to the payer address.',
+ invalid_recipient: 'The authorization pays a different address than the resource requires.',
+ invalid_asset: 'The authorization is for a different token than the resource requires.',
+ insufficient_amount: 'The authorized amount is less than the price of the resource.',
+ authorization_expired: 'The authorization validBefore time has already passed.',
+ authorization_not_yet_valid: 'The authorization validAfter time is in the future.',
+ authorization_already_used: 'The authorization nonce has already been settled (replay).',
+ insufficient_funds: 'The payer does not hold enough USDG to cover the payment.',
+ simulation_failed: 'The settlement transaction reverted in simulation.',
+ settlement_failed: 'The settlement transaction failed to broadcast or confirm.',
+}
+
+/** Error raised when a caller misconfigures hood402 (not a payment failure). */
+export class Hood402ConfigError extends Error {
+ override name = 'Hood402ConfigError'
+}
+
+/** Error raised by the client when a spend cap would be exceeded. */
+export class SpendCapExceededError extends Error {
+ override name = 'SpendCapExceededError'
+ constructor(
+ readonly origin: string,
+ readonly attempted: string,
+ readonly cap: string,
+ ) {
+ super(
+ `hood402: payment of ${attempted} USDG to ${origin} would exceed the spend cap of ${cap} USDG for this origin`,
+ )
+ }
+}
diff --git a/robinhood/hood402/src/networks.ts b/robinhood/hood402/src/networks.ts
new file mode 100644
index 000000000..d73882ee5
--- /dev/null
+++ b/robinhood/hood402/src/networks.ts
@@ -0,0 +1,95 @@
+import type { Address, Chain } from 'viem'
+import { robinhood, robinhoodTestnet } from 'viem/chains'
+
+/**
+ * Robinhood Chain network registry for the x402 `exact` rail.
+ *
+ * Every fact below was verified on-chain on 2026-07-12 (reproduce with
+ * `npm run verify:usdg`):
+ * - USDG is a facet/diamond stablecoin exposing EIP-3009
+ * `transferWithAuthorization` (`getFacet(0xe3ee160e)` → non-zero facet on both
+ * networks), 6 decimals.
+ * - Its EIP-712 domain reconstructs to exactly match the on-chain
+ * `DOMAIN_SEPARATOR()`: `name="Global Dollar", version="1"`, with the chain id
+ * and the USDG proxy as `verifyingContract`.
+ */
+export interface HoodNetwork {
+ /** Canonical x402 network identifier emitted in challenges. */
+ readonly id: string
+ /** EVM chain id. */
+ readonly chainId: number
+ /** viem chain definition (official, from `viem/chains`). */
+ readonly chain: Chain
+ /** Default public RPC endpoint. */
+ readonly rpcUrl: string
+ /** Blockscout explorer base URL. */
+ readonly explorerUrl: string
+ /** USDG (Paxos Global Dollar) token address on this network. */
+ readonly usdg: Address
+ /** USDG decimals (6 on both networks). */
+ readonly usdgDecimals: number
+ /** EIP-712 domain fields for USDG's `TransferWithAuthorization` signature. */
+ readonly usdgDomain: { readonly name: string; readonly version: string }
+ /** Whether this is a test network. */
+ readonly testnet: boolean
+}
+
+export const ROBINHOOD_MAINNET: HoodNetwork = {
+ id: 'robinhood',
+ chainId: 4663,
+ chain: robinhood,
+ rpcUrl: 'https://rpc.mainnet.chain.robinhood.com',
+ explorerUrl: 'https://robinhoodchain.blockscout.com',
+ usdg: '0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168',
+ usdgDecimals: 6,
+ usdgDomain: { name: 'Global Dollar', version: '1' },
+ testnet: false,
+}
+
+export const ROBINHOOD_TESTNET: HoodNetwork = {
+ id: 'robinhood-testnet',
+ chainId: 46630,
+ chain: robinhoodTestnet,
+ rpcUrl: 'https://rpc.testnet.chain.robinhood.com',
+ explorerUrl: 'https://explorer.testnet.chain.robinhood.com',
+ usdg: '0x7E955252E15c84f5768B83c41a71F9eba181802F',
+ usdgDecimals: 6,
+ usdgDomain: { name: 'Global Dollar', version: '1' },
+ testnet: true,
+}
+
+/**
+ * Accepted aliases for each network. The middleware's `network: 'robinhood'`
+ * and three.ws's `network: 'robinhood-chain'` both resolve here, so callers
+ * never have to memorize the canonical id.
+ */
+const ALIASES: Record<string, HoodNetwork> = {
+ robinhood: ROBINHOOD_MAINNET,
+ 'robinhood-chain': ROBINHOOD_MAINNET,
+ 'robinhood-mainnet': ROBINHOOD_MAINNET,
+ 'eip155:4663': ROBINHOOD_MAINNET,
+ '4663': ROBINHOOD_MAINNET,
+ 'robinhood-testnet': ROBINHOOD_TESTNET,
+ 'robinhood-sepolia': ROBINHOOD_TESTNET,
+ 'eip155:46630': ROBINHOOD_TESTNET,
+ '46630': ROBINHOOD_TESTNET,
+}
+
+/** Resolve a network by id/alias/chainId. Returns `undefined` if unknown. */
+export function resolveNetwork(idOrChainId: string | number): HoodNetwork | undefined {
+ return ALIASES[String(idOrChainId).toLowerCase()]
+}
+
+/** Resolve a network, throwing a descriptive error when unknown. */
+export function requireNetwork(idOrChainId: string | number): HoodNetwork {
+ const net = resolveNetwork(idOrChainId)
+ if (!net) {
+ throw new Error(
+ `hood402: unknown network "${idOrChainId}". Supported: ${Object.keys(ALIASES).join(', ')}`,
+ )
+ }
+ return net
+}
+
+/** Every distinct network hood402 supports. */
+export const NETWORKS: readonly HoodNetwork[] = [ROBINHOOD_MAINNET, ROBINHOOD_TESTNET]
diff --git a/robinhood/hood402/src/scheme/encoding.ts b/robinhood/hood402/src/scheme/encoding.ts
new file mode 100644
index 000000000..9e6040f31
--- /dev/null
+++ b/robinhood/hood402/src/scheme/encoding.ts
@@ -0,0 +1,77 @@
+import type { PaymentPayload, SettlementResponseHeader } from '../types.js'
+
+/**
+ * UTF-8-safe base64 helpers that work in Node and the browser without a
+ * `Buffer` dependency (the client bundle runs in browsers). Falls back to
+ * `Buffer` when the `btoa`/`atob` globals are absent (older Node contexts).
+ */
+function toBase64(bytes: Uint8Array): string {
+ if (typeof btoa === 'function') {
+ let bin = ''
+ for (const b of bytes) bin += String.fromCharCode(b)
+ return btoa(bin)
+ }
+ // Node without the web globals.
+ return Buffer.from(bytes).toString('base64')
+}
+
+function fromBase64(b64: string): Uint8Array {
+ if (typeof atob === 'function') {
+ const bin = atob(b64)
+ const out = new Uint8Array(bin.length)
+ for (let i = 0; i < bin.length; i++) out[i] = bin.charCodeAt(i)
+ return out
+ }
+ return new Uint8Array(Buffer.from(b64, 'base64'))
+}
+
+const encoder = new TextEncoder()
+const decoder = new TextDecoder()
+
+/** Encode a JSON-serializable value as UTF-8 base64. */
+export function encodeBase64Json(value: unknown): string {
+ return toBase64(encoder.encode(JSON.stringify(value)))
+}
+
+/** Decode UTF-8 base64 into a JSON value. Throws on malformed input. */
+export function decodeBase64Json<T>(b64: string): T {
+ return JSON.parse(decoder.decode(fromBase64(b64.trim()))) as T
+}
+
+/** Encode a payment payload into the value of the `X-PAYMENT` header. */
+export function encodePaymentHeader(payload: PaymentPayload): string {
+ return encodeBase64Json(payload)
+}
+
+/**
+ * Decode an `X-PAYMENT` header value into a payment payload. Returns `null`
+ * (never throws) when the header is missing or cannot be decoded — the caller
+ * maps that to a `malformed_payment` challenge.
+ */
+export function decodePaymentHeader(header: string | undefined | null): PaymentPayload | null {
+ if (!header) return null
+ try {
+ const decoded = decodeBase64Json<PaymentPayload>(header)
+ if (!decoded || typeof decoded !== 'object') return null
+ return decoded
+ } catch {
+ return null
+ }
+}
+
+/** Encode a settlement result into the value of the `X-PAYMENT-RESPONSE` header. */
+export function encodeSettlementHeader(result: SettlementResponseHeader): string {
+ return encodeBase64Json(result)
+}
+
+/** Decode an `X-PAYMENT-RESPONSE` header value. Returns `null` on malformed input. */
+export function decodeSettlementHeader(
+ header: string | undefined | null,
+): SettlementResponseHeader | null {
+ if (!header) return null
+ try {
+ return decodeBase64Json<SettlementResponseHeader>(header)
+ } catch {
+ return null
+ }
+}
diff --git a/robinhood/hood402/src/scheme/exact.ts b/robinhood/hood402/src/scheme/exact.ts
new file mode 100644
index 000000000..fa7ac3d53
--- /dev/null
+++ b/robinhood/hood402/src/scheme/exact.ts
@@ -0,0 +1,176 @@
+import {
+ getAddress,
+ isAddress,
+ verifyTypedData,
+ type Address,
+ type Hex,
+ type TypedDataDomain,
+} from 'viem'
+import type { HoodNetwork } from '../networks.js'
+import { resolveNetwork } from '../networks.js'
+import type {
+ ExactEvmAuthorization,
+ PaymentPayload,
+ PaymentRequirements,
+ VerifyResult,
+} from '../types.js'
+import { SCHEME, X402_VERSION } from '../types.js'
+
+/** The EIP-712 type of the message a payer signs (EIP-3009). */
+export const TRANSFER_WITH_AUTHORIZATION_TYPES = {
+ TransferWithAuthorization: [
+ { name: 'from', type: 'address' },
+ { name: 'to', type: 'address' },
+ { name: 'value', type: 'uint256' },
+ { name: 'validAfter', type: 'uint256' },
+ { name: 'validBefore', type: 'uint256' },
+ { name: 'nonce', type: 'bytes32' },
+ ],
+} as const
+
+/** Build the USDG EIP-712 domain for a network. */
+export function usdgDomain(net: HoodNetwork): TypedDataDomain {
+ return {
+ name: net.usdgDomain.name,
+ version: net.usdgDomain.version,
+ chainId: net.chainId,
+ verifyingContract: net.usdg,
+ }
+}
+
+/** Generate a fresh random 32-byte EIP-3009 nonce (browser + Node safe). */
+export function randomNonce(): Hex {
+ const bytes = new Uint8Array(32)
+ crypto.getRandomValues(bytes)
+ let hex = '0x'
+ for (const b of bytes) hex += b.toString(16).padStart(2, '0')
+ return hex as Hex
+}
+
+/** The EIP-712 message form of an authorization (bigints for numeric fields). */
+export function authorizationMessage(auth: ExactEvmAuthorization) {
+ return {
+ from: getAddress(auth.from),
+ to: getAddress(auth.to),
+ value: BigInt(auth.value),
+ validAfter: BigInt(auth.validAfter),
+ validBefore: BigInt(auth.validBefore),
+ nonce: auth.nonce,
+ }
+}
+
+/**
+ * Verify the EIP-3009 signature recovers to `authorization.from`. Uses viem's
+ * `verifyTypedData` (which supports both EOA ECDSA and ERC-1271 smart-account
+ * signatures). Read-only, no gas.
+ */
+export async function verifyAuthorizationSignature(
+ net: HoodNetwork,
+ auth: ExactEvmAuthorization,
+ signature: Hex,
+): Promise<boolean> {
+ try {
+ return await verifyTypedData({
+ address: getAddress(auth.from),
+ domain: usdgDomain(net),
+ types: TRANSFER_WITH_AUTHORIZATION_TYPES,
+ primaryType: 'TransferWithAuthorization',
+ message: authorizationMessage(auth),
+ signature,
+ })
+ } catch {
+ return false
+ }
+}
+
+/** Shape-check a decoded payload — every field present and well-typed. */
+export function isWellFormedPayload(p: unknown): p is PaymentPayload {
+ if (!p || typeof p !== 'object') return false
+ const pp = p as Record<string, unknown>
+ if (pp['x402Version'] !== X402_VERSION) return false
+ if (pp['scheme'] !== SCHEME) return false
+ if (typeof pp['network'] !== 'string') return false
+ const inner = pp['payload']
+ if (!inner || typeof inner !== 'object') return false
+ const ip = inner as Record<string, unknown>
+ if (typeof ip['signature'] !== 'string') return false
+ const auth = ip['authorization']
+ if (!auth || typeof auth !== 'object') return false
+ const a = auth as Record<string, unknown>
+ for (const k of ['from', 'to', 'value', 'validAfter', 'validBefore', 'nonce'] as const) {
+ if (typeof a[k] !== 'string') return false
+ }
+ if (!isAddress(a['from'] as string) || !isAddress(a['to'] as string)) return false
+ return true
+}
+
+/**
+ * Pure, RPC-free half of the verify state machine: check the payload's
+ * structure against the requirement (scheme, network, asset, recipient,
+ * amount, validity window). On-chain checks (balance, replay, simulation) are
+ * layered on top in `verify.ts`.
+ *
+ * @param now Unix seconds — injectable for deterministic tests.
+ */
+export function validateStructural(
+ payload: PaymentPayload,
+ requirements: PaymentRequirements,
+ now: number = Math.floor(Date.now() / 1000),
+): VerifyResult {
+ if (payload.scheme !== requirements.scheme) {
+ return { isValid: false, invalidReason: 'invalid_scheme' }
+ }
+
+ const payNet = resolveNetwork(payload.network)
+ const reqNet = resolveNetwork(requirements.network)
+ if (!payNet || !reqNet) {
+ return { isValid: false, invalidReason: 'unsupported_network' }
+ }
+ if (payNet.chainId !== reqNet.chainId) {
+ return { isValid: false, invalidReason: 'network_mismatch' }
+ }
+
+ const auth = payload.payload.authorization
+
+ // Asset must be USDG for this network.
+ if (getAddress(requirements.asset) !== getAddress(payNet.usdg)) {
+ return { isValid: false, invalidReason: 'invalid_asset' }
+ }
+
+ // Payment must go to the required recipient.
+ if (getAddress(auth.to) !== getAddress(requirements.payTo)) {
+ return { isValid: false, invalidReason: 'invalid_recipient' }
+ }
+
+ // Amount must cover the price (exact scheme: value >= price).
+ let value: bigint
+ let required: bigint
+ try {
+ value = BigInt(auth.value)
+ required = BigInt(requirements.maxAmountRequired)
+ } catch {
+ return { isValid: false, invalidReason: 'malformed_payment' }
+ }
+ if (value < required) {
+ return { isValid: false, invalidReason: 'insufficient_amount' }
+ }
+
+ // Validity window.
+ let validAfter: bigint
+ let validBefore: bigint
+ try {
+ validAfter = BigInt(auth.validAfter)
+ validBefore = BigInt(auth.validBefore)
+ } catch {
+ return { isValid: false, invalidReason: 'malformed_payment' }
+ }
+ const nowBig = BigInt(now)
+ if (validBefore <= nowBig) {
+ return { isValid: false, invalidReason: 'authorization_expired' }
+ }
+ if (validAfter > nowBig) {
+ return { isValid: false, invalidReason: 'authorization_not_yet_valid' }
+ }
+
+ return { isValid: true, payer: getAddress(auth.from) as Address }
+}
diff --git a/robinhood/hood402/src/types.ts b/robinhood/hood402/src/types.ts
new file mode 100644
index 000000000..d03b4348b
--- /dev/null
+++ b/robinhood/hood402/src/types.ts
@@ -0,0 +1,102 @@
+import type { Address, Hex } from 'viem'
+import type { InvalidReason } from './errors.js'
+
+/** The only x402 protocol version hood402 speaks on the wire (v1, X-PAYMENT). */
+export const X402_VERSION = 1 as const
+
+/** The only scheme hood402 implements. */
+export const SCHEME = 'exact' as const
+
+/**
+ * A single payment requirement, as embedded in a 402 challenge (`accepts[]`).
+ * Wire-compatible with the x402 v1 `PaymentRequirements` type — the same object
+ * `x402-fetch`, `x402-axios`, and Coinbase's facilitator clients consume.
+ */
+export interface PaymentRequirements {
+ /** Scheme identifier — always `"exact"`. */
+ scheme: typeof SCHEME
+ /** Network identifier, e.g. `"robinhood"` or `"robinhood-testnet"`. */
+ network: string
+ /** Price in atomic token units (USDG has 6 decimals), as a decimal string. */
+ maxAmountRequired: string
+ /** Absolute URL of the protected resource. */
+ resource: string
+ /** Human description of what is being paid for. */
+ description: string
+ /** MIME type of the successful response body. */
+ mimeType: string
+ /** Optional JSON schema describing the response shape. */
+ outputSchema?: Record<string, unknown> | null
+ /** The address the payment is sent to. */
+ payTo: Address
+ /** Max seconds the server is willing to wait for settlement. */
+ maxTimeoutSeconds: number
+ /** The token contract address (USDG). */
+ asset: Address
+ /** EIP-712 domain of the asset for the `exact`/EIP-3009 signature. */
+ extra?: { name: string; version: string } | null
+}
+
+/** The 402 response body. */
+export interface PaymentRequiredResponse {
+ x402Version: typeof X402_VERSION
+ accepts: PaymentRequirements[]
+ error?: string
+}
+
+/** The EIP-3009 authorization the payer signs. */
+export interface ExactEvmAuthorization {
+ from: Address
+ to: Address
+ /** Value in atomic units, decimal string. */
+ value: string
+ /** Unix seconds; the authorization is invalid before this time. */
+ validAfter: string
+ /** Unix seconds; the authorization is invalid at/after this time. */
+ validBefore: string
+ /** Random 32-byte nonce (0x-hex). */
+ nonce: Hex
+}
+
+/** The `payload` field for the `exact` scheme. */
+export interface ExactEvmPayload {
+ /** 65-byte EIP-712 signature over the authorization. */
+ signature: Hex
+ authorization: ExactEvmAuthorization
+}
+
+/** The full payment payload carried (base64) in the `X-PAYMENT` header. */
+export interface PaymentPayload {
+ x402Version: typeof X402_VERSION
+ scheme: typeof SCHEME
+ network: string
+ payload: ExactEvmPayload
+}
+
+/** Result of verifying a payment against a requirement. */
+export interface VerifyResult {
+ isValid: boolean
+ invalidReason?: InvalidReason
+ /** The recovered payer address, present when the signature was valid. */
+ payer?: Address
+}
+
+/** Result of settling a payment on-chain. */
+export interface SettleResult {
+ success: boolean
+ errorReason?: InvalidReason
+ /** The settlement transaction hash, present on success. */
+ transaction?: Hex
+ /** Canonical network id the settlement landed on. */
+ network: string
+ /** The payer address. */
+ payer?: Address
+}
+
+/** The `X-PAYMENT-RESPONSE` header body (base64-encoded settle result). */
+export type SettlementResponseHeader = SettleResult
+
+/** `GET /supported` response from a facilitator. */
+export interface SupportedResponse {
+ kinds: Array<{ x402Version: number; scheme: string; network: string }>
+}
diff --git a/robinhood/hood402/tsconfig.json b/robinhood/hood402/tsconfig.json
new file mode 100644
index 000000000..b57eb7461
--- /dev/null
+++ b/robinhood/hood402/tsconfig.json
@@ -0,0 +1,20 @@
+{
+ "compilerOptions": {
+ "target": "ES2022",
+ "module": "ESNext",
+ "moduleResolution": "Bundler",
+ "lib": ["ES2022", "DOM"],
+ "strict": true,
+ "exactOptionalPropertyTypes": true,
+ "noUncheckedIndexedAccess": true,
+ "noImplicitOverride": true,
+ "verbatimModuleSyntax": true,
+ "resolveJsonModule": true,
+ "esModuleInterop": true,
+ "skipLibCheck": true,
+ "declaration": true,
+ "noEmit": true,
+ "types": ["node"]
+ },
+ "include": ["src", "tests", "examples", "scripts"]
+}
diff --git a/robinhood/hood402/tsup.config.ts b/robinhood/hood402/tsup.config.ts
new file mode 100644
index 000000000..e1e18514e
--- /dev/null
+++ b/robinhood/hood402/tsup.config.ts
@@ -0,0 +1,15 @@
+import { defineConfig } from 'tsup'
+
+export default defineConfig({
+ entry: {
+ index: 'src/index.ts',
+ 'server/index': 'src/server/index.ts',
+ 'client/index': 'src/client/index.ts',
+ },
+ format: ['esm', 'cjs'],
+ dts: true,
+ sourcemap: true,
+ clean: true,
+ target: 'node20',
+ external: ['viem'],
+})
diff --git a/robinhood/hood402/vitest.config.ts b/robinhood/hood402/vitest.config.ts
new file mode 100644
index 000000000..b31aa2a51
--- /dev/null
+++ b/robinhood/hood402/vitest.config.ts
@@ -0,0 +1,8 @@
+import { defineConfig } from 'vitest/config'
+
+export default defineConfig({
+ test: {
+ include: ['tests/**/*.test.ts'],
+ environment: 'node',
+ },
+})
diff --git a/robinhood/hoodkit/package-lock.json b/robinhood/hoodkit/package-lock.json
new file mode 100644
index 000000000..9614f0c7c
--- /dev/null
+++ b/robinhood/hoodkit/package-lock.json
@@ -0,0 +1,3114 @@
+{
+ "name": "hoodkit",
+ "version": "0.1.0",
+ "lockfileVersion": 3,
+ "requires": true,
+ "packages": {
+ "": {
+ "name": "hoodkit",
+ "version": "0.1.0",
+ "license": "MIT",
+ "devDependencies": {
+ "@types/better-sqlite3": "^7.6.0",
+ "@types/node": "^24.0.0",
+ "@types/react": "^19.0.0",
+ "@types/ws": "^8.18.0",
+ "better-sqlite3": "^12.0.0",
+ "hoodchain": "file:../robinhood-chain-sdk",
+ "react": "^19.0.0",
+ "tsup": "^8.5.0",
+ "typedoc": "^0.28.0",
+ "typescript": "^5.9.0",
+ "viem": "^2.55.0",
+ "vitest": "^3.2.0",
+ "ws": "^8.18.0"
+ },
+ "engines": {
+ "node": ">=20"
+ },
+ "peerDependencies": {
+ "better-sqlite3": ">=11",
+ "hoodchain": "^0.1.0",
+ "react": ">=18",
+ "viem": "^2.55.0",
+ "ws": "^8.18.0"
+ },
+ "peerDependenciesMeta": {
+ "better-sqlite3": {
+ "optional": true
+ },
+ "react": {
+ "optional": true
+ },
+ "ws": {
+ "optional": true
+ }
+ }
+ },
+ "../robinhood-chain-sdk": {
+ "name": "hoodchain",
+ "version": "0.1.0",
+ "dev": true,
+ "license": "MIT",
+ "devDependencies": {
+ "@types/node": "^24.0.0",
+ "@types/ws": "^8.18.0",
+ "tsup": "^8.5.0",
+ "typedoc": "^0.28.0",
+ "typescript": "^5.9.0",
+ "viem": "^2.55.0",
+ "vitest": "^3.2.0",
+ "ws": "^8.18.0"
+ },
+ "engines": {
+ "node": ">=20"
+ },
+ "peerDependencies": {
+ "viem": "^2.55.0",
+ "ws": "^8.18.0"
+ },
+ "peerDependenciesMeta": {
+ "ws": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@adraffy/ens-normalize": {
+ "version": "1.11.1",
+ "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.11.1.tgz",
+ "integrity": "sha512-nhCBV3quEgesuf7c7KYfperqSS14T8bYuvJ8PcLJp6znkZpFc0AuW4qBtr8eKVyPPe/8RSr7sglCWPU5eaxwKQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@esbuild/aix-ppc64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.27.7.tgz",
+ "integrity": "sha512-EKX3Qwmhz1eMdEJokhALr0YiD0lhQNwDqkPYyPhiSwKrh7/4KRjQc04sZ8db+5DVVnZ1LmbNDI1uAMPEUBnQPg==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "aix"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/android-arm": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.27.7.tgz",
+ "integrity": "sha512-jbPXvB4Yj2yBV7HUfE2KHe4GJX51QplCN1pGbYjvsyCZbQmies29EoJbkEc+vYuU5o45AfQn37vZlyXy4YJ8RQ==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/android-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.27.7.tgz",
+ "integrity": "sha512-62dPZHpIXzvChfvfLJow3q5dDtiNMkwiRzPylSCfriLvZeq0a1bWChrGx/BbUbPwOrsWKMn8idSllklzBy+dgQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/android-x64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.27.7.tgz",
+ "integrity": "sha512-x5VpMODneVDb70PYV2VQOmIUUiBtY3D3mPBG8NxVk5CogneYhkR7MmM3yR/uMdITLrC1ml/NV1rj4bMJuy9MCg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/darwin-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.27.7.tgz",
+ "integrity": "sha512-5lckdqeuBPlKUwvoCXIgI2D9/ABmPq3Rdp7IfL70393YgaASt7tbju3Ac+ePVi3KDH6N2RqePfHnXkaDtY9fkw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/darwin-x64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.27.7.tgz",
+ "integrity": "sha512-rYnXrKcXuT7Z+WL5K980jVFdvVKhCHhUwid+dDYQpH+qu+TefcomiMAJpIiC2EM3Rjtq0sO3StMV/+3w3MyyqQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/freebsd-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.27.7.tgz",
+ "integrity": "sha512-B48PqeCsEgOtzME2GbNM2roU29AMTuOIN91dsMO30t+Ydis3z/3Ngoj5hhnsOSSwNzS+6JppqWsuhTp6E82l2w==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/freebsd-x64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.27.7.tgz",
+ "integrity": "sha512-jOBDK5XEjA4m5IJK3bpAQF9/Lelu/Z9ZcdhTRLf4cajlB+8VEhFFRjWgfy3M1O4rO2GQ/b2dLwCUGpiF/eATNQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-arm": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.27.7.tgz",
+ "integrity": "sha512-RkT/YXYBTSULo3+af8Ib0ykH8u2MBh57o7q/DAs3lTJlyVQkgQvlrPTnjIzzRPQyavxtPtfg0EopvDyIt0j1rA==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.27.7.tgz",
+ "integrity": "sha512-RZPHBoxXuNnPQO9rvjh5jdkRmVizktkT7TCDkDmQ0W2SwHInKCAV95GRuvdSvA7w4VMwfCjUiPwDi0ZO6Nfe9A==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-ia32": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.27.7.tgz",
+ "integrity": "sha512-GA48aKNkyQDbd3KtkplYWT102C5sn/EZTY4XROkxONgruHPU72l+gW+FfF8tf2cFjeHaRbWpOYa/uRBz/Xq1Pg==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-loong64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.27.7.tgz",
+ "integrity": "sha512-a4POruNM2oWsD4WKvBSEKGIiWQF8fZOAsycHOt6JBpZ+JN2n2JH9WAv56SOyu9X5IqAjqSIPTaJkqN8F7XOQ5Q==",
+ "cpu": [
+ "loong64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-mips64el": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.27.7.tgz",
+ "integrity": "sha512-KabT5I6StirGfIz0FMgl1I+R1H73Gp0ofL9A3nG3i/cYFJzKHhouBV5VWK1CSgKvVaG4q1RNpCTR2LuTVB3fIw==",
+ "cpu": [
+ "mips64el"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-ppc64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.27.7.tgz",
+ "integrity": "sha512-gRsL4x6wsGHGRqhtI+ifpN/vpOFTQtnbsupUF5R5YTAg+y/lKelYR1hXbnBdzDjGbMYjVJLJTd2OFmMewAgwlQ==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-riscv64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.27.7.tgz",
+ "integrity": "sha512-hL25LbxO1QOngGzu2U5xeXtxXcW+/GvMN3ejANqXkxZ/opySAZMrc+9LY/WyjAan41unrR3YrmtTsUpwT66InQ==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-s390x": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.27.7.tgz",
+ "integrity": "sha512-2k8go8Ycu1Kb46vEelhu1vqEP+UeRVj2zY1pSuPdgvbd5ykAw82Lrro28vXUrRmzEsUV0NzCf54yARIK8r0fdw==",
+ "cpu": [
+ "s390x"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-x64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.27.7.tgz",
+ "integrity": "sha512-hzznmADPt+OmsYzw1EE33ccA+HPdIqiCRq7cQeL1Jlq2gb1+OyWBkMCrYGBJ+sxVzve2ZJEVeePbLM2iEIZSxA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/netbsd-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.27.7.tgz",
+ "integrity": "sha512-b6pqtrQdigZBwZxAn1UpazEisvwaIDvdbMbmrly7cDTMFnw/+3lVxxCTGOrkPVnsYIosJJXAsILG9XcQS+Yu6w==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "netbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/netbsd-x64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.27.7.tgz",
+ "integrity": "sha512-OfatkLojr6U+WN5EDYuoQhtM+1xco+/6FSzJJnuWiUw5eVcicbyK3dq5EeV/QHT1uy6GoDhGbFpprUiHUYggrw==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "netbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/openbsd-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.27.7.tgz",
+ "integrity": "sha512-AFuojMQTxAz75Fo8idVcqoQWEHIXFRbOc1TrVcFSgCZtQfSdc1RXgB3tjOn/krRHENUB4j00bfGjyl2mJrU37A==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/openbsd-x64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.27.7.tgz",
+ "integrity": "sha512-+A1NJmfM8WNDv5CLVQYJ5PshuRm/4cI6WMZRg1by1GwPIQPCTs1GLEUHwiiQGT5zDdyLiRM/l1G0Pv54gvtKIg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/openharmony-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.27.7.tgz",
+ "integrity": "sha512-+KrvYb/C8zA9CU/g0sR6w2RBw7IGc5J2BPnc3dYc5VJxHCSF1yNMxTV5LQ7GuKteQXZtspjFbiuW5/dOj7H4Yw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openharmony"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/sunos-x64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.27.7.tgz",
+ "integrity": "sha512-ikktIhFBzQNt/QDyOL580ti9+5mL/YZeUPKU2ivGtGjdTYoqz6jObj6nOMfhASpS4GU4Q/Clh1QtxWAvcYKamA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "sunos"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/win32-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.27.7.tgz",
+ "integrity": "sha512-7yRhbHvPqSpRUV7Q20VuDwbjW5kIMwTHpptuUzV+AA46kiPze5Z7qgt6CLCK3pWFrHeNfDd1VKgyP4O+ng17CA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/win32-ia32": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.27.7.tgz",
+ "integrity": "sha512-SmwKXe6VHIyZYbBLJrhOoCJRB/Z1tckzmgTLfFYOfpMAx63BJEaL9ExI8x7v0oAO3Zh6D/Oi1gVxEYr5oUCFhw==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/win32-x64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.27.7.tgz",
+ "integrity": "sha512-56hiAJPhwQ1R4i+21FVF7V8kSD5zZTdHcVuRFMW0hn753vVfQN8xlx4uOPT4xoGH0Z/oVATuR82AiqSTDIpaHg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@gerrit0/mini-shiki": {
+ "version": "3.23.0",
+ "resolved": "https://registry.npmjs.org/@gerrit0/mini-shiki/-/mini-shiki-3.23.0.tgz",
+ "integrity": "sha512-bEMORlG0cqdjVyCEuU0cDQbORWX+kYCeo0kV1lbxF5bt4r7SID2l9bqsxJEM0zndaxpOUT7riCyIVEuqq/Ynxg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@shikijs/engine-oniguruma": "^3.23.0",
+ "@shikijs/langs": "^3.23.0",
+ "@shikijs/themes": "^3.23.0",
+ "@shikijs/types": "^3.23.0",
+ "@shikijs/vscode-textmate": "^10.0.2"
+ }
+ },
+ "node_modules/@jridgewell/gen-mapping": {
+ "version": "0.3.13",
+ "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz",
+ "integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/sourcemap-codec": "^1.5.0",
+ "@jridgewell/trace-mapping": "^0.3.24"
+ }
+ },
+ "node_modules/@jridgewell/resolve-uri": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz",
+ "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/@jridgewell/sourcemap-codec": {
+ "version": "1.5.5",
+ "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz",
+ "integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@jridgewell/trace-mapping": {
+ "version": "0.3.31",
+ "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz",
+ "integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/resolve-uri": "^3.1.0",
+ "@jridgewell/sourcemap-codec": "^1.4.14"
+ }
+ },
+ "node_modules/@noble/ciphers": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/@noble/ciphers/-/ciphers-1.3.0.tgz",
+ "integrity": "sha512-2I0gnIVPtfnMw9ee9h1dJG7tp81+8Ob3OJb3Mv37rx5L40/b0i7djjCVvGOVqc9AEIQyvyu1i6ypKdFw8R8gQw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^14.21.3 || >=16"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/@noble/curves": {
+ "version": "1.9.1",
+ "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.9.1.tgz",
+ "integrity": "sha512-k11yZxZg+t+gWvBbIswW0yoJlu8cHOC7dhunwOzoWH/mXGBiYyR4YY6hAEK/3EUs4UpB8la1RfdRpeGsFHkWsA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@noble/hashes": "1.8.0"
+ },
+ "engines": {
+ "node": "^14.21.3 || >=16"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/@noble/hashes": {
+ "version": "1.8.0",
+ "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.8.0.tgz",
+ "integrity": "sha512-jCs9ldd7NwzpgXDIf6P3+NrHh9/sD6CQdxHyjQI+h/6rDNo88ypBxxz45UDuZHz9r3tNz7N/VInSVoVdtXEI4A==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^14.21.3 || >=16"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/@rollup/rollup-android-arm-eabi": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.62.2.tgz",
+ "integrity": "sha512-6o7ZLZK+BeenkZCFNDXqpbjw9bD6nuWonvS/lwQJp7NoVVxm6p3qE7qQ5jGuBjiFsgvqjD8mZAU5oWxTmbOeOg==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ]
+ },
+ "node_modules/@rollup/rollup-android-arm64": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.62.2.tgz",
+ "integrity": "sha512-BaH7BllCACHoH1LguOU56UItGfUWjujlO65kS9LAodViaN4bwIKd7oeW/ZHJ/4ljr/7MIiENnNy3HJ0zXv8Zkw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ]
+ },
+ "node_modules/@rollup/rollup-darwin-arm64": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.62.2.tgz",
+ "integrity": "sha512-v39RCCvj4He82I9sFmk+M1VZ0PLM9sfsLVikjfx2hYBNALhrrOR2D3JjQA6AhlaSOgcR+RzrKY7e1+bT6SUO/A==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ]
+ },
+ "node_modules/@rollup/rollup-darwin-x64": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.62.2.tgz",
+ "integrity": "sha512-yl0y2vq3S3lHeuXhEdss6TWfKW8vkujImO12tn4ZkG/4oghr09LvdYm2RElVjokTQiUvDUGXLGsYeLqUMCKpGA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ]
+ },
+ "node_modules/@rollup/rollup-freebsd-arm64": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.62.2.tgz",
+ "integrity": "sha512-tT4pvt4qXD+vEoezupCWi+a1F0vvDiksiHc+PxRlYTOH1I6/X4id9jPxTP+Fg+545euaFT1jJVs4CEdHZAU1vw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ]
+ },
+ "node_modules/@rollup/rollup-freebsd-x64": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.62.2.tgz",
+ "integrity": "sha512-6nU5F2wCW+qvCBhTn1pdIU3bzsIoF7EUwsCDRxilWGprQR6yd508YnH9+OKFCwpfS8pjZqDUmnCAr7exax0XCg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm-gnueabihf": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.62.2.tgz",
+ "integrity": "sha512-n1GJHPOvpIfhi3TmrCeh6S6URt9BFCt0KQE3qvexyGCTAKpR4Lg+eWvNZEqu7epxwus/8ElT3hacYEucm49SZg==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm-musleabihf": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.62.2.tgz",
+ "integrity": "sha512-JqgflS8wEB+UXV/vS1RpRbifGBeN4D5lz8D8oOFbFZw4vedvdOgCFAjfBmIMdW3yL10XpQQ0Ambepw6MXrhOnA==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm64-gnu": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.62.2.tgz",
+ "integrity": "sha512-wnFJkogWvN4jm/hQRF2UBaeUmk20j5+DmHvoyWii2b8HJDyvz1MF2OU/6ynXt2KR63rbZLWkFpoytpdc/yBuSA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm64-musl": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.62.2.tgz",
+ "integrity": "sha512-HVu2bp0zhvJ8xHEV9+UUs7S90VadmBSY3LcIMvozbPo4AuMGDWlz3ymHLHZPX4hR67TKTt8Qp5PJ5RBg/i+RMQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-loong64-gnu": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.62.2.tgz",
+ "integrity": "sha512-mQqqAV8QaoSgr9I2fKDLY2BAVvmKjWoGiu/cSYQonsLvtqwEn1E4QYfnCOcp5zoEqNhsDYin1s6jx/VJmrxlZg==",
+ "cpu": [
+ "loong64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-loong64-musl": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-musl/-/rollup-linux-loong64-musl-4.62.2.tgz",
+ "integrity": "sha512-IxKLoxCQ2IWi6bT2akyDUBGsOImDKB+sPp4EsTmwFQ/fMwpCKm8uLSSgP/Kx/QYUgKis6SEZ5/Nlhup0DIA0PQ==",
+ "cpu": [
+ "loong64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-ppc64-gnu": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.62.2.tgz",
+ "integrity": "sha512-Mk5ha2RQSgyFfmYYLkBpPnUk8D8FriBxesO1u9O75X0mHgXL1UQcH5Itl2lurWL2tj0RxV9b9tJgipac0hRY9A==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-ppc64-musl": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-musl/-/rollup-linux-ppc64-musl-4.62.2.tgz",
+ "integrity": "sha512-CjvEnqJL/0/TQ3TXX3OPIJ/kmBellrWd4heXUmHeJlTnmwjKpSJzoehLaL6Xk0ZnMHBu9dZuFADNOrtjF4v+2w==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-riscv64-gnu": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.62.2.tgz",
+ "integrity": "sha512-1SiZbzwdkaDURsew/tSOrooKiYy7EQGT6m8ufavAi9NEyQb/6VuIxFXAL1fqa4iZe3g4NbNk4P7J32z2tw5Mgg==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-riscv64-musl": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.62.2.tgz",
+ "integrity": "sha512-nQts12zJ3NQRoE6uYljOH89v7szzLDvG2JD/vsX+vGXU8w/At1GowTZ5/7qeFQ8m7L55rpR8Okugnuo5bgjy2Q==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-s390x-gnu": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.62.2.tgz",
+ "integrity": "sha512-E9/ll019jhPIJgpzfZoIkBGhcz+kKNgVWYRY0zr9srBdPPFVpvOKW8VaJKUbeK+eZXyQF9ltME+Kk6affeaPgg==",
+ "cpu": [
+ "s390x"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-x64-gnu": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.62.2.tgz",
+ "integrity": "sha512-5BqxR/pshjey51iliyzTD5Xi3EN0aLmQ2lZ3lvefVV9c82BvrLo2/6OT55iifpWBufs6kdwWbuOKS841DrmK9A==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-x64-musl": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.62.2.tgz",
+ "integrity": "sha512-uNN83XxQrRAh/w0/pmAfibcwyb6YWt4gP+dpnQKPVJshAloQ785ii8CT8ZCIxkGg9opVsvAlGhFitSm6D1Jjpg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-openbsd-x64": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-openbsd-x64/-/rollup-openbsd-x64-4.62.2.tgz",
+ "integrity": "sha512-srjEIxSH3LRnJN6THczDHWQplqEMFiAJrTab0msUryh9kwNpkICf3Ea6q6MN/2cZwRFUNx5w+h6Hpi4QuHS6Zg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openbsd"
+ ]
+ },
+ "node_modules/@rollup/rollup-openharmony-arm64": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.62.2.tgz",
+ "integrity": "sha512-8hOJnxgbyObnCm5AlRA3A931xX19xq80RjVTKgJOvEKWqJruP/Uf12IbAOaDjjEXYRewwHLfmF0YRIdK3OwKWA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openharmony"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-arm64-msvc": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.62.2.tgz",
+ "integrity": "sha512-mmF4AY1i0hG/bLWUctUq59gtmgaSIRa3cu/A3JFRp/sCNEme2bgDEiDS22P9FbnJB8NJNF4jPJiSP5RHQpUTDg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-ia32-msvc": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.62.2.tgz",
+ "integrity": "sha512-DZgkknc6jhHrk46V25vbAM0zZkyP0nSDkJB8/dRkLTxv470dOmWDqGoEJl/9A0dFfS7yE3REOwNDxpHwSLSt0Q==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-x64-gnu": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.62.2.tgz",
+ "integrity": "sha512-T6xr6ucWSFto+VGajA8YH26LdpHRuP4YLHEKAtCWvJDOlnmWcDZVCI2Jmjr+IFHDlt2zRaTAKE4tfjTaWLgJBg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-x64-msvc": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.62.2.tgz",
+ "integrity": "sha512-BfzEnDJOt9T8M989/lA37EcJgat01wLRnoi5dQf3QzOH7jzpqTAzdDbVfRljVr5r+jzKqpbHeyOfAaXxAd0PAA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@scure/base": {
+ "version": "1.2.6",
+ "resolved": "https://registry.npmjs.org/@scure/base/-/base-1.2.6.tgz",
+ "integrity": "sha512-g/nm5FgUa//MCj1gV09zTJTaM6KBAHqLN907YVQqf7zC49+DcO4B1so4ZX07Ef10Twr6nuqYEH9GEggFXA4Fmg==",
+ "dev": true,
+ "license": "MIT",
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/@scure/bip32": {
+ "version": "1.7.0",
+ "resolved": "https://registry.npmjs.org/@scure/bip32/-/bip32-1.7.0.tgz",
+ "integrity": "sha512-E4FFX/N3f4B80AKWp5dP6ow+flD1LQZo/w8UnLGYZO674jS6YnYeepycOOksv+vLPSpgN35wgKgy+ybfTb2SMw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@noble/curves": "~1.9.0",
+ "@noble/hashes": "~1.8.0",
+ "@scure/base": "~1.2.5"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/@scure/bip39": {
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/@scure/bip39/-/bip39-1.6.0.tgz",
+ "integrity": "sha512-+lF0BbLiJNwVlev4eKelw1WWLaiKXw7sSl8T6FvBlWkdX+94aGJ4o8XjUdlyhTCjd8c+B3KT3JfS8P0bLRNU6A==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@noble/hashes": "~1.8.0",
+ "@scure/base": "~1.2.5"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/@shikijs/engine-oniguruma": {
+ "version": "3.23.0",
+ "resolved": "https://registry.npmjs.org/@shikijs/engine-oniguruma/-/engine-oniguruma-3.23.0.tgz",
+ "integrity": "sha512-1nWINwKXxKKLqPibT5f4pAFLej9oZzQTsby8942OTlsJzOBZ0MWKiwzMsd+jhzu8YPCHAswGnnN1YtQfirL35g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@shikijs/types": "3.23.0",
+ "@shikijs/vscode-textmate": "^10.0.2"
+ }
+ },
+ "node_modules/@shikijs/langs": {
+ "version": "3.23.0",
+ "resolved": "https://registry.npmjs.org/@shikijs/langs/-/langs-3.23.0.tgz",
+ "integrity": "sha512-2Ep4W3Re5aB1/62RSYQInK9mM3HsLeB91cHqznAJMuylqjzNVAVCMnNWRHFtcNHXsoNRayP9z1qj4Sq3nMqYXg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@shikijs/types": "3.23.0"
+ }
+ },
+ "node_modules/@shikijs/themes": {
+ "version": "3.23.0",
+ "resolved": "https://registry.npmjs.org/@shikijs/themes/-/themes-3.23.0.tgz",
+ "integrity": "sha512-5qySYa1ZgAT18HR/ypENL9cUSGOeI2x+4IvYJu4JgVJdizn6kG4ia5Q1jDEOi7gTbN4RbuYtmHh0W3eccOrjMA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@shikijs/types": "3.23.0"
+ }
+ },
+ "node_modules/@shikijs/types": {
+ "version": "3.23.0",
+ "resolved": "https://registry.npmjs.org/@shikijs/types/-/types-3.23.0.tgz",
+ "integrity": "sha512-3JZ5HXOZfYjsYSk0yPwBrkupyYSLpAE26Qc0HLghhZNGTZg/SKxXIIgoxOpmmeQP0RRSDJTk1/vPfw9tbw+jSQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@shikijs/vscode-textmate": "^10.0.2",
+ "@types/hast": "^3.0.4"
+ }
+ },
+ "node_modules/@shikijs/vscode-textmate": {
+ "version": "10.0.2",
+ "resolved": "https://registry.npmjs.org/@shikijs/vscode-textmate/-/vscode-textmate-10.0.2.tgz",
+ "integrity": "sha512-83yeghZ2xxin3Nj8z1NMd/NCuca+gsYXswywDy5bHvwlWL8tpTQmzGeUuHd9FC3E/SBEMvzJRwWEOz5gGes9Qg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@types/better-sqlite3": {
+ "version": "7.6.13",
+ "resolved": "https://registry.npmjs.org/@types/better-sqlite3/-/better-sqlite3-7.6.13.tgz",
+ "integrity": "sha512-NMv9ASNARoKksWtsq/SHakpYAYnhBrQgGD8zkLYk/jaK8jUGn08CfEdTRgYhMypUQAfzSP8W6gNLe0q19/t4VA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/node": "*"
+ }
+ },
+ "node_modules/@types/chai": {
+ "version": "5.2.3",
+ "resolved": "https://registry.npmjs.org/@types/chai/-/chai-5.2.3.tgz",
+ "integrity": "sha512-Mw558oeA9fFbv65/y4mHtXDs9bPnFMZAL/jxdPFUpOHHIXX91mcgEHbS5Lahr+pwZFR8A7GQleRWeI6cGFC2UA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/deep-eql": "*",
+ "assertion-error": "^2.0.1"
+ }
+ },
+ "node_modules/@types/deep-eql": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/@types/deep-eql/-/deep-eql-4.0.2.tgz",
+ "integrity": "sha512-c9h9dVVMigMPc4bwTvC5dxqtqJZwQPePsWjPlpSOnojbor6pGqdk541lfA7AqFQr5pB1BRdq0juY9db81BwyFw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@types/estree": {
+ "version": "1.0.9",
+ "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.9.tgz",
+ "integrity": "sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@types/hast": {
+ "version": "3.0.5",
+ "resolved": "https://registry.npmjs.org/@types/hast/-/hast-3.0.5.tgz",
+ "integrity": "sha512-rp/ezSWaD1m44dPKICGhiskI13nVr7qTloFwDa/IYkhhf5nzwP+zIQcIJh3WIFSBOy/H1PzB40jPjMDksN4F+g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "*"
+ }
+ },
+ "node_modules/@types/node": {
+ "version": "24.13.3",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-24.13.3.tgz",
+ "integrity": "sha512-Dh8vAsV36ig5wa9OX4pXvMc9D3Veibfw2wix0CUwYODLD8nkj9UsLjASr49nPg+2eKzxhBV+v7L8pXvT4e639Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "undici-types": "~7.18.0"
+ }
+ },
+ "node_modules/@types/react": {
+ "version": "19.2.17",
+ "resolved": "https://registry.npmjs.org/@types/react/-/react-19.2.17.tgz",
+ "integrity": "sha512-MXfmqaVPEVgkBT/aY0aGCkRWWtByiYQXo3xdQ8r5RzuFrPiRn8Gar2tQdXSUQ2GKV3bkXckek89V8wQBY2Q/Aw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "csstype": "^3.2.2"
+ }
+ },
+ "node_modules/@types/unist": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/@types/unist/-/unist-3.0.3.tgz",
+ "integrity": "sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@types/ws": {
+ "version": "8.18.1",
+ "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.18.1.tgz",
+ "integrity": "sha512-ThVF6DCVhA8kUGy+aazFQ4kXQ7E1Ty7A3ypFOe0IcJV8O/M511G99AW24irKrW56Wt44yG9+ij8FaqoBGkuBXg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/node": "*"
+ }
+ },
+ "node_modules/@vitest/expect": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-3.2.7.tgz",
+ "integrity": "sha512-E8eBXaKibuvH2pSZErOjdVb5vF4PbKYcrnluBTYxEk1l/VhhwZg1kZQsdtjq+CsF5CFydf2Rdkz7jDHKSisi3w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/chai": "^5.2.2",
+ "@vitest/spy": "3.2.7",
+ "@vitest/utils": "3.2.7",
+ "chai": "^5.2.0",
+ "tinyrainbow": "^2.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/@vitest/mocker": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-3.2.7.tgz",
+ "integrity": "sha512-Trr0hYO9CM3Wj6ksWHRhK9IZpIY6wTMO5u/MqXurMxT57sWBaOPEtP3Oq60ihZuh5JsiagKfz95OcxdEP6dBrA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@vitest/spy": "3.2.7",
+ "estree-walker": "^3.0.3",
+ "magic-string": "^0.30.17"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ },
+ "peerDependencies": {
+ "msw": "^2.4.9",
+ "vite": "^5.0.0 || ^6.0.0 || ^7.0.0-0"
+ },
+ "peerDependenciesMeta": {
+ "msw": {
+ "optional": true
+ },
+ "vite": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@vitest/pretty-format": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-3.2.7.tgz",
+ "integrity": "sha512-KUHlwqVu0sRlhCdyPdQ/wBoTfRahjUky1MubOmYw9fWfIZy1gNoHpuaaQBPAaMaVYdQYHJLurzj8ECCj5OwTqA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "tinyrainbow": "^2.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/@vitest/runner": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-3.2.7.tgz",
+ "integrity": "sha512-sB9y4ovltoQP+WaUPwmSxO9WIg9Ig694Di5PalVPsYHklAdE027mehpWF2SQSVq+k6sFgaivbTjTJwZLSHbedA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@vitest/utils": "3.2.7",
+ "pathe": "^2.0.3",
+ "strip-literal": "^3.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/@vitest/snapshot": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-3.2.7.tgz",
+ "integrity": "sha512-7C+MwShwtBSI5Buwoyg3s/iY1eHL9PKAf+O1wVh/TdnjXUtkoL/9YQtre90i4MtNXM6edP1wJ2zOBpfCyhIS7g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@vitest/pretty-format": "3.2.7",
+ "magic-string": "^0.30.17",
+ "pathe": "^2.0.3"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/@vitest/spy": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-3.2.7.tgz",
+ "integrity": "sha512-Q2eQGI6d2L/hBtZ0qNuKcAGid68XK6cv1xsoaIma6PaJhHPoqcEJhYpXZ/5myCMqkNgtP6UKuBhbc0nHKnrkuQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "tinyspy": "^4.0.3"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/@vitest/utils": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-3.2.7.tgz",
+ "integrity": "sha512-x6BDOd7dyo3PFLY3I9/HJ25X/6OurhGXk2/B9gOZNPF7XDVjeBK4k01lQE5uvDpbuheErh91qYuE1E2OEjK3Rw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@vitest/pretty-format": "3.2.7",
+ "loupe": "^3.1.4",
+ "tinyrainbow": "^2.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/abitype": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/abitype/-/abitype-1.2.3.tgz",
+ "integrity": "sha512-Ofer5QUnuUdTFsBRwARMoWKOH1ND5ehwYhJ3OJ/BQO+StkwQjHw0XyVh4vDttzHB7QOFhPHa/o413PJ82gU/Tg==",
+ "dev": true,
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/wevm"
+ },
+ "peerDependencies": {
+ "typescript": ">=5.0.4",
+ "zod": "^3.22.0 || ^4.0.0"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ },
+ "zod": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/acorn": {
+ "version": "8.17.0",
+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.17.0.tgz",
+ "integrity": "sha512-xRQbDb9BnwDafYNn6Vwl839DYVjqXYb1XVGtWAZ1kcDc6iwAL4hg3B1dZlRiuENFeO2H53gFG3in621AdERVAg==",
+ "dev": true,
+ "license": "MIT",
+ "bin": {
+ "acorn": "bin/acorn"
+ },
+ "engines": {
+ "node": ">=0.4.0"
+ }
+ },
+ "node_modules/any-promise": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz",
+ "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/argparse": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
+ "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==",
+ "dev": true,
+ "license": "Python-2.0"
+ },
+ "node_modules/assertion-error": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-2.0.1.tgz",
+ "integrity": "sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/balanced-match": {
+ "version": "4.0.4",
+ "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz",
+ "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "18 || 20 || >=22"
+ }
+ },
+ "node_modules/base64-js": {
+ "version": "1.5.1",
+ "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz",
+ "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "license": "MIT"
+ },
+ "node_modules/better-sqlite3": {
+ "version": "12.11.1",
+ "resolved": "https://registry.npmjs.org/better-sqlite3/-/better-sqlite3-12.11.1.tgz",
+ "integrity": "sha512-dq9AtApgg5PGFtBzPFSBl3HZQjHok5gaQCM6zh2Yk0aSmDCs1CbnVI8/HgASQkNKsWFpseIO9beg5xxpYhbIfA==",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "MIT",
+ "dependencies": {
+ "bindings": "^1.5.0",
+ "prebuild-install": "^7.1.1"
+ },
+ "engines": {
+ "node": "20.x || 22.x || 23.x || 24.x || 25.x || 26.x"
+ }
+ },
+ "node_modules/bindings": {
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz",
+ "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "file-uri-to-path": "1.0.0"
+ }
+ },
+ "node_modules/bl": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz",
+ "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "buffer": "^5.5.0",
+ "inherits": "^2.0.4",
+ "readable-stream": "^3.4.0"
+ }
+ },
+ "node_modules/brace-expansion": {
+ "version": "5.0.7",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.7.tgz",
+ "integrity": "sha512-7oFy703dxfY3/NLxC1fh2SUCQ0H9rmAY+5EpDVfXjUTTs+HEwR2nYaqLv+GWcTsumwxPfiz6CzCNkwXwBUwqCA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "balanced-match": "^4.0.2"
+ },
+ "engines": {
+ "node": "18 || 20 || >=22"
+ }
+ },
+ "node_modules/buffer": {
+ "version": "5.7.1",
+ "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz",
+ "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "base64-js": "^1.3.1",
+ "ieee754": "^1.1.13"
+ }
+ },
+ "node_modules/bundle-require": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/bundle-require/-/bundle-require-5.1.0.tgz",
+ "integrity": "sha512-3WrrOuZiyaaZPWiEt4G3+IffISVC9HYlWueJEBWED4ZH4aIAC2PnkdnuRrR94M+w6yGWn4AglWtJtBI8YqvgoA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "load-tsconfig": "^0.2.3"
+ },
+ "engines": {
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ },
+ "peerDependencies": {
+ "esbuild": ">=0.18"
+ }
+ },
+ "node_modules/cac": {
+ "version": "6.7.14",
+ "resolved": "https://registry.npmjs.org/cac/-/cac-6.7.14.tgz",
+ "integrity": "sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/chai": {
+ "version": "5.3.3",
+ "resolved": "https://registry.npmjs.org/chai/-/chai-5.3.3.tgz",
+ "integrity": "sha512-4zNhdJD/iOjSH0A05ea+Ke6MU5mmpQcbQsSOkgdaUMJ9zTlDTD/GYlwohmIE2u0gaxHYiVHEn1Fw9mZ/ktJWgw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "assertion-error": "^2.0.1",
+ "check-error": "^2.1.1",
+ "deep-eql": "^5.0.1",
+ "loupe": "^3.1.0",
+ "pathval": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/check-error": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/check-error/-/check-error-2.1.3.tgz",
+ "integrity": "sha512-PAJdDJusoxnwm1VwW07VWwUN1sl7smmC3OKggvndJFadxxDRyFJBX/ggnu/KE4kQAB7a3Dp8f/YXC1FlUprWmA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 16"
+ }
+ },
+ "node_modules/chokidar": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-4.0.3.tgz",
+ "integrity": "sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "readdirp": "^4.0.1"
+ },
+ "engines": {
+ "node": ">= 14.16.0"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/chownr": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz",
+ "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/commander": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz",
+ "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/confbox": {
+ "version": "0.1.8",
+ "resolved": "https://registry.npmjs.org/confbox/-/confbox-0.1.8.tgz",
+ "integrity": "sha512-RMtmw0iFkeR4YV+fUOSucriAQNb9g8zFR52MWCtl+cCZOFRNL6zeB395vPzFhEjjn4fMxXudmELnl/KF/WrK6w==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/consola": {
+ "version": "3.4.2",
+ "resolved": "https://registry.npmjs.org/consola/-/consola-3.4.2.tgz",
+ "integrity": "sha512-5IKcdX0nnYavi6G7TtOhwkYzyjfJlatbjMjuLSfE2kYT5pMDOilZ4OvMhi637CcDICTmz3wARPoyhqyX1Y+XvA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^14.18.0 || >=16.10.0"
+ }
+ },
+ "node_modules/csstype": {
+ "version": "3.2.3",
+ "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz",
+ "integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/debug": {
+ "version": "4.4.3",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz",
+ "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ms": "^2.1.3"
+ },
+ "engines": {
+ "node": ">=6.0"
+ },
+ "peerDependenciesMeta": {
+ "supports-color": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/decompress-response": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-6.0.0.tgz",
+ "integrity": "sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "mimic-response": "^3.1.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/deep-eql": {
+ "version": "5.0.2",
+ "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-5.0.2.tgz",
+ "integrity": "sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/deep-extend": {
+ "version": "0.6.0",
+ "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz",
+ "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=4.0.0"
+ }
+ },
+ "node_modules/detect-libc": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz",
+ "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/end-of-stream": {
+ "version": "1.4.5",
+ "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.5.tgz",
+ "integrity": "sha512-ooEGc6HP26xXq/N+GCGOT0JKCLDGrq2bQUZrQ7gyrJiZANJ/8YDTxTpQBXGMn+WbIQXNVpyWymm7KYVICQnyOg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "once": "^1.4.0"
+ }
+ },
+ "node_modules/entities": {
+ "version": "4.5.0",
+ "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz",
+ "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "engines": {
+ "node": ">=0.12"
+ },
+ "funding": {
+ "url": "https://github.com/fb55/entities?sponsor=1"
+ }
+ },
+ "node_modules/es-module-lexer": {
+ "version": "1.7.0",
+ "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.7.0.tgz",
+ "integrity": "sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/esbuild": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.27.7.tgz",
+ "integrity": "sha512-IxpibTjyVnmrIQo5aqNpCgoACA/dTKLTlhMHihVHhdkxKyPO1uBBthumT0rdHmcsk9uMonIWS0m4FljWzILh3w==",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "MIT",
+ "bin": {
+ "esbuild": "bin/esbuild"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "optionalDependencies": {
+ "@esbuild/aix-ppc64": "0.27.7",
+ "@esbuild/android-arm": "0.27.7",
+ "@esbuild/android-arm64": "0.27.7",
+ "@esbuild/android-x64": "0.27.7",
+ "@esbuild/darwin-arm64": "0.27.7",
+ "@esbuild/darwin-x64": "0.27.7",
+ "@esbuild/freebsd-arm64": "0.27.7",
+ "@esbuild/freebsd-x64": "0.27.7",
+ "@esbuild/linux-arm": "0.27.7",
+ "@esbuild/linux-arm64": "0.27.7",
+ "@esbuild/linux-ia32": "0.27.7",
+ "@esbuild/linux-loong64": "0.27.7",
+ "@esbuild/linux-mips64el": "0.27.7",
+ "@esbuild/linux-ppc64": "0.27.7",
+ "@esbuild/linux-riscv64": "0.27.7",
+ "@esbuild/linux-s390x": "0.27.7",
+ "@esbuild/linux-x64": "0.27.7",
+ "@esbuild/netbsd-arm64": "0.27.7",
+ "@esbuild/netbsd-x64": "0.27.7",
+ "@esbuild/openbsd-arm64": "0.27.7",
+ "@esbuild/openbsd-x64": "0.27.7",
+ "@esbuild/openharmony-arm64": "0.27.7",
+ "@esbuild/sunos-x64": "0.27.7",
+ "@esbuild/win32-arm64": "0.27.7",
+ "@esbuild/win32-ia32": "0.27.7",
+ "@esbuild/win32-x64": "0.27.7"
+ }
+ },
+ "node_modules/estree-walker": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-3.0.3.tgz",
+ "integrity": "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/estree": "^1.0.0"
+ }
+ },
+ "node_modules/eventemitter3": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.1.tgz",
+ "integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/expand-template": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/expand-template/-/expand-template-2.0.3.tgz",
+ "integrity": "sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg==",
+ "dev": true,
+ "license": "(MIT OR WTFPL)",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/expect-type": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/expect-type/-/expect-type-1.4.0.tgz",
+ "integrity": "sha512-KfYbmpRm0VbLjEvVa9yGwCi9GI34xvi7A/HXYWQO65CSD2u3MczUJSuwXKFIxlGsgBQizV9q5J9NHj4VG0n+pA==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=12.0.0"
+ }
+ },
+ "node_modules/fdir": {
+ "version": "6.5.0",
+ "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz",
+ "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "peerDependencies": {
+ "picomatch": "^3 || ^4"
+ },
+ "peerDependenciesMeta": {
+ "picomatch": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/file-uri-to-path": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz",
+ "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/fix-dts-default-cjs-exports": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/fix-dts-default-cjs-exports/-/fix-dts-default-cjs-exports-1.0.1.tgz",
+ "integrity": "sha512-pVIECanWFC61Hzl2+oOCtoJ3F17kglZC/6N94eRWycFgBH35hHx0Li604ZIzhseh97mf2p0cv7vVrOZGoqhlEg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "magic-string": "^0.30.17",
+ "mlly": "^1.7.4",
+ "rollup": "^4.34.8"
+ }
+ },
+ "node_modules/fs-constants": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz",
+ "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/fsevents": {
+ "version": "2.3.3",
+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
+ "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
+ }
+ },
+ "node_modules/github-from-package": {
+ "version": "0.0.0",
+ "resolved": "https://registry.npmjs.org/github-from-package/-/github-from-package-0.0.0.tgz",
+ "integrity": "sha512-SyHy3T1v2NUXn29OsWdxmK6RwHD+vkj3v8en8AOBZ1wBQ/hCAQ5bAQTD02kW4W9tUp/3Qh6J8r9EvntiyCmOOw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/hoodchain": {
+ "resolved": "../robinhood-chain-sdk",
+ "link": true
+ },
+ "node_modules/ieee754": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz",
+ "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "license": "BSD-3-Clause"
+ },
+ "node_modules/inherits": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/ini": {
+ "version": "1.3.8",
+ "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz",
+ "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/isows": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/isows/-/isows-1.0.7.tgz",
+ "integrity": "sha512-I1fSfDCZL5P0v33sVqeTDSpcstAg/N+wF5HS033mogOVIp4B+oHC7oOCsA3axAbBSGTJ8QubbNmnIRN/h8U7hg==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/wevm"
+ }
+ ],
+ "license": "MIT",
+ "peerDependencies": {
+ "ws": "*"
+ }
+ },
+ "node_modules/joycon": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/joycon/-/joycon-3.1.1.tgz",
+ "integrity": "sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/js-tokens": {
+ "version": "9.0.1",
+ "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-9.0.1.tgz",
+ "integrity": "sha512-mxa9E9ITFOt0ban3j6L5MpjwegGz6lBQmM1IJkWeBZGcMxto50+eWdjC/52xDbS2vy0k7vIMK0Fe2wfL9OQSpQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/lilconfig": {
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.3.tgz",
+ "integrity": "sha512-/vlFKAoH5Cgt3Ie+JLhRbwOsCQePABiU3tJ1egGvyQ+33R/vcwM2Zl2QR/LzjsBeItPt3oSVXapn+m4nQDvpzw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=14"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/antonk52"
+ }
+ },
+ "node_modules/lines-and-columns": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz",
+ "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/linkify-it": {
+ "version": "5.0.2",
+ "resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-5.0.2.tgz",
+ "integrity": "sha512-ONTm2jCMAVZjgQa/Fy1kScXsuOoF5NPTsoFBdE1KVIZ2vAh/r9+Bqo+0jINCBYnavTPQZz38QzFTme79ENoN3Q==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/puzrin"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/markdown-it"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "uc.micro": "^2.0.0"
+ }
+ },
+ "node_modules/load-tsconfig": {
+ "version": "0.2.5",
+ "resolved": "https://registry.npmjs.org/load-tsconfig/-/load-tsconfig-0.2.5.tgz",
+ "integrity": "sha512-IXO6OCs9yg8tMKzfPZ1YmheJbZCiEsnBdcB03l0OcfK9prKnJb96siuHCr5Fl37/yo9DnKU+TLpxzTUspw9shg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ }
+ },
+ "node_modules/loupe": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/loupe/-/loupe-3.2.1.tgz",
+ "integrity": "sha512-CdzqowRJCeLU72bHvWqwRBBlLcMEtIvGrlvef74kMnV2AolS9Y8xUv1I0U/MNAWMhBlKIoyuEgoJ0t/bbwHbLQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/lunr": {
+ "version": "2.3.9",
+ "resolved": "https://registry.npmjs.org/lunr/-/lunr-2.3.9.tgz",
+ "integrity": "sha512-zTU3DaZaF3Rt9rhN3uBMGQD3dD2/vFQqnvZCDv4dl5iOzq2IZQqTxu90r4E5J+nP70J3ilqVCrbho2eWaeW8Ow==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/magic-string": {
+ "version": "0.30.21",
+ "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.21.tgz",
+ "integrity": "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/sourcemap-codec": "^1.5.5"
+ }
+ },
+ "node_modules/markdown-it": {
+ "version": "14.3.0",
+ "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-14.3.0.tgz",
+ "integrity": "sha512-RCEsPjR+sr0x+AuYp601tKTkgFG4YEPLCzHST3cQ/fhlJkqAkz1L2/Qbp1j9qw5SBwQHFBoW8+hoN5xssOF0Tw==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/puzrin"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/markdown-it"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "argparse": "^2.0.1",
+ "entities": "^4.5.0",
+ "linkify-it": "^5.0.2",
+ "mdurl": "^2.0.0",
+ "punycode.js": "^2.3.1",
+ "uc.micro": "^2.1.0"
+ },
+ "bin": {
+ "markdown-it": "bin/markdown-it.mjs"
+ }
+ },
+ "node_modules/mdurl": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/mdurl/-/mdurl-2.0.0.tgz",
+ "integrity": "sha512-Lf+9+2r+Tdp5wXDXC4PcIBjTDtq4UKjCPMQhKIuzpJNW0b96kVqSwW0bT7FhRSfmAiFYgP+SCRvdrDozfh0U5w==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/mimic-response": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-3.1.0.tgz",
+ "integrity": "sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/minimatch": {
+ "version": "10.2.5",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.5.tgz",
+ "integrity": "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==",
+ "dev": true,
+ "license": "BlueOak-1.0.0",
+ "dependencies": {
+ "brace-expansion": "^5.0.5"
+ },
+ "engines": {
+ "node": "18 || 20 || >=22"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/minimist": {
+ "version": "1.2.8",
+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz",
+ "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==",
+ "dev": true,
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/mkdirp-classic": {
+ "version": "0.5.3",
+ "resolved": "https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz",
+ "integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/mlly": {
+ "version": "1.8.2",
+ "resolved": "https://registry.npmjs.org/mlly/-/mlly-1.8.2.tgz",
+ "integrity": "sha512-d+ObxMQFmbt10sretNDytwt85VrbkhhUA/JBGm1MPaWJ65Cl4wOgLaB1NYvJSZ0Ef03MMEU/0xpPMXUIQ29UfA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "acorn": "^8.16.0",
+ "pathe": "^2.0.3",
+ "pkg-types": "^1.3.1",
+ "ufo": "^1.6.3"
+ }
+ },
+ "node_modules/ms": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
+ "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/mz": {
+ "version": "2.7.0",
+ "resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz",
+ "integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "any-promise": "^1.0.0",
+ "object-assign": "^4.0.1",
+ "thenify-all": "^1.0.0"
+ }
+ },
+ "node_modules/nanoid": {
+ "version": "3.3.16",
+ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.16.tgz",
+ "integrity": "sha512-bzlKTyNJ7+LdGIIwy8ijFpIqEQIvafahV7eYykJ8Cvh42EdJeODoJ6gUJXpQJvej1BddH8OqTXZNE/KfbWAu8Q==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "bin": {
+ "nanoid": "bin/nanoid.cjs"
+ },
+ "engines": {
+ "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
+ }
+ },
+ "node_modules/napi-build-utils": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/napi-build-utils/-/napi-build-utils-2.0.0.tgz",
+ "integrity": "sha512-GEbrYkbfF7MoNaoh2iGG84Mnf/WZfB0GdGEsM8wz7Expx/LlWf5U8t9nvJKXSp3qr5IsEbK04cBGhol/KwOsWA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/node-abi": {
+ "version": "3.94.0",
+ "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.94.0.tgz",
+ "integrity": "sha512-W5ZNO5KRPB5TkYmGVD9F6YqhsglXJzE6etpbmT+f6EQElhiX/UTG551cnsRGvLG3fyZEg9HwaDmNmj5nwJ4z9g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "semver": "^7.3.5"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/object-assign": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
+ "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/once": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
+ "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "wrappy": "1"
+ }
+ },
+ "node_modules/ox": {
+ "version": "0.14.30",
+ "resolved": "https://registry.npmjs.org/ox/-/ox-0.14.30.tgz",
+ "integrity": "sha512-LI11uu+8iiM1B3CLckgd++YF1a0A2k5wDoM9ZeQMiL21BOzQs6L//BLS6hb1HSEKCyycdDIQLsVQx9MjpcC0hA==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/wevm"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "@adraffy/ens-normalize": "^1.11.0",
+ "@noble/ciphers": "^1.3.0",
+ "@noble/curves": "1.9.1",
+ "@noble/hashes": "^1.8.0",
+ "@scure/bip32": "^1.7.0",
+ "@scure/bip39": "^1.6.0",
+ "abitype": "^1.2.3",
+ "eventemitter3": "5.0.1"
+ },
+ "peerDependencies": {
+ "typescript": ">=5.4.0"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/pathe": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/pathe/-/pathe-2.0.3.tgz",
+ "integrity": "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/pathval": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/pathval/-/pathval-2.0.1.tgz",
+ "integrity": "sha512-//nshmD55c46FuFw26xV/xFAaB5HF9Xdap7HJBBnrKdAd6/GxDBaNA1870O79+9ueg61cZLSVc+OaFlfmObYVQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 14.16"
+ }
+ },
+ "node_modules/picocolors": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
+ "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/picomatch": {
+ "version": "4.0.5",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.5.tgz",
+ "integrity": "sha512-RvwwcruNjI1ncT5xRakeyS9Lf8lcItv34KD+aif+VH9kduAyfYBipGh12274xtenIPZ119/R9BdTBa8gAwSh0A==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
+ }
+ },
+ "node_modules/pirates": {
+ "version": "4.0.7",
+ "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.7.tgz",
+ "integrity": "sha512-TfySrs/5nm8fQJDcBDuUng3VOUKsd7S+zqvbOTiGXHfxX4wK31ard+hoNuvkicM/2YFzlpDgABOevKSsB4G/FA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/pkg-types": {
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/pkg-types/-/pkg-types-1.3.1.tgz",
+ "integrity": "sha512-/Jm5M4RvtBFVkKWRu2BLUTNP8/M2a+UwuAX+ae4770q1qVGtfjG+WTCupoZixokjmHiry8uI+dlY8KXYV5HVVQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "confbox": "^0.1.8",
+ "mlly": "^1.7.4",
+ "pathe": "^2.0.1"
+ }
+ },
+ "node_modules/postcss": {
+ "version": "8.5.17",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.17.tgz",
+ "integrity": "sha512-J7EF+8X+CzRPaJPOv9Ck2wNWJvGnnl3PcNPAdGg6GTLjyVpyQ0yATMSXRFRV01BviT/9Gwuc3rjEyJbDJG9a4w==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/postcss"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "nanoid": "^3.3.12",
+ "picocolors": "^1.1.1",
+ "source-map-js": "^1.2.1"
+ },
+ "engines": {
+ "node": "^10 || ^12 || >=14"
+ }
+ },
+ "node_modules/postcss-load-config": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-6.0.1.tgz",
+ "integrity": "sha512-oPtTM4oerL+UXmx+93ytZVN82RrlY/wPUV8IeDxFrzIjXOLF1pN+EmKPLbubvKHT2HC20xXsCAH2Z+CKV6Oz/g==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "lilconfig": "^3.1.1"
+ },
+ "engines": {
+ "node": ">= 18"
+ },
+ "peerDependencies": {
+ "jiti": ">=1.21.0",
+ "postcss": ">=8.0.9",
+ "tsx": "^4.8.1",
+ "yaml": "^2.4.2"
+ },
+ "peerDependenciesMeta": {
+ "jiti": {
+ "optional": true
+ },
+ "postcss": {
+ "optional": true
+ },
+ "tsx": {
+ "optional": true
+ },
+ "yaml": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/prebuild-install": {
+ "version": "7.1.3",
+ "resolved": "https://registry.npmjs.org/prebuild-install/-/prebuild-install-7.1.3.tgz",
+ "integrity": "sha512-8Mf2cbV7x1cXPUILADGI3wuhfqWvtiLA1iclTDbFRZkgRQS0NqsPZphna9V+HyTEadheuPmjaJMsbzKQFOzLug==",
+ "deprecated": "No longer maintained. Please contact the author of the relevant native addon; alternatives are available.",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "detect-libc": "^2.0.0",
+ "expand-template": "^2.0.3",
+ "github-from-package": "0.0.0",
+ "minimist": "^1.2.3",
+ "mkdirp-classic": "^0.5.3",
+ "napi-build-utils": "^2.0.0",
+ "node-abi": "^3.3.0",
+ "pump": "^3.0.0",
+ "rc": "^1.2.7",
+ "simple-get": "^4.0.0",
+ "tar-fs": "^2.0.0",
+ "tunnel-agent": "^0.6.0"
+ },
+ "bin": {
+ "prebuild-install": "bin.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/pump": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.4.tgz",
+ "integrity": "sha512-VS7sjc6KR7e1ukRFhQSY5LM2uBWAUPiOPa/A3mkKmiMwSmRFUITt0xuj+/lesgnCv+dPIEYlkzrcyXgquIHMcA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "end-of-stream": "^1.1.0",
+ "once": "^1.3.1"
+ }
+ },
+ "node_modules/punycode.js": {
+ "version": "2.3.1",
+ "resolved": "https://registry.npmjs.org/punycode.js/-/punycode.js-2.3.1.tgz",
+ "integrity": "sha512-uxFIHU0YlHYhDQtV4R9J6a52SLx28BCjT+4ieh7IGbgwVJWO+km431c4yRlREUAsAmt/uMjQUyQHNEPf0M39CA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/rc": {
+ "version": "1.2.8",
+ "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz",
+ "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==",
+ "dev": true,
+ "license": "(BSD-2-Clause OR MIT OR Apache-2.0)",
+ "dependencies": {
+ "deep-extend": "^0.6.0",
+ "ini": "~1.3.0",
+ "minimist": "^1.2.0",
+ "strip-json-comments": "~2.0.1"
+ },
+ "bin": {
+ "rc": "cli.js"
+ }
+ },
+ "node_modules/react": {
+ "version": "19.2.7",
+ "resolved": "https://registry.npmjs.org/react/-/react-19.2.7.tgz",
+ "integrity": "sha512-HNe9WslTbXmFK8o8cmwgAeJFSBvt1bPdHCVKtaaV+WlAN36mpT4hcRpwbf3fY56ar2oIXzsBpOAiIRHAdY0OlQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/readable-stream": {
+ "version": "3.6.2",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz",
+ "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "inherits": "^2.0.3",
+ "string_decoder": "^1.1.1",
+ "util-deprecate": "^1.0.1"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/readdirp": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-4.1.2.tgz",
+ "integrity": "sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 14.18.0"
+ },
+ "funding": {
+ "type": "individual",
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/resolve-from": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz",
+ "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/rollup": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.62.2.tgz",
+ "integrity": "sha512-RFnrW4lhXA3s3eqHDZvN654g8OTjzRfqpIRJYczCGB6HzphckVAi/Qh4tbPUbRuDi7s1Llv8g/NspLkttY3gTA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/estree": "1.0.9"
+ },
+ "bin": {
+ "rollup": "dist/bin/rollup"
+ },
+ "engines": {
+ "node": ">=18.0.0",
+ "npm": ">=8.0.0"
+ },
+ "optionalDependencies": {
+ "@rollup/rollup-android-arm-eabi": "4.62.2",
+ "@rollup/rollup-android-arm64": "4.62.2",
+ "@rollup/rollup-darwin-arm64": "4.62.2",
+ "@rollup/rollup-darwin-x64": "4.62.2",
+ "@rollup/rollup-freebsd-arm64": "4.62.2",
+ "@rollup/rollup-freebsd-x64": "4.62.2",
+ "@rollup/rollup-linux-arm-gnueabihf": "4.62.2",
+ "@rollup/rollup-linux-arm-musleabihf": "4.62.2",
+ "@rollup/rollup-linux-arm64-gnu": "4.62.2",
+ "@rollup/rollup-linux-arm64-musl": "4.62.2",
+ "@rollup/rollup-linux-loong64-gnu": "4.62.2",
+ "@rollup/rollup-linux-loong64-musl": "4.62.2",
+ "@rollup/rollup-linux-ppc64-gnu": "4.62.2",
+ "@rollup/rollup-linux-ppc64-musl": "4.62.2",
+ "@rollup/rollup-linux-riscv64-gnu": "4.62.2",
+ "@rollup/rollup-linux-riscv64-musl": "4.62.2",
+ "@rollup/rollup-linux-s390x-gnu": "4.62.2",
+ "@rollup/rollup-linux-x64-gnu": "4.62.2",
+ "@rollup/rollup-linux-x64-musl": "4.62.2",
+ "@rollup/rollup-openbsd-x64": "4.62.2",
+ "@rollup/rollup-openharmony-arm64": "4.62.2",
+ "@rollup/rollup-win32-arm64-msvc": "4.62.2",
+ "@rollup/rollup-win32-ia32-msvc": "4.62.2",
+ "@rollup/rollup-win32-x64-gnu": "4.62.2",
+ "@rollup/rollup-win32-x64-msvc": "4.62.2",
+ "fsevents": "~2.3.2"
+ }
+ },
+ "node_modules/safe-buffer": {
+ "version": "5.2.1",
+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
+ "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "license": "MIT"
+ },
+ "node_modules/semver": {
+ "version": "7.8.5",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz",
+ "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==",
+ "dev": true,
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/siginfo": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/siginfo/-/siginfo-2.0.0.tgz",
+ "integrity": "sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/simple-concat": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.1.tgz",
+ "integrity": "sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "license": "MIT"
+ },
+ "node_modules/simple-get": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/simple-get/-/simple-get-4.0.1.tgz",
+ "integrity": "sha512-brv7p5WgH0jmQJr1ZDDfKDOSeWWg+OVypG99A/5vYGPqJ6pxiaHLy8nxtFjBA7oMa01ebA9gfh1uMCFqOuXxvA==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "decompress-response": "^6.0.0",
+ "once": "^1.3.1",
+ "simple-concat": "^1.0.0"
+ }
+ },
+ "node_modules/source-map": {
+ "version": "0.7.6",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.6.tgz",
+ "integrity": "sha512-i5uvt8C3ikiWeNZSVZNWcfZPItFQOsYTUAOkcUPGd8DqDy1uOUikjt5dG+uRlwyvR108Fb9DOd4GvXfT0N2/uQ==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">= 12"
+ }
+ },
+ "node_modules/source-map-js": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz",
+ "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/stackback": {
+ "version": "0.0.2",
+ "resolved": "https://registry.npmjs.org/stackback/-/stackback-0.0.2.tgz",
+ "integrity": "sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/std-env": {
+ "version": "3.10.0",
+ "resolved": "https://registry.npmjs.org/std-env/-/std-env-3.10.0.tgz",
+ "integrity": "sha512-5GS12FdOZNliM5mAOxFRg7Ir0pWz8MdpYm6AY6VPkGpbA7ZzmbzNcBJQ0GPvvyWgcY7QAhCgf9Uy89I03faLkg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/string_decoder": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",
+ "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "safe-buffer": "~5.2.0"
+ }
+ },
+ "node_modules/strip-json-comments": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz",
+ "integrity": "sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/strip-literal": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/strip-literal/-/strip-literal-3.1.0.tgz",
+ "integrity": "sha512-8r3mkIM/2+PpjHoOtiAW8Rg3jJLHaV7xPwG+YRGrv6FP0wwk/toTpATxWYOW0BKdWwl82VT2tFYi5DlROa0Mxg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "js-tokens": "^9.0.1"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/antfu"
+ }
+ },
+ "node_modules/sucrase": {
+ "version": "3.35.1",
+ "resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.35.1.tgz",
+ "integrity": "sha512-DhuTmvZWux4H1UOnWMB3sk0sbaCVOoQZjv8u1rDoTV0HTdGem9hkAZtl4JZy8P2z4Bg0nT+YMeOFyVr4zcG5Tw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/gen-mapping": "^0.3.2",
+ "commander": "^4.0.0",
+ "lines-and-columns": "^1.1.6",
+ "mz": "^2.7.0",
+ "pirates": "^4.0.1",
+ "tinyglobby": "^0.2.11",
+ "ts-interface-checker": "^0.1.9"
+ },
+ "bin": {
+ "sucrase": "bin/sucrase",
+ "sucrase-node": "bin/sucrase-node"
+ },
+ "engines": {
+ "node": ">=16 || 14 >=14.17"
+ }
+ },
+ "node_modules/tar-fs": {
+ "version": "2.1.5",
+ "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.5.tgz",
+ "integrity": "sha512-OboTd8mmMhZDNPV+UjQcK9yKAatXu2aJ+r1w4im1Otd4M4fl2hwvdoXUxIYHFTHWK/3y3FarBP70v3vwmGlOxw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "chownr": "^1.1.1",
+ "mkdirp-classic": "^0.5.2",
+ "pump": "^3.0.0",
+ "tar-stream": "^2.1.4"
+ }
+ },
+ "node_modules/tar-stream": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz",
+ "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "bl": "^4.0.3",
+ "end-of-stream": "^1.4.1",
+ "fs-constants": "^1.0.0",
+ "inherits": "^2.0.3",
+ "readable-stream": "^3.1.1"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/thenify": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz",
+ "integrity": "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "any-promise": "^1.0.0"
+ }
+ },
+ "node_modules/thenify-all": {
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz",
+ "integrity": "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "thenify": ">= 3.1.0 < 4"
+ },
+ "engines": {
+ "node": ">=0.8"
+ }
+ },
+ "node_modules/tinybench": {
+ "version": "2.9.0",
+ "resolved": "https://registry.npmjs.org/tinybench/-/tinybench-2.9.0.tgz",
+ "integrity": "sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/tinyexec": {
+ "version": "0.3.2",
+ "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-0.3.2.tgz",
+ "integrity": "sha512-KQQR9yN7R5+OSwaK0XQoj22pwHoTlgYqmUscPYoknOoWCWfj/5/ABTMRi69FrKU5ffPVh5QcFikpWJI/P1ocHA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/tinyglobby": {
+ "version": "0.2.17",
+ "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.17.tgz",
+ "integrity": "sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "fdir": "^6.5.0",
+ "picomatch": "^4.0.4"
+ },
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/SuperchupuDev"
+ }
+ },
+ "node_modules/tinypool": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/tinypool/-/tinypool-1.1.1.tgz",
+ "integrity": "sha512-Zba82s87IFq9A9XmjiX5uZA/ARWDrB03OHlq+Vw1fSdt0I+4/Kutwy8BP4Y/y/aORMo61FQ0vIb5j44vSo5Pkg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^18.0.0 || >=20.0.0"
+ }
+ },
+ "node_modules/tinyrainbow": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/tinyrainbow/-/tinyrainbow-2.0.0.tgz",
+ "integrity": "sha512-op4nsTR47R6p0vMUUoYl/a+ljLFVtlfaXkLQmqfLR1qHma1h/ysYk4hEXZ880bf2CYgTskvTa/e196Vd5dDQXw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=14.0.0"
+ }
+ },
+ "node_modules/tinyspy": {
+ "version": "4.0.4",
+ "resolved": "https://registry.npmjs.org/tinyspy/-/tinyspy-4.0.4.tgz",
+ "integrity": "sha512-azl+t0z7pw/z958Gy9svOTuzqIk6xq+NSheJzn5MMWtWTFywIacg2wUlzKFGtt3cthx0r2SxMK0yzJOR0IES7Q==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=14.0.0"
+ }
+ },
+ "node_modules/tree-kill": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/tree-kill/-/tree-kill-1.2.2.tgz",
+ "integrity": "sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==",
+ "dev": true,
+ "license": "MIT",
+ "bin": {
+ "tree-kill": "cli.js"
+ }
+ },
+ "node_modules/ts-interface-checker": {
+ "version": "0.1.13",
+ "resolved": "https://registry.npmjs.org/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz",
+ "integrity": "sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==",
+ "dev": true,
+ "license": "Apache-2.0"
+ },
+ "node_modules/tsup": {
+ "version": "8.5.1",
+ "resolved": "https://registry.npmjs.org/tsup/-/tsup-8.5.1.tgz",
+ "integrity": "sha512-xtgkqwdhpKWr3tKPmCkvYmS9xnQK3m3XgxZHwSUjvfTjp7YfXe5tT3GgWi0F2N+ZSMsOeWeZFh7ZZFg5iPhing==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "bundle-require": "^5.1.0",
+ "cac": "^6.7.14",
+ "chokidar": "^4.0.3",
+ "consola": "^3.4.0",
+ "debug": "^4.4.0",
+ "esbuild": "^0.27.0",
+ "fix-dts-default-cjs-exports": "^1.0.0",
+ "joycon": "^3.1.1",
+ "picocolors": "^1.1.1",
+ "postcss-load-config": "^6.0.1",
+ "resolve-from": "^5.0.0",
+ "rollup": "^4.34.8",
+ "source-map": "^0.7.6",
+ "sucrase": "^3.35.0",
+ "tinyexec": "^0.3.2",
+ "tinyglobby": "^0.2.11",
+ "tree-kill": "^1.2.2"
+ },
+ "bin": {
+ "tsup": "dist/cli-default.js",
+ "tsup-node": "dist/cli-node.js"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "@microsoft/api-extractor": "^7.36.0",
+ "@swc/core": "^1",
+ "postcss": "^8.4.12",
+ "typescript": ">=4.5.0"
+ },
+ "peerDependenciesMeta": {
+ "@microsoft/api-extractor": {
+ "optional": true
+ },
+ "@swc/core": {
+ "optional": true
+ },
+ "postcss": {
+ "optional": true
+ },
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/tunnel-agent": {
+ "version": "0.6.0",
+ "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz",
+ "integrity": "sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "safe-buffer": "^5.0.1"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/typedoc": {
+ "version": "0.28.20",
+ "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.28.20.tgz",
+ "integrity": "sha512-uSKqkh8Cr48vllnEy+jdaAgOeR6Y+QCBW7usgUsKj7gJEfR7stw9U/fE49LBnj2tPRKPY0c0EBJSWe9Appmplg==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@gerrit0/mini-shiki": "^3.23.0",
+ "lunr": "^2.3.9",
+ "markdown-it": "^14.3.0",
+ "minimatch": "^10.2.5",
+ "yaml": "^2.9.0"
+ },
+ "bin": {
+ "typedoc": "bin/typedoc"
+ },
+ "engines": {
+ "node": ">= 18",
+ "pnpm": ">= 10"
+ },
+ "peerDependencies": {
+ "typescript": "5.0.x || 5.1.x || 5.2.x || 5.3.x || 5.4.x || 5.5.x || 5.6.x || 5.7.x || 5.8.x || 5.9.x || 6.0.x"
+ }
+ },
+ "node_modules/typescript": {
+ "version": "5.9.3",
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",
+ "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "bin": {
+ "tsc": "bin/tsc",
+ "tsserver": "bin/tsserver"
+ },
+ "engines": {
+ "node": ">=14.17"
+ }
+ },
+ "node_modules/uc.micro": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-2.1.0.tgz",
+ "integrity": "sha512-ARDJmphmdvUk6Glw7y9DQ2bFkKBHwQHLi2lsaH6PPmz/Ka9sFOBsBluozhDltWmnv9u/cF6Rt87znRTPV+yp/A==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/ufo": {
+ "version": "1.6.4",
+ "resolved": "https://registry.npmjs.org/ufo/-/ufo-1.6.4.tgz",
+ "integrity": "sha512-JFNbkD1Svwe0KvGi8GOeLcP4kAWQ609twvCdcHxq1oSL8svv39ZuSvajcD8B+5D0eL4+s1Is2D/O6KN3qcTeRA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/undici-types": {
+ "version": "7.18.2",
+ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.18.2.tgz",
+ "integrity": "sha512-AsuCzffGHJybSaRrmr5eHr81mwJU3kjw6M+uprWvCXiNeN9SOGwQ3Jn8jb8m3Z6izVgknn1R0FTCEAP2QrLY/w==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/util-deprecate": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
+ "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/viem": {
+ "version": "2.55.1",
+ "resolved": "https://registry.npmjs.org/viem/-/viem-2.55.1.tgz",
+ "integrity": "sha512-sajvEmONS3dEDFh0jKXGugTU8ImyGoIV3sEHSWNRhgkH484v/+6DjZAplRhcdeqNV/VBxOs/l3raOG4NaXvX9A==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/wevm"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "@noble/curves": "1.9.1",
+ "@noble/hashes": "1.8.0",
+ "@scure/bip32": "1.7.0",
+ "@scure/bip39": "1.6.0",
+ "abitype": "1.2.3",
+ "isows": "1.0.7",
+ "ox": "0.14.30",
+ "ws": "8.21.0"
+ },
+ "peerDependencies": {
+ "typescript": ">=5.0.4"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/vite": {
+ "version": "7.3.6",
+ "resolved": "https://registry.npmjs.org/vite/-/vite-7.3.6.tgz",
+ "integrity": "sha512-4XP60spRGjSZFf1qYH+dJIkK2znL3zQfl9KkOV9MkkRR/3Dls0dxaBsQPTloEc5BLXWPL9vsOxopxyKoMmDueg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "esbuild": "^0.27.0 || ^0.28.0",
+ "fdir": "^6.5.0",
+ "picomatch": "^4.0.3",
+ "postcss": "^8.5.6",
+ "rollup": "^4.43.0",
+ "tinyglobby": "^0.2.15"
+ },
+ "bin": {
+ "vite": "bin/vite.js"
+ },
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ },
+ "funding": {
+ "url": "https://github.com/vitejs/vite?sponsor=1"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.3.3"
+ },
+ "peerDependencies": {
+ "@types/node": "^20.19.0 || >=22.12.0",
+ "jiti": ">=1.21.0",
+ "less": "^4.0.0",
+ "lightningcss": "^1.21.0",
+ "sass": "^1.70.0",
+ "sass-embedded": "^1.70.0",
+ "stylus": ">=0.54.8",
+ "sugarss": "^5.0.0",
+ "terser": "^5.16.0",
+ "tsx": "^4.8.1",
+ "yaml": "^2.4.2"
+ },
+ "peerDependenciesMeta": {
+ "@types/node": {
+ "optional": true
+ },
+ "jiti": {
+ "optional": true
+ },
+ "less": {
+ "optional": true
+ },
+ "lightningcss": {
+ "optional": true
+ },
+ "sass": {
+ "optional": true
+ },
+ "sass-embedded": {
+ "optional": true
+ },
+ "stylus": {
+ "optional": true
+ },
+ "sugarss": {
+ "optional": true
+ },
+ "terser": {
+ "optional": true
+ },
+ "tsx": {
+ "optional": true
+ },
+ "yaml": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/vite-node": {
+ "version": "3.2.4",
+ "resolved": "https://registry.npmjs.org/vite-node/-/vite-node-3.2.4.tgz",
+ "integrity": "sha512-EbKSKh+bh1E1IFxeO0pg1n4dvoOTt0UDiXMd/qn++r98+jPO1xtJilvXldeuQ8giIB5IkpjCgMleHMNEsGH6pg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "cac": "^6.7.14",
+ "debug": "^4.4.1",
+ "es-module-lexer": "^1.7.0",
+ "pathe": "^2.0.3",
+ "vite": "^5.0.0 || ^6.0.0 || ^7.0.0-0"
+ },
+ "bin": {
+ "vite-node": "vite-node.mjs"
+ },
+ "engines": {
+ "node": "^18.0.0 || ^20.0.0 || >=22.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/vitest": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/vitest/-/vitest-3.2.7.tgz",
+ "integrity": "sha512-KrxIJ62Fd89gfysR4WotlgZABiz2dqFPgqGzX7s+CwsqLFomRH7777ZcrOD6+WVAh7khPQP41A+BKbpcJFrdEg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/chai": "^5.2.2",
+ "@vitest/expect": "3.2.7",
+ "@vitest/mocker": "3.2.7",
+ "@vitest/pretty-format": "^3.2.7",
+ "@vitest/runner": "3.2.7",
+ "@vitest/snapshot": "3.2.7",
+ "@vitest/spy": "3.2.7",
+ "@vitest/utils": "3.2.7",
+ "chai": "^5.2.0",
+ "debug": "^4.4.1",
+ "expect-type": "^1.2.1",
+ "magic-string": "^0.30.17",
+ "pathe": "^2.0.3",
+ "picomatch": "^4.0.2",
+ "std-env": "^3.9.0",
+ "tinybench": "^2.9.0",
+ "tinyexec": "^0.3.2",
+ "tinyglobby": "^0.2.14",
+ "tinypool": "^1.1.1",
+ "tinyrainbow": "^2.0.0",
+ "vite": "^5.0.0 || ^6.0.0 || ^7.0.0-0",
+ "vite-node": "3.2.4",
+ "why-is-node-running": "^2.3.0"
+ },
+ "bin": {
+ "vitest": "vitest.mjs"
+ },
+ "engines": {
+ "node": "^18.0.0 || ^20.0.0 || >=22.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ },
+ "peerDependencies": {
+ "@edge-runtime/vm": "*",
+ "@types/debug": "^4.1.12",
+ "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0",
+ "@vitest/browser": "3.2.7",
+ "@vitest/ui": "3.2.7",
+ "happy-dom": "*",
+ "jsdom": "*"
+ },
+ "peerDependenciesMeta": {
+ "@edge-runtime/vm": {
+ "optional": true
+ },
+ "@types/debug": {
+ "optional": true
+ },
+ "@types/node": {
+ "optional": true
+ },
+ "@vitest/browser": {
+ "optional": true
+ },
+ "@vitest/ui": {
+ "optional": true
+ },
+ "happy-dom": {
+ "optional": true
+ },
+ "jsdom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/why-is-node-running": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/why-is-node-running/-/why-is-node-running-2.3.0.tgz",
+ "integrity": "sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "siginfo": "^2.0.0",
+ "stackback": "0.0.2"
+ },
+ "bin": {
+ "why-is-node-running": "cli.js"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/wrappy": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
+ "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/ws": {
+ "version": "8.21.0",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-8.21.0.tgz",
+ "integrity": "sha512-Vsp28b7DRcimFQvrqu2Wek3z1iYxDCWqHYB8Qsnk/S4RfaCQzPGPyBNuVjJV3cd6UiKtUtp6sNM77gWvzcCH+g==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=10.0.0"
+ },
+ "peerDependencies": {
+ "bufferutil": "^4.0.1",
+ "utf-8-validate": ">=5.0.2"
+ },
+ "peerDependenciesMeta": {
+ "bufferutil": {
+ "optional": true
+ },
+ "utf-8-validate": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/yaml": {
+ "version": "2.9.0",
+ "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.9.0.tgz",
+ "integrity": "sha512-2AvhNX3mb8zd6Zy7INTtSpl1F15HW6Wnqj0srWlkKLcpYl/gMIMJiyuGq2KeI2YFxUPjdlB+3Lc10seMLtL4cA==",
+ "dev": true,
+ "license": "ISC",
+ "bin": {
+ "yaml": "bin.mjs"
+ },
+ "engines": {
+ "node": ">= 14.6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/eemeli"
+ }
+ }
+ }
+}
diff --git a/robinhood/hoodkit/src/batch/index.ts b/robinhood/hoodkit/src/batch/index.ts
new file mode 100644
index 000000000..373cc355b
--- /dev/null
+++ b/robinhood/hoodkit/src/batch/index.ts
@@ -0,0 +1,155 @@
+import type { Abi, Address } from 'viem'
+import type { HoodClient } from 'hoodchain'
+
+/** A single contract read: the same shape viem's `multicall` accepts per entry. */
+export interface ContractRead {
+ address: Address
+ abi: Abi
+ functionName: string
+ args?: readonly unknown[]
+}
+
+/** Result of a read that may fail when `allowFailure` is on. */
+export type BatchResult<T = unknown> =
+ | { status: 'success'; result: T }
+ | { status: 'failure'; error: Error }
+
+/** Options controlling multicall chunking. */
+export interface BatchOptions {
+ /**
+ * Max calls per `aggregate3` round-trip. Large batches can exceed a node's
+ * `eth_call` gas cap, so reads are chunked. @defaultValue `500`
+ */
+ maxBatchSize?: number
+}
+
+function chunk<T>(items: readonly T[], size: number): T[][] {
+ const out: T[][] = []
+ for (let i = 0; i < items.length; i += size) out.push(items.slice(i, i + size))
+ return out
+}
+
+/**
+ * Execute many contract reads in the fewest possible Multicall3 round-trips.
+ * Reads are chunked to `maxBatchSize` and the chunks run concurrently; results
+ * come back in the exact input order.
+ *
+ * Unlike `client.public.multicall`, `plan` never rejects on a single failing
+ * read — every result carries a `status`, so one reverting call can't sink the
+ * whole batch.
+ *
+ * @example
+ * ```ts
+ * const results = await plan(hood, [
+ * { address: usdg, abi: erc20Abi, functionName: 'balanceOf', args: [me] },
+ * { address: weth, abi: erc20Abi, functionName: 'totalSupply' },
+ * ])
+ * if (results[0].status === 'success') console.log(results[0].result)
+ * ```
+ */
+export async function plan<T = unknown>(
+ client: HoodClient,
+ reads: readonly ContractRead[],
+ options: BatchOptions = {},
+): Promise<BatchResult<T>[]> {
+ if (reads.length === 0) return []
+ const size = options.maxBatchSize ?? 500
+ const chunks = chunk(reads, size)
+
+ const chunkResults = await Promise.all(
+ chunks.map((c) =>
+ client.public.multicall({
+ contracts: c as unknown as Parameters<typeof client.public.multicall>[0]['contracts'],
+ allowFailure: true,
+ }),
+ ),
+ )
+
+ const flat: BatchResult<T>[] = []
+ for (const results of chunkResults) {
+ for (const r of results as readonly { status: string; result?: unknown; error?: unknown }[]) {
+ if (r.status === 'success') flat.push({ status: 'success', result: r.result as T })
+ else flat.push({ status: 'failure', error: r.error instanceof Error ? r.error : new Error(String(r.error)) })
+ }
+ }
+ return flat
+}
+
+/**
+ * A DataLoader-style multicall batcher. Reads enqueued within the same tick are
+ * coalesced into one Multicall3 call automatically — code paths that don't know
+ * about each other still share a round-trip. Ideal behind an HTTP handler where
+ * many independent reads fire per request.
+ *
+ * @example
+ * ```ts
+ * const batch = createBatcher(hood)
+ * // These three run as ONE multicall even though they're separate awaits:
+ * const [a, b, c] = await Promise.all([
+ * batch.call({ address: t1, abi: erc20Abi, functionName: 'balanceOf', args: [me] }),
+ * batch.call({ address: t2, abi: erc20Abi, functionName: 'balanceOf', args: [me] }),
+ * batch.call({ address: t3, abi: erc20Abi, functionName: 'balanceOf', args: [me] }),
+ * ])
+ * ```
+ */
+export interface Batcher {
+ /** Enqueue a read; resolves with its result (throws only if the call reverts). */
+ call<T = unknown>(read: ContractRead): Promise<T>
+ /** Enqueue a read; resolves with a `{status}` result and never rejects. */
+ callSafe<T = unknown>(read: ContractRead): Promise<BatchResult<T>>
+ /** Force-flush the current queue immediately (rarely needed — flush is automatic). */
+ flush(): Promise<void>
+ /** Number of reads waiting for the next flush. */
+ readonly pending: number
+}
+
+interface QueuedRead {
+ read: ContractRead
+ resolve: (result: BatchResult) => void
+}
+
+/** Create a {@link Batcher}. */
+export function createBatcher(client: HoodClient, options: BatchOptions = {}): Batcher {
+ let queue: QueuedRead[] = []
+ let scheduled = false
+
+ async function runFlush(): Promise<void> {
+ scheduled = false
+ if (queue.length === 0) return
+ const batch = queue
+ queue = []
+ try {
+ const results = await plan(client, batch.map((q) => q.read), options)
+ batch.forEach((q, i) => q.resolve(results[i] as BatchResult))
+ } catch (error) {
+ const err = error instanceof Error ? error : new Error(String(error))
+ for (const q of batch) q.resolve({ status: 'failure', error: err })
+ }
+ }
+
+ function schedule(): void {
+ if (scheduled) return
+ scheduled = true
+ queueMicrotask(() => void runFlush())
+ }
+
+ function enqueue(read: ContractRead): Promise<BatchResult> {
+ return new Promise<BatchResult>((resolve) => {
+ queue.push({ read, resolve })
+ schedule()
+ })
+ }
+
+ return {
+ get pending() {
+ return queue.length
+ },
+ callSafe: <T>(read: ContractRead) => enqueue(read) as Promise<BatchResult<T>>,
+ call: async <T>(read: ContractRead): Promise<T> => {
+ const result = await enqueue(read)
+ if (result.status === 'failure') throw result.error
+ return result.result as T
+ },
+ flush: runFlush,
+ }
+}
diff --git a/robinhood/hoodkit/src/cache/index.ts b/robinhood/hoodkit/src/cache/index.ts
new file mode 100644
index 000000000..8b71179ab
--- /dev/null
+++ b/robinhood/hoodkit/src/cache/index.ts
@@ -0,0 +1,241 @@
+import type { Address } from 'viem'
+import {
+ getMultiplier,
+ getPortfolio,
+ getQuote,
+ getUsdgBalance,
+ type GetQuoteOptions,
+ type HoodClient,
+ type Portfolio,
+ type StockPosition,
+ type StockQuote,
+} from 'hoodchain'
+
+/**
+ * Pluggable cache backend. The default is an in-memory LRU; implement this
+ * interface to back the cache with Redis, Cloudflare KV, or anything else.
+ * All methods may be async so remote stores work transparently.
+ *
+ * @example A Redis adapter (ioredis)
+ * ```ts
+ * const store: CacheStore = {
+ * async get(key) { const v = await redis.get(key); return v ? JSON.parse(v) : undefined },
+ * async set(key, value, ttlMs) { await redis.set(key, JSON.stringify(value), 'PX', ttlMs) },
+ * async delete(key) { await redis.del(key) },
+ * }
+ * const cache = createHoodCache(hood, { store })
+ * ```
+ */
+export interface CacheStore {
+ get<T>(key: string): Promise<T | undefined> | T | undefined
+ set<T>(key: string, value: T, ttlMs: number): Promise<void> | void
+ delete(key: string): Promise<void> | void
+ clear?(): Promise<void> | void
+}
+
+interface Entry {
+ value: unknown
+ expiresAt: number
+}
+
+/**
+ * In-memory LRU {@link CacheStore} with per-entry TTL. Bounded by `maxEntries`;
+ * the least-recently-used entry is evicted on overflow. Expired entries are
+ * dropped lazily on read.
+ */
+export class MemoryLruStore implements CacheStore {
+ private readonly map = new Map<string, Entry>()
+ private readonly maxEntries: number
+
+ constructor(maxEntries = 5000) {
+ this.maxEntries = maxEntries
+ }
+
+ get<T>(key: string): T | undefined {
+ const entry = this.map.get(key)
+ if (!entry) return undefined
+ if (entry.expiresAt <= Date.now()) {
+ this.map.delete(key)
+ return undefined
+ }
+ // Mark as most-recently-used.
+ this.map.delete(key)
+ this.map.set(key, entry)
+ return entry.value as T
+ }
+
+ set<T>(key: string, value: T, ttlMs: number): void {
+ if (this.map.has(key)) this.map.delete(key)
+ this.map.set(key, { value, expiresAt: Date.now() + ttlMs })
+ while (this.map.size > this.maxEntries) {
+ const oldest = this.map.keys().next().value
+ if (oldest === undefined) break
+ this.map.delete(oldest)
+ }
+ }
+
+ delete(key: string): void {
+ this.map.delete(key)
+ }
+
+ clear(): void {
+ this.map.clear()
+ }
+
+ /** Current entry count (including not-yet-evicted expired entries). */
+ get size(): number {
+ return this.map.size
+ }
+}
+
+/** Per-datatype TTLs in milliseconds. */
+export interface CacheTtls {
+ /** Chainlink quotes — fast-moving. @defaultValue `2000` */
+ quote: number
+ /** ERC-8056 multipliers — change only on corporate actions. @defaultValue `600_000` */
+ multiplier: number
+ /** Full portfolio reads. @defaultValue `5000` */
+ portfolio: number
+ /** USDG balances. @defaultValue `5000` */
+ balance: number
+ /** Registry / static metadata. @defaultValue `3_600_000` */
+ registry: number
+}
+
+const DEFAULT_TTLS: CacheTtls = {
+ quote: 2_000,
+ multiplier: 600_000,
+ portfolio: 5_000,
+ balance: 5_000,
+ registry: 3_600_000,
+}
+
+/** Runtime cache counters. */
+export interface CacheStats {
+ hits: number
+ misses: number
+ /** Reads that joined an already-in-flight fetch instead of issuing their own. */
+ coalesced: number
+}
+
+/** Options for {@link createHoodCache}. */
+export interface HoodCacheOptions {
+ /** Backing store. @defaultValue a {@link MemoryLruStore} */
+ store?: CacheStore
+ /** Override any subset of the default per-datatype TTLs. */
+ ttls?: Partial<CacheTtls>
+}
+
+/**
+ * A read-through cache over the hoodchain SDK reads, with **request
+ * coalescing**: N concurrent identical reads collapse into ONE upstream call,
+ * and results are cached per-datatype TTL. Wrap the hot read paths (quotes,
+ * portfolios) to cut RPC load by orders of magnitude under load.
+ */
+export interface HoodCache {
+ /** Cached, coalesced {@link getQuote}. */
+ getQuote(symbol: string, options?: GetQuoteOptions): Promise<StockQuote>
+ /** Cached, coalesced {@link getMultiplier}. */
+ getMultiplier(symbol: string): Promise<bigint | null>
+ /** Cached, coalesced {@link getPortfolio}. */
+ getPortfolio(owner: Address, options?: GetQuoteOptions): Promise<Portfolio>
+ /** Cached, coalesced single-position read. */
+ getPosition(owner: Address, symbol: string, options?: GetQuoteOptions): Promise<StockPosition>
+ /** Cached, coalesced USDG balance. */
+ getUsdgBalance(owner: Address): Promise<bigint>
+ /**
+ * Generic read-through primitive: coalesce + cache any async fetch under `key`.
+ * Reuse this to cache your own chain reads with the same guarantees.
+ */
+ read<T>(key: string, fetcher: () => Promise<T>, ttlMs: number): Promise<T>
+ /** Drop a cached key (e.g. after a write you know invalidates it). */
+ invalidate(key: string): Promise<void>
+ /** Clear the whole cache. */
+ clear(): Promise<void>
+ /** Live hit/miss/coalesce counters. */
+ readonly stats: CacheStats
+ /** Effective TTLs after option merge. */
+ readonly ttls: CacheTtls
+}
+
+/**
+ * Create a read-through, request-coalescing cache bound to a hoodchain client.
+ *
+ * @example
+ * ```ts
+ * const cache = createHoodCache(hood)
+ * // 100 concurrent calls → exactly 1 RPC round-trip:
+ * await Promise.all(Array.from({ length: 100 }, () => cache.getQuote('AAPL')))
+ * console.log(cache.stats) // { hits: 99, misses: 1, coalesced: 99 } (approx.)
+ * ```
+ */
+export function createHoodCache(client: HoodClient, options: HoodCacheOptions = {}): HoodCache {
+ const store = options.store ?? new MemoryLruStore()
+ const ttls: CacheTtls = { ...DEFAULT_TTLS, ...options.ttls }
+ const inflight = new Map<string, Promise<unknown>>()
+ const stats: CacheStats = { hits: 0, misses: 0, coalesced: 0 }
+ const net = client.network
+
+ async function read<T>(key: string, fetcher: () => Promise<T>, ttlMs: number): Promise<T> {
+ const cached = await store.get<T>(key)
+ if (cached !== undefined) {
+ stats.hits += 1
+ return cached
+ }
+ const pending = inflight.get(key)
+ if (pending) {
+ stats.coalesced += 1
+ return pending as Promise<T>
+ }
+ stats.misses += 1
+ const promise = (async () => {
+ try {
+ const value = await fetcher()
+ await store.set(key, value, ttlMs)
+ return value
+ } finally {
+ inflight.delete(key)
+ }
+ })()
+ inflight.set(key, promise)
+ return promise as Promise<T>
+ }
+
+ return {
+ read,
+ stats,
+ ttls,
+ getQuote: (symbol, opts) =>
+ read(`${net}:quote:${symbol.toUpperCase()}`, () => getQuote(client, symbol, opts), ttls.quote),
+ getMultiplier: (symbol) =>
+ read(`${net}:mult:${symbol.toUpperCase()}`, () => getMultiplier(client, symbol), ttls.multiplier),
+ getPortfolio: (owner, opts) =>
+ read(`${net}:portfolio:${owner.toLowerCase()}`, () => getPortfolio(client, owner, opts), ttls.portfolio),
+ getPosition: async (owner, symbol, opts) => {
+ const portfolio = await read(
+ `${net}:portfolio:${owner.toLowerCase()}`,
+ () => getPortfolio(client, owner, opts),
+ ttls.portfolio,
+ )
+ const found = portfolio.positions.find((p) => p.symbol.toUpperCase() === symbol.toUpperCase())
+ if (found) return found
+ // Not held / not in the swept portfolio — fall through to a direct read.
+ const { getPosition } = await import('hoodchain')
+ return read(
+ `${net}:position:${owner.toLowerCase()}:${symbol.toUpperCase()}`,
+ () => getPosition(client, owner, symbol, opts),
+ ttls.portfolio,
+ )
+ },
+ getUsdgBalance: (owner) =>
+ read(`${net}:usdg:${owner.toLowerCase()}`, () => getUsdgBalance(client, owner), ttls.balance),
+ invalidate: async (key) => {
+ await store.delete(key)
+ inflight.delete(key)
+ },
+ clear: async () => {
+ inflight.clear()
+ if (store.clear) await store.clear()
+ },
+ }
+}
diff --git a/robinhood/hoodkit/src/stream/index.ts b/robinhood/hoodkit/src/stream/index.ts
new file mode 100644
index 000000000..788d12a2f
--- /dev/null
+++ b/robinhood/hoodkit/src/stream/index.ts
@@ -0,0 +1,366 @@
+import { formatUnits, type Address, type Hash } from 'viem'
+import {
+ erc20Abi,
+ aggregatorV3Abi,
+ getStockToken,
+ getStockTokenByAddress,
+ listPricedStockTokens,
+ listStockTokens,
+ MAINNET_ADDRESSES,
+ TESTNET_ADDRESSES,
+ NOXA_ADDRESSES,
+ ODYSSEY_ADDRESSES,
+ noxaTokenLaunchedEvent,
+ odysseyTokenCreatedEvent,
+ type HoodClient,
+ type Launch,
+} from 'hoodchain'
+import { Stream, type StreamOptions } from './stream.js'
+import { runLogCursor } from './log-cursor.js'
+import { decodeSwapLog, discoverPools, loadPoolInfo, uniswapV3SwapEvent, type PoolInfo, type SwapEvent } from './uniswap.js'
+
+export { Stream } from './stream.js'
+export type { OverflowPolicy, StreamOptions } from './stream.js'
+export { runLogCursor } from './log-cursor.js'
+export type { LogCursorOptions, LogSource } from './log-cursor.js'
+export {
+ discoverPools,
+ loadPoolInfo,
+ decodeSwapLog,
+ sqrtPriceX96ToPrice,
+ uniswapV3SwapEvent,
+ uniswapV3PoolMetaAbi,
+} from './uniswap.js'
+export type { PoolInfo, SwapEvent } from './uniswap.js'
+
+const ODYSSEY_FACTORIES: Address[] = [
+ ODYSSEY_ADDRESSES.bondingCurveFactory,
+ ODYSSEY_ADDRESSES.reflectionFactory,
+ ODYSSEY_ADDRESSES.instantFactory,
+]
+
+/** ERC-20 `Transfer` event (explicit — the SDK's `erc20Abi` member order is not a contract). */
+const transferEvent = {
+ type: 'event',
+ name: 'Transfer',
+ inputs: [
+ { name: 'from', type: 'address', indexed: true },
+ { name: 'to', type: 'address', indexed: true },
+ { name: 'value', type: 'uint256', indexed: false },
+ ],
+} as const
+
+/** A price update for one Stock Token, emitted only when the Chainlink round changes. */
+export interface PriceTick {
+ symbol: string
+ feed: Address
+ /** Price of one token in USD (already multiplier-adjusted by Chainlink). */
+ priceUsd: number
+ roundId: bigint
+ updatedAt: number
+ /** Age of the answer in seconds at emit time. */
+ ageSeconds: number
+}
+
+/** Common polling knobs for the stream helpers. */
+export interface StreamPollOptions extends StreamOptions {
+ /** Poll interval in ms. */
+ pollingIntervalMs?: number
+}
+
+/**
+ * Stream live Stock Token prices. Polls every feed in one multicall on an
+ * interval and emits a {@link PriceTick} only when a symbol's Chainlink round
+ * advances — so consumers see genuine price changes, not redundant re-reads.
+ *
+ * @param symbols Tickers to watch, or `undefined` for every priced Stock Token.
+ *
+ * @example
+ * ```ts
+ * const prices = streamPrices(hood, ['AAPL', 'TSLA', 'NVDA'])
+ * for await (const tick of prices) console.log(tick.symbol, tick.priceUsd)
+ * ```
+ */
+export function streamPrices(
+ client: HoodClient,
+ symbols?: string[],
+ options: StreamPollOptions = {},
+): Stream<PriceTick> {
+ const tokens = (symbols ? symbols.map((s) => getStockToken(s)) : listPricedStockTokens()).filter((t) => t.feed)
+ const pollingIntervalMs = options.pollingIntervalMs ?? 4000
+ const lastRound = new Map<string, bigint>()
+ let stopped = false
+ let timer: ReturnType<typeof setTimeout> | null = null
+
+ const stream = new Stream<PriceTick>({
+ overflow: options.overflow ?? 'latest',
+ highWaterMark: options.highWaterMark,
+ onClose: () => {
+ stopped = true
+ if (timer) clearTimeout(timer)
+ },
+ })
+
+ const tick = async (): Promise<void> => {
+ if (stopped) return
+ try {
+ const results = await client.public.multicall({
+ contracts: tokens.map((t) => ({
+ address: t.feed as Address,
+ abi: aggregatorV3Abi,
+ functionName: 'latestRoundData' as const,
+ })),
+ allowFailure: true,
+ })
+ const now = Math.floor(Date.now() / 1000)
+ results.forEach((res, i) => {
+ const token = tokens[i]
+ if (!token || res.status !== 'success') return
+ const [roundId, answer, , updatedAt] = res.result as readonly [bigint, bigint, bigint, bigint, bigint]
+ if (answer <= 0n || updatedAt === 0n) return
+ if (lastRound.get(token.symbol) === roundId) return
+ lastRound.set(token.symbol, roundId)
+ stream.push({
+ symbol: token.symbol,
+ feed: token.feed as Address,
+ priceUsd: Number(formatUnits(answer, token.feedDecimals ?? 8)),
+ roundId,
+ updatedAt: Number(updatedAt),
+ ageSeconds: Math.max(0, now - Number(updatedAt)),
+ })
+ })
+ } catch (error) {
+ stream.fail(error instanceof Error ? error : new Error(String(error)))
+ } finally {
+ if (!stopped) timer = setTimeout(tick, pollingIntervalMs)
+ }
+ }
+ void tick()
+ return stream
+}
+
+/** Options for {@link streamSwaps}. */
+export interface StreamSwapsOptions extends StreamOptions {
+ /** Poll interval in ms. @defaultValue `1500` */
+ pollingIntervalMs?: number
+ /** Backfill from this block before streaming live. Omit for live-only. */
+ fromBlock?: bigint
+ /** Max blocks per `eth_getLogs`. @defaultValue `5000n` */
+ chunkSize?: bigint
+ /** Confirmations before a block is considered final. @defaultValue `1n` */
+ confirmations?: bigint
+}
+
+/**
+ * Stream Uniswap v3 swaps for a specific pool, or for every WETH/USDG pool of a
+ * token. Backed by the gap-fill log cursor: a dropped RPC connection or blip
+ * re-reads the missed block range instead of silently losing swaps.
+ *
+ * @example Watch every swap touching a token
+ * ```ts
+ * const swaps = await streamSwaps(hood, { token: '0x…' })
+ * swaps.on('data', (s) => console.log(s.buysToken0 ? 'BUY' : 'SELL', s.price))
+ * ```
+ */
+export async function streamSwaps(
+ client: HoodClient,
+ target: { pool: Address } | { token: Address },
+ options: StreamSwapsOptions = {},
+): Promise<Stream<SwapEvent>> {
+ const pools: PoolInfo[] =
+ 'pool' in target ? [await loadPoolInfo(client, target.pool)] : await discoverPools(client, target.token)
+
+ const stops: Array<() => void> = []
+ const stream = new Stream<SwapEvent>({
+ overflow: options.overflow ?? 'drop-oldest',
+ highWaterMark: options.highWaterMark,
+ onClose: () => stops.forEach((stop) => stop()),
+ })
+
+ for (const info of pools) {
+ stops.push(
+ runLogCursor<Awaited<ReturnType<typeof client.public.getLogs>>[number], SwapEvent>({
+ source: client.public,
+ stream,
+ fromBlock: options.fromBlock,
+ pollingIntervalMs: options.pollingIntervalMs ?? 1500,
+ chunkSize: options.chunkSize,
+ confirmations: options.confirmations,
+ getLogs: (from, to) =>
+ client.public.getLogs({ address: info.pool, event: uniswapV3SwapEvent, fromBlock: from, toBlock: to }),
+ decode: (log) => decodeSwapLog(log, info),
+ onError: (err) => stream.fail(err),
+ }),
+ )
+ }
+ return stream
+}
+
+/**
+ * Stream new token launches from NOXA and The Odyssey, gap-filled. Optionally
+ * backfill history with `fromBlock`.
+ *
+ * @example
+ * ```ts
+ * const launches = streamLaunches(hood)
+ * for await (const l of launches) console.log(l.launchpad, l.token)
+ * ```
+ */
+export function streamLaunches(client: HoodClient, options: StreamSwapsOptions = {}): Stream<Launch> {
+ const stops: Array<() => void> = []
+ const stream = new Stream<Launch>({
+ overflow: options.overflow ?? 'drop-oldest',
+ highWaterMark: options.highWaterMark,
+ onClose: () => stops.forEach((stop) => stop()),
+ })
+ const shared = {
+ pollingIntervalMs: options.pollingIntervalMs ?? 2500,
+ chunkSize: options.chunkSize,
+ confirmations: options.confirmations,
+ fromBlock: options.fromBlock,
+ onError: (err: Error) => stream.fail(err),
+ source: client.public,
+ stream,
+ }
+
+ stops.push(
+ runLogCursor({
+ ...shared,
+ getLogs: (from, to) =>
+ client.public.getLogs({
+ address: NOXA_ADDRESSES.launchFactory,
+ event: noxaTokenLaunchedEvent,
+ fromBlock: from,
+ toBlock: to,
+ }),
+ decode: (log): Launch => ({
+ launchpad: 'noxa',
+ token: log.args.token as Address,
+ creator: log.args.deployer as Address,
+ pool: (log.args.pool as Address) ?? null,
+ blockNumber: log.blockNumber,
+ transactionHash: log.transactionHash,
+ }),
+ }),
+ )
+ stops.push(
+ runLogCursor({
+ ...shared,
+ getLogs: (from, to) =>
+ client.public.getLogs({
+ address: ODYSSEY_FACTORIES,
+ event: odysseyTokenCreatedEvent,
+ fromBlock: from,
+ toBlock: to,
+ }),
+ decode: (log): Launch => ({
+ launchpad: 'odyssey',
+ token: log.args.token as Address,
+ creator: log.args.creator as Address,
+ pool: null,
+ blockNumber: log.blockNumber,
+ transactionHash: log.transactionHash,
+ }),
+ }),
+ )
+ return stream
+}
+
+/** A live portfolio change: the transfer that triggered it and the re-read balance. */
+export interface PortfolioUpdate {
+ /** The Stock Token (or USDG) whose balance changed. */
+ token: Address
+ /** Registry symbol, or `null` for non-registry tokens (e.g. USDG). */
+ symbol: string | null
+ /** New raw balance after the transfer. */
+ balance: bigint
+ /** New balance in human units. */
+ balanceFormatted: number
+ /** The transfer that triggered the re-read. */
+ transfer: { from: Address; to: Address; value: bigint; blockNumber: bigint; transactionHash: Hash }
+}
+
+/**
+ * Stream balance changes for `address` across every Stock Token (and USDG).
+ * Watches inbound and outbound `Transfer` logs (gap-filled) and re-reads the
+ * affected token's balance, emitting a {@link PortfolioUpdate} per change.
+ */
+export function streamPortfolio(
+ client: HoodClient,
+ address: Address,
+ options: StreamSwapsOptions = {},
+): Stream<PortfolioUpdate> {
+ const usdg = client.network === 'testnet' ? TESTNET_ADDRESSES.usdg : MAINNET_ADDRESSES.usdg
+ const watched: Address[] = [...listStockTokens().map((t) => t.address), usdg]
+ const stops: Array<() => void> = []
+ const stream = new Stream<PortfolioUpdate>({
+ overflow: options.overflow ?? 'drop-oldest',
+ highWaterMark: options.highWaterMark,
+ onClose: () => stops.forEach((stop) => stop()),
+ })
+
+ stops.push(
+ runLogCursor<{ token: Address; from: Address; to: Address; value: bigint; blockNumber: bigint; transactionHash: Hash }, PortfolioUpdate>(
+ {
+ source: client.public,
+ stream,
+ fromBlock: options.fromBlock,
+ pollingIntervalMs: options.pollingIntervalMs ?? 3000,
+ chunkSize: options.chunkSize,
+ confirmations: options.confirmations,
+ onError: (err) => stream.fail(err),
+ getLogs: async (from, to) => {
+ // OR semantics (from==addr | to==addr) require two indexed-topic queries.
+ const [outbound, inbound] = await Promise.all([
+ client.public.getLogs({ address: watched, event: transferEvent, args: { from: address }, fromBlock: from, toBlock: to }),
+ client.public.getLogs({ address: watched, event: transferEvent, args: { to: address }, fromBlock: from, toBlock: to }),
+ ])
+ const seen = new Set<string>()
+ const merged: Array<{ token: Address; from: Address; to: Address; value: bigint; blockNumber: bigint; transactionHash: Hash }> = []
+ for (const log of [...outbound, ...inbound]) {
+ const key = `${log.transactionHash}:${log.logIndex}`
+ if (seen.has(key)) continue
+ seen.add(key)
+ const a = log.args as { from?: Address; to?: Address; value?: bigint }
+ if (!a.from || !a.to || a.value === undefined) continue
+ merged.push({
+ token: log.address as Address,
+ from: a.from,
+ to: a.to,
+ value: a.value,
+ blockNumber: log.blockNumber,
+ transactionHash: log.transactionHash,
+ })
+ }
+ return merged
+ },
+ decode: (t) => {
+ // decode runs sync; enqueue an async balance read that pushes the update.
+ void (async () => {
+ try {
+ const registryToken = getStockTokenByAddress(t.token)
+ const decimals = registryToken?.decimals ?? (t.token.toLowerCase() === usdg.toLowerCase() ? 6 : 18)
+ const balance = await client.public.readContract({
+ address: t.token,
+ abi: erc20Abi,
+ functionName: 'balanceOf',
+ args: [address],
+ })
+ stream.push({
+ token: t.token,
+ symbol: registryToken?.symbol ?? (t.token.toLowerCase() === usdg.toLowerCase() ? 'USDG' : null),
+ balance,
+ balanceFormatted: Number(formatUnits(balance, decimals)),
+ transfer: { from: t.from, to: t.to, value: t.value, blockNumber: t.blockNumber, transactionHash: t.transactionHash },
+ })
+ } catch (error) {
+ stream.fail(error instanceof Error ? error : new Error(String(error)))
+ }
+ })()
+ return null // the async read pushes; nothing to emit synchronously
+ },
+ },
+ ),
+ )
+ return stream
+}
diff --git a/robinhood/hoodkit/src/stream/log-cursor.ts b/robinhood/hoodkit/src/stream/log-cursor.ts
new file mode 100644
index 000000000..9a08d2927
--- /dev/null
+++ b/robinhood/hoodkit/src/stream/log-cursor.ts
@@ -0,0 +1,96 @@
+import type { Stream } from './stream.js'
+
+/** A source of block heads and logs — satisfied by a viem public client, or a fake in tests. */
+export interface LogSource {
+ /** Current chain head block number. */
+ getBlockNumber(): Promise<bigint>
+}
+
+/** Options for {@link runLogCursor}. */
+export interface LogCursorOptions<TLog, TEvent> {
+ /** Head/height source (a viem public client works directly). */
+ source: LogSource
+ /** Fetch confirmed logs in `[from, to]` inclusive. Throwing triggers gap-fill on the next tick. */
+ getLogs: (from: bigint, to: bigint) => Promise<readonly TLog[]>
+ /** Decode a raw log into an event, or `null` to skip it. */
+ decode: (log: TLog) => TEvent | null
+ /** The stream to push decoded events into. */
+ stream: Stream<TEvent>
+ /**
+ * First block to scan. `undefined` starts at the current head (only new events).
+ * A concrete value backfills history from there first.
+ */
+ fromBlock?: bigint
+ /** Poll interval in ms. @defaultValue `1500` */
+ pollingIntervalMs?: number
+ /** Max blocks per `getLogs` request (public-RPC friendly). @defaultValue `5000n` */
+ chunkSize?: bigint
+ /**
+ * Confirmations to wait before treating a block as final. Reorg-safe streaming
+ * re-reads the last `confirmations` blocks each tick. @defaultValue `1`
+ */
+ confirmations?: bigint
+ /** Called when a poll errors (the cursor does NOT advance, so the range is retried). */
+ onError?: (error: Error) => void
+}
+
+/**
+ * The gap-fill engine behind every RPC-backed `hoodkit` stream.
+ *
+ * It maintains a persistent block **cursor** and only advances it after the
+ * logs for a range have been decoded and pushed. If a poll throws — an RPC
+ * blip, a dropped socket, a rate limit — the cursor stays put, so the *next*
+ * successful poll re-requests the exact same range. No confirmed event is ever
+ * silently skipped, which is the property the reconnect gap-fill test asserts.
+ *
+ * @returns A `stop()` function that halts polling (does not close the stream).
+ */
+export function runLogCursor<TLog, TEvent>(options: LogCursorOptions<TLog, TEvent>): () => void {
+ const pollingIntervalMs = options.pollingIntervalMs ?? 1500
+ const chunkSize = options.chunkSize ?? 5000n
+ const confirmations = options.confirmations ?? 1n
+
+ let cursor: bigint | null = options.fromBlock ?? null
+ let stopped = false
+ let timer: ReturnType<typeof setTimeout> | null = null
+
+ const tick = async (): Promise<void> => {
+ if (stopped) return
+ try {
+ const head = await options.source.getBlockNumber()
+ const safeHead = head > confirmations ? head - confirmations : 0n
+
+ if (cursor === null) {
+ // First tick with no explicit start: begin from the next new block.
+ cursor = safeHead + 1n
+ } else if (safeHead >= cursor) {
+ for (let from = cursor; from <= safeHead; from += chunkSize) {
+ if (stopped) return
+ const to = from + chunkSize - 1n > safeHead ? safeHead : from + chunkSize - 1n
+ const logs = await options.getLogs(from, to)
+ for (const log of logs) {
+ const event = options.decode(log)
+ if (event !== null) options.stream.push(event)
+ }
+ // Advance only after this chunk is fully delivered — an error above
+ // leaves `cursor` at the failed range so it is retried next tick.
+ cursor = to + 1n
+ }
+ }
+ } catch (error) {
+ const err = error instanceof Error ? error : new Error(String(error))
+ options.onError?.(err)
+ options.stream.fail(err)
+ // Cursor intentionally NOT advanced: the failed range is retried.
+ } finally {
+ if (!stopped) timer = setTimeout(tick, pollingIntervalMs)
+ }
+ }
+
+ void tick()
+
+ return () => {
+ stopped = true
+ if (timer) clearTimeout(timer)
+ }
+}
diff --git a/robinhood/hoodkit/src/stream/stream.ts b/robinhood/hoodkit/src/stream/stream.ts
new file mode 100644
index 000000000..0b63534cc
--- /dev/null
+++ b/robinhood/hoodkit/src/stream/stream.ts
@@ -0,0 +1,182 @@
+/**
+ * `Stream<T>` — the real-time primitive every `hoodkit` stream returns.
+ *
+ * It is BOTH:
+ * - an **event emitter**: `stream.on('data', cb)`, `.on('error', cb)`, `.on('close', cb)`;
+ * - a **backpressure-safe async iterable**: `for await (const v of stream) { ... }`.
+ *
+ * The two forms share one source. Event listeners fire synchronously as values
+ * arrive (no buffering — a slow listener never grows memory). The async-iterator
+ * form buffers into a bounded queue and applies an explicit overflow policy so a
+ * slow consumer degrades predictably instead of leaking memory:
+ *
+ * - `'drop-oldest'` (default): keep the newest `highWaterMark` values, dropping the
+ * oldest and counting them in {@link Stream.dropped}. Right for firehose-style feeds.
+ * - `'latest'`: keep only the single most-recent value. Right for price ticks where
+ * only the current price matters.
+ * - `'block'`: never drop; the buffer grows unbounded. Use only when the producer is
+ * naturally slow (e.g. a 1s price poll) or the consumer is guaranteed to keep up.
+ */
+export type OverflowPolicy = 'drop-oldest' | 'latest' | 'block'
+
+/** Options for a {@link Stream}. */
+export interface StreamOptions {
+ /**
+ * Max buffered values for the async-iterator form before {@link OverflowPolicy}
+ * applies. Ignored by event listeners (they never buffer). @defaultValue `1024`
+ */
+ highWaterMark?: number
+ /** Overflow behavior for the async-iterator buffer. @defaultValue `'drop-oldest'` */
+ overflow?: OverflowPolicy
+}
+
+type Listener<T> = (value: T) => void
+type ErrorListener = (error: Error) => void
+
+/**
+ * A live stream of `T`. Construct one via the `stream*` helpers; you rarely
+ * `new` this directly. Producers call {@link Stream.push}, {@link Stream.fail},
+ * and {@link Stream.end}; consumers use listeners or `for await`.
+ */
+export class Stream<T> implements AsyncIterable<T> {
+ private readonly highWaterMark: number
+ private readonly overflow: OverflowPolicy
+ private readonly dataListeners = new Set<Listener<T>>()
+ private readonly errorListeners = new Set<ErrorListener>()
+ private readonly closeListeners = new Set<() => void>()
+
+ /** Async-iterator buffer of undelivered values. */
+ private readonly queue: T[] = []
+ /** Iterator consumers parked waiting for the next value. */
+ private readonly waiters: Array<(result: IteratorResult<T>) => void> = []
+ private closed = false
+ private failure: Error | null = null
+ private onClose: (() => void) | null
+
+ /** Count of values dropped by the `'drop-oldest'`/`'latest'` overflow policy. */
+ dropped = 0
+
+ constructor(options: StreamOptions & { onClose?: () => void } = {}) {
+ this.highWaterMark = options.highWaterMark ?? 1024
+ this.overflow = options.overflow ?? 'drop-oldest'
+ this.onClose = options.onClose ?? null
+ }
+
+ /** `true` once the stream has been closed (by {@link Stream.close}/{@link Stream.end}/{@link Stream.fail}). */
+ get isClosed(): boolean {
+ return this.closed
+ }
+
+ /** Number of values currently buffered for async-iterator consumers. */
+ get buffered(): number {
+ return this.queue.length
+ }
+
+ /** Subscribe to values (`'data'`), errors (`'error'`), or close (`'close'`). Returns an unsubscribe fn. */
+ on(event: 'data', listener: Listener<T>): () => void
+ on(event: 'error', listener: ErrorListener): () => void
+ on(event: 'close', listener: () => void): () => void
+ on(event: 'data' | 'error' | 'close', listener: Listener<T> | ErrorListener | (() => void)): () => void {
+ if (event === 'data') {
+ this.dataListeners.add(listener as Listener<T>)
+ return () => this.dataListeners.delete(listener as Listener<T>)
+ }
+ if (event === 'error') {
+ this.errorListeners.add(listener as ErrorListener)
+ return () => this.errorListeners.delete(listener as ErrorListener)
+ }
+ this.closeListeners.add(listener as () => void)
+ return () => this.closeListeners.delete(listener as () => void)
+ }
+
+ /** Remove a previously-added listener. */
+ off(event: 'data', listener: Listener<T>): void
+ off(event: 'error', listener: ErrorListener): void
+ off(event: 'close', listener: () => void): void
+ off(event: 'data' | 'error' | 'close', listener: Listener<T> | ErrorListener | (() => void)): void {
+ if (event === 'data') this.dataListeners.delete(listener as Listener<T>)
+ else if (event === 'error') this.errorListeners.delete(listener as ErrorListener)
+ else this.closeListeners.delete(listener as () => void)
+ }
+
+ /** Push a value to every listener and the async-iterator buffer. No-op once closed. */
+ push(value: T): void {
+ if (this.closed) return
+ for (const listener of this.dataListeners) listener(value)
+
+ // Hand directly to a parked iterator consumer if one is waiting.
+ const waiter = this.waiters.shift()
+ if (waiter) {
+ waiter({ value, done: false })
+ return
+ }
+
+ if (this.overflow === 'latest') {
+ this.queue.length = 0
+ this.queue.push(value)
+ return
+ }
+ this.queue.push(value)
+ if (this.overflow === 'drop-oldest' && this.queue.length > this.highWaterMark) {
+ this.queue.shift()
+ this.dropped += 1
+ }
+ }
+
+ /** Emit an error to `'error'` listeners. Does not close the stream (transient errors keep the stream alive). */
+ fail(error: Error): void {
+ if (this.closed) return
+ if (this.errorListeners.size === 0 && this.waiters.length === 0) return
+ for (const listener of this.errorListeners) listener(error)
+ }
+
+ /** Close the stream with a terminal error, rejecting any parked async iterators. */
+ destroy(error: Error): void {
+ this.failure = error
+ for (const listener of this.errorListeners) listener(error)
+ this.finish()
+ }
+
+ /** Gracefully end the stream: iterators drain the buffer then complete. */
+ end(): void {
+ this.finish()
+ }
+
+ /** Alias for {@link Stream.end} — stop the underlying source and close. */
+ close(): void {
+ this.finish()
+ }
+
+ private finish(): void {
+ if (this.closed) return
+ this.closed = true
+ this.onClose?.()
+ this.onClose = null
+ for (const listener of this.closeListeners) listener()
+ // Wake every parked consumer.
+ while (this.waiters.length > 0) {
+ const waiter = this.waiters.shift() as (result: IteratorResult<T>) => void
+ waiter({ value: undefined as unknown as T, done: true })
+ }
+ }
+
+ [Symbol.asyncIterator](): AsyncIterator<T> {
+ return {
+ next: (): Promise<IteratorResult<T>> => {
+ const buffered = this.queue.shift()
+ if (buffered !== undefined) return Promise.resolve({ value: buffered, done: false })
+ if (this.failure) {
+ const err = this.failure
+ this.failure = null
+ return Promise.reject(err)
+ }
+ if (this.closed) return Promise.resolve({ value: undefined as unknown as T, done: true })
+ return new Promise((resolve) => this.waiters.push(resolve))
+ },
+ return: (): Promise<IteratorResult<T>> => {
+ this.finish()
+ return Promise.resolve({ value: undefined as unknown as T, done: true })
+ },
+ }
+ }
+}
diff --git a/robinhood/hoodkit/src/stream/uniswap.ts b/robinhood/hoodkit/src/stream/uniswap.ts
new file mode 100644
index 000000000..d0e08fdec
--- /dev/null
+++ b/robinhood/hoodkit/src/stream/uniswap.ts
@@ -0,0 +1,187 @@
+import { getAddress, type Abi, type Address, type Hash, type Log } from 'viem'
+import { MAINNET_ADDRESSES, TESTNET_ADDRESSES, V3_FEE_TIERS, type HoodClient } from 'hoodchain'
+
+/** Uniswap v3 `Swap` event — the one every pool emits per trade. */
+export const uniswapV3SwapEvent = {
+ type: 'event',
+ name: 'Swap',
+ inputs: [
+ { name: 'sender', type: 'address', indexed: true },
+ { name: 'recipient', type: 'address', indexed: true },
+ { name: 'amount0', type: 'int256', indexed: false },
+ { name: 'amount1', type: 'int256', indexed: false },
+ { name: 'sqrtPriceX96', type: 'uint160', indexed: false },
+ { name: 'liquidity', type: 'uint128', indexed: false },
+ { name: 'tick', type: 'int24', indexed: false },
+ ],
+} as const
+
+/** Minimal pool metadata ABI (token0/token1/fee). */
+export const uniswapV3PoolMetaAbi = [
+ { type: 'function', name: 'token0', stateMutability: 'view', inputs: [], outputs: [{ type: 'address' }] },
+ { type: 'function', name: 'token1', stateMutability: 'view', inputs: [], outputs: [{ type: 'address' }] },
+ { type: 'function', name: 'fee', stateMutability: 'view', inputs: [], outputs: [{ type: 'uint24' }] },
+] as const satisfies Abi
+
+/** ERC-20 `decimals` reader (some pool tokens aren't in the Stock Token registry). */
+export const erc20DecimalsAbi = [
+ { type: 'function', name: 'decimals', stateMutability: 'view', inputs: [], outputs: [{ type: 'uint8' }] },
+] as const satisfies Abi
+
+const factoryGetPoolAbi = [
+ {
+ type: 'function',
+ name: 'getPool',
+ stateMutability: 'view',
+ inputs: [{ type: 'address' }, { type: 'address' }, { type: 'uint24' }],
+ outputs: [{ type: 'address' }],
+ },
+] as const satisfies Abi
+
+const ZERO = '0x0000000000000000000000000000000000000000'
+const Q96 = 2n ** 96n
+
+/** Static metadata for a discovered pool. */
+export interface PoolInfo {
+ pool: Address
+ token0: Address
+ token1: Address
+ fee: number
+ decimals0: number
+ decimals1: number
+}
+
+/** A decoded Uniswap v3 swap. */
+export interface SwapEvent {
+ pool: Address
+ /** token0 delta (signed, raw units): negative = pool paid out token0. */
+ amount0: bigint
+ /** token1 delta (signed, raw units). */
+ amount1: bigint
+ /** `true` when the trader bought token0 (pool's token0 went out, i.e. amount0 < 0). */
+ buysToken0: boolean
+ /** Executed price of token0 denominated in token1, decimal-adjusted (human units). */
+ price: number
+ /** |amount0| in human units. */
+ volume0: number
+ /** |amount1| in human units. */
+ volume1: number
+ /** Pool spot price after the swap, from `sqrtPriceX96` (token0 in token1, human units). */
+ spotPrice: number
+ sqrtPriceX96: bigint
+ liquidity: bigint
+ tick: number
+ blockNumber: bigint
+ logIndex: number
+ transactionHash: Hash
+ sender: Address
+ recipient: Address
+}
+
+function toHuman(raw: bigint, decimals: number): number {
+ const negative = raw < 0n
+ const abs = negative ? -raw : raw
+ const divisor = 10 ** decimals
+ return (negative ? -1 : 1) * (Number(abs) / divisor)
+}
+
+/** Convert a pool `sqrtPriceX96` to the human price of token0 in token1. */
+export function sqrtPriceX96ToPrice(sqrtPriceX96: bigint, decimals0: number, decimals1: number): number {
+ if (sqrtPriceX96 <= 0n) return 0
+ const sqrt = Number(sqrtPriceX96) / Number(Q96)
+ return sqrt * sqrt * 10 ** (decimals0 - decimals1)
+}
+
+function addr(client: HoodClient): { factory: Address; weth: Address; usdg: Address } {
+ return client.network === 'testnet'
+ ? { factory: TESTNET_ADDRESSES.uniswapV3Factory, weth: TESTNET_ADDRESSES.weth, usdg: TESTNET_ADDRESSES.usdg }
+ : { factory: MAINNET_ADDRESSES.uniswapV3Factory, weth: MAINNET_ADDRESSES.weth, usdg: MAINNET_ADDRESSES.usdg }
+}
+
+/** Read a pool's token0/token1/fee and both token decimals in one multicall. */
+export async function loadPoolInfo(client: HoodClient, pool: Address): Promise<PoolInfo> {
+ const [token0, token1, fee] = await client.public.multicall({
+ contracts: [
+ { address: pool, abi: uniswapV3PoolMetaAbi, functionName: 'token0' },
+ { address: pool, abi: uniswapV3PoolMetaAbi, functionName: 'token1' },
+ { address: pool, abi: uniswapV3PoolMetaAbi, functionName: 'fee' },
+ ],
+ allowFailure: false,
+ })
+ const [decimals0, decimals1] = await client.public.multicall({
+ contracts: [
+ { address: token0, abi: erc20DecimalsAbi, functionName: 'decimals' },
+ { address: token1, abi: erc20DecimalsAbi, functionName: 'decimals' },
+ ],
+ allowFailure: false,
+ })
+ return {
+ pool: getAddress(pool),
+ token0: getAddress(token0),
+ token1: getAddress(token1),
+ fee: Number(fee),
+ decimals0: Number(decimals0),
+ decimals1: Number(decimals1),
+ }
+}
+
+/**
+ * Discover the live Uniswap v3 pools for `token`, probed against WETH and USDG
+ * across every fee tier. Only pools the factory actually created are returned.
+ */
+export async function discoverPools(client: HoodClient, token: Address): Promise<PoolInfo[]> {
+ const { factory, weth, usdg } = addr(client)
+ const quotes = [weth, usdg].filter((q) => q.toLowerCase() !== token.toLowerCase())
+ const probes: { quote: Address; fee: number }[] = []
+ for (const quote of quotes) for (const fee of V3_FEE_TIERS) probes.push({ quote, fee })
+
+ const pools = await client.public.multicall({
+ contracts: probes.map((p) => ({
+ address: factory,
+ abi: factoryGetPoolAbi,
+ functionName: 'getPool' as const,
+ args: [token, p.quote, p.fee] as const,
+ })),
+ allowFailure: true,
+ })
+
+ const found: Address[] = []
+ pools.forEach((res) => {
+ if (res.status === 'success' && res.result && res.result !== ZERO) found.push(res.result as Address)
+ })
+ const unique = [...new Set(found.map((a) => a.toLowerCase()))].map((a) => getAddress(a as Address))
+ return Promise.all(unique.map((pool) => loadPoolInfo(client, pool)))
+}
+
+/** Decode a raw viem `Swap` log against a known pool's decimals. */
+export function decodeSwapLog(log: Log, info: PoolInfo): SwapEvent | null {
+ const args = (log as unknown as { args?: Record<string, unknown> }).args
+ if (!args) return null
+ const amount0 = args.amount0 as bigint
+ const amount1 = args.amount1 as bigint
+ const sqrtPriceX96 = args.sqrtPriceX96 as bigint
+ if (amount0 === undefined || amount1 === undefined) return null
+
+ const volume0 = Math.abs(toHuman(amount0, info.decimals0))
+ const volume1 = Math.abs(toHuman(amount1, info.decimals1))
+ const price = volume0 > 0 ? volume1 / volume0 : sqrtPriceX96ToPrice(sqrtPriceX96, info.decimals0, info.decimals1)
+
+ return {
+ pool: info.pool,
+ amount0,
+ amount1,
+ buysToken0: amount0 < 0n,
+ price,
+ volume0,
+ volume1,
+ spotPrice: sqrtPriceX96ToPrice(sqrtPriceX96, info.decimals0, info.decimals1),
+ sqrtPriceX96,
+ liquidity: (args.liquidity as bigint) ?? 0n,
+ tick: Number((args.tick as bigint | number) ?? 0),
+ blockNumber: log.blockNumber ?? 0n,
+ logIndex: log.logIndex ?? 0,
+ transactionHash: (log.transactionHash ?? ('0x' as Hash)) as Hash,
+ sender: (args.sender as Address) ?? ZERO,
+ recipient: (args.recipient as Address) ?? ZERO,
+ }
+}
diff --git a/robinhood/learn-robinhood-chain/.gitignore b/robinhood/learn-robinhood-chain/.gitignore
new file mode 100644
index 000000000..452bbdd08
--- /dev/null
+++ b/robinhood/learn-robinhood-chain/.gitignore
@@ -0,0 +1,9 @@
+node_modules/
+.env
+.env.*
+*.log
+.DS_Store
+.vscode/
+.idea/
+
+# docs/ IS committed — GitHub Pages deploys from it. Do not ignore it.
diff --git a/robinhood/learn-robinhood-chain/LICENSE b/robinhood/learn-robinhood-chain/LICENSE
new file mode 100644
index 000000000..4216cf919
--- /dev/null
+++ b/robinhood/learn-robinhood-chain/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2026 nirholas
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/robinhood/learn-robinhood-chain/assets/styles.css b/robinhood/learn-robinhood-chain/assets/styles.css
new file mode 100644
index 000000000..ad0dd83aa
--- /dev/null
+++ b/robinhood/learn-robinhood-chain/assets/styles.css
@@ -0,0 +1,416 @@
+/* ==========================================================================
+ Learn Robinhood Chain — design system
+ Dark-first, theme-aware, one accent gradient. No CDN, system font stack.
+ ========================================================================== */
+
+:root,
+:root[data-theme='dark'] {
+ color-scheme: dark;
+ --bg: #0b0d10;
+ --bg-elev: #111418;
+ --bg-elev-2: #171b21;
+ --bg-code: #0e1116;
+ --border: #232a33;
+ --border-strong: #2f3946;
+ --fg: #e7ecf2;
+ --fg-muted: #9aa7b6;
+ --fg-faint: #66727f;
+ --accent: #00c805;
+ --accent-2: #34e27a;
+ --accent-ink: #04120a;
+ --accent-soft: rgba(0, 200, 5, 0.12);
+ --accent-line: rgba(0, 200, 5, 0.35);
+ --danger: #ff5c5c;
+ --warn: #ffb020;
+ --info: #4aa8ff;
+ --grad: linear-gradient(100deg, #00c805 0%, #34e27a 55%, #7bf5a8 100%);
+ --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 30px rgba(0, 0, 0, 0.35);
+
+ /* code highlighting */
+ --code-fg: #d6dee8;
+ --hl-comment: #6b7789;
+ --hl-keyword: #ff7ab2;
+ --hl-string: #79e07a;
+ --hl-number: #f2c66d;
+ --hl-title: #6cb6ff;
+ --hl-type: #7ee0c8;
+ --hl-var: #d6dee8;
+ --hl-attr: #b48ef0;
+ --hl-deletion: #ff8b8b;
+
+ --radius: 12px;
+ --radius-sm: 8px;
+ --maxw: 1320px;
+ --sidebar-w: 288px;
+ --toc-w: 220px;
+ --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
+ --mono: ui-monospace, 'SF Mono', 'SFMono-Regular', Menlo, Monaco, Consolas, 'Liberation Mono', monospace;
+}
+
+:root[data-theme='light'] {
+ color-scheme: light;
+ --bg: #ffffff;
+ --bg-elev: #f7f9fb;
+ --bg-elev-2: #eef2f6;
+ --bg-code: #f6f8fa;
+ --border: #e3e8ee;
+ --border-strong: #d2dae3;
+ --fg: #0f1720;
+ --fg-muted: #52606d;
+ --fg-faint: #7b8794;
+ --accent: #008a04;
+ --accent-2: #00a838;
+ --accent-ink: #ffffff;
+ --accent-soft: rgba(0, 138, 4, 0.1);
+ --accent-line: rgba(0, 138, 4, 0.3);
+ --grad: linear-gradient(100deg, #008a04 0%, #00a838 60%, #22b455 100%);
+ --shadow: 0 1px 2px rgba(16, 23, 32, 0.06), 0 10px 30px rgba(16, 23, 32, 0.08);
+
+ --code-fg: #24292f;
+ --hl-comment: #6e7781;
+ --hl-keyword: #cf222e;
+ --hl-string: #0a7d33;
+ --hl-number: #953800;
+ --hl-title: #0550ae;
+ --hl-type: #1b7c83;
+ --hl-var: #24292f;
+ --hl-attr: #6639ba;
+ --hl-deletion: #82071e;
+}
+
+* { box-sizing: border-box; }
+html { scroll-behavior: smooth; scroll-padding-top: 84px; }
+@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; } }
+
+body {
+ margin: 0;
+ font-family: var(--font);
+ background: var(--bg);
+ color: var(--fg);
+ font-size: 16px;
+ line-height: 1.65;
+ -webkit-font-smoothing: antialiased;
+ text-rendering: optimizeLegibility;
+}
+
+a { color: var(--accent-2); text-decoration: none; }
+a:hover { text-decoration: underline; }
+:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
+
+.skip-link {
+ position: absolute; left: -999px; top: 8px; z-index: 200;
+ background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; font-weight: 600;
+}
+.skip-link:focus { left: 12px; }
+
+kbd {
+ font-family: var(--mono); font-size: 11px; line-height: 1;
+ padding: 3px 6px; border: 1px solid var(--border-strong); border-bottom-width: 2px;
+ border-radius: 6px; background: var(--bg-elev-2); color: var(--fg-muted);
+}
+
+/* ---------- topbar -------------------------------------------------------- */
+.topbar {
+ position: sticky; top: 0; z-index: 50;
+ background: color-mix(in srgb, var(--bg) 82%, transparent);
+ backdrop-filter: saturate(160%) blur(12px);
+ border-bottom: 1px solid var(--border);
+}
+.topbar-inner {
+ max-width: var(--maxw); margin: 0 auto; height: 60px;
+ display: flex; align-items: center; justify-content: space-between; gap: 16px;
+ padding: 0 20px;
+}
+.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); font-size: 15px; }
+.brand:hover { text-decoration: none; }
+.brand-mark {
+ width: 28px; height: 28px; border-radius: 7px; display: grid; place-items: center;
+ background: var(--grad); color: #04120a; font-weight: 800; font-size: 16px; flex: none;
+}
+.brand-text strong { font-weight: 700; }
+.brand-text { color: var(--fg-muted); font-weight: 500; }
+.brand-text strong { color: var(--fg); }
+
+.topbar-actions { display: flex; align-items: center; gap: 8px; }
+.ghost-link { color: var(--fg-muted); font-size: 14px; padding: 6px 8px; border-radius: 8px; }
+.ghost-link:hover { color: var(--fg); text-decoration: none; background: var(--bg-elev-2); }
+
+.search-open {
+ display: inline-flex; align-items: center; gap: 10px;
+ background: var(--bg-elev-2); border: 1px solid var(--border); color: var(--fg-muted);
+ padding: 7px 10px; border-radius: 9px; font-size: 13px; cursor: pointer; min-width: 160px;
+ justify-content: space-between; font-family: inherit;
+}
+.search-open:hover { border-color: var(--border-strong); color: var(--fg); }
+.search-open kbd { padding: 2px 6px; }
+
+.theme-toggle, .menu-toggle {
+ width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--border);
+ background: var(--bg-elev-2); cursor: pointer; display: grid; place-items: center; color: var(--fg-muted);
+}
+.theme-toggle:hover, .menu-toggle:hover { color: var(--fg); border-color: var(--border-strong); }
+.theme-toggle::before { content: '☾'; font-size: 16px; }
+:root[data-theme='light'] .theme-toggle::before { content: '☀'; }
+.menu-toggle { display: none; }
+.menu-toggle::before { content: '≡'; font-size: 20px; }
+
+/* ---------- layout -------------------------------------------------------- */
+.layout { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: flex-start; }
+
+.sidebar {
+ position: sticky; top: 60px; align-self: flex-start;
+ width: var(--sidebar-w); flex: none; height: calc(100vh - 60px);
+ overflow-y: auto; padding: 24px 12px 60px 20px; border-right: 1px solid var(--border);
+}
+.nav-section { margin-bottom: 22px; }
+.nav-section-title {
+ font-size: 11px; text-transform: uppercase; letter-spacing: 0.09em; color: var(--fg-faint);
+ font-weight: 700; margin: 0 0 8px 10px;
+}
+.sidebar-nav ul { list-style: none; margin: 0; padding: 0; }
+.sidebar-nav li a {
+ display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 8px;
+ color: var(--fg-muted); font-size: 14px; line-height: 1.35;
+}
+.sidebar-nav li a:hover { background: var(--bg-elev-2); color: var(--fg); text-decoration: none; }
+.sidebar-nav li a.active { background: var(--accent-soft); color: var(--fg); font-weight: 600; }
+.sidebar-nav li a.active .nav-idx { color: var(--accent-2); border-color: var(--accent-line); }
+.nav-idx {
+ flex: none; width: 24px; height: 20px; display: grid; place-items: center;
+ font-family: var(--mono); font-size: 11px; color: var(--fg-faint);
+ border: 1px solid var(--border); border-radius: 6px;
+}
+.sidebar-nav li a.done .nav-idx::after { content: ''; }
+
+.sidebar-scrim { display: none; }
+
+/* ---------- landing ------------------------------------------------------- */
+.landing { flex: 1; min-width: 0; padding: 0 20px; }
+.hero { padding: 72px 0 40px; border-bottom: 1px solid var(--border); }
+.hero-inner { max-width: 820px; }
+.eyebrow {
+ font-family: var(--mono); font-size: 12.5px; color: var(--fg-muted); margin: 0 0 18px;
+ letter-spacing: 0.01em;
+}
+.hero h1 { font-size: clamp(38px, 6vw, 62px); line-height: 1.03; letter-spacing: -0.03em; margin: 0 0 20px; font-weight: 800; }
+.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
+.lede { font-size: clamp(17px, 2.2vw, 20px); color: var(--fg-muted); margin: 0 0 28px; max-width: 680px; }
+.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
+.btn {
+ display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 10px;
+ font-weight: 600; font-size: 15px; cursor: pointer; border: 1px solid transparent; transition: transform 0.06s ease, background 0.15s ease, border-color 0.15s ease;
+}
+.btn:hover { text-decoration: none; }
+.btn:active { transform: translateY(1px); }
+.btn-primary { background: var(--accent); color: var(--accent-ink); }
+.btn-primary:hover { background: var(--accent-2); }
+.btn-ghost { background: var(--bg-elev); border-color: var(--border-strong); color: var(--fg); }
+.btn-ghost:hover { background: var(--bg-elev-2); border-color: var(--fg-faint); }
+
+.chain-strip {
+ display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
+ background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
+}
+.stat { background: var(--bg-elev); padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
+.stat-label { font-size: 12px; color: var(--fg-faint); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
+.stat-value { font-family: var(--mono); font-size: 19px; font-weight: 600; font-variant-numeric: tabular-nums; }
+.stat-value.tick { animation: flash 0.6s ease; }
+@keyframes flash { 0% { color: var(--accent-2); } 100% { color: var(--fg); } }
+.chain-strip-note { font-size: 12.5px; color: var(--fg-faint); margin: 10px 2px 0; }
+.chain-strip-note.err { color: var(--warn); }
+
+.curriculum { padding: 48px 0 24px; }
+.curriculum-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
+.section-h { font-size: 26px; letter-spacing: -0.02em; margin: 0; font-weight: 700; }
+.reset-progress { background: none; border: 1px solid var(--border); color: var(--fg-muted); font-size: 12.5px; padding: 5px 10px; border-radius: 7px; cursor: pointer; font-family: inherit; }
+.reset-progress:hover { color: var(--fg); border-color: var(--border-strong); }
+.progress-line { color: var(--fg-muted); font-size: 14px; margin: 8px 0 32px; }
+#progress-count { color: var(--accent-2); font-weight: 700; }
+
+.curriculum-group { margin-bottom: 40px; }
+.curriculum-group-title {
+ font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--fg-faint);
+ font-weight: 700; margin: 0 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--border);
+}
+.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
+.tut-card {
+ position: relative; display: flex; gap: 14px; padding: 18px; border: 1px solid var(--border);
+ border-radius: var(--radius); background: var(--bg-elev); color: var(--fg); overflow: hidden;
+ transition: border-color 0.15s ease, transform 0.08s ease, background 0.15s ease;
+}
+.tut-card::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--grad); opacity: 0; transition: opacity 0.15s ease; }
+.tut-card:hover { text-decoration: none; border-color: var(--border-strong); transform: translateY(-2px); background: var(--bg-elev-2); }
+.tut-card:hover::before { opacity: 1; }
+.tut-card-idx { font-family: var(--mono); font-size: 13px; color: var(--fg-faint); flex: none; padding-top: 1px; }
+.tut-card-body { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
+.tut-card-title { font-weight: 650; font-size: 15.5px; letter-spacing: -0.01em; }
+.tut-card-desc { color: var(--fg-muted); font-size: 13.5px; line-height: 1.5; }
+.tut-card-time { color: var(--fg-faint); font-size: 12px; font-family: var(--mono); margin-top: 2px; }
+.tut-card-check {
+ position: absolute; top: 14px; right: 14px; width: 18px; height: 18px; border-radius: 50%;
+ border: 1.5px solid var(--border-strong); flex: none; transition: all 0.15s ease;
+}
+.tut-card.done { border-color: var(--accent-line); }
+.tut-card.done .tut-card-check { background: var(--accent); border-color: var(--accent); }
+.tut-card.done .tut-card-check::after { content: '✓'; color: var(--accent-ink); font-size: 12px; font-weight: 800; display: grid; place-items: center; height: 100%; }
+.tut-card.done .tut-card-idx { color: var(--accent-2); }
+
+.site-footer { border-top: 1px solid var(--border); padding: 32px 0 60px; color: var(--fg-muted); font-size: 14px; }
+.site-footer p { margin: 0 0 8px; }
+.disclaimer { color: var(--fg-faint); font-size: 12.5px; max-width: 720px; line-height: 1.6; }
+
+/* ---------- doc page ------------------------------------------------------ */
+.doc { flex: 1; min-width: 0; display: flex; gap: 32px; padding: 32px 20px 80px; }
+.doc-article { flex: 1; min-width: 0; max-width: 760px; }
+.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--fg-faint); margin-bottom: 18px; }
+.breadcrumb a { color: var(--fg-muted); }
+.doc-header h1 { font-size: clamp(30px, 4.5vw, 40px); line-height: 1.1; letter-spacing: -0.025em; margin: 0 0 14px; font-weight: 800; }
+.doc-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--fg-muted); font-size: 13.5px; margin-bottom: 28px; }
+.doc-meta-item { font-family: var(--mono); }
+.doc-meta-sep { color: var(--fg-faint); }
+.done-toggle { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; font-family: var(--font); }
+.done-toggle input { accent-color: var(--accent); width: 15px; height: 15px; }
+
+.whatbuild, .prereq {
+ border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; margin: 0 0 18px;
+ background: var(--bg-elev);
+}
+.whatbuild { border-left: 3px solid var(--accent); }
+.whatbuild-title, .prereq-title { font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 8px; color: var(--fg-muted); }
+.whatbuild p:last-child { margin: 0; }
+.prereq ul { margin: 0; padding-left: 20px; }
+.prereq li { margin: 4px 0; color: var(--fg-muted); font-size: 14.5px; }
+.prereq li code { color: var(--fg); }
+
+/* body typography */
+.doc-body { font-size: 16px; }
+.doc-body > *:first-child { margin-top: 0; }
+.doc-body h2 { font-size: 25px; letter-spacing: -0.02em; margin: 48px 0 16px; padding-top: 8px; font-weight: 700; }
+.doc-body h3 { font-size: 19px; letter-spacing: -0.01em; margin: 32px 0 12px; font-weight: 650; }
+.doc-body h2 .anchor, .doc-body h3 .anchor {
+ opacity: 0; margin-left: -22px; padding-right: 8px; color: var(--fg-faint); font-weight: 400; text-decoration: none;
+}
+.doc-body h2:hover .anchor, .doc-body h3:hover .anchor { opacity: 1; }
+.doc-body p { margin: 0 0 16px; }
+.doc-body ul, .doc-body ol { margin: 0 0 16px; padding-left: 24px; }
+.doc-body li { margin: 6px 0; }
+.doc-body li::marker { color: var(--fg-faint); }
+.doc-body strong { color: var(--fg); font-weight: 650; }
+.doc-body hr { border: none; border-top: 1px solid var(--border); margin: 40px 0; }
+
+.doc-body :not(pre) > code {
+ font-family: var(--mono); font-size: 0.86em; padding: 2px 6px; border-radius: 6px;
+ background: var(--bg-elev-2); border: 1px solid var(--border); color: var(--fg);
+ word-break: break-word;
+}
+
+.doc-body blockquote {
+ margin: 0 0 16px; padding: 2px 18px; border-left: 3px solid var(--border-strong);
+ color: var(--fg-muted);
+}
+
+.doc-body table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 14.5px; display: block; overflow-x: auto; }
+.doc-body thead { background: var(--bg-elev); }
+.doc-body th, .doc-body td { border: 1px solid var(--border); padding: 9px 13px; text-align: left; vertical-align: top; }
+.doc-body th { font-weight: 650; color: var(--fg); }
+.doc-body td code { white-space: nowrap; }
+
+.doc-body img { max-width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--border); }
+
+/* code blocks */
+.code-block { margin: 0 0 20px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--bg-code); }
+.code-block figcaption {
+ display: flex; align-items: center; justify-content: space-between;
+ padding: 7px 12px 7px 14px; border-bottom: 1px solid var(--border); background: var(--bg-elev);
+}
+.code-lang { font-family: var(--mono); font-size: 11.5px; color: var(--fg-faint); text-transform: none; letter-spacing: 0.02em; }
+.copy-btn {
+ font-family: var(--font); font-size: 12px; color: var(--fg-muted); background: var(--bg-elev-2);
+ border: 1px solid var(--border); padding: 4px 10px; border-radius: 7px; cursor: pointer;
+}
+.copy-btn:hover { color: var(--fg); border-color: var(--border-strong); }
+.copy-btn.copied { color: var(--accent-2); border-color: var(--accent-line); }
+.code-block pre { margin: 0; padding: 16px; overflow-x: auto; }
+.code-block code { font-family: var(--mono); font-size: 13.5px; line-height: 1.6; }
+
+/* callouts */
+.callout { border: 1px solid var(--border); border-left-width: 3px; border-radius: var(--radius); padding: 14px 18px; margin: 0 0 20px; background: var(--bg-elev); }
+.callout p:last-child { margin-bottom: 0; }
+.callout-title { font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 6px; }
+.callout-note { border-left-color: var(--info); }
+.callout-note .callout-title { color: var(--info); }
+.callout-info { border-left-color: var(--info); }
+.callout-info .callout-title { color: var(--info); }
+.callout-tip { border-left-color: var(--accent); }
+.callout-tip .callout-title { color: var(--accent-2); }
+.callout-warning { border-left-color: var(--warn); }
+.callout-warning .callout-title { color: var(--warn); }
+.callout-danger { border-left-color: var(--danger); }
+.callout-danger .callout-title { color: var(--danger); }
+
+/* pager */
+.pager-nav { display: flex; gap: 14px; margin: 48px 0 0; }
+.pager { flex: 1; display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-elev); min-width: 0; }
+.pager:hover { text-decoration: none; border-color: var(--border-strong); background: var(--bg-elev-2); }
+.pager-next { text-align: right; align-items: flex-end; }
+.pager-dir { font-size: 12.5px; color: var(--fg-faint); }
+.pager-title { font-weight: 600; color: var(--fg); font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
+
+.doc-footer { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--fg-muted); font-size: 13.5px; }
+.doc-footer p { margin: 0 0 6px; }
+
+/* TOC */
+.toc { position: sticky; top: 84px; align-self: flex-start; width: var(--toc-w); flex: none; max-height: calc(100vh - 110px); overflow-y: auto; font-size: 13.5px; }
+.toc-title { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg-faint); font-weight: 700; margin: 0 0 10px; }
+.toc ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--border); }
+.toc li a { display: block; padding: 4px 0 4px 14px; color: var(--fg-muted); margin-left: -1px; border-left: 2px solid transparent; }
+.toc li a:hover { color: var(--fg); text-decoration: none; }
+.toc li a.active { color: var(--accent-2); border-left-color: var(--accent); }
+.toc-l3 a { padding-left: 26px; font-size: 13px; }
+
+/* ---------- search modal -------------------------------------------------- */
+.search-modal { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, 0.55); display: flex; align-items: flex-start; justify-content: center; padding: 10vh 16px 16px; }
+.search-modal[hidden] { display: none; }
+.search-panel { width: 100%; max-width: 640px; background: var(--bg-elev); border: 1px solid var(--border-strong); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
+#search-input { width: 100%; padding: 18px 20px; font-size: 17px; border: none; border-bottom: 1px solid var(--border); background: transparent; color: var(--fg); font-family: inherit; }
+#search-input:focus { outline: none; }
+.search-results { list-style: none; margin: 0; padding: 8px; max-height: 52vh; overflow-y: auto; }
+.search-results:empty { display: none; }
+.search-results li a { display: block; padding: 11px 14px; border-radius: var(--radius-sm); color: var(--fg); }
+.search-results li a:hover, .search-results li a.active { background: var(--accent-soft); text-decoration: none; }
+.sr-section { font-size: 11.5px; color: var(--accent-2); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; }
+.sr-title { font-weight: 600; font-size: 15px; margin: 2px 0; }
+.sr-snippet { font-size: 13px; color: var(--fg-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
+.sr-snippet mark, .sr-title mark { background: var(--accent-soft); color: var(--accent-2); border-radius: 3px; padding: 0 2px; }
+.search-empty { padding: 24px; text-align: center; color: var(--fg-muted); font-size: 14px; }
+.search-hint { display: flex; gap: 6px; align-items: center; padding: 10px 16px; border-top: 1px solid var(--border); color: var(--fg-faint); font-size: 12px; margin: 0; }
+
+/* ---------- responsive ---------------------------------------------------- */
+@media (max-width: 1100px) {
+ .toc { display: none; }
+}
+@media (max-width: 860px) {
+ .menu-toggle { display: grid; }
+ .search-open-label { display: none; }
+ .search-open { min-width: 0; }
+ .ghost-link { display: none; }
+ .sidebar {
+ position: fixed; top: 60px; left: 0; z-index: 40; width: 300px; max-width: 84vw;
+ background: var(--bg-elev); transform: translateX(-102%); transition: transform 0.22s ease;
+ border-right: 1px solid var(--border-strong); box-shadow: var(--shadow);
+ }
+ body.nav-open .sidebar { transform: translateX(0); }
+ body.nav-open .sidebar-scrim { display: block; position: fixed; inset: 60px 0 0 0; z-index: 39; background: rgba(0,0,0,0.5); }
+ .layout { display: block; }
+ .doc { padding: 24px 16px 64px; }
+ .landing { padding: 0 16px; }
+ .hero { padding: 48px 0 32px; }
+ .chain-strip { grid-template-columns: repeat(2, 1fr); }
+ .pager-nav { flex-direction: column; }
+}
+@media (max-width: 420px) {
+ body { font-size: 15.5px; }
+ .chain-strip { grid-template-columns: 1fr; }
+ .card-grid { grid-template-columns: 1fr; }
+ .hero h1 { font-size: 34px; }
+}
diff --git a/robinhood/learn-robinhood-chain/build.mjs b/robinhood/learn-robinhood-chain/build.mjs
new file mode 100644
index 000000000..a1cb10804
--- /dev/null
+++ b/robinhood/learn-robinhood-chain/build.mjs
@@ -0,0 +1,466 @@
+/**
+ * learn-robinhood-chain — static site generator.
+ *
+ * Renders content/*.md (ordered by content/meta.json) into a fully static site
+ * in docs/, ready for GitHub Pages deploy-from-branch. Zero runtime
+ * dependencies ship: marked + highlight.js run here, at build time, and the
+ * output is plain HTML/CSS/JS with no CDN calls.
+ *
+ * Run: npm run build
+ */
+import { promises as fs } from 'node:fs'
+import path from 'node:path'
+import { fileURLToPath } from 'node:url'
+import { marked } from 'marked'
+import hljs from 'highlight.js'
+
+const __dirname = path.dirname(fileURLToPath(import.meta.url))
+const ROOT = __dirname
+const CONTENT = path.join(ROOT, 'content')
+const ASSETS = path.join(ROOT, 'assets')
+const OUT = path.join(ROOT, 'docs')
+
+const SITE = {
+ title: 'Learn Robinhood Chain',
+ tagline: 'From zero to shipping an autonomous agent on Robinhood Chain.',
+ repo: 'https://github.com/nirholas/learn-robinhood-chain',
+ author: 'nirholas',
+ authorUrl: 'https://x.com/nichxbt',
+ home: 'https://three.ws',
+ rpc: 'https://rpc.mainnet.chain.robinhood.com',
+ chainId: 4663,
+}
+
+const HLJS_LANGS = new Set(['ts', 'typescript', 'js', 'javascript', 'json', 'bash', 'sh', 'shell', 'solidity', 'html', 'css', 'toml', 'yaml', 'diff'])
+const LANG_ALIAS = { ts: 'typescript', js: 'javascript', sh: 'bash', shell: 'bash', text: 'plaintext', '': 'plaintext' }
+const LANG_LABEL = { typescript: 'TypeScript', javascript: 'JavaScript', json: 'JSON', bash: 'bash', plaintext: 'text', solidity: 'Solidity', html: 'HTML', css: 'CSS', toml: 'TOML', yaml: 'YAML', diff: 'diff' }
+
+/* ---------- markdown → html ------------------------------------------------ */
+
+function slugifyHeading(text) {
+ return text
+ .toLowerCase()
+ .replace(/<[^>]+>/g, '')
+ .replace(/[^\w\s-]/g, '')
+ .trim()
+ .replace(/\s+/g, '-')
+}
+
+// Collected per-render for the TOC.
+let currentHeadings = []
+
+function makeRenderer() {
+ const renderer = new marked.Renderer()
+
+ renderer.code = function (codeOrToken, infostring) {
+ const code = typeof codeOrToken === 'object' ? codeOrToken.text : codeOrToken
+ const rawLang = (typeof codeOrToken === 'object' ? codeOrToken.lang : infostring) || ''
+ const lang = (rawLang.split(/\s+/)[0] || '').toLowerCase()
+ const canonical = LANG_ALIAS[lang] ?? (HLJS_LANGS.has(lang) ? lang : 'plaintext')
+ let highlighted
+ if (canonical !== 'plaintext' && hljs.getLanguage(canonical)) {
+ highlighted = hljs.highlight(code, { language: canonical, ignoreIllegals: true }).value
+ } else {
+ highlighted = escapeHtml(code)
+ }
+ const label = LANG_LABEL[canonical] ?? canonical
+ return (
+ `<figure class="code-block" data-lang="${label}">` +
+ `<figcaption><span class="code-lang">${label}</span>` +
+ `<button class="copy-btn" type="button" aria-label="Copy code to clipboard">Copy</button></figcaption>` +
+ `<pre><code class="hljs language-${canonical}">${highlighted}</code></pre>` +
+ `</figure>`
+ )
+ }
+
+ renderer.heading = function (textOrToken, levelArg) {
+ let text, level
+ if (typeof textOrToken === 'object') {
+ level = textOrToken.depth
+ text = this.parser.parseInline(textOrToken.tokens)
+ } else {
+ text = textOrToken
+ level = levelArg
+ }
+ const id = slugifyHeading(text)
+ if (level === 2 || level === 3) currentHeadings.push({ level, text: stripTags(text), id })
+ return `<h${level} id="${id}"><a class="anchor" href="#${id}" aria-label="Link to this section">#</a>${text}</h${level}>`
+ }
+
+ renderer.link = function (hrefOrToken, title, text) {
+ let href, tokenText
+ if (typeof hrefOrToken === 'object') {
+ href = hrefOrToken.href
+ title = hrefOrToken.title
+ tokenText = this.parser.parseInline(hrefOrToken.tokens)
+ } else {
+ href = hrefOrToken
+ tokenText = text
+ }
+ const external = /^https?:\/\//.test(href) && !href.includes('nirholas.github.io')
+ const attrs = external ? ' target="_blank" rel="noopener noreferrer"' : ''
+ const t = title ? ` title="${title}"` : ''
+ return `<a href="${href}"${t}${attrs}>${tokenText}</a>`
+ }
+
+ return renderer
+}
+
+function escapeHtml(s) {
+ return s.replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;')
+}
+function stripTags(s) {
+ return s.replace(/<[^>]+>/g, '')
+}
+
+// :::note / :::warning / :::tip / :::danger / :::info container syntax.
+function transformCallouts(md) {
+ const titles = { note: 'Note', warning: 'Warning', tip: 'Tip', danger: 'Important', info: 'Info' }
+ return md.replace(/^:::(note|warning|tip|danger|info)\s*(.*)$([\s\S]*?)^:::\s*$/gm, (_, type, heading, body) => {
+ const title = heading.trim() || titles[type]
+ const inner = marked.parse(body.trim())
+ return `<div class="callout callout-${type}"><p class="callout-title">${title}</p>${inner}</div>\n`
+ })
+}
+
+function renderMarkdown(md) {
+ currentHeadings = []
+ const withCallouts = transformCallouts(md)
+ const html = marked.parse(withCallouts)
+ return { html, headings: currentHeadings.slice() }
+}
+
+/* ---------- page template -------------------------------------------------- */
+
+function readingTime(md) {
+ const words = md.replace(/```[\s\S]*?```/g, ' ').split(/\s+/).filter(Boolean).length
+ return Math.max(1, Math.round(words / 200))
+}
+
+function navList(pages, currentSlug) {
+ const sections = []
+ let last = null
+ for (const p of pages) {
+ if (p.section !== last) {
+ sections.push({ name: p.section, items: [] })
+ last = p.section
+ }
+ sections[sections.length - 1].items.push(p)
+ }
+ return sections
+ .map((s, si) => {
+ const items = s.items
+ .map((p, i) => {
+ const active = p.slug === currentSlug ? ' class="active" aria-current="page"' : ''
+ const num = `<span class="nav-num">${si === 0 ? '' : ''}</span>`
+ return `<li><a href="${rel(currentSlug, p.slug)}"${active}><span class="nav-idx">${p.index}</span>${escapeHtml(p.navTitle || p.title)}</a></li>`
+ })
+ .join('')
+ return `<div class="nav-section"><p class="nav-section-title">${escapeHtml(s.name)}</p><ul>${items}</ul></div>`
+ })
+ .join('')
+}
+
+// relative href from one page to another (all pages live at <slug>/)
+function rel(fromSlug, toSlug) {
+ if (fromSlug === null) return toSlug === 'index' ? './' : `${toSlug}/`
+ // from a tutorial page (one dir deep) back up to root
+ if (toSlug === 'index') return '../'
+ return `../${toSlug}/`
+}
+
+function assetHref(fromSlug, file) {
+ return fromSlug === null ? `assets/${file}` : `../assets/${file}`
+}
+
+function tocHtml(headings) {
+ if (headings.length < 2) return ''
+ const items = headings
+ .map((h) => `<li class="toc-l${h.level}"><a href="#${h.id}">${escapeHtml(h.text)}</a></li>`)
+ .join('')
+ return `<nav class="toc" aria-label="On this page"><p class="toc-title">On this page</p><ul>${items}</ul></nav>`
+}
+
+function prereqBox(prereqs) {
+ if (!prereqs || !prereqs.length) return ''
+ const items = prereqs.map((p) => `<li>${marked.parseInline(p)}</li>`).join('')
+ return `<aside class="prereq"><p class="prereq-title">Prerequisites</p><ul>${items}</ul></aside>`
+}
+
+function buildYouBox(what) {
+ if (!what) return ''
+ return `<aside class="whatbuild"><p class="whatbuild-title">What you'll build</p><p>${marked.parseInline(what)}</p></aside>`
+}
+
+function shell(opts) {
+ const { title, description, bodyClass, main, currentSlug, pages, extraHead = '', extraScripts = [] } = opts
+ const nav = navList(pages, currentSlug)
+ const scripts = ['app.js', ...extraScripts].map((s) => `<script defer src="${assetHref(currentSlug, s)}"></script>`).join('')
+ const homeHref = currentSlug === null ? './' : '../'
+ return `<!doctype html>
+<html lang="en" data-theme="dark">
+<head>
+<meta charset="utf-8">
+<meta name="viewport" content="width=device-width, initial-scale=1">
+<title>${escapeHtml(title)}</title>
+<meta name="description" content="${escapeHtml(description)}">
+<meta property="og:title" content="${escapeHtml(title)}">
+<meta property="og:description" content="${escapeHtml(description)}">
+<meta property="og:type" content="article">
+<meta name="theme-color" content="#0b0d10">
+<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' rx='7' fill='%2300c805'/%3E%3Cpath d='M9 22V10h4.4c2.6 0 4.2 1.4 4.2 3.7 0 1.7-.9 2.9-2.4 3.4l2.9 4.9h-2.8l-2.5-4.4h-1.4V22H9zm2.4-6.3h1.8c1.2 0 1.9-.6 1.9-1.7s-.7-1.7-1.9-1.7h-1.8v3.4z' fill='%23000'/%3E%3C/svg%3E">
+<link rel="stylesheet" href="${assetHref(currentSlug, 'styles.css')}">
+${extraHead}
+</head>
+<body class="${bodyClass}">
+<a class="skip-link" href="#main">Skip to content</a>
+<script>(function(){try{var t=localStorage.getItem('theme');if(t)document.documentElement.setAttribute('data-theme',t);}catch(e){}})();</script>
+<header class="topbar">
+ <div class="topbar-inner">
+ <a class="brand" href="${homeHref}">
+ <span class="brand-mark" aria-hidden="true">R</span>
+ <span class="brand-text">Learn <strong>Robinhood Chain</strong></span>
+ </a>
+ <div class="topbar-actions">
+ <button class="search-open" type="button" aria-label="Search tutorials" aria-keyshortcuts="/">
+ <span class="search-open-label">Search</span><kbd>/</kbd>
+ </button>
+ <a class="ghost-link" href="${SITE.repo}" target="_blank" rel="noopener noreferrer">GitHub</a>
+ <button class="theme-toggle" type="button" aria-label="Toggle color theme" title="Toggle theme"></button>
+ <button class="menu-toggle" type="button" aria-label="Toggle navigation" aria-expanded="false"></button>
+ </div>
+ </div>
+</header>
+<div class="layout">
+ <aside class="sidebar" id="sidebar" aria-label="Tutorials">
+ <nav class="sidebar-nav">${nav}</nav>
+ </aside>
+ <div class="sidebar-scrim" hidden></div>
+ ${main}
+</div>
+<div class="search-modal" id="search-modal" hidden role="dialog" aria-modal="true" aria-label="Search">
+ <div class="search-panel">
+ <input type="search" id="search-input" placeholder="Search tutorials…" autocomplete="off" spellcheck="false" aria-label="Search query">
+ <ul class="search-results" id="search-results" aria-live="polite"></ul>
+ <p class="search-hint"><kbd>↑</kbd><kbd>↓</kbd> to navigate · <kbd>↵</kbd> to open · <kbd>esc</kbd> to close</p>
+ </div>
+</div>
+${scripts}
+</body>
+</html>`
+}
+
+/* ---------- landing page --------------------------------------------------- */
+
+function landingMain(pages) {
+ const sections = []
+ let last = null
+ for (const p of pages) {
+ if (p.section !== last) { sections.push({ name: p.section, items: [] }); last = p.section }
+ sections[sections.length - 1].items.push(p)
+ }
+ const cards = sections
+ .map(
+ (s) => `
+ <section class="curriculum-group">
+ <h2 class="curriculum-group-title">${escapeHtml(s.name)}</h2>
+ <div class="card-grid">
+ ${s.items
+ .map(
+ (p) => `<a class="tut-card" href="${p.slug}/" data-slug="${p.slug}">
+ <span class="tut-card-idx">${p.index}</span>
+ <span class="tut-card-check" aria-hidden="true"></span>
+ <span class="tut-card-body">
+ <span class="tut-card-title">${escapeHtml(p.title)}</span>
+ <span class="tut-card-desc">${escapeHtml(p.description)}</span>
+ <span class="tut-card-time">${p.time}</span>
+ </span>
+ </a>`,
+ )
+ .join('')}
+ </div>
+ </section>`,
+ )
+ .join('')
+
+ return `<main class="landing" id="main">
+ <section class="hero">
+ <div class="hero-inner">
+ <p class="eyebrow">Chain ID 4663 · Arbitrum Orbit L2 · ETH gas · ~100ms blocks</p>
+ <h1>Build on <span class="grad">Robinhood Chain</span>.</h1>
+ <p class="lede">${escapeHtml(SITE.tagline)} Twelve tutorials, each performed on-chain, from your first RPC read to a live autonomous agent — built on the open-source <a href="https://github.com/nirholas/robinhood-chain-sdk">hoodchain</a> SDK.</p>
+ <div class="hero-cta">
+ <a class="btn btn-primary" href="01-what-is-robinhood-chain/">Start learning</a>
+ <a class="btn btn-ghost" href="04-live-price-ticker/">Jump to code</a>
+ </div>
+ <div class="chain-strip" id="chain-strip" aria-label="Live chain stats">
+ <div class="stat"><span class="stat-label">Block height</span><span class="stat-value" id="stat-block">…</span></div>
+ <div class="stat"><span class="stat-label">Gas price</span><span class="stat-value" id="stat-gas">…</span></div>
+ <div class="stat"><span class="stat-label">AAPL token</span><span class="stat-value" id="stat-aapl">…</span></div>
+ <div class="stat"><span class="stat-label">USDG supply</span><span class="stat-value" id="stat-usdg">…</span></div>
+ </div>
+ <p class="chain-strip-note" id="chain-strip-note">Live from the public RPC in your browser.</p>
+ </div>
+ </section>
+ <div class="curriculum">
+ <div class="curriculum-head">
+ <h2 class="section-h">The curriculum</h2>
+ <button class="reset-progress" type="button" id="reset-progress" hidden>Reset progress</button>
+ </div>
+ <p class="progress-line"><span id="progress-count">0</span> of ${pages.length} completed · progress is saved in your browser</p>
+ ${cards}
+ </div>
+ <footer class="site-footer">
+ <p>Built by <a href="${SITE.authorUrl}" target="_blank" rel="noopener noreferrer">${SITE.author}</a> · <a href="${SITE.home}" target="_blank" rel="noopener noreferrer">three.ws</a></p>
+ <p class="disclaimer">Educational material. Stock Tokens are tokenized debt securities (issuer: Robinhood Assets (Jersey) Ltd) and may not be offered, sold, or delivered to US persons. Nothing here is financial advice.</p>
+ </footer>
+</main>`
+}
+
+/* ---------- tutorial page -------------------------------------------------- */
+
+function tutorialMain(page, rendered, prev, next) {
+ const toc = tocHtml(rendered.headings)
+ const prevLink = prev
+ ? `<a class="pager pager-prev" href="../${prev.slug}/"><span class="pager-dir">← Previous</span><span class="pager-title">${escapeHtml(prev.title)}</span></a>`
+ : '<span></span>'
+ const nextLink = next
+ ? `<a class="pager pager-next" href="../${next.slug}/"><span class="pager-dir">Next →</span><span class="pager-title">${escapeHtml(next.title)}</span></a>`
+ : '<span></span>'
+ return `<main class="doc" id="main" data-slug="${page.slug}">
+ <article class="doc-article">
+ <nav class="breadcrumb" aria-label="Breadcrumb"><a href="../">Home</a><span aria-hidden="true">/</span><span>${escapeHtml(page.section)}</span></nav>
+ <header class="doc-header">
+ <h1>${escapeHtml(page.title)}</h1>
+ <div class="doc-meta">
+ <span class="doc-meta-item">${page.time}</span>
+ <span class="doc-meta-sep">·</span>
+ <span class="doc-meta-item">${rendered.readMin} min read</span>
+ <span class="doc-meta-sep">·</span>
+ <label class="done-toggle"><input type="checkbox" class="done-check"> Mark complete</label>
+ </div>
+ </header>
+ ${buildYouBox(page.whatYouBuild)}
+ ${prereqBox(page.prerequisites)}
+ <div class="doc-body">${rendered.html}</div>
+ <nav class="pager-nav" aria-label="Tutorial pagination">${prevLink}${nextLink}</nav>
+ <footer class="doc-footer">
+ <p>Question or correction? <a href="${SITE.repo}/issues" target="_blank" rel="noopener noreferrer">Open an issue</a>.</p>
+ <p>Built by <a href="${SITE.authorUrl}" target="_blank" rel="noopener noreferrer">${SITE.author}</a> · <a href="${SITE.home}" target="_blank" rel="noopener noreferrer">three.ws</a></p>
+ </footer>
+ </article>
+ ${toc}
+</main>`
+}
+
+/* ---------- search index --------------------------------------------------- */
+
+function plainText(html) {
+ return html
+ .replace(/<figure class="code-block"[\s\S]*?<\/figure>/g, ' ')
+ .replace(/<[^>]+>/g, ' ')
+ .replace(/&amp;/g, '&').replace(/&lt;/g, '<').replace(/&gt;/g, '>').replace(/&#39;/g, "'").replace(/&quot;/g, '"')
+ .replace(/\s+/g, ' ')
+ .trim()
+}
+
+/* ---------- build ---------------------------------------------------------- */
+
+async function main() {
+ marked.use({ renderer: makeRenderer(), gfm: true, breaks: false })
+
+ const meta = JSON.parse(await fs.readFile(path.join(CONTENT, 'meta.json'), 'utf8'))
+ const pages = meta.pages.map((p, i) => ({ ...p, index: String(i + 1).padStart(2, '0') }))
+
+ await fs.rm(OUT, { recursive: true, force: true })
+ await fs.mkdir(path.join(OUT, 'assets'), { recursive: true })
+
+ // assets
+ for (const file of await fs.readdir(ASSETS)) {
+ await fs.copyFile(path.join(ASSETS, file), path.join(OUT, 'assets', file))
+ }
+ // inline highlight.js theme (build-time → shipped, no CDN)
+ const hljsCss = await buildHljsCss()
+ await fs.writeFile(path.join(OUT, 'assets', 'hljs.css'), hljsCss)
+
+ const searchDocs = []
+
+ // tutorial pages
+ for (let i = 0; i < pages.length; i++) {
+ const page = pages[i]
+ const md = await fs.readFile(path.join(CONTENT, page.file), 'utf8')
+ const rendered = renderMarkdown(md)
+ rendered.readMin = readingTime(md)
+ const prev = pages[i - 1]
+ const next = pages[i + 1]
+ const html = shell({
+ title: `${page.title} · ${SITE.title}`,
+ description: page.description,
+ bodyClass: 'page-doc',
+ main: tutorialMain(page, rendered, prev, next),
+ currentSlug: page.slug,
+ pages,
+ extraHead: `<link rel="stylesheet" href="../assets/hljs.css">`,
+ extraScripts: ['search.js'],
+ })
+ await fs.mkdir(path.join(OUT, page.slug), { recursive: true })
+ await fs.writeFile(path.join(OUT, page.slug, 'index.html'), html)
+
+ searchDocs.push({
+ slug: page.slug,
+ title: page.title,
+ section: page.section,
+ index: page.index,
+ description: page.description,
+ headings: rendered.headings.map((h) => h.text),
+ text: plainText(rendered.html).slice(0, 4000),
+ })
+ }
+
+ // landing
+ const landing = shell({
+ title: `${SITE.title} — ${SITE.tagline}`,
+ description: SITE.tagline + ' Twelve on-chain-verified tutorials for building on Robinhood Chain (chain ID 4663).',
+ bodyClass: 'page-home',
+ main: landingMain(pages),
+ currentSlug: null,
+ pages,
+ extraHead: '',
+ extraScripts: ['ticker.js', 'search.js'],
+ })
+ await fs.writeFile(path.join(OUT, 'index.html'), landing)
+
+ // search index + manifest for the ticker/progress
+ await fs.writeFile(path.join(OUT, 'assets', 'search-index.json'), JSON.stringify(searchDocs))
+ await fs.writeFile(
+ path.join(OUT, 'assets', 'pages.json'),
+ JSON.stringify(pages.map((p) => ({ slug: p.slug, title: p.title, index: p.index }))),
+ )
+ await fs.writeFile(path.join(OUT, '.nojekyll'), '')
+
+ console.log(`Built ${pages.length} tutorials + landing → docs/`)
+}
+
+async function buildHljsCss() {
+ // A compact, theme-aware highlight palette matching the site tokens.
+ return `/* highlight.js — theme-aware, self-hosted (no CDN) */
+.hljs{color:var(--code-fg);background:transparent}
+.hljs-comment,.hljs-quote{color:var(--hl-comment);font-style:italic}
+.hljs-keyword,.hljs-selector-tag,.hljs-literal,.hljs-section,.hljs-link{color:var(--hl-keyword)}
+.hljs-function .hljs-keyword{color:var(--hl-keyword)}
+.hljs-string,.hljs-attr,.hljs-template-tag,.hljs-addition,.hljs-regexp{color:var(--hl-string)}
+.hljs-number,.hljs-symbol,.hljs-bullet,.hljs-meta{color:var(--hl-number)}
+.hljs-title,.hljs-title.function_,.hljs-name{color:var(--hl-title)}
+.hljs-type,.hljs-class .hljs-title,.hljs-title.class_,.hljs-built_in{color:var(--hl-type)}
+.hljs-variable,.hljs-template-variable,.hljs-property{color:var(--hl-var)}
+.hljs-attribute{color:var(--hl-attr)}
+.hljs-deletion{color:var(--hl-deletion)}
+.hljs-emphasis{font-style:italic}
+.hljs-strong{font-weight:600}
+`
+}
+
+main().catch((e) => {
+ console.error(e)
+ process.exit(1)
+})
diff --git a/robinhood/learn-robinhood-chain/package-lock.json b/robinhood/learn-robinhood-chain/package-lock.json
new file mode 100644
index 000000000..f50251189
--- /dev/null
+++ b/robinhood/learn-robinhood-chain/package-lock.json
@@ -0,0 +1,43 @@
+{
+ "name": "learn-robinhood-chain",
+ "version": "0.1.0",
+ "lockfileVersion": 3,
+ "requires": true,
+ "packages": {
+ "": {
+ "name": "learn-robinhood-chain",
+ "version": "0.1.0",
+ "license": "MIT",
+ "devDependencies": {
+ "highlight.js": "^11.11.1",
+ "marked": "^12.0.2"
+ },
+ "engines": {
+ "node": ">=20"
+ }
+ },
+ "node_modules/highlight.js": {
+ "version": "11.11.1",
+ "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-11.11.1.tgz",
+ "integrity": "sha512-Xwwo44whKBVCYoliBQwaPvtd/2tYFkRQtXDWj1nackaV2JPXx3L0+Jvd8/qCJ2p+ML0/XVkJ2q+Mr+UVdpJK5w==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">=12.0.0"
+ }
+ },
+ "node_modules/marked": {
+ "version": "12.0.2",
+ "resolved": "https://registry.npmjs.org/marked/-/marked-12.0.2.tgz",
+ "integrity": "sha512-qXUm7e/YKFoqFPYPa3Ukg9xlI5cyAtGmyEIzMfW//m6kXwCy2Ps9DYf5ioijFKQ8qyuscrHoY04iJGctu2Kg0Q==",
+ "dev": true,
+ "license": "MIT",
+ "bin": {
+ "marked": "bin/marked.js"
+ },
+ "engines": {
+ "node": ">= 18"
+ }
+ }
+ }
+}
diff --git a/robinhood/learn-robinhood-chain/package.json b/robinhood/learn-robinhood-chain/package.json
new file mode 100644
index 000000000..c4d573e28
--- /dev/null
+++ b/robinhood/learn-robinhood-chain/package.json
@@ -0,0 +1,32 @@
+{
+ "name": "learn-robinhood-chain",
+ "version": "0.1.0",
+ "private": true,
+ "description": "The definitive learning site for building on Robinhood Chain (chain ID 4663) — from your first RPC read to shipping an autonomous agent. Static site, every tutorial verified on-chain.",
+ "keywords": [
+ "robinhood",
+ "robinhood-chain",
+ "tutorials",
+ "stock-tokens",
+ "usdg",
+ "hoodchain",
+ "viem",
+ "web3"
+ ],
+ "license": "MIT",
+ "author": "nirholas (https://x.com/nichxbt)",
+ "type": "module",
+ "engines": {
+ "node": ">=20"
+ },
+ "scripts": {
+ "build": "node build.mjs",
+ "dev": "node build.mjs && node serve.mjs",
+ "serve": "node serve.mjs",
+ "clean": "node -e \"import('node:fs').then(fs=>fs.rmSync('docs',{recursive:true,force:true}))\""
+ },
+ "devDependencies": {
+ "highlight.js": "^11.11.1",
+ "marked": "^12.0.2"
+ }
+}
diff --git a/robinhood/learn-robinhood-chain/theme/layout.css b/robinhood/learn-robinhood-chain/theme/layout.css
new file mode 100644
index 000000000..0959f9174
--- /dev/null
+++ b/robinhood/learn-robinhood-chain/theme/layout.css
@@ -0,0 +1,928 @@
+/* learn-robinhood-chain — design system
+ Dark-first, one accent gradient, system type. Reference: Linear / Vercel / Stripe docs. */
+
+:root {
+ --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
+ "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
+ --font-mono: "SF Mono", "JetBrains Mono", "Fira Code", ui-monospace, SFMono-Regular, Menlo,
+ Consolas, "Liberation Mono", monospace;
+
+ /* dark (default) */
+ --bg: #0a0b0d;
+ --bg-elev: #101216;
+ --bg-elev-2: #15181e;
+ --bg-code: #0d0f13;
+ --border: #21262e;
+ --border-strong: #2d343e;
+ --text: #e8eaed;
+ --text-dim: #a0a6b0;
+ --text-faint: #6b727e;
+ --accent: #6ee7a8;
+ --accent-2: #38bdf8;
+ --accent-ink: #052e16;
+ --grad: linear-gradient(135deg, #6ee7a8 0%, #38bdf8 100%);
+ --grad-soft: linear-gradient(135deg, rgba(110, 231, 168, 0.14), rgba(56, 189, 248, 0.12));
+ --danger: #f87171;
+ --warn: #fbbf24;
+ --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.32);
+ --radius: 10px;
+ --radius-sm: 7px;
+ --maxw: 1320px;
+ --sidebar-w: 262px;
+ --toc-w: 210px;
+}
+
+:root[data-theme="light"] {
+ --bg: #ffffff;
+ --bg-elev: #f7f8fa;
+ --bg-elev-2: #eef0f4;
+ --bg-code: #f6f8fa;
+ --border: #e4e7ec;
+ --border-strong: #d3d8e0;
+ --text: #14161a;
+ --text-dim: #4a515c;
+ --text-faint: #858c98;
+ --accent: #0ea968;
+ --accent-2: #0284c7;
+ --accent-ink: #ffffff;
+ --grad: linear-gradient(135deg, #0ea968 0%, #0284c7 100%);
+ --grad-soft: linear-gradient(135deg, rgba(14, 169, 104, 0.1), rgba(2, 132, 199, 0.08));
+ --shadow: 0 1px 2px rgba(16, 24, 40, 0.06), 0 8px 24px rgba(16, 24, 40, 0.08);
+}
+
+@media (prefers-color-scheme: light) {
+ :root:not([data-theme="dark"]) {
+ --bg: #ffffff;
+ --bg-elev: #f7f8fa;
+ --bg-elev-2: #eef0f4;
+ --bg-code: #f6f8fa;
+ --border: #e4e7ec;
+ --border-strong: #d3d8e0;
+ --text: #14161a;
+ --text-dim: #4a515c;
+ --text-faint: #858c98;
+ --accent: #0ea968;
+ --accent-2: #0284c7;
+ --accent-ink: #ffffff;
+ --grad: linear-gradient(135deg, #0ea968 0%, #0284c7 100%);
+ --grad-soft: linear-gradient(135deg, rgba(14, 169, 104, 0.1), rgba(2, 132, 199, 0.08));
+ --shadow: 0 1px 2px rgba(16, 24, 40, 0.06), 0 8px 24px rgba(16, 24, 40, 0.08);
+ }
+}
+
+*,
+*::before,
+*::after {
+ box-sizing: border-box;
+}
+
+html {
+ scroll-behavior: smooth;
+ scroll-padding-top: 84px;
+ -webkit-text-size-adjust: 100%;
+}
+@media (prefers-reduced-motion: reduce) {
+ html {
+ scroll-behavior: auto;
+ }
+ * {
+ animation-duration: 0.001ms !important;
+ transition-duration: 0.001ms !important;
+ }
+}
+
+body {
+ margin: 0;
+ font-family: var(--font-sans);
+ background: var(--bg);
+ color: var(--text);
+ font-size: 15.5px;
+ line-height: 1.65;
+ -webkit-font-smoothing: antialiased;
+ text-rendering: optimizeLegibility;
+}
+
+a {
+ color: var(--accent-2);
+ text-decoration: none;
+}
+a:hover {
+ text-decoration: underline;
+}
+
+:focus-visible {
+ outline: 2px solid var(--accent-2);
+ outline-offset: 2px;
+ border-radius: 4px;
+}
+
+.skip-link {
+ position: absolute;
+ left: -9999px;
+ top: 0;
+ background: var(--accent);
+ color: var(--accent-ink);
+ padding: 10px 16px;
+ border-radius: var(--radius-sm);
+ z-index: 200;
+ font-weight: 600;
+}
+.skip-link:focus {
+ left: 12px;
+ top: 12px;
+}
+
+/* ---------- header ---------- */
+.site-header {
+ position: sticky;
+ top: 0;
+ z-index: 100;
+ height: 60px;
+ display: flex;
+ align-items: center;
+ gap: 18px;
+ padding: 0 22px;
+ background: color-mix(in srgb, var(--bg) 82%, transparent);
+ backdrop-filter: saturate(180%) blur(14px);
+ border-bottom: 1px solid var(--border);
+}
+.brand {
+ display: flex;
+ align-items: center;
+ gap: 10px;
+ font-weight: 650;
+ letter-spacing: -0.01em;
+ color: var(--text);
+ white-space: nowrap;
+}
+.brand:hover {
+ text-decoration: none;
+}
+.brand .mark {
+ width: 26px;
+ height: 26px;
+ border-radius: 7px;
+ background: var(--grad);
+ display: grid;
+ place-items: center;
+ color: var(--accent-ink);
+ font-weight: 800;
+ font-size: 15px;
+ flex: none;
+}
+.brand .name small {
+ display: block;
+ font-weight: 500;
+ font-size: 11px;
+ color: var(--text-faint);
+ letter-spacing: 0.02em;
+ margin-top: -3px;
+}
+.header-spacer {
+ flex: 1;
+}
+.header-actions {
+ display: flex;
+ align-items: center;
+ gap: 8px;
+}
+.ghost-btn {
+ display: inline-flex;
+ align-items: center;
+ gap: 7px;
+ height: 34px;
+ padding: 0 12px;
+ border: 1px solid var(--border);
+ background: var(--bg-elev);
+ color: var(--text-dim);
+ border-radius: var(--radius-sm);
+ font: inherit;
+ font-size: 13.5px;
+ cursor: pointer;
+ transition: border-color 0.15s, color 0.15s, background 0.15s;
+}
+.ghost-btn:hover {
+ color: var(--text);
+ border-color: var(--border-strong);
+}
+.ghost-btn svg {
+ width: 16px;
+ height: 16px;
+}
+.search-open {
+ min-width: 210px;
+ justify-content: space-between;
+ color: var(--text-faint);
+}
+.search-open kbd {
+ font-family: var(--font-mono);
+ font-size: 11px;
+ padding: 1px 6px;
+ border: 1px solid var(--border-strong);
+ border-radius: 5px;
+ color: var(--text-faint);
+}
+@media (max-width: 720px) {
+ .search-open {
+ min-width: 0;
+ }
+ .search-open .search-label,
+ .search-open kbd {
+ display: none;
+ }
+}
+
+/* ---------- layout shell ---------- */
+.shell {
+ max-width: var(--maxw);
+ margin: 0 auto;
+ display: grid;
+ grid-template-columns: var(--sidebar-w) minmax(0, 1fr);
+ gap: 0;
+ align-items: start;
+}
+.with-toc .content-col {
+ display: grid;
+ grid-template-columns: minmax(0, 1fr) var(--toc-w);
+ gap: 40px;
+}
+
+/* ---------- sidebar ---------- */
+.sidebar {
+ position: sticky;
+ top: 60px;
+ height: calc(100vh - 60px);
+ overflow-y: auto;
+ padding: 26px 14px 60px 22px;
+ border-right: 1px solid var(--border);
+ scrollbar-width: thin;
+}
+.sidebar::-webkit-scrollbar {
+ width: 8px;
+}
+.sidebar::-webkit-scrollbar-thumb {
+ background: var(--border-strong);
+ border-radius: 4px;
+}
+.nav-section {
+ margin-bottom: 22px;
+}
+.nav-section > .nav-title {
+ font-size: 11px;
+ font-weight: 700;
+ text-transform: uppercase;
+ letter-spacing: 0.07em;
+ color: var(--text-faint);
+ padding: 4px 10px;
+ margin-bottom: 4px;
+}
+.nav-link {
+ display: flex;
+ align-items: baseline;
+ gap: 9px;
+ padding: 6px 10px;
+ border-radius: var(--radius-sm);
+ color: var(--text-dim);
+ font-size: 14px;
+ line-height: 1.35;
+ transition: background 0.13s, color 0.13s;
+}
+.nav-link:hover {
+ background: var(--bg-elev);
+ color: var(--text);
+ text-decoration: none;
+}
+.nav-link.active {
+ background: var(--grad-soft);
+ color: var(--text);
+ font-weight: 550;
+ box-shadow: inset 2px 0 0 var(--accent);
+}
+.nav-link .num {
+ font-family: var(--font-mono);
+ font-size: 11.5px;
+ color: var(--text-faint);
+ flex: none;
+ width: 16px;
+ text-align: right;
+}
+.nav-link.active .num {
+ color: var(--accent);
+}
+.nav-link .done {
+ margin-left: auto;
+ color: var(--accent);
+ flex: none;
+ font-size: 12px;
+ opacity: 0;
+ transform: scale(0.6);
+ transition: opacity 0.2s, transform 0.2s;
+}
+.nav-link.completed .done {
+ opacity: 1;
+ transform: scale(1);
+}
+
+/* ---------- content ---------- */
+main {
+ min-width: 0;
+ padding: 40px 40px 100px;
+}
+@media (max-width: 900px) {
+ main {
+ padding: 28px 20px 80px;
+ }
+}
+.doc {
+ max-width: 760px;
+}
+.breadcrumb {
+ font-size: 12.5px;
+ color: var(--text-faint);
+ margin-bottom: 14px;
+ display: flex;
+ gap: 7px;
+ align-items: center;
+}
+.doc h1 {
+ font-size: 34px;
+ line-height: 1.12;
+ letter-spacing: -0.025em;
+ margin: 6px 0 10px;
+ font-weight: 720;
+}
+.doc .lede {
+ font-size: 18px;
+ line-height: 1.55;
+ color: var(--text-dim);
+ margin: 0 0 20px;
+}
+.meta-row {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 8px;
+ align-items: center;
+ margin: 0 0 28px;
+ padding-bottom: 22px;
+ border-bottom: 1px solid var(--border);
+}
+.pill {
+ display: inline-flex;
+ align-items: center;
+ gap: 6px;
+ font-size: 12.5px;
+ color: var(--text-dim);
+ background: var(--bg-elev);
+ border: 1px solid var(--border);
+ padding: 4px 10px;
+ border-radius: 99px;
+}
+.pill svg {
+ width: 13px;
+ height: 13px;
+ opacity: 0.8;
+}
+.pill.section {
+ background: var(--grad-soft);
+ border-color: transparent;
+ color: var(--text);
+ font-weight: 550;
+}
+
+.doc h2 {
+ font-size: 23px;
+ letter-spacing: -0.02em;
+ margin: 44px 0 14px;
+ padding-top: 8px;
+ font-weight: 660;
+ scroll-margin-top: 80px;
+}
+.doc h3 {
+ font-size: 18px;
+ margin: 30px 0 10px;
+ font-weight: 620;
+ scroll-margin-top: 80px;
+}
+.doc h2 .anchor,
+.doc h3 .anchor {
+ opacity: 0;
+ margin-left: 8px;
+ color: var(--text-faint);
+ font-weight: 400;
+ transition: opacity 0.15s;
+}
+.doc h2:hover .anchor,
+.doc h3:hover .anchor {
+ opacity: 1;
+}
+.doc p,
+.doc ul,
+.doc ol {
+ margin: 0 0 16px;
+}
+.doc li {
+ margin: 5px 0;
+}
+.doc li > ul,
+.doc li > ol {
+ margin: 6px 0;
+}
+.doc strong {
+ color: var(--text);
+ font-weight: 640;
+}
+.doc hr {
+ border: none;
+ border-top: 1px solid var(--border);
+ margin: 40px 0;
+}
+.doc img {
+ max-width: 100%;
+ height: auto;
+ border-radius: var(--radius);
+ border: 1px solid var(--border);
+}
+
+/* inline code */
+.doc :not(pre) > code {
+ font-family: var(--font-mono);
+ font-size: 0.86em;
+ background: var(--bg-elev-2);
+ border: 1px solid var(--border);
+ padding: 1.5px 6px;
+ border-radius: 5px;
+ color: var(--text);
+ word-break: break-word;
+}
+
+/* code blocks */
+.code-wrap {
+ position: relative;
+ margin: 0 0 20px;
+ border: 1px solid var(--border);
+ border-radius: var(--radius);
+ background: var(--bg-code);
+ overflow: hidden;
+}
+.code-head {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ height: 38px;
+ padding: 0 10px 0 14px;
+ border-bottom: 1px solid var(--border);
+ background: color-mix(in srgb, var(--bg-elev) 60%, transparent);
+}
+.code-lang {
+ font-family: var(--font-mono);
+ font-size: 11.5px;
+ letter-spacing: 0.03em;
+ color: var(--text-faint);
+ text-transform: uppercase;
+}
+.copy-btn {
+ display: inline-flex;
+ align-items: center;
+ gap: 6px;
+ height: 26px;
+ padding: 0 9px;
+ border: 1px solid var(--border);
+ background: var(--bg-elev);
+ color: var(--text-dim);
+ border-radius: 6px;
+ font: inherit;
+ font-size: 12px;
+ cursor: pointer;
+ transition: color 0.13s, border-color 0.13s;
+}
+.copy-btn:hover {
+ color: var(--text);
+ border-color: var(--border-strong);
+}
+.copy-btn svg {
+ width: 13px;
+ height: 13px;
+}
+.copy-btn.copied {
+ color: var(--accent);
+ border-color: var(--accent);
+}
+.code-wrap pre {
+ margin: 0;
+ padding: 15px 16px;
+ overflow-x: auto;
+ font-family: var(--font-mono);
+ font-size: 13.2px;
+ line-height: 1.6;
+ scrollbar-width: thin;
+}
+.code-wrap pre code {
+ font-family: inherit;
+ background: none;
+ border: none;
+ padding: 0;
+ color: var(--text);
+}
+
+/* callouts */
+.callout {
+ display: flex;
+ gap: 12px;
+ margin: 0 0 20px;
+ padding: 14px 16px;
+ border-radius: var(--radius);
+ border: 1px solid var(--border);
+ background: var(--bg-elev);
+ font-size: 14.5px;
+}
+.callout .ico {
+ flex: none;
+ width: 20px;
+ height: 20px;
+ margin-top: 1px;
+}
+.callout p:last-child {
+ margin-bottom: 0;
+}
+.callout.note {
+ border-color: color-mix(in srgb, var(--accent-2) 40%, var(--border));
+ background: color-mix(in srgb, var(--accent-2) 8%, var(--bg-elev));
+}
+.callout.warn {
+ border-color: color-mix(in srgb, var(--warn) 45%, var(--border));
+ background: color-mix(in srgb, var(--warn) 9%, var(--bg-elev));
+}
+.callout.danger {
+ border-color: color-mix(in srgb, var(--danger) 45%, var(--border));
+ background: color-mix(in srgb, var(--danger) 9%, var(--bg-elev));
+}
+.callout .ico.note {
+ color: var(--accent-2);
+}
+.callout .ico.warn {
+ color: var(--warn);
+}
+.callout .ico.danger {
+ color: var(--danger);
+}
+
+/* prerequisites / what-you-build box */
+.prereq {
+ border: 1px solid var(--border);
+ border-radius: var(--radius);
+ padding: 4px 18px 6px;
+ margin: 0 0 28px;
+ background: var(--bg-elev);
+}
+.prereq h4 {
+ font-size: 12.5px;
+ text-transform: uppercase;
+ letter-spacing: 0.05em;
+ color: var(--text-faint);
+ margin: 14px 0 6px;
+}
+.prereq ul {
+ margin: 0 0 12px;
+ padding-left: 20px;
+}
+.prereq li {
+ font-size: 14px;
+}
+
+/* tables */
+.doc table {
+ width: 100%;
+ border-collapse: collapse;
+ margin: 0 0 20px;
+ font-size: 14px;
+ display: block;
+ overflow-x: auto;
+}
+.doc thead th {
+ text-align: left;
+ font-weight: 620;
+ color: var(--text);
+ border-bottom: 1px solid var(--border-strong);
+ padding: 9px 12px;
+ white-space: nowrap;
+}
+.doc tbody td {
+ border-bottom: 1px solid var(--border);
+ padding: 9px 12px;
+ color: var(--text-dim);
+ vertical-align: top;
+}
+.doc tbody tr:hover td {
+ background: var(--bg-elev);
+}
+
+/* blockquote */
+.doc blockquote {
+ margin: 0 0 20px;
+ padding: 2px 16px;
+ border-left: 3px solid var(--accent);
+ color: var(--text-dim);
+}
+
+/* prev/next */
+.pager {
+ display: grid;
+ grid-template-columns: 1fr 1fr;
+ gap: 14px;
+ margin-top: 56px;
+ padding-top: 28px;
+ border-top: 1px solid var(--border);
+}
+.pager a {
+ display: flex;
+ flex-direction: column;
+ gap: 3px;
+ padding: 14px 16px;
+ border: 1px solid var(--border);
+ border-radius: var(--radius);
+ color: var(--text);
+ transition: border-color 0.15s, background 0.15s;
+}
+.pager a:hover {
+ border-color: var(--border-strong);
+ background: var(--bg-elev);
+ text-decoration: none;
+}
+.pager .dir {
+ font-size: 12px;
+ color: var(--text-faint);
+}
+.pager .ttl {
+ font-weight: 560;
+ font-size: 14.5px;
+}
+.pager a.next {
+ text-align: right;
+ grid-column: 2;
+}
+.pager a.prev {
+ grid-column: 1;
+}
+@media (max-width: 620px) {
+ .pager {
+ grid-template-columns: 1fr;
+ }
+ .pager a.next,
+ .pager a.prev {
+ grid-column: 1;
+ text-align: left;
+ }
+}
+
+/* mark-complete */
+.complete-bar {
+ display: flex;
+ align-items: center;
+ gap: 12px;
+ margin-top: 40px;
+ padding: 16px 18px;
+ border: 1px dashed var(--border-strong);
+ border-radius: var(--radius);
+ background: var(--bg-elev);
+}
+.complete-bar.done {
+ border-style: solid;
+ border-color: var(--accent);
+ background: var(--grad-soft);
+}
+.complete-bar p {
+ margin: 0;
+ font-size: 14px;
+ color: var(--text-dim);
+}
+.check-btn {
+ display: inline-flex;
+ align-items: center;
+ gap: 8px;
+ padding: 9px 15px;
+ border-radius: var(--radius-sm);
+ border: 1px solid var(--accent);
+ background: transparent;
+ color: var(--accent);
+ font: inherit;
+ font-weight: 560;
+ font-size: 14px;
+ cursor: pointer;
+ transition: background 0.15s, color 0.15s;
+ white-space: nowrap;
+}
+.check-btn:hover {
+ background: var(--accent);
+ color: var(--accent-ink);
+}
+.complete-bar.done .check-btn {
+ background: var(--accent);
+ color: var(--accent-ink);
+}
+
+/* ---------- TOC ---------- */
+.toc {
+ position: sticky;
+ top: 84px;
+ align-self: start;
+ max-height: calc(100vh - 110px);
+ overflow-y: auto;
+ font-size: 13px;
+ padding-bottom: 20px;
+}
+.toc .toc-title {
+ font-size: 11px;
+ text-transform: uppercase;
+ letter-spacing: 0.06em;
+ color: var(--text-faint);
+ font-weight: 700;
+ margin-bottom: 10px;
+}
+.toc a {
+ display: block;
+ padding: 4px 0 4px 12px;
+ color: var(--text-faint);
+ border-left: 2px solid var(--border);
+ line-height: 1.4;
+ transition: color 0.13s, border-color 0.13s;
+}
+.toc a:hover {
+ color: var(--text-dim);
+ text-decoration: none;
+}
+.toc a.h3 {
+ padding-left: 24px;
+ font-size: 12.5px;
+}
+.toc a.active {
+ color: var(--accent);
+ border-left-color: var(--accent);
+}
+@media (max-width: 1120px) {
+ .with-toc .content-col {
+ grid-template-columns: minmax(0, 1fr);
+ }
+ .toc {
+ display: none;
+ }
+}
+
+/* ---------- mobile sidebar ---------- */
+.menu-btn {
+ display: none;
+}
+.scrim {
+ display: none;
+}
+@media (max-width: 900px) {
+ .shell {
+ grid-template-columns: minmax(0, 1fr);
+ }
+ .menu-btn {
+ display: inline-flex;
+ }
+ .sidebar {
+ position: fixed;
+ top: 0;
+ left: 0;
+ height: 100vh;
+ width: 290px;
+ max-width: 84vw;
+ background: var(--bg);
+ z-index: 150;
+ transform: translateX(-100%);
+ transition: transform 0.22s ease;
+ padding-top: 20px;
+ }
+ body.nav-open .sidebar {
+ transform: translateX(0);
+ box-shadow: var(--shadow);
+ }
+ body.nav-open .scrim {
+ display: block;
+ position: fixed;
+ inset: 0;
+ background: rgba(0, 0, 0, 0.5);
+ z-index: 140;
+ }
+}
+
+/* ---------- search modal ---------- */
+.search-modal {
+ position: fixed;
+ inset: 0;
+ z-index: 300;
+ display: none;
+ padding: 12vh 16px 16px;
+ background: rgba(0, 0, 0, 0.55);
+ backdrop-filter: blur(3px);
+}
+.search-modal.open {
+ display: block;
+}
+.search-panel {
+ max-width: 620px;
+ margin: 0 auto;
+ background: var(--bg-elev);
+ border: 1px solid var(--border-strong);
+ border-radius: var(--radius);
+ box-shadow: var(--shadow);
+ overflow: hidden;
+}
+.search-input-row {
+ display: flex;
+ align-items: center;
+ gap: 10px;
+ padding: 14px 16px;
+ border-bottom: 1px solid var(--border);
+}
+.search-input-row svg {
+ width: 18px;
+ height: 18px;
+ color: var(--text-faint);
+ flex: none;
+}
+#search-input {
+ flex: 1;
+ background: none;
+ border: none;
+ outline: none;
+ color: var(--text);
+ font: inherit;
+ font-size: 16px;
+}
+.search-results {
+ max-height: 56vh;
+ overflow-y: auto;
+ padding: 6px;
+}
+.search-results:empty::after {
+ content: "Type to search the tutorials…";
+ display: block;
+ padding: 22px;
+ text-align: center;
+ color: var(--text-faint);
+ font-size: 14px;
+}
+.sr-item {
+ display: block;
+ padding: 10px 12px;
+ border-radius: var(--radius-sm);
+ color: var(--text);
+}
+.sr-item:hover,
+.sr-item.sel {
+ background: var(--grad-soft);
+ text-decoration: none;
+}
+.sr-item .sr-ctx {
+ font-size: 12px;
+ color: var(--text-faint);
+ margin-bottom: 2px;
+}
+.sr-item .sr-ttl {
+ font-weight: 560;
+ font-size: 14.5px;
+}
+.sr-item .sr-snip {
+ font-size: 13px;
+ color: var(--text-dim);
+ margin-top: 2px;
+ display: -webkit-box;
+ -webkit-line-clamp: 2;
+ -webkit-box-orient: vertical;
+ overflow: hidden;
+}
+.sr-item mark {
+ background: color-mix(in srgb, var(--accent) 30%, transparent);
+ color: var(--text);
+ border-radius: 3px;
+ padding: 0 1px;
+}
+.search-foot {
+ display: flex;
+ gap: 16px;
+ padding: 9px 16px;
+ border-top: 1px solid var(--border);
+ font-size: 11.5px;
+ color: var(--text-faint);
+}
+.search-foot kbd {
+ font-family: var(--font-mono);
+ border: 1px solid var(--border-strong);
+ border-radius: 4px;
+ padding: 1px 5px;
+ margin-right: 4px;
+}
+
+/* ---------- footer ---------- */
+.doc-footer {
+ max-width: 760px;
+ margin-top: 40px;
+ padding-top: 20px;
+ font-size: 13px;
+ color: var(--text-faint);
+}
+.doc-footer a {
+ color: var(--text-dim);
+}
diff --git a/robinhood/robinhood-chain-examples/.gitignore b/robinhood/robinhood-chain-examples/.gitignore
new file mode 100644
index 000000000..d8826a77c
--- /dev/null
+++ b/robinhood/robinhood-chain-examples/.gitignore
@@ -0,0 +1,8 @@
+node_modules/
+dist/
+.env
+.env.*
+!.env.example
+*.log
+npm-debug.log*
+.DS_Store
diff --git a/robinhood/robinhood-chain-examples/LICENSE b/robinhood/robinhood-chain-examples/LICENSE
new file mode 100644
index 000000000..4216cf919
--- /dev/null
+++ b/robinhood/robinhood-chain-examples/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2026 nirholas
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/robinhood/robinhood-chain-examples/examples/01-read-stock-price/README.md b/robinhood/robinhood-chain-examples/examples/01-read-stock-price/README.md
new file mode 100644
index 000000000..30847a857
--- /dev/null
+++ b/robinhood/robinhood-chain-examples/examples/01-read-stock-price/README.md
@@ -0,0 +1,55 @@
+# 01 · Read a Stock Token price (viem only)
+
+The "hello chain" baseline. Connect to Robinhood Chain mainnet, read one
+tokenized stock's **Chainlink price feed**, print the price — using nothing but
+[`viem`](https://viem.sh). No SDK. This is the raw version so you can see
+exactly what [`hoodchain`](../02-stock-price-sdk) does for you in three lines.
+
+**What it proves:** the chain is a normal EVM L2 (chain ID `4663`), viem ships
+its official chain definition (`import { robinhood } from 'viem/chains'`), and
+every Stock Token has a live Chainlink `latestRoundData()` feed.
+
+## Prerequisites
+
+- Node ≥ 20. No wallet, no key, no funds — public RPC reads only.
+
+## Run
+
+```bash
+npm install
+npm start # AAPL
+node index.js NVDA # or TSLA, NVDA
+```
+
+## Expected output
+
+```
+Robinhood Chain (4663) — block 7729451
+AAPL token 0xaF3D76f1834A1d425780943C99Ea8A608f8a93f9
+ Chainlink feed 0x6B22A786bAa607d76728168703a39Ea9C99f2cD0
+ price: $315.50 (answer age 39.3h)
+
+Note: Robinhood feeds are already corporate-action adjusted — this is the
+total-return token price, not the raw share price. See example 03.
+```
+
+(Captured live. Feeds follow US market hours 24/5, so a weekend read shows an
+answer that is a day or two old — that is expected, not stale.)
+
+## Why the "already adjusted" note matters
+
+Robinhood's Chainlink feeds return the **total-return token price**, with the
+ERC-8056 `uiMultiplier()` corporate-action factor already applied upstream. The
+number one bug in third-party trackers is multiplying the feed price by the
+multiplier a second time. Don't. [Example 03](../03-portfolio-valuation) shows
+the correct math for share-equivalent balances.
+
+## The awkward part (and the fix)
+
+This baseline hard-codes token + feed addresses for a handful of symbols. There
+are **95** Stock Tokens. Maintaining that table by hand is exactly the job the
+SDK's bundled registry does — see [example 02](../02-stock-price-sdk).
+
+---
+
+Built by [nirholas](https://x.com/nichxbt) · [three.ws](https://three.ws)
diff --git a/robinhood/robinhood-chain-examples/examples/01-read-stock-price/index.js b/robinhood/robinhood-chain-examples/examples/01-read-stock-price/index.js
new file mode 100644
index 000000000..567022d31
--- /dev/null
+++ b/robinhood/robinhood-chain-examples/examples/01-read-stock-price/index.js
@@ -0,0 +1,75 @@
+/**
+ * 01 — Read a Stock Token price with viem only (no SDK).
+ *
+ * The "hello chain" baseline: connect to Robinhood Chain mainnet (4663),
+ * read one tokenized stock's Chainlink price feed, and print the price.
+ *
+ * This is the raw version — every address and ABI spelled out — so you can
+ * see exactly what the `hoodchain` SDK does for you in example 02.
+ *
+ * Run: node index.js [SYMBOL] (default AAPL)
+ */
+import { createPublicClient, http, formatUnits } from 'viem'
+import { robinhood } from 'viem/chains'
+
+// Robinhood Stock Token → its Chainlink price-feed proxy (8-decimal answers).
+// Verified on-chain; the full 95-token registry lives in the hoodchain SDK.
+const FEEDS = {
+ AAPL: { token: '0xaF3D76f1834A1d425780943C99Ea8A608f8a93f9', feed: '0x6B22A786bAa607d76728168703a39Ea9C99f2cD0' },
+ TSLA: { token: '0x322F0929c4625eD5bAd873c95208D54E1c003b2d', feed: '0x4A1166a659A55625345e9515b32adECea5547C38' },
+ NVDA: { token: '0xd0601CE157Db5bdC3162BbaC2a2C8aF5320D9EEC', feed: '0x379EC4f7C378F34a1B47E4F3cbeBCbAC3E8E9F15' },
+}
+
+// AggregatorV3Interface.latestRoundData() — the standard Chainlink read.
+const aggregatorV3Abi = [
+ {
+ type: 'function',
+ name: 'latestRoundData',
+ stateMutability: 'view',
+ inputs: [],
+ outputs: [
+ { name: 'roundId', type: 'uint80' },
+ { name: 'answer', type: 'int256' },
+ { name: 'startedAt', type: 'uint256' },
+ { name: 'updatedAt', type: 'uint256' },
+ { name: 'answeredInRound', type: 'uint80' },
+ ],
+ },
+ { type: 'function', name: 'decimals', stateMutability: 'view', inputs: [], outputs: [{ type: 'uint8' }] },
+]
+
+const symbol = (process.argv[2] || 'AAPL').toUpperCase()
+const entry = FEEDS[symbol]
+if (!entry) {
+ console.error(`No hard-coded feed for ${symbol}. This baseline example ships AAPL, TSLA, and NVDA;`)
+ console.error(`for all 95 Stock Tokens use example 02 (the hoodchain SDK).`)
+ process.exit(1)
+}
+
+// One public client, viem's official chain definition — never hand-roll the config.
+const client = createPublicClient({ chain: robinhood, transport: http() })
+
+const [decimals, round] = await Promise.all([
+ client.readContract({ address: entry.feed, abi: aggregatorV3Abi, functionName: 'decimals' }),
+ client.readContract({ address: entry.feed, abi: aggregatorV3Abi, functionName: 'latestRoundData' }),
+])
+
+const [, answer, , updatedAt] = round
+if (answer <= 0n) {
+ console.error(`Feed returned a non-positive answer (${answer}) — not a live price.`)
+ process.exit(1)
+}
+
+const price = Number(formatUnits(answer, Number(decimals)))
+const ageSeconds = Math.max(0, Math.floor(Date.now() / 1000) - Number(updatedAt))
+const ageHours = (ageSeconds / 3600).toFixed(1)
+
+const block = await client.getBlockNumber()
+
+console.log(`Robinhood Chain (${robinhood.id}) — block ${block}`)
+console.log(`${symbol} token ${entry.token}`)
+console.log(` Chainlink feed ${entry.feed}`)
+console.log(` price: $${price.toFixed(2)} (answer age ${ageHours}h)`)
+console.log()
+console.log('Note: Robinhood feeds are already corporate-action adjusted — this is the')
+console.log('total-return token price, not the raw share price. See example 03.')
diff --git a/robinhood/robinhood-chain-examples/examples/01-read-stock-price/package-lock.json b/robinhood/robinhood-chain-examples/examples/01-read-stock-price/package-lock.json
new file mode 100644
index 000000000..ae08fff66
--- /dev/null
+++ b/robinhood/robinhood-chain-examples/examples/01-read-stock-price/package-lock.json
@@ -0,0 +1,222 @@
+{
+ "name": "rh-example-01-read-stock-price",
+ "version": "0.1.0",
+ "lockfileVersion": 3,
+ "requires": true,
+ "packages": {
+ "": {
+ "name": "rh-example-01-read-stock-price",
+ "version": "0.1.0",
+ "dependencies": {
+ "viem": "^2.55.0"
+ },
+ "engines": {
+ "node": ">=20"
+ }
+ },
+ "node_modules/@adraffy/ens-normalize": {
+ "version": "1.11.1",
+ "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.11.1.tgz",
+ "integrity": "sha512-nhCBV3quEgesuf7c7KYfperqSS14T8bYuvJ8PcLJp6znkZpFc0AuW4qBtr8eKVyPPe/8RSr7sglCWPU5eaxwKQ==",
+ "license": "MIT"
+ },
+ "node_modules/@noble/ciphers": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/@noble/ciphers/-/ciphers-1.3.0.tgz",
+ "integrity": "sha512-2I0gnIVPtfnMw9ee9h1dJG7tp81+8Ob3OJb3Mv37rx5L40/b0i7djjCVvGOVqc9AEIQyvyu1i6ypKdFw8R8gQw==",
+ "license": "MIT",
+ "engines": {
+ "node": "^14.21.3 || >=16"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/@noble/curves": {
+ "version": "1.9.1",
+ "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.9.1.tgz",
+ "integrity": "sha512-k11yZxZg+t+gWvBbIswW0yoJlu8cHOC7dhunwOzoWH/mXGBiYyR4YY6hAEK/3EUs4UpB8la1RfdRpeGsFHkWsA==",
+ "license": "MIT",
+ "dependencies": {
+ "@noble/hashes": "1.8.0"
+ },
+ "engines": {
+ "node": "^14.21.3 || >=16"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/@noble/hashes": {
+ "version": "1.8.0",
+ "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.8.0.tgz",
+ "integrity": "sha512-jCs9ldd7NwzpgXDIf6P3+NrHh9/sD6CQdxHyjQI+h/6rDNo88ypBxxz45UDuZHz9r3tNz7N/VInSVoVdtXEI4A==",
+ "license": "MIT",
+ "engines": {
+ "node": "^14.21.3 || >=16"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/@scure/base": {
+ "version": "1.2.6",
+ "resolved": "https://registry.npmjs.org/@scure/base/-/base-1.2.6.tgz",
+ "integrity": "sha512-g/nm5FgUa//MCj1gV09zTJTaM6KBAHqLN907YVQqf7zC49+DcO4B1so4ZX07Ef10Twr6nuqYEH9GEggFXA4Fmg==",
+ "license": "MIT",
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/@scure/bip32": {
+ "version": "1.7.0",
+ "resolved": "https://registry.npmjs.org/@scure/bip32/-/bip32-1.7.0.tgz",
+ "integrity": "sha512-E4FFX/N3f4B80AKWp5dP6ow+flD1LQZo/w8UnLGYZO674jS6YnYeepycOOksv+vLPSpgN35wgKgy+ybfTb2SMw==",
+ "license": "MIT",
+ "dependencies": {
+ "@noble/curves": "~1.9.0",
+ "@noble/hashes": "~1.8.0",
+ "@scure/base": "~1.2.5"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/@scure/bip39": {
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/@scure/bip39/-/bip39-1.6.0.tgz",
+ "integrity": "sha512-+lF0BbLiJNwVlev4eKelw1WWLaiKXw7sSl8T6FvBlWkdX+94aGJ4o8XjUdlyhTCjd8c+B3KT3JfS8P0bLRNU6A==",
+ "license": "MIT",
+ "dependencies": {
+ "@noble/hashes": "~1.8.0",
+ "@scure/base": "~1.2.5"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/abitype": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/abitype/-/abitype-1.2.3.tgz",
+ "integrity": "sha512-Ofer5QUnuUdTFsBRwARMoWKOH1ND5ehwYhJ3OJ/BQO+StkwQjHw0XyVh4vDttzHB7QOFhPHa/o413PJ82gU/Tg==",
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/wevm"
+ },
+ "peerDependencies": {
+ "typescript": ">=5.0.4",
+ "zod": "^3.22.0 || ^4.0.0"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ },
+ "zod": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/eventemitter3": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.1.tgz",
+ "integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==",
+ "license": "MIT"
+ },
+ "node_modules/isows": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/isows/-/isows-1.0.7.tgz",
+ "integrity": "sha512-I1fSfDCZL5P0v33sVqeTDSpcstAg/N+wF5HS033mogOVIp4B+oHC7oOCsA3axAbBSGTJ8QubbNmnIRN/h8U7hg==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/wevm"
+ }
+ ],
+ "license": "MIT",
+ "peerDependencies": {
+ "ws": "*"
+ }
+ },
+ "node_modules/ox": {
+ "version": "0.14.30",
+ "resolved": "https://registry.npmjs.org/ox/-/ox-0.14.30.tgz",
+ "integrity": "sha512-LI11uu+8iiM1B3CLckgd++YF1a0A2k5wDoM9ZeQMiL21BOzQs6L//BLS6hb1HSEKCyycdDIQLsVQx9MjpcC0hA==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/wevm"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "@adraffy/ens-normalize": "^1.11.0",
+ "@noble/ciphers": "^1.3.0",
+ "@noble/curves": "1.9.1",
+ "@noble/hashes": "^1.8.0",
+ "@scure/bip32": "^1.7.0",
+ "@scure/bip39": "^1.6.0",
+ "abitype": "^1.2.3",
+ "eventemitter3": "5.0.1"
+ },
+ "peerDependencies": {
+ "typescript": ">=5.4.0"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/viem": {
+ "version": "2.55.1",
+ "resolved": "https://registry.npmjs.org/viem/-/viem-2.55.1.tgz",
+ "integrity": "sha512-sajvEmONS3dEDFh0jKXGugTU8ImyGoIV3sEHSWNRhgkH484v/+6DjZAplRhcdeqNV/VBxOs/l3raOG4NaXvX9A==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/wevm"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "@noble/curves": "1.9.1",
+ "@noble/hashes": "1.8.0",
+ "@scure/bip32": "1.7.0",
+ "@scure/bip39": "1.6.0",
+ "abitype": "1.2.3",
+ "isows": "1.0.7",
+ "ox": "0.14.30",
+ "ws": "8.21.0"
+ },
+ "peerDependencies": {
+ "typescript": ">=5.0.4"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/ws": {
+ "version": "8.21.0",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-8.21.0.tgz",
+ "integrity": "sha512-Vsp28b7DRcimFQvrqu2Wek3z1iYxDCWqHYB8Qsnk/S4RfaCQzPGPyBNuVjJV3cd6UiKtUtp6sNM77gWvzcCH+g==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=10.0.0"
+ },
+ "peerDependencies": {
+ "bufferutil": "^4.0.1",
+ "utf-8-validate": ">=5.0.2"
+ },
+ "peerDependenciesMeta": {
+ "bufferutil": {
+ "optional": true
+ },
+ "utf-8-validate": {
+ "optional": true
+ }
+ }
+ }
+ }
+}
diff --git a/robinhood/robinhood-chain-examples/examples/01-read-stock-price/package.json b/robinhood/robinhood-chain-examples/examples/01-read-stock-price/package.json
new file mode 100644
index 000000000..f377da7ad
--- /dev/null
+++ b/robinhood/robinhood-chain-examples/examples/01-read-stock-price/package.json
@@ -0,0 +1,16 @@
+{
+ "name": "rh-example-01-read-stock-price",
+ "version": "0.1.0",
+ "private": true,
+ "type": "module",
+ "description": "Read a Robinhood Chain Stock Token price with viem only (no SDK).",
+ "scripts": {
+ "start": "node index.js"
+ },
+ "engines": {
+ "node": ">=20"
+ },
+ "dependencies": {
+ "viem": "^2.55.0"
+ }
+}
diff --git a/robinhood/robinhood-chain-examples/examples/02-stock-price-sdk/README.md b/robinhood/robinhood-chain-examples/examples/02-stock-price-sdk/README.md
new file mode 100644
index 000000000..8aaba4e8b
--- /dev/null
+++ b/robinhood/robinhood-chain-examples/examples/02-stock-price-sdk/README.md
@@ -0,0 +1,48 @@
+# 02 · Stock Token price with the SDK
+
+Exactly what [example 01](../01-read-stock-price) does — one `import`, one
+`createHoodClient()`, one `getQuote()`. The [`hoodchain`](https://github.com/nirholas/robinhood-chain-sdk)
+SDK bundles the full **95-token registry**, the Chainlink decode, staleness
+handling, and typed errors, so you never hand-maintain an address table.
+
+**What it proves:** the SDK collapses example 01 to three meaningful lines and
+covers all 95 Stock Tokens instead of a hard-coded handful.
+
+## Prerequisites
+
+- Node ≥ 20. Reads only — no wallet, no key, no funds.
+- `hoodchain` is not on npm yet. Until it is, install the local sibling build:
+ ```bash
+ npm install # installs viem
+ npm install ../../../robinhood-chain-sdk # the hoodchain build (or: npm i hoodchain once published)
+ ```
+ When both repos are extracted as siblings, the path is `../robinhood-chain-sdk`.
+
+## Run
+
+```bash
+npm start # AAPL TSLA NVDA
+node index.js MSFT GOOGL AMD # any registry symbols
+```
+
+## Expected output
+
+```
+AAPL $ 315.50 feed 0x6B22A786bAa607d76728168703a39Ea9C99f2cD0 age 39.3h
+TSLA $ 407.82 feed 0x4A1166a659A55625345e9515b32adECea5547C38 age 38.5h
+NVDA $ 210.19 feed 0x379EC4f7C378F34a1B47E4F3cbeBCbAC3E8E9F15 age 42.0h
+```
+
+Unknown symbols surface a typed `UnknownSymbolError`:
+
+```
+FOOBAR — UnknownSymbolError: Unknown Stock Token symbol "FOOBAR". Symbols are
+case-insensitive tickers as listed on-chain (e.g. "AAPL", "TSLA"). ...
+```
+
+The SDK also throws `FeedNotFoundError` (token has no feed) and `StaleFeedError`
+(answer older than the tolerance) — catch by class, not by string.
+
+---
+
+Built by [nirholas](https://x.com/nichxbt) · [three.ws](https://three.ws)
diff --git a/robinhood/robinhood-chain-examples/examples/02-stock-price-sdk/index.js b/robinhood/robinhood-chain-examples/examples/02-stock-price-sdk/index.js
new file mode 100644
index 000000000..66528f5be
--- /dev/null
+++ b/robinhood/robinhood-chain-examples/examples/02-stock-price-sdk/index.js
@@ -0,0 +1,24 @@
+/**
+ * 02 — The same read as example 01, in three lines of hoodchain.
+ *
+ * The SDK bundles the full 95-token registry and the Chainlink decode, so you
+ * never hand-maintain an address table. Reads only — no wallet, no key.
+ *
+ * Run: node index.js [SYMBOL...] (default: AAPL TSLA NVDA)
+ */
+import { createHoodClient, getQuote } from 'hoodchain'
+
+const symbols = process.argv.slice(2).map((s) => s.toUpperCase())
+const wanted = symbols.length ? symbols : ['AAPL', 'TSLA', 'NVDA']
+
+const hood = createHoodClient() // mainnet 4663, public RPC, multicall batching on
+
+for (const symbol of wanted) {
+ try {
+ const q = await getQuote(hood, symbol)
+ console.log(`${symbol.padEnd(6)} $${q.priceUsd.toFixed(2).padStart(9)} feed ${q.feed} age ${(q.ageSeconds / 3600).toFixed(1)}h`)
+ } catch (err) {
+ // The SDK throws typed errors: UnknownSymbolError, FeedNotFoundError, StaleFeedError.
+ console.log(`${symbol.padEnd(6)} — ${err.constructor.name}: ${err.message}`)
+ }
+}
diff --git a/robinhood/robinhood-chain-examples/examples/02-stock-price-sdk/package.json b/robinhood/robinhood-chain-examples/examples/02-stock-price-sdk/package.json
new file mode 100644
index 000000000..57ea753d6
--- /dev/null
+++ b/robinhood/robinhood-chain-examples/examples/02-stock-price-sdk/package.json
@@ -0,0 +1,17 @@
+{
+ "name": "rh-example-02-stock-price-sdk",
+ "version": "0.1.0",
+ "private": true,
+ "type": "module",
+ "description": "Read Robinhood Chain Stock Token prices in three lines with the hoodchain SDK.",
+ "scripts": {
+ "start": "node index.js"
+ },
+ "engines": {
+ "node": ">=20"
+ },
+ "dependencies": {
+ "hoodchain": "^0.1.0",
+ "viem": "^2.55.0"
+ }
+}
diff --git a/robinhood/robinhood-chain-examples/examples/03-portfolio-valuation/README.md b/robinhood/robinhood-chain-examples/examples/03-portfolio-valuation/README.md
new file mode 100644
index 000000000..0f574c9b7
--- /dev/null
+++ b/robinhood/robinhood-chain-examples/examples/03-portfolio-valuation/README.md
@@ -0,0 +1,62 @@
+# 03 · Multiplier-correct portfolio valuation
+
+**The correctness showpiece.** Robinhood Stock Tokens carry an ERC-8056
+`uiMultiplier()` corporate-action factor, and generic trackers get the math
+wrong in two ways:
+
+1. **Double-counting the multiplier.** The Chainlink feed is *already*
+ multiplier-adjusted, so USD value is `balance × feedPrice` — not
+ `× uiMultiplier` on top. Applying it twice mis-states value after every
+ split or reinvested dividend.
+2. **Reporting raw balance as "shares."** The true share-equivalent is
+ `balance × uiMultiplier ÷ 1e18`. After a corporate action it diverges from
+ the raw ERC-20 balance.
+
+`getPortfolio()` returns **both** numbers per position, values only priced
+holdings, and sweeps all 95 tokens in a single multicall. Reads only.
+
+## Prerequisites
+
+- Node ≥ 20. No wallet or key. See [example 02](../02-stock-price-sdk) for the
+ local `hoodchain` install note.
+
+## Run
+
+```bash
+npm install && npm install ../../../robinhood-chain-sdk
+npm start # a live default holder
+node index.js 0xYourAddress # any address
+```
+
+## Expected output
+
+```
+Stock Token portfolio — 0xA953CA88ff430e9487c60cA34d757414f4efdA07
+
+ SYMBOL BALANCE SHARE-EQUIV VALUE
+ ----------------------------------------------------------
+ TSLA 0.027608 0.027608 $11.26
+ ----------------------------------------------------------
+ Total priced value: $11.26
+```
+
+A multi-position address prices each holding independently:
+
+```
+ AAPL 0.000854 0.000854 $0.27
+ AMD 0.000455 0.000455 $0.25
+ NVDA 0.001250 0.001250 $0.26
+ SPCX 0.001755 0.001755 $0.26
+ TSLA 0.000631 0.000631 $0.26
+ Total priced value: $1.30
+```
+
+Right now every `uiMultiplier` is `1e18` (the chain is new — no corporate
+actions have happened yet), so `SHARE-EQUIV` equals `BALANCE`. The code path is
+already correct: when a token's multiplier moves, the two columns diverge and
+the row is flagged `← corporate-action adjusted`. The SDK's live test cross-
+checks `shareEquivalent` against the token's own on-chain `balanceOfUI()`.
+
+---
+
+Built by [nirholas](https://x.com/nichxbt) · [three.ws](https://three.ws)
diff --git a/robinhood/robinhood-chain-examples/examples/03-portfolio-valuation/index.js b/robinhood/robinhood-chain-examples/examples/03-portfolio-valuation/index.js
new file mode 100644
index 000000000..b6529930d
--- /dev/null
+++ b/robinhood/robinhood-chain-examples/examples/03-portfolio-valuation/index.js
@@ -0,0 +1,55 @@
+/**
+ * 03 — Multiplier-correct Stock Token portfolio (the correctness showpiece).
+ *
+ * Robinhood Stock Tokens carry an ERC-8056 `uiMultiplier()` corporate-action
+ * factor. Two mistakes generic trackers make:
+ *
+ * 1. Valuing at `balance × feedPrice × uiMultiplier` — double-counting the
+ * corporate action, because the Chainlink feed is ALREADY multiplier-
+ * adjusted. Correct value is `balance × feedPrice`.
+ * 2. Reporting the raw ERC-20 balance as "shares" — after a split or
+ * reinvested dividend the true share-equivalent is
+ * `balance × uiMultiplier ÷ 1e18`, which diverges from the raw balance.
+ *
+ * `getPortfolio` returns BOTH numbers per position and sums only priced
+ * holdings. One multicall sweeps all 95 tokens. Reads only.
+ *
+ * Run: node index.js [0xADDRESS]
+ */
+import { createHoodClient, getPortfolio } from 'hoodchain'
+
+// A live on-chain holder by default (the TSLA/WETH Uniswap pool). Pass your own.
+const DEFAULT_HOLDER = '0xA953CA88ff430e9487c60cA34d757414f4efdA07'
+const owner = process.argv[2] || DEFAULT_HOLDER
+
+if (!/^0x[0-9a-fA-F]{40}$/.test(owner)) {
+ console.error(`Not an address: ${owner}\nusage: node index.js 0xADDRESS`)
+ process.exit(1)
+}
+
+const hood = createHoodClient()
+// 24/5 feeds pause on weekends; a week of tolerance avoids false "stale" over long weekends.
+const portfolio = await getPortfolio(hood, owner, { maxAgeSeconds: 7 * 24 * 3600 })
+
+console.log(`Stock Token portfolio — ${owner}\n`)
+
+if (portfolio.positions.length === 0) {
+ console.log(' No Stock Tokens held.')
+ console.log(' (Try the default holder, or an address that has swapped for Stock Tokens.)')
+ process.exit(0)
+}
+
+console.log(' SYMBOL BALANCE SHARE-EQUIV VALUE')
+console.log(' ' + '-'.repeat(58))
+for (const p of portfolio.positions) {
+ const value = p.valueUsd === null ? 'unpriced' : `$${p.valueUsd.toFixed(2)}`
+ const drift = p.uiMultiplier === 10n ** 18n ? '' : ' ← corporate-action adjusted'
+ console.log(
+ ` ${p.symbol.padEnd(6)} ${p.balanceTokens.toFixed(6).padStart(14)} ${p.shareEquivalent.toFixed(6).padStart(16)} ${value.padStart(12)}${drift}`,
+ )
+}
+console.log(' ' + '-'.repeat(58))
+console.log(` Total priced value: $${portfolio.totalUsd.toFixed(2)}`)
+if (portfolio.unpricedSymbols.length) {
+ console.log(` Unpriced (no Chainlink feed yet): ${portfolio.unpricedSymbols.join(', ')}`)
+}
diff --git a/robinhood/robinhood-chain-examples/examples/03-portfolio-valuation/package.json b/robinhood/robinhood-chain-examples/examples/03-portfolio-valuation/package.json
new file mode 100644
index 000000000..43a2ebbd8
--- /dev/null
+++ b/robinhood/robinhood-chain-examples/examples/03-portfolio-valuation/package.json
@@ -0,0 +1,17 @@
+{
+ "name": "rh-example-03-portfolio-valuation",
+ "version": "0.1.0",
+ "private": true,
+ "type": "module",
+ "description": "Multiplier-correct Robinhood Chain Stock Token portfolio valuation.",
+ "scripts": {
+ "start": "node index.js"
+ },
+ "engines": {
+ "node": ">=20"
+ },
+ "dependencies": {
+ "hoodchain": "^0.1.0",
+ "viem": "^2.55.0"
+ }
+}
diff --git a/robinhood/robinhood-chain-examples/examples/04-swap-memecoin/index.js b/robinhood/robinhood-chain-examples/examples/04-swap-memecoin/index.js
new file mode 100644
index 000000000..1e04518d8
--- /dev/null
+++ b/robinhood/robinhood-chain-examples/examples/04-swap-memecoin/index.js
@@ -0,0 +1,63 @@
+/**
+ * 04 — Quote and execute a Uniswap v3 swap on Robinhood Chain testnet (46630).
+ *
+ * The quote is a read (works with no wallet). Execution needs a funded testnet
+ * account: set ROBINHOOD_CHAIN_PRIVATE_KEY and drip testnet ETH from the faucet
+ * (https://faucet.testnet.chain.robinhood.com/). Without a key, this prints the
+ * quote and stops — it never fabricates a transaction.
+ *
+ * Testnet has one liquid pool (WETH/NFLX 0.05%), so we swap a little WETH for
+ * NFLX. On MAINNET the identical code swaps memecoins from NOXA / The Odyssey —
+ * pass their token addresses as tokenOut and drop `chain: 'testnet'`.
+ *
+ * Run:
+ * node index.js # quote only
+ * ROBINHOOD_CHAIN_PRIVATE_KEY=0x... node index.js --execute
+ */
+import { createHoodClient, quoteSwap, executeSwap, TESTNET_ADDRESSES, TESTNET_STOCK_TOKENS } from 'hoodchain'
+import { parseEther, formatEther, formatUnits } from 'viem'
+import { privateKeyToAccount } from 'viem/accounts'
+
+const AMOUNT_IN = parseEther('0.001') // 0.001 testnet WETH
+const tokenIn = TESTNET_ADDRESSES.weth
+const tokenOut = TESTNET_STOCK_TOKENS.NFLX
+const execute = process.argv.includes('--execute')
+const key = process.env.ROBINHOOD_CHAIN_PRIVATE_KEY
+
+// --- read-only quote --------------------------------------------------------
+const reader = createHoodClient({ chain: 'testnet' })
+const quote = await quoteSwap(reader, { tokenIn, tokenOut, amountIn: AMOUNT_IN })
+
+console.log('Robinhood Chain testnet (46630) — Uniswap v3 quote')
+console.log(` in : ${formatEther(AMOUNT_IN)} WETH (${tokenIn})`)
+console.log(` out: ${formatUnits(quote.amountOut, 18)} NFLX (${tokenOut})`)
+console.log(` route: ${quote.route.path.length - 1} hop, fee tier(s) ${quote.route.fees.join('/')}`)
+console.log(` quoter gas estimate: ${quote.gasEstimate}`)
+
+if (!execute) {
+ console.log('\nQuote only. Re-run with --execute and a funded ROBINHOOD_CHAIN_PRIVATE_KEY to swap.')
+ process.exit(0)
+}
+
+// --- execution (guarded) ----------------------------------------------------
+if (!key) {
+ console.error('\n✗ --execute needs ROBINHOOD_CHAIN_PRIVATE_KEY set to a funded testnet key.')
+ console.error(' Get testnet ETH: https://faucet.testnet.chain.robinhood.com/')
+ process.exit(1)
+}
+
+const account = privateKeyToAccount(key.startsWith('0x') ? key : `0x${key}`)
+const hood = createHoodClient({ chain: 'testnet', account })
+
+const balance = await hood.public.getBalance({ address: account.address })
+console.log(`\nAccount ${account.address} balance ${formatEther(balance)} ETH`)
+if (balance < AMOUNT_IN) {
+ console.error(`✗ Insufficient balance to swap ${formatEther(AMOUNT_IN)} WETH + gas. Fund the account first.`)
+ process.exit(1)
+}
+
+console.log('Swapping…')
+const { hash, receipt, amountOutMinimum } = await executeSwap(hood, { tokenIn, tokenOut, amountIn: AMOUNT_IN })
+console.log(`✓ tx ${hash}`)
+console.log(` block ${receipt.blockNumber} status ${receipt.status} min out ${formatUnits(amountOutMinimum, 18)} NFLX`)
+console.log(` explorer: https://explorer.testnet.chain.robinhood.com/tx/${hash}`)
diff --git a/robinhood/robinhood-chain-examples/examples/04-swap-memecoin/package.json b/robinhood/robinhood-chain-examples/examples/04-swap-memecoin/package.json
new file mode 100644
index 000000000..f0b1c913a
--- /dev/null
+++ b/robinhood/robinhood-chain-examples/examples/04-swap-memecoin/package.json
@@ -0,0 +1,17 @@
+{
+ "name": "rh-example-04-swap-memecoin",
+ "version": "0.1.0",
+ "private": true,
+ "type": "module",
+ "description": "Quote and execute a Uniswap v3 swap on Robinhood Chain testnet with hoodchain.",
+ "scripts": {
+ "start": "node index.js"
+ },
+ "engines": {
+ "node": ">=20"
+ },
+ "dependencies": {
+ "hoodchain": "^0.1.0",
+ "viem": "^2.55.0"
+ }
+}
diff --git a/workers/robinhood-feed/package.json b/workers/robinhood-feed/package.json
new file mode 100644
index 000000000..6b04e3ee5
--- /dev/null
+++ b/workers/robinhood-feed/package.json
@@ -0,0 +1,19 @@
+{
+ "name": "robinhood-feed",
+ "version": "0.1.0",
+ "private": true,
+ "type": "module",
+ "description": "Normalized Robinhood Chain (4663) firehose — launches, trades and graduations from NOXA + The Odyssey + Uniswap v3, served over WS/SSE in the same shape three.ws pump.fun consumers expect.",
+ "author": "nirholas (https://x.com/nichxbt)",
+ "license": "MIT",
+ "main": "index.js",
+ "scripts": {
+ "start": "node index.js",
+ "test": "node --test tests/"
+ },
+ "dependencies": {
+ "hoodchain": "file:../../robinhood/robinhood-chain-sdk",
+ "viem": "^2.55.0",
+ "ws": "^8.18.0"
+ }
+}
diff --git a/workers/robinhood-feed/src/config.js b/workers/robinhood-feed/src/config.js
new file mode 100644
index 000000000..b4d0ed4cd
--- /dev/null
+++ b/workers/robinhood-feed/src/config.js
@@ -0,0 +1,58 @@
+// Runtime configuration for the Robinhood Chain firehose. Every knob is an env
+// var with a safe default so `npm start` works with zero config against the
+// public mainnet RPC + sequencer feed.
+
+const num = (v, d) => {
+ const n = Number(v);
+ return Number.isFinite(n) && n > 0 ? n : d;
+};
+
+const network = process.env.RH_NETWORK === 'testnet' ? 'testnet' : 'mainnet';
+
+// Optional Alchemy accelerator. When the Robinhood network is enabled on the
+// Alchemy app, an `eth_subscribe`-capable WSS transport removes RPC polling
+// latency. Absent that, the SDK watchers poll the public RPC and the sequencer
+// feed provides the sub-second liveness signal — the feed works with no key.
+const alchemyKey = process.env.ALCHEMY_API_KEY || process.env.RH_ALCHEMY_KEY || '';
+const alchemyHttp = alchemyKey && network === 'mainnet'
+ ? `https://robinhood-mainnet.g.alchemy.com/v2/${alchemyKey}`
+ : '';
+
+export const config = {
+ network,
+ /** HTTP RPC used for eth_getLogs, multicall metadata reads and gap-fill. */
+ rpcUrl: process.env.RH_RPC_URL
+ || alchemyHttp
+ || (network === 'testnet'
+ ? 'https://rpc.testnet.chain.robinhood.com'
+ : 'https://rpc.mainnet.chain.robinhood.com'),
+ /** Arbitrum Nitro sequencer feed — no auth, sub-second block-tip signal. */
+ feedUrl: process.env.RH_FEED_URL
+ || (network === 'testnet'
+ ? 'wss://feed.testnet.chain.robinhood.com'
+ : 'wss://feed.mainnet.chain.robinhood.com'),
+ /** Whether to consume the sequencer feed for the block-tip / gap watchdog. */
+ useFeed: process.env.RH_USE_FEED !== '0',
+ /** RPC log poll interval (ms) for the SDK watchers. */
+ pollingIntervalMs: num(process.env.RH_POLL_MS, 2_000),
+ /** HTTP server port. */
+ port: num(process.env.PORT, 8788),
+ /** Cross-emit dedupe window (events remembered by log key). */
+ seenLimit: num(process.env.RH_SEEN_LIMIT, 4_000),
+ /** Replay-buffer depth per event kind (served to fresh subscribers). */
+ bufferLimit: num(process.env.RH_BUFFER_LIMIT, 40),
+ /** Cap on live Uniswap pools we watch for post-graduation / NOXA swaps. */
+ maxTrackedPools: num(process.env.RH_MAX_POOLS, 400),
+ /**
+ * If the sequencer feed advances this many blocks past the highest block the
+ * RPC watchers have reported, run a catch-up eth_getLogs to gap-fill.
+ */
+ gapCatchupBlocks: num(process.env.RH_GAP_BLOCKS, 40),
+ /** Backfill this many blocks of launches on cold start so a fresh subscriber sees history. */
+ backfillBlocks: BigInt(num(process.env.RH_BACKFILL_BLOCKS, 200_000)),
+};
+
+export const CHAIN_ID = network === 'testnet' ? 46630 : 4663;
+export const EXPLORER_BASE = network === 'testnet'
+ ? 'https://explorer.testnet.chain.robinhood.com'
+ : 'https://robinhoodchain.blockscout.com';
diff --git a/workers/robinhood-feed/tests/fixtures/launch-swap-logs.json b/workers/robinhood-feed/tests/fixtures/launch-swap-logs.json
new file mode 100644
index 000000000..90bc863f4
--- /dev/null
+++ b/workers/robinhood-feed/tests/fixtures/launch-swap-logs.json
@@ -0,0 +1,395 @@
+{
+ "latest": "7730270",
+ "noxa": [
+ {
+ "eventName": "TokenLaunched",
+ "args": {
+ "token": "0x48217Af0d77da038De2702D28BEd054A51B8FC4f",
+ "deployer": "0x9a88ECd80A501BB41902DeAeE9869Dd5b4b218f8",
+ "dexFactory": "0x1f7d7550B1b028f7571E69A784071F0205FD2EfA",
+ "pairToken": "0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73",
+ "pool": "0xf11561e6448924ECC6e68B0fA59408089FB775C1",
+ "dexId": "0",
+ "launchConfigId": "0",
+ "positionId": "78565",
+ "restrictionsEndBlock": "25509177",
+ "initialBuyAmount": "100000000000000000"
+ },
+ "address": "0xd9ec2db5f3d1b236843925949fe5bd8a3836fccb",
+ "topics": [
+ "0xdb51ea9ad51ab453a65a4cb7e60c3cb378c9501bb002609f8f97778fb6c4235a",
+ "0x00000000000000000000000048217af0d77da038de2702d28bed054a51b8fc4f",
+ "0x0000000000000000000000009a88ecd80a501bb41902deaee9869dd5b4b218f8",
+ "0x0000000000000000000000001f7d7550b1b028f7571e69a784071f0205fd2efa"
+ ],
+ "data": "0x0000000000000000000000000bd7d308f8e1639fab988df18a8011f41eacad73000000000000000000000000f11561e6448924ecc6e68b0fa59408089fb775c10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000132e50000000000000000000000000000000000000000000000000000000001853d39000000000000000000000000000000000000000000000000016345785d8a0000",
+ "blockNumber": "6875356",
+ "transactionHash": "0x3609a3f2349ec3c8f3b629993dd545a3d1c1cc000b41afd03b54e9d23bacd691",
+ "transactionIndex": 6,
+ "blockHash": "0xf3b3b1408a86e642b49c4d5faf5c64c68e2c655dcd297402127e1ec81dc59873",
+ "blockTimestamp": "0",
+ "logIndex": 45,
+ "removed": false
+ },
+ {
+ "eventName": "TokenLaunched",
+ "args": {
+ "token": "0x7106A6E41d56d589d79BA562932A818F91D22979",
+ "deployer": "0x366823531f11B431983c456056702B5B984470B4",
+ "dexFactory": "0x1f7d7550B1b028f7571E69A784071F0205FD2EfA",
+ "pairToken": "0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73",
+ "pool": "0x41d24BD97b641f11877f779536fd39094a49Fc10",
+ "dexId": "0",
+ "launchConfigId": "0",
+ "positionId": "78581",
+ "restrictionsEndBlock": "25509177",
+ "initialBuyAmount": "44955000000000000"
+ },
+ "address": "0xd9ec2db5f3d1b236843925949fe5bd8a3836fccb",
+ "topics": [
+ "0xdb51ea9ad51ab453a65a4cb7e60c3cb378c9501bb002609f8f97778fb6c4235a",
+ "0x0000000000000000000000007106a6e41d56d589d79ba562932a818f91d22979",
+ "0x000000000000000000000000366823531f11b431983c456056702b5b984470b4",
+ "0x0000000000000000000000001f7d7550b1b028f7571e69a784071f0205fd2efa"
+ ],
+ "data": "0x0000000000000000000000000bd7d308f8e1639fab988df18a8011f41eacad7300000000000000000000000041d24bd97b641f11877f779536fd39094a49fc100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000132f50000000000000000000000000000000000000000000000000000000001853d39000000000000000000000000000000000000000000000000009fb65595e0b000",
+ "blockNumber": "6875400",
+ "transactionHash": "0x581730ed7a4c5fea2663e6e50a332656013b9f471e481f3c7a2351f00781c440",
+ "transactionIndex": 2,
+ "blockHash": "0xcc9fe57de63ea6564076cb699ba2df62d486389944d6a57488406ca7c4a2178a",
+ "blockTimestamp": "0",
+ "logIndex": 20,
+ "removed": false
+ },
+ {
+ "eventName": "TokenLaunched",
+ "args": {
+ "token": "0x76Af38cc24f19156491d322439Beca62bdAcBA8a",
+ "deployer": "0x84D7F598C887f94Daae32366EF31a3E21632885F",
+ "dexFactory": "0x1f7d7550B1b028f7571E69A784071F0205FD2EfA",
+ "pairToken": "0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73",
+ "pool": "0x754A69BCB264402D6d635967e73246F54FF57F87",
+ "dexId": "0",
+ "launchConfigId": "0",
+ "positionId": "78582",
+ "restrictionsEndBlock": "25509177",
+ "initialBuyAmount": "400000000000000000"
+ },
+ "address": "0xd9ec2db5f3d1b236843925949fe5bd8a3836fccb",
+ "topics": [
+ "0xdb51ea9ad51ab453a65a4cb7e60c3cb378c9501bb002609f8f97778fb6c4235a",
+ "0x00000000000000000000000076af38cc24f19156491d322439beca62bdacba8a",
+ "0x00000000000000000000000084d7f598c887f94daae32366ef31a3e21632885f",
+ "0x0000000000000000000000001f7d7550b1b028f7571e69a784071f0205fd2efa"
+ ],
+ "data": "0x0000000000000000000000000bd7d308f8e1639fab988df18a8011f41eacad73000000000000000000000000754a69bcb264402d6d635967e73246f54ff57f870000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000132f60000000000000000000000000000000000000000000000000000000001853d39000000000000000000000000000000000000000000000000058d15e176280000",
+ "blockNumber": "6875426",
+ "transactionHash": "0x8fe1dbb95e02e9d31175d649ddb45d0841e00d1662fe451f3b47d7df2dc0854b",
+ "transactionIndex": 7,
+ "blockHash": "0x670149299033c5c42d96c00964c6654ab2e347937725e5e95d41530d7f306a2e",
+ "blockTimestamp": "0",
+ "logIndex": 17,
+ "removed": false
+ },
+ {
+ "eventName": "TokenLaunched",
+ "args": {
+ "token": "0x2dF613c56397250EF4A968d942d9F38819992B07",
+ "deployer": "0xDE078309d8260FA4Caf3baA6852B0561B645b710",
+ "dexFactory": "0x1f7d7550B1b028f7571E69A784071F0205FD2EfA",
+ "pairToken": "0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73",
+ "pool": "0x2D4Ee92Cf1c929247a91485A13F00209527D4a59",
+ "dexId": "0",
+ "launchConfigId": "0",
+ "positionId": "78583",
+ "restrictionsEndBlock": "25509178",
+ "initialBuyAmount": "250000000000000000"
+ },
+ "address": "0xd9ec2db5f3d1b236843925949fe5bd8a3836fccb",
+ "topics": [
+ "0xdb51ea9ad51ab453a65a4cb7e60c3cb378c9501bb002609f8f97778fb6c4235a",
+ "0x0000000000000000000000002df613c56397250ef4a968d942d9f38819992b07",
+ "0x000000000000000000000000de078309d8260fa4caf3baa6852b0561b645b710",
+ "0x0000000000000000000000001f7d7550b1b028f7571e69a784071f0205fd2efa"
+ ],
+ "data": "0x0000000000000000000000000bd7d308f8e1639fab988df18a8011f41eacad730000000000000000000000002d4ee92cf1c929247a91485a13f00209527d4a590000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000132f70000000000000000000000000000000000000000000000000000000001853d3a00000000000000000000000000000000000000000000000003782dace9d90000",
+ "blockNumber": "6875453",
+ "transactionHash": "0x6af59deccb660e981fbe1f5fb9be906f5b831ccb05b799df738def6ed3708726",
+ "transactionIndex": 12,
+ "blockHash": "0x69331ccecd9d61eb5fccc64de36488780c19ffb7030342e92bc56d6133f67204",
+ "blockTimestamp": "0",
+ "logIndex": 47,
+ "removed": false
+ },
+ {
+ "eventName": "TokenLaunched",
+ "args": {
+ "token": "0xd48794837551AD6711355AeEcC17F9D286C48017",
+ "deployer": "0x83598FBDF10614F4a26f1A79447918F89D4cc3A1",
+ "dexFactory": "0x1f7d7550B1b028f7571E69A784071F0205FD2EfA",
+ "pairToken": "0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73",
+ "pool": "0x906897354bBC1FD02B220680Ac9Ba308018b23fc",
+ "dexId": "0",
+ "launchConfigId": "0",
+ "positionId": "78584",
+ "restrictionsEndBlock": "25509178",
+ "initialBuyAmount": "29999999999999998"
+ },
+ "address": "0xd9ec2db5f3d1b236843925949fe5bd8a3836fccb",
+ "topics": [
+ "0xdb51ea9ad51ab453a65a4cb7e60c3cb378c9501bb002609f8f97778fb6c4235a",
+ "0x000000000000000000000000d48794837551ad6711355aeecc17f9d286c48017",
+ "0x00000000000000000000000083598fbdf10614f4a26f1a79447918f89d4cc3a1",
+ "0x0000000000000000000000001f7d7550b1b028f7571e69a784071f0205fd2efa"
+ ],
+ "data": "0x0000000000000000000000000bd7d308f8e1639fab988df18a8011f41eacad73000000000000000000000000906897354bbc1fd02b220680ac9ba308018b23fc0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000132f80000000000000000000000000000000000000000000000000000000001853d3a000000000000000000000000000000000000000000000000006a94d74f42fffe",
+ "blockNumber": "6875479",
+ "transactionHash": "0x37929c1954078cc2ee78ca3a72760ccccec890d283c1669839aa7df3d5817d1c",
+ "transactionIndex": 11,
+ "blockHash": "0x6796fa3cddd4f6cf74cf3e9efb5946025fe5a7915cb4676304d9e8a10bfea1fb",
+ "blockTimestamp": "0",
+ "logIndex": 86,
+ "removed": false
+ },
+ {
+ "eventName": "TokenLaunched",
+ "args": {
+ "token": "0xe945ef7ceaD0006d80692877A86645Be4AF536f1",
+ "deployer": "0x11EBd73CF5f23bcaa69EeE53C0E601E362a4E20e",
+ "dexFactory": "0x1f7d7550B1b028f7571E69A784071F0205FD2EfA",
+ "pairToken": "0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73",
+ "pool": "0xC4c60749F92302f91392d31e0Efe997471722D8d",
+ "dexId": "0",
+ "launchConfigId": "0",
+ "positionId": "78585",
+ "restrictionsEndBlock": "25509178",
+ "initialBuyAmount": "27659464000000000"
+ },
+ "address": "0xd9ec2db5f3d1b236843925949fe5bd8a3836fccb",
+ "topics": [
+ "0xdb51ea9ad51ab453a65a4cb7e60c3cb378c9501bb002609f8f97778fb6c4235a",
+ "0x000000000000000000000000e945ef7cead0006d80692877a86645be4af536f1",
+ "0x00000000000000000000000011ebd73cf5f23bcaa69eee53c0e601e362a4e20e",
+ "0x0000000000000000000000001f7d7550b1b028f7571e69a784071f0205fd2efa"
+ ],
+ "data": "0x0000000000000000000000000bd7d308f8e1639fab988df18a8011f41eacad73000000000000000000000000c4c60749f92302f91392d31e0efe997471722d8d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000132f90000000000000000000000000000000000000000000000000000000001853d3a00000000000000000000000000000000000000000000000000624422ce65d000",
+ "blockNumber": "6875517",
+ "transactionHash": "0xff569a3efc9d1e0acbf70f246eb5e6a524f752147e20052ada31044e776dd5e2",
+ "transactionIndex": 1,
+ "blockHash": "0xbd2a90881a46e4c4628575faa8548a43d51369c349788e5b8ca2ef841b9ab12a",
+ "blockTimestamp": "0",
+ "logIndex": 13,
+ "removed": false
+ }
+ ],
+ "created": [
+ {
+ "eventName": "TokenCreated",
+ "args": {
+ "token": "0x0A87fC6e72aAa82D69b98CdD87d4fC9528a75B2d",
+ "creator": "0x989F8a60f20D914D3470F2D108E63DCE5279Da07",
+ "backingWallet": "0x1905B77153a0c0876Fcd637Fc3e3dD619dA3A762",
+ "isMarginBacked": true,
+ "threshold": "2000000000000000000"
+ },
+ "address": "0xeb3feed2716cf0eeada05b22e67424794e1f5a80",
+ "topics": [
+ "0xa52263eeb2ea349365a35c006fc978b0b85eb109fe50959959c829b329bebf9e",
+ "0x0000000000000000000000000a87fc6e72aaa82d69b98cdd87d4fc9528a75b2d",
+ "0x000000000000000000000000989f8a60f20d914d3470f2d108e63dce5279da07"
+ ],
+ "data": "0x0000000000000000000000001905b77153a0c0876fcd637fc3e3dd619da3a76200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000001bc16d674ec80000",
+ "blockNumber": "6810940",
+ "transactionHash": "0x0ff1708c501ba096b12b426ba3c4b6596db430947f97c07648a439bb6e236138",
+ "transactionIndex": 24,
+ "blockHash": "0xfd69f871d4718e74f33c3190c02427717ccaf474c72f3a538a219a360176f7df",
+ "blockTimestamp": "0",
+ "logIndex": 17,
+ "removed": false
+ },
+ {
+ "eventName": "TokenCreated",
+ "args": {
+ "token": "0x273c28DBd0F09Db6702C19EFD437f44B4F814b06",
+ "creator": "0x41f6D69f10De43c94DA32BD13C505533304C232A",
+ "backingWallet": "0x22114F757712A54205B84AFc2020C5E15CeA2Af6",
+ "isMarginBacked": true,
+ "threshold": "3000000000000000000"
+ },
+ "address": "0xeb3feed2716cf0eeada05b22e67424794e1f5a80",
+ "topics": [
+ "0xa52263eeb2ea349365a35c006fc978b0b85eb109fe50959959c829b329bebf9e",
+ "0x000000000000000000000000273c28dbd0f09db6702c19efd437f44b4f814b06",
+ "0x00000000000000000000000041f6d69f10de43c94da32bd13c505533304c232a"
+ ],
+ "data": "0x00000000000000000000000022114f757712a54205b84afc2020c5e15cea2af6000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000029a2241af62c0000",
+ "blockNumber": "5256967",
+ "transactionHash": "0xd59711a36c5da21761ac36d3bcc6442771d9e5b5781039df970ea1d1c04761d7",
+ "transactionIndex": 15,
+ "blockHash": "0x4218fa94b854643fc6071bbab37fb82c846fbedc8c3153110750778b8aa35ca8",
+ "blockTimestamp": "0",
+ "logIndex": 64,
+ "removed": false
+ }
+ ],
+ "migrated": [],
+ "pool": "0xf11561e6448924ECC6e68B0fA59408089FB775C1",
+ "swaps": [
+ {
+ "eventName": "Swap",
+ "args": {
+ "sender": "0xCaf681a66D020601342297493863E78C959E5cb2",
+ "recipient": "0x9a88ECd80A501BB41902DeAeE9869Dd5b4b218f8",
+ "amount0": "100000000000000000",
+ "amount1": "-68057245261861571047346184",
+ "sqrtPriceX96": "2005366647941715384651103712059394",
+ "liquidity": "36819258015569838458222",
+ "tick": 202790
+ },
+ "address": "0xf11561e6448924ecc6e68b0fa59408089fb775c1",
+ "topics": [
+ "0xc42079f94a6350d7e6235f29174924f928cc2ac818eb64fed8004e115fbcca67",
+ "0x000000000000000000000000caf681a66d020601342297493863e78c959e5cb2",
+ "0x0000000000000000000000009a88ecd80a501bb41902deaee9869dd5b4b218f8"
+ ],
+ "data": "0x000000000000000000000000000000000000000000000000016345785d8a0000ffffffffffffffffffffffffffffffffffffffffffc7b4515778b42d5511aff800000000000000000000000000000000000062df491c3ce313d33588bca420020000000000000000000000000000000000000000000007cbf9d9985f0629c56e0000000000000000000000000000000000000000000000000000000000031826",
+ "blockNumber": "6875356",
+ "transactionHash": "0x3609a3f2349ec3c8f3b629993dd545a3d1c1cc000b41afd03b54e9d23bacd691",
+ "transactionIndex": 6,
+ "blockHash": "0xf3b3b1408a86e642b49c4d5faf5c64c68e2c655dcd297402127e1ec81dc59873",
+ "blockTimestamp": "0",
+ "logIndex": 49,
+ "removed": false
+ },
+ {
+ "eventName": "Swap",
+ "args": {
+ "sender": "0xCaf681a66D020601342297493863E78C959E5cb2",
+ "recipient": "0x73F48cE15383F442F71130C28f955998B0a04580",
+ "amount0": "29956426031064976",
+ "amount1": "-18620376728040366121968156",
+ "sqrtPriceX96": "1965299076974854451004066218542391",
+ "liquidity": "36819258015569838458222",
+ "tick": 202386
+ },
+ "address": "0xf11561e6448924ecc6e68b0fa59408089fb775c1",
+ "topics": [
+ "0xc42079f94a6350d7e6235f29174924f928cc2ac818eb64fed8004e115fbcca67",
+ "0x000000000000000000000000caf681a66d020601342297493863e78c959e5cb2",
+ "0x00000000000000000000000073f48ce15383f442f71130c28f955998b0a04580"
+ ],
+ "data": "0x000000000000000000000000000000000000000000000000006a6d35f4526790fffffffffffffffffffffffffffffffffffffffffff098fb5adddf5a9ac79de400000000000000000000000000000000000060e58fce578ab0a7b8b0778e85370000000000000000000000000000000000000000000007cbf9d9985f0629c56e0000000000000000000000000000000000000000000000000000000000031692",
+ "blockNumber": "6875441",
+ "transactionHash": "0x81b323125342082593368c2334400775289862e7395fce5779f20c2352f500f7",
+ "transactionIndex": 1,
+ "blockHash": "0x92c4b42fbd9585e339f52fb10209596ffe9cea78551111e880f319430c94cbf6",
+ "blockTimestamp": "0",
+ "logIndex": 2,
+ "removed": false
+ },
+ {
+ "eventName": "Swap",
+ "args": {
+ "sender": "0x65050A9b7E5075A2bA5cED7b1b64EE66262c40Dc",
+ "recipient": "0x5562a409A6dcA815723E2bA0716aFfFc843Ddd3f",
+ "amount0": "9900000000000000",
+ "amount1": "-5991151214504217396006043",
+ "sqrtPriceX96": "1952407239179819351046716311084880",
+ "liquidity": "36819258015569838458222",
+ "tick": 202254
+ },
+ "address": "0xf11561e6448924ecc6e68b0fa59408089fb775c1",
+ "topics": [
+ "0xc42079f94a6350d7e6235f29174924f928cc2ac818eb64fed8004e115fbcca67",
+ "0x00000000000000000000000065050a9b7e5075a2ba5ced7b1b64ee66262c40dc",
+ "0x0000000000000000000000005562a409a6dca815723e2ba0716afffc843ddd3f"
+ ],
+ "data": "0x00000000000000000000000000000000000000000000000000232bff5f46c000fffffffffffffffffffffffffffffffffffffffffffb0b530ab877f850edb3650000000000000000000000000000000000006042d8080ec74cef7a123f161f500000000000000000000000000000000000000000000007cbf9d9985f0629c56e000000000000000000000000000000000000000000000000000000000003160e",
+ "blockNumber": "6875453",
+ "transactionHash": "0x088a5b7773fff6d7b670c313dcaea7cff2c2cbb5e33a2f1773f99b474c329bad",
+ "transactionIndex": 4,
+ "blockHash": "0x69331ccecd9d61eb5fccc64de36488780c19ffb7030342e92bc56d6133f67204",
+ "blockTimestamp": "0",
+ "logIndex": 8,
+ "removed": false
+ },
+ {
+ "eventName": "Swap",
+ "args": {
+ "sender": "0xCaf681a66D020601342297493863E78C959E5cb2",
+ "recipient": "0x73F48cE15383F442F71130C28f955998B0a04580",
+ "amount0": "-29751366617727275",
+ "amount1": "18620376728040366121968156",
+ "sqrtPriceX96": "1992074134437011675357283427558353",
+ "liquidity": "36819258015569838458222",
+ "tick": 202657
+ },
+ "address": "0xf11561e6448924ecc6e68b0fa59408089fb775c1",
+ "topics": [
+ "0xc42079f94a6350d7e6235f29174924f928cc2ac818eb64fed8004e115fbcca67",
+ "0x000000000000000000000000caf681a66d020601342297493863e78c959e5cb2",
+ "0x00000000000000000000000073f48ce15383f442f71130c28f955998b0a04580"
+ ],
+ "data": "0xffffffffffffffffffffffffffffffffffffffffffffffffff964d4a292afed50000000000000000000000000000000000000000000f6704a52220a56538621c000000000000000000000000000000000000623782aec64f71ac731b8d9823d10000000000000000000000000000000000000000000007cbf9d9985f0629c56e00000000000000000000000000000000000000000000000000000000000317a1",
+ "blockNumber": "6875454",
+ "transactionHash": "0xc089ea37f8b31a827c767c9c60ae600c6cbdde79998fd2359e3f735323ef80d6",
+ "transactionIndex": 4,
+ "blockHash": "0x3c2456c67b0843f3958a24444af875821c5e6ac70b96c5ce723f9a17b0c1b7f4",
+ "blockTimestamp": "0",
+ "logIndex": 15,
+ "removed": false
+ },
+ {
+ "eventName": "Swap",
+ "args": {
+ "sender": "0xc6cdc85A225236013EE9B3b47Dd05c07aEd1FaBc",
+ "recipient": "0xc6cdc85A225236013EE9B3b47Dd05c07aEd1FaBc",
+ "amount0": "-99345294166392569",
+ "amount1": "68057245261861571047346184",
+ "sqrtPriceX96": "2137056143057168266256708978748084",
+ "liquidity": "36819258015569838458222",
+ "tick": 204062
+ },
+ "address": "0xf11561e6448924ecc6e68b0fa59408089fb775c1",
+ "topics": [
+ "0xc42079f94a6350d7e6235f29174924f928cc2ac818eb64fed8004e115fbcca67",
+ "0x000000000000000000000000c6cdc85a225236013ee9b3b47dd05c07aed1fabc",
+ "0x000000000000000000000000c6cdc85a225236013ee9b3b47dd05c07aed1fabc"
+ ],
+ "data": "0xfffffffffffffffffffffffffffffffffffffffffffffffffe9f0dfb371b0107000000000000000000000000000000000000000000384baea8874bd2aaee5008000000000000000000000000000000000000695d70d17967bd48148547fe2ab40000000000000000000000000000000000000000000007cbf9d9985f0629c56e0000000000000000000000000000000000000000000000000000000000031d1e",
+ "blockNumber": "6875721",
+ "transactionHash": "0xd046e05309b69d8a5e75fefbffa2883899b3e932a081df01c4686db5366ae1af",
+ "transactionIndex": 22,
+ "blockHash": "0x833def4e7dbf0c8e39061100b644b09711430366ad206c28eb03710eac6ae31a",
+ "blockTimestamp": "0",
+ "logIndex": 59,
+ "removed": false
+ },
+ {
+ "eventName": "Swap",
+ "args": {
+ "sender": "0xe492912F37C2A4eCa45D42DC67548F4C6Cd7ce2B",
+ "recipient": "0xe492912F37C2A4eCa45D42DC67548F4C6Cd7ce2B",
+ "amount0": "-8103764319701879",
+ "amount1": "5991151214504217396006043",
+ "sqrtPriceX96": "2149819062474253015214485385416211",
+ "liquidity": "36819258015569838458222",
+ "tick": 204181
+ },
+ "address": "0xf11561e6448924ecc6e68b0fa59408089fb775c1",
+ "topics": [
+ "0xc42079f94a6350d7e6235f29174924f928cc2ac818eb64fed8004e115fbcca67",
+ "0x000000000000000000000000e492912f37c2a4eca45d42dc67548f4c6cd7ce2b",
+ "0x000000000000000000000000e492912f37c2a4eca45d42dc67548f4c6cd7ce2b"
+ ],
+ "data": "0xffffffffffffffffffffffffffffffffffffffffffffffffffe335ab5661748900000000000000000000000000000000000000000004f4acf5478807af124c9b00000000000000000000000000000000000069fe8808f9c2c667713b84ea8e130000000000000000000000000000000000000000000007cbf9d9985f0629c56e0000000000000000000000000000000000000000000000000000000000031d95",
+ "blockNumber": "6875790",
+ "transactionHash": "0xa4bbac0b3b7971be1077c3472776ba9d32f9f3467961b53cc82ed369cd6f7414",
+ "transactionIndex": 10,
+ "blockHash": "0x28bc2f4024a49452977c41d0d8f3002dc9999cdcc819a0f25a984ea6a7b95d29",
+ "blockTimestamp": "0",
+ "logIndex": 18,
+ "removed": false
+ }
+ ]
+}
\ No newline at end of file
diff --git a/workers/robinhood-feed/tests/fixtures/traded-logs.json b/workers/robinhood-feed/tests/fixtures/traded-logs.json
new file mode 100644
index 000000000..acdd7c1af
--- /dev/null
+++ b/workers/robinhood-feed/tests/fixtures/traded-logs.json
@@ -0,0 +1,88 @@
+{
+ "latest": "7729919",
+ "traded": [
+ {
+ "eventName": "Traded",
+ "args": {
+ "token": "0x6b21b4567EfAd992B65f8a92457B45a74ed59486",
+ "trader": "0xEd3ECeCD6Fb792ba96039EaCD9dD3a0A72b6Ce42",
+ "isBuy": false,
+ "tokenAmount": "29689874572625",
+ "quoteAmount": "90044474151232482",
+ "fee": "1800889483024649",
+ "virtualQuote": "1754158244562434704",
+ "virtualToken": "608078929009475"
+ },
+ "address": "0x6ce85c4b7ce12903e5867652c265bccce57f935f",
+ "topics": [
+ "0x4d4529d9467baf02c8c4ca22b1760fbfd71d9789dcb37d08f10d0070cc0b65bd",
+ "0x0000000000000000000000006b21b4567efad992b65f8a92457b45a74ed59486",
+ "0x000000000000000000000000ed3ececd6fb792ba96039eacd9dd3a0a72b6ce42"
+ ],
+ "data": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b00b66d6551000000000000000000000000000000000000000000000000013fe6f8dfc563e2000000000000000000000000000000000000000000000000000665e641ea5909000000000000000000000000000000000000000000000000185805a126f77a900000000000000000000000000000000000000000000000000002290b688f1b43",
+ "blockNumber": "7717174",
+ "transactionHash": "0xcfe9b4bd55ad7396635171785f327813f0f5f8e02be6568ebdbfb308974841e5",
+ "transactionIndex": 6,
+ "blockHash": "0x571b27389dbfef55a16bbc5c2732019f9000d13f003aec22556ac0bbcf3b3f57",
+ "blockTimestamp": "0",
+ "logIndex": 25,
+ "removed": false
+ },
+ {
+ "eventName": "Traded",
+ "args": {
+ "token": "0x6b21b4567EfAd992B65f8a92457B45a74ed59486",
+ "trader": "0x19583c7742ba0BFdb3d4e6d3620758ba6485F988",
+ "isBuy": true,
+ "tokenAmount": "3050987547020",
+ "quoteAmount": "9606812600178860",
+ "fee": "192136252003578",
+ "virtualQuote": "1837477730857042305",
+ "virtualToken": "580505901515959"
+ },
+ "address": "0x6ce85c4b7ce12903e5867652c265bccce57f935f",
+ "topics": [
+ "0x4d4529d9467baf02c8c4ca22b1760fbfd71d9789dcb37d08f10d0070cc0b65bd",
+ "0x0000000000000000000000006b21b4567efad992b65f8a92457b45a74ed59486",
+ "0x00000000000000000000000019583c7742ba0bfdb3d4e6d3620758ba6485f988"
+ ],
+ "data": "0x0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000002c65d07698c000000000000000000000000000000000000000000000000002221585c7518ac0000000000000000000000000000000000000000000000000000aebf350c94fa00000000000000000000000000000000000000000000000019800842c66cc18100000000000000000000000000000000000000000000000000020ff7900cc4b7",
+ "blockNumber": "7690677",
+ "transactionHash": "0xcacdefcc6426fc7b661583a51fad48866bddf674107f878ddfc4e6862c30f738",
+ "transactionIndex": 7,
+ "blockHash": "0xc6f01148430a052f897148e1440ad85462b33464b1fc299c73675a07e5214142",
+ "blockTimestamp": "0",
+ "logIndex": 47,
+ "removed": false
+ },
+ {
+ "eventName": "Traded",
+ "args": {
+ "token": "0x6b21b4567EfAd992B65f8a92457B45a74ed59486",
+ "trader": "0x19583c7742ba0BFdb3d4e6d3620758ba6485F988",
+ "isBuy": true,
+ "tokenAmount": "2116847079109",
+ "quoteAmount": "6724987856624881",
+ "fee": "134499757132498",
+ "virtualQuote": "1844202718713667186",
+ "virtualToken": "578389054436850"
+ },
+ "address": "0x6ce85c4b7ce12903e5867652c265bccce57f935f",
+ "topics": [
+ "0x4d4529d9467baf02c8c4ca22b1760fbfd71d9789dcb37d08f10d0070cc0b65bd",
+ "0x0000000000000000000000006b21b4567efad992b65f8a92457b45a74ed59486",
+ "0x00000000000000000000000019583c7742ba0bfdb3d4e6d3620758ba6485f988"
+ ],
+ "data": "0x0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000001ecddeb0ec50000000000000000000000000000000000000000000000000017e45740501cf100000000000000000000000000000000000000000000000000007a53aa3f0ad20000000000000000000000000000000000000000000000001997ec9a06bcde7200000000000000000000000000000000000000000000000000020e0ab221b5f2",
+ "blockNumber": "7691137",
+ "transactionHash": "0xdb47d6f7258bb8eb4af3e42b9b5112d82859f6ec464b15f8229933593d65d99c",
+ "transactionIndex": 6,
+ "blockHash": "0x384de60814f42e97629693973e505807b8b6ea52b6c0aada81b1f08414814b08",
+ "blockTimestamp": "0",
+ "logIndex": 23,
+ "removed": false
+ }
+ ],
+ "created": [],
+ "noxa": []
+}
\ No newline at end of file