-
Notifications
You must be signed in to change notification settings - Fork 137
Open
Description
Bug Report: SDK v1.0.2 Incompatible with Lighter API
Problem: All order operations fail with error code 21136
Error Message:
HTTP response body: code=21136 message='invalid PublicKey, update the sdk to the latest version'
Affected Operations:
- create_market_order
- create_sl_order
- create_tp_order
- create_order (all types)
SDK Version: 1.0.2 (latest from main branch)
Expected: Orders should be placed successfully
Actual: All orders fail with PublicKey validation error
Root Cause:
The Lighter API now requires a PublicKey field in transaction payloads, but SDK v1.0.2's compiled signer (lighter-signer-linux-amd64.so) doesn't include this field.
Request:
Please update the SDK and signer binary to include PublicKey field in all transaction types.
Workaround Needed:
Is there a temporary solution while waiting for SDK update?
daedra86
Metadata
Metadata
Assignees
Labels
No labels