Security

TopicPractice
SecretsPRIVATE_KEY and ADMIN_API_KEY server only; never in client bundles
Admin routesx-admin-key header when ADMIN_API_KEY is set
Perp marksRead only from the client; engine runs server side
Rate limitsBootstrap, sync, and nudge endpoints
CSPConfigured in next.config.ts
User fundsUsers sign their own transactions; Loop does not custody wallets

PRIVATE_KEY signs oracle updates and operational transactions. It is not used for user authentication or delegated trading.