Lighter Docs
  • About Lighter
    • Introduction
    • API Docs (Coming Soon)
    • Whitepaper
    • Technical Architecture (Coming Soon)
  • Perpetual Futures
    • Contract Specifications
    • Order Types and Matching
    • Fair Price Marking
    • PnL And Total Account Value
    • Liquidations & Insurance Fund
    • Funding
    • Fees
    • Self-Trade Prevention
    • Sub-Accounts and API Keys
    • Public Pools
  • Points Program
  • security
    • Security Audits
Powered by GitBook
On this page
  • Sub-Accounts
  • API Keys
  1. Perpetual Futures

Sub-Accounts and API Keys

Sub-Accounts

To create a Lighter account, users need to have an Ethereum wallet. Using their wallet, users can create an account associated with their Ethereum wallet address by signing a message to register their main account with Lighter. They can then deposit assets to the Lighter by sending a deposit transaction from their wallet to Lighter smart contracts.

In addition to the main account created with an Ethereum wallet, users can also create sub-accounts that are tied to the same Ethereum wallet.

API Keys

Each account or sub-account in Lighter can interact with the exchange using its Lighter API keys. These API keys are private keys owned by the account, allowing users to sign requests when interacting with the exchange. The exchange verifies the signed requests to confirm that they are made by the owner of the API key and the corresponding account. Any account or sub-account can register up to 256 API keys.

PreviousSelf-Trade PreventionNextPublic Pools

Last updated 8 months ago