9 Commits
Author SHA1 Message Date
zeekayandHanzo Dev 558d30009f go 1.26.8
One toolchain across the estate. The tree carried 1.26.0, .1, .3, .4 and .5
at once, so which compiler built a binary depended on which repo it came
from.

Co-authored-by: Hanzo Dev <[email protected]>
2026-09-08 23:58:13 -07:00
zeekayandHanzo Dev e41949ffc0 the corporate name is Lux Industries Inc
Lux Partners Limited is not the entity behind this work. Every place the
old name stood — copyright lines, site footers, brand config, legal and
compliance text — now names the company that actually holds it.

lux.fund is the exception and is not renamed to match: that site belongs
to Lux Assets Management LLC, a different company, and it says so.

Two kinds of line were left for a person rather than rewritten. A dated
news item recording that Lux Partners Limited was established in the Isle
of Man is a historical fact, and renaming it would falsify the record. And
a sentence asserting that the company is domiciled in the Isle of Man is a
claim about a jurisdiction, not a name — an Inc or an LLC is not an Isle
of Man company, so swapping the name there would assert something untrue.

Co-authored-by: Hanzo Dev <[email protected]>
2026-08-28 12:48:08 -07:00
zeekayandHanzo Dev 69c401ddae client: drop the unpublished @luxfi/dex-client stub
Two source files behind a package name that was never published, and
nothing in the tree imports it — every reference is the package naming
itself in its own README, manifest and lockfile. The grpc client it
describes is served by @luxfi/trading, which is published and is what
the 33 call sites actually use.

Co-authored-by: Hanzo Dev <[email protected]>
2026-08-28 12:48:04 -07:00
zeekay 09c17ec533 move C++ SDK out of Go repo — luxcpp/dex is canonical
Deletes orphaned C++ duplicates from the dex Go repo:
  sdk/cpp/         (→ luxcpp/dex/sdk/cpp/)
  sdk/lx-trading-c/  (→ luxcpp/dex/sdk/trading-c/)
  sdk/lx-trading-cpp/(→ luxcpp/dex/sdk/trading-cpp/)
  client/cpp/      (→ luxcpp/dex/client/cpp/)

Confirmed orphaned: the live CGO consumers (pkg/lx/amm_gpu.go,
pkg/lx/signed_order_gpu.go, pkg/lx/signed_order_metal_anchor_darwin.go)
already point their CFLAGS/LDFLAGS at ~/work/luxcpp/dex/build and
~/work/luxcpp/crypto/build. None reference the deleted trees.

luxcpp/dex is 5 months newer (2026-05-05 vs 2025-12-11), so deletion
preserves the canonical version. pkg/orderbook/cpp_orderbook.go's
inline placeholder C++ left untouched — it's a stub, no external link.
2026-05-21 13:57:16 -07:00
zeekay 0d72ccf5a3 lx/dex: gate gRPC transport behind the grpc build tag
Default build pulls zero gRPC code; rebuild with `-tags=grpc` to opt
into gRPC.

Decomplected via a `grpcBackend` interface in `sdk/go/client` and a
`grpcSubClient` interface in `client/go`. The default build wires a
no-op backend (`*_nogrpc.go`); the `grpc` build wires the real
protobuf-backed client (`*_grpc.go`). Public methods stay the same in
both builds — the gRPC fast path is preferred when wired, else
JSON-RPC / WebSocket.

Files gated:
- pkg/grpc/pb/lxdex_grpc.pb.go            (//go:build grpc)
- pkg/proto/engine/proto/lx_engine_grpc.pb.go (//go:build grpc)

Files refactored:
- sdk/go/client.go: //go:build grpc with stub in client_nogrpc.go
- sdk/go/client/client.go: gRPC removed from method bodies; backed by
  the grpcBackend interface (grpc_backend{,_grpc,_nogrpc}.go)
- client/go/main.go: GrpcClient + ConnectGrpc moved to grpc.go
  (//go:build grpc); nogrpc.go stubs ConnectGrpc with a clear error

Verification:
- go build ./... (default) clean across sdk/go, client/go, top-level
- go build -tags=grpc ./... clean across all three modules
- go test ./... and go test -tags=grpc ./... green
- go list -deps shows 0 google.golang.org/grpc packages in default
  builds of sdk/go/client and client/go; 62 packages with -tags=grpc

READMEs in sdk/go and client/go document the build-tag opt-in.
2026-05-16 17:54:11 -07:00
zeekay fae0efeb1b chore: normalize naming to LX across codebase
Apply consistent naming conventions throughout:
- Standardize product name to "LX" in documentation
- Update README files and API documentation
- Apply linter fixes to all source files
- Update Hummingbot connector documentation
2025-12-11 21:04:37 -08:00
zeekay afa78c21c7 fix(docs): resolve MDX syntax issues and escape HTML entities
- Fixed HTML entities inside code blocks (replaced &gt;= with >= etc.)
- Escaped < characters followed by numbers in tables to prevent JSX parsing
- Fixed api-access.mdx latency values that were breaking MDX build
- All 14 review agents verified documentation quality
- Build passes with 135 static pages generated
2025-12-11 19:14:26 -08:00
zeekay 0d0e7a4327 Add more docs / SDKs 2025-12-11 18:10:57 -08:00
zeekay 62e32d1c39 Fix CI workflows to remove non-existent dependencies 2025-08-24 16:16:12 -05:00