InfernoDocs

Documentation

Authentication

Sign in with Ethereum in the browser. Trades still use your Inferno wallet.

Inferno SIWE messages are EIP-4361 style, signed with EIP-191 personal_sign, on Robinhood Chain (4663). The statement is Sign in to Inferno.

Nonce

POSThttps://inferno.trade/api/auth/siwe/nonce

Public. Issues a one-time message for the wallet to sign.

{
  "address": "0xYourWallet"
}

Optional chainId (number). Defaults to 4663. The response includes the exact message string — sign that, not a reconstructed copy.

Verify

POSThttps://inferno.trade/api/auth/siwe/verify
{
  "address": "0xYourWallet",
  "message": "<exact message from nonce>",
  "signature": "0x..."
}

Browser SIWE sets an HttpOnly session cookie. If this address is new, Inferno creates a user and links walletAddress. If it already belongs to an account (or matches a custodial Inferno wallet), that user is reused.

Browser login

The login modal lists injected wallets via EIP-6963 (MetaMask first). Sign in with Ethereum is identity only — Inferno trades in the UI still use the custodial wallet.