Skip to content

## Bug Report: SDK v1.0.2 Incompatible with Lighter API #103

@DiegorrQuant

Description

@DiegorrQuant

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions