hoodquidity/apps/web/src/lib/chain.ts
Денис Зефиров 24fb890971
All checks were successful
deploy / deploy (push) Successful in 1m8s
feat: mainnet wallet, cyberpunk backdrop layer, real market data, hoodquidity.com
- Switch wallet connect default to Robinhood Chain mainnet (4663); keep testnet
  and anvil selectable. Header chip and hero folio now read Mainnet.
- New CyberGrid fx layer: survey lines, cross marks, corner locators, vertical
  kanji + scramble glyphs across Markets/Campaigns/Positions/Partners/AppBoard,
  echoing the hero's cyberpunk instrumentation.
- New DepthCanyon: 2D isometric voxel crater hero, single contained core glow
  (no bleed onto copy).
- Real per-token market data via Dexscreener /tokens/{mint} on canonical xStock
  mints; realistic prices/volume/liquidity.
- Remove VAULT address line from footer.
- Deploy target -> hoodquidity.com.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-11 23:15:27 +04:00

48 lines
1.3 KiB
TypeScript

import { defineChain } from "viem";
import { arbitrumSepolia } from "viem/chains";
/**
* Robinhood Chain mainnet (Arbitrum Orbit L2). Verified live:
* eth_chainId on the RPC returns 0x1237 = 4663.
*/
export const robinhoodMainnet = defineChain({
id: 4663,
name: "Robinhood Chain",
nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
rpcUrls: {
default: { http: ["https://rpc.mainnet.chain.robinhood.com/rpc"] },
},
blockExplorers: {
default: {
name: "Blockscout",
url: "https://robinhoodchain.blockscout.com",
},
},
});
/**
* Robinhood Chain testnet. Verified live: eth_chainId returns 0xb626 = 46630.
* Faucet: https://faucet.testnet.chain.robinhood.com
*/
export const robinhoodTestnet = defineChain({
id: 46_630,
name: "Robinhood Chain Testnet",
nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
rpcUrls: {
default: { http: ["https://rpc.testnet.chain.robinhood.com/rpc"] },
},
blockExplorers: {
default: {
name: "Robinhood Explorer",
url: "https://explorer.testnet.chain.robinhood.com",
},
},
testnet: true,
});
export const deployChain = arbitrumSepolia;
/** Public RPC for live chain stats shown in the UI (block number, gas). */
export const STATS_RPC_URL = "https://1rpc.io/eth";
export const DEXSCREENER_API = "https://api.dexscreener.com";