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.
Last updated