Protocol
Contracts & networks
HoodPerp runs on Robinhood Chain. This page lists the network parameters and the on-chain contracts that power swaps, deposits, and buybacks.
Network#
| Parameter | Value |
|---|---|
| Network | Robinhood Chain |
| Chain ID | 4663 |
| RPC | https://rpc.mainnet.chain.robinhood.com |
| Explorer | robinhoodchain.blockscout.com |
| Native currency | ETH |
Core tokens#
| Token | Address |
|---|---|
| USDG | 0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168 |
| Stock tokens | Listed on the Blockscout token list |
Contracts#
| Contract | Address | Role |
|---|---|---|
| Router | 0xfcF6B2f693027bB493974ECDb4f5035B78F8b90A | Atomic stock → USDG swap + Lighter perps deposit |
| WithdrawRouter | 0x3E28321aa7e9fD423A99f56942AccE23aD9d18DC | USDG → stock token after Lighter withdrawal settles on L1 |
| USDG | 0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168 | Margin collateral stablecoin (6 decimals) |
| Lighter | 0x94bAB9693Ba2f6358507eFfcbd372b0660AFfF9d | On-chain deposit / settlement contract |
| Uniswap Universal Router | 0x8876789976dEcBfCbBbe364623C63652db8C0904 | Spot swaps (Uniswap v4) |
| Permit2 | 0x000000000022D473030F116dDEE9F6B43aC78BA3 | Token approvals for the Universal Router |
Router details#
- Entrypoint:
convertAndDeposit(stockToken, amountIn, minUsdgOut, deadline)— swaps a stock token to USDG via Uniswap v4 and deposits margin to the caller's Lighter account in one tx. - USDG asset index:
3(Lighter perps route) - Minimum deposit: 1 USDG
- Pre-configured stock tokens: AAPL, TSLA, NVDA, MSFT, GOOGL (more can be added by the owner via
setStockToken)
WithdrawRouter details#
After Lighter settles a USDG withdrawal to your wallet, call the WithdrawRouter to swap USDG back into a supported stock token. Pre-configured targets match the Router's stock list.
i
BuybackVault
The BuybackVault ships separately once the $HPERP token launches. It is not part of the initial trading platform deployment.
Adding the network manually#
json
{
"chainId": 4663,
"chainName": "Robinhood Chain",
"rpcUrls": ["https://rpc.mainnet.chain.robinhood.com"],
"nativeCurrency": { "name": "Ether", "symbol": "ETH", "decimals": 18 },
"blockExplorerUrls": ["https://robinhoodchain.blockscout.com"]
}
