Current model
Joyride identifies trading accounts by wallet address.HTTP
Wallet identity is taken from:x-walletheader,x-device-idheader (mobile compatibility), orwalletquery parameter
WebSocket
The gateway requires a SIWS-style challenge/response before anyprivate/* method:
- Request a nonce:
- Sign the message
Sign in to Joyride\n\nWallet: {wallet}\nNonce: {nonce}with the wallet’s ed25519 key. - Submit the signed payload:
Admin endpoints
Admin routes require:ADMIN_TOKEN is read from the server environment.
For hosted environments, use an issued admin token and send it as a bearer token on each admin request.