We would like to inform you that, as of version v4.5.50, we’ve introduced important updates to the Lighter integration in CCXT.
These changes simplify and improve usage but require updates to your existing setup (it's a breaking change).
As a result:
- authentication has been significantly simplified, only the L1 privateKey is now required
-
apiKeyIndex, accountIndex values are now optional, if not available CCXT will generate them- CCXT now uses the latest Lighter binaries, improving compatibility and performance, you can download them
- here https://github.com/ccxt/lighter-wasm
- or https://github.com/elliottech/lighter-python/tree/main/lighter/signers
- CCXT has joined the Lighter Builder Codes program to help support the ongoing development and maintenance of the project, users trading on Lighter via CCXT will incur an additional fee of 0.01% but participation is entirely optional.
Example:
lighter = ccxt.lighter({
'privateKey': 'YOUR_L1_PRIVATE_KEY',
})Detailed instructions: https://github.com/ccxt/ccxt/wiki/FAQ#how-to-use-the-lighter-exchange-in-ccxt
If you have any questions or require assistance, please do not hesitate to reach out to the CCXT team.
Thank you for your continued support.
Best regards,
The CCXT Team ✅