Skip to content

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

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions