51 Commits
Author SHA1 Message Date
zeekay fccdf64c5d fix(dex): point deploys and docs at ghcr.io/luxfi/dex
Helm values, the staging and production manifests, and the operations
guide name the image .github/workflows/docker.yml publishes, so a
rollout pulls and a copied `docker pull` resolves.

deploy.sh deploys that published image; CI owns the multi-arch build.
The image table lists the tag the Dockerfile produces.
2026-09-11 13:47:49 -07:00
zeekay 07d6f6a9bb docs: chain routes are /v1/chain
luxd serves chain APIs under one segment from constants.ChainAliasPrefix
(constants v1.6.4, node v1.36.181):

  /v1/bc/<alias>/...   -> /v1/chain/<alias>/...
  /ext/bc/<alias>/...  -> /v1/chain/<alias>/...

Observations keep their original addresses: a dated note or a recorded status
code is a fact about when it was written, not an instruction to follow.
2026-08-30 17:43:25 -07:00
zeekayandHanzo Dev 3815c14d9c the docs described an ordering the engine does not have
flare.mdx published an OrderTransactions that sorts by priority fee,
highest first. No such function exists, nothing anywhere reads a priority
fee, and the mempool says the opposite in as many words: ordering is
arrival order, and a fee-priority mempool is a future concern the venue
does not have.

That matters more than an ordinary doc error. This repository is public,
and a venue documented as selling position is a different venue from one
where order ids are (height << 32) | txIndex and cannot be bid for. The
page now describes the comparator that runs — price, then the id, FIFO
within a level — and says plainly that fee priority is not it.

Co-authored-by: Hanzo Dev <[email protected]>
2026-08-28 12:48:02 -07:00
zeekay 8d4749c4fb the docs layout imports the face it uses
docs/app/layout.tsx referenced ZenMono without importing it and without @hanzo/font in its dependencies at all, so the docs site could not compile: tsc reports "Cannot find name 'ZenMono'" on the bare tree. Both faces are imported from the package now, and the package is declared. The README hero card still asked for Inter.
2026-08-28 11:28:44 -07:00
zeekay ff0f0c2bc7 fix(type): the binding is named for the face it holds
The docs layout named three different faces in one place: a binding called
`inter` or `geist`, constructed from next/font/google so it actually held Inter,
publishing `--font-geist-sans`, which @hanzo/font does not set. Whichever a
reader trusted, two were wrong.

It takes Zen and ZenMono from @hanzo/font — named `sans` and `mono` for the role
they fill, setting the properties the package publishes.
2026-08-28 09:26:46 -07:00
zeekayandHanzo Dev 2c8ae594e1 docs: correct the Lux Testnet row — wrong chain ID, dead hostnames
The table told a reader to add chain 96370 at api.testnet.lux.network and
to browse testnet.explorer.lux.network. All three values were wrong:
testnet is 96368 (api.lux-test.network answers 0x17870), and neither
hostname resolves at all. This is the page that tells users what to paste
into a wallet, so a wrong chain ID here sends funds to a chain that does
not exist.

Verified live: mainnet 0x17871 (96369), testnet 0x17870 (96368);
explore.lux-test.network and explorer.lux.network both 200.

Co-authored-by: Hanzo Dev <[email protected]>
2026-08-06 18:48:54 -07:00
zeekayandHanzo Dev 95693668b0 rpc: /ext/ -> /v1/ — the dchain doc comments described a route luxd does not serve
luxd serves exactly one HTTP prefix. server/http/server.go:33 sets
baseURL = "/v1"; addRoute and AddAliases derive every path from it and
router.go mounts chains at baseURL+"/bc/C/rpc". /ext/* 404s everywhere.

The pkg/dchain package comments were the load-bearing part: ingest.go,
read.go, vm.go, read_test.go, ingest_test.go and zapingest.go all told
the reader that luxd mounts the DEX handlers at /ext/bc/<chainID>/dex/<m>.
That is the URL an integrator would build, and it 404s. The handlers are
at /v1/bc/<chainID>/dex/<m>.

zapingest.go said "/ext/bc route" with no trailing slash, so it does not
match an /ext/bc/ search -- searching for the whole prefix found it.

Also covers /ext/info, /ext/health and /ext/admin in the two local-network
scripts and in docs/source/node.mdx: baseURL applies to those routes too,
so swapping only the /bc/ ones would leave the scripts half broken.

Measured, positive and negative control on one host:
  api.lux.network/v1/bc/C/rpc -> 200 {"result":"0x17871"}   /ext -> 404
  api.lux.network/v1/info     -> 200 {"networkID":"1"}      /ext -> 404
  api.lux.network/v1/health   -> 405 (exists, GET-only)     /ext -> 404

go build + go vet clean on pkg/dchain, pkg/price, internal/standalone.
go test ./pkg/dchain/... ok 5.855s; go test ./pkg/price -run QChain ok 1.950s.
bash -n clean on both scripts. The repo-wide `go build ./...` was already
failing before this change on cgo packages that need luxcpp and libresolv.

Co-authored-by: Hanzo Dev <[email protected]>
2026-08-06 18:34:12 -07:00
zeekayandHanzo Dev 98338a6c5e fix(docs): finish the half-done migration — dex docs could not install or build
The docs job died at INSTALL, before any of the rest was visible:

    postinstall: hanzo-mdx
    Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@hanzo/docs-core'

This package was mid-migration to the @hanzo toolchain and several pieces were
simply never finished. Each one only became visible once the one before it was
fixed, so they are listed in the order they surfaced:

1. @hanzo/docs-core undeclared — @hanzo/mdx imports it, so postinstall crashed.
2. `hanzo-mdx` with NO ARGUMENTS reports "generated files" and writes nothing.
   It needs `source.config.ts .source`, the form luxfi/consensus uses. Both the
   build and postinstall scripts were bare.
3. zod ^3 — @hanzo/mdx 14.2.x calls `z.looseObject`, which is zod 4:
   `TypeError: z.looseObject is not a function`. Nothing in docs/ imports zod
   directly (0 files), so it exists only for this toolchain; moved to ^4.2.1,
   matching mpc which runs the same generator.
4. `import { docs } from "@/.source"` is a DIRECTORY import and the generator
   emits no index — it writes browser/dynamic/server.ts. Now "@/.source/server".
5. @hanzo/docs undeclared — next.config.mjs imports @hanzo/docs/mdx/next.
6. app/global.css imported `fumadocs-ui/style.css`, an upstream package that is
   not a dependency here. Now @hanzo/docs-ui/style.css, as consensus has it.
7. RootProvider, DocsLayout, DocsPage and defaultMdxComponents were imported
   from `@hanzo/ui`, which exports NONE of them — checked at runtime, all five
   names including `loader` come back undefined. That is the
   "Element type is invalid … got: undefined" build failure. They live in
   @hanzo/docs-ui, where consensus already gets them.
8. docs.toFumadocsSource() does not exist on the @hanzo runtime; loader now
   comes from @hanzo/docs/core/source with toSource().
9. react-day-picker, react-resizable-panels and flexsearch were undeclared
   peers. PINNED to what @hanzo/ui asks for (^9, ^2) — installing latest gives
   react-resizable-panels 4, where `PanelGroup` no longer exists.

Verified as a fresh checkout would run it, with node_modules and .source deleted:

    pnpm install --frozen-lockfile   OK   (was ERR_MODULE_NOT_FOUND)
    .source after install            generated by postinstall
    pnpm build                       OK

Co-authored-by: Hanzo Dev <[email protected]>
2026-08-02 06:46:33 -07:00
zeekayandHanzo Dev 8179bf6ff6 refactor(dex): finish lx→dex fold — fix doc refs (pkg/lx → pkg/dex)
Co-authored-by: Hanzo Dev <[email protected]>
2026-07-02 01:20:32 -07:00
zeekayandHanzo Dev 10a084c0b2 refactor(dex): fold pkg/lx into pkg/dex — one matcher, one package
The matching engine (pkg/lx, 45.5K LOC incl. tests) and the deterministic
core layered on it (pkg/dex) are one matcher spread across two packages
(dex imported lx in 12 files; lx imported neither). Fold lx into dex and
drop the "lx" name entirely — pkg/dex is now the single matcher package.

Pure rename/fold, ZERO logic change. Behavior proven identical: the merged
pkg/dex runs 457 top-level tests (431 former-lx + 26 former-dex) and 489
test funcs (468 + 21), all green — matching, batch (BatchMatchEqualsSequential,
run-to-run determinism, tile boundary), GPU/CPU parity, truncation, and CL
swap math all pass unchanged.

What moved:
- git mv all 101 pkg/lx/*.go + 1 .c into pkg/dex/ (package lx -> package dex).
- lx's swap_test.go -> swap_math_test.go (only filename collision with dex's
  existing swap_test.go).
- Rewrote imports repo-wide: 54 pkg/lx import lines removed; 42 external
  importers (api, client, consensus, dchain, dpdk, lxgpu, marketdata, test/,
  tests/) repointed to pkg/dex with lx.X -> dex.X; the 12 in-package dex files
  had lx.X -> bare X. 717 selector lines rewritten. Stale pkg/lx comment refs
  updated (pkg/lxgpu left intact).

Collisions resolved (2, both package-level vars):
- ErrNoLiquidity: lx's pool-level error (dexError, used only in swap.go, never
  referenced via qualifier) renamed ErrPoolNoLiquidity to match the existing
  ErrPool* convention; dex's router-level ErrNoLiquidity (public, has errors.Is
  tests) kept.
- priceMultiplierBig: identical after fold (both big.NewInt(PriceMultiplier));
  deduped by deleting dex's copy.

Not folded — pkg/orderbook: it is NOT the GPU seam (that is orderbook_gpu.go,
which lives in the engine and folded in here). pkg/orderbook is a zero-importer,
placeholder-cgo island whose 13 core domain identifiers (Order, OrderBook, Trade,
OrderType, OrderStatus, PriceLevel, Buy, Sell, Market, Limit, Filled,
PartiallyFilled, NewOrderBook) collide incompatibly with the engine's. Folding
it verbatim breaks the build; folding via rename reintroduces the exact parallel
duplication this fold removes. Left for owner decision (recommend deletion as
dead code) — see refactor notes.

Follow-on (separate repos, not touched): 19 files under luxfi/dex import
pkg/lx externally — lux/precompile/dex, lux/precompile-dex/dex,
lux/consensus/examples/01-simple-bridge, lux/_consensus-v12537/examples,
lux/cex/pkg/engine — repoint to pkg/dex after this lands.

Verified: CGO_ENABLED=0 GOWORK=off go build ./... clean; go vet ./... clean;
go test ./... -count=1 all green (22 ok / 0 fail).

Co-authored-by: Hanzo Dev <[email protected]>
2026-07-02 00:57:08 -07:00
zeekay 1722b23b89 dex: purge CLOB — DEX (service) + OrderBook (engine)
Decentralized exchange; the engine acts like an order book but is decentralized,
so 'Central Limit Order Book' is a misnomer. Branded/service surface → DEX
(RegisterDEX, DEXMethod*, dex_* wire). Matching engine + GPU → OrderBook
(OrderBookMatch/Source/Arena, source_orderbook.go), preserving the AMM-vs-orderbook
distinction. C-ABI → dex_orderbook_* (matches luxcpp). SDKs/clients/docs aligned.
CGO=0 + cgo builds clean; full suite 23 pkgs green (dchain/dex/lx/fix/gateway/zapwire).
Legit financial-term 'Central Limit Order Book' retained in hummingbot taxonomy.
2026-06-26 13:05:07 -07:00
zeekay f544b3d071 chore: use Lux-native naming for the DEX core/EVM-adapter model
Reword comparison docs, comments, and design prose to Lux's own terms
(native DEX core, EVM adapter / 0x9999 V4 PoolManager, native HFT surface,
one consensus-finalized C+D transition). Rename the test broker-venue label
and oracle source weight to neutral names. Behavior-preserving: no logic,
ABI, or wire format changes.
2026-06-22 16:07:21 -07:00
zeekay bdd566d522 fix(lx): return match fills directly, not via stale trade-log re-slice
SubmitMarketable and MatchOrders derived their returned fills by re-slicing
the shared trade log (ob.Trades[startOffset:]) with an offset captured BEFORE
matching. ob.Trades self-truncates at 100k entries (keeps the last 50k), so a
match that crosses that boundary mid-match trims the log and leaves the
pre-match offset pointing past the end -> panic 'slice bounds out of range'.
The log feeds settlement, so fills had to stay exact.

tryMatchImmediateLocked / MatchOrders now capture each fill as it is produced,
independent of ob.Trades, and return that slice. Decomplects 'this match's
fills' (a value the caller needs) from 'the trade log' (a bounded-retention
buffer): correct across the truncation boundary by construction, deterministic
across validators.

Adds orderbook_truncation_test.go: three regression cases that cross the
boundary through the production match path (single submits, one sweeping
submit, legacy MatchOrders) with exact-fill and value-conservation asserts.
They panic on the old code, pass on the fixed code. No sleeps, no stubs.

Also: 0x9999 D-matches/C-settles docs (LLM.md, README, ARCHITECTURE),
venue-canonical naming, fourpath-live proof tool, drop dead snowman-api key
from run-lux-testnet.sh.
2026-06-20 12:25:06 -07:00
zeekay b3cd216951 ci/docs/sdk: drop lx-trading-cpp + sdk/cpp refs
Follow-up to 09c17ec which deleted the orphaned C++ trees.
Workflows + docs + sdk/Makefile still referenced them.

  .github/workflows/sdk-ci.yml     delete test-cpp job + drop from integration-check.needs
  .github/workflows/sdk-release.yml delete build-cpp job + drop from generate-checksums.needs
  sdk/Makefile                     delete build-cpp + test-cpp targets, clean ref
  sdk/README.md                    repoint cpp row to ~/work/luxcpp/dex/sdk/trading-cpp/
  docs/content/docs/sdk/cpp/       delete (sdk source moved; doc to be re-authored from luxcpp)

Also fixes the stale amm_gpu.go docstring (kernel moved to
~/work/luxcpp/metal/src/shaders/dex/, driver stays in dex/gpu/metal/).
2026-05-21 14:29:39 -07:00
zeekay 7db9ae64da feat: add Docker config for dex docs deployment 2026-03-11 12:09:42 -07:00
zeekay facf1893de docs: add securities compliance guide for regulated venue operators
Comprehensive documentation covering US (SEC), UK (FCA), and Singapore
(MAS) regulatory frameworks with code examples for eligibility checking,
settlement handling, and transfer restrictions.
2026-03-02 19:07:42 -08:00
zeekay 4114fef626 feat: add gateway for DEX routing
- Add gateway package for multi-DEX routing
- Add Lux and Uniswap providers
- Add server and registry components
- Update dependencies
2025-12-28 11:00:04 -08:00
Fuma Nama d4d9e66e04 refactor(docs): use @hanzo/mdx/components for all MDX components
Single import path for Card, Tabs, Steps, Callout, Accordion, TypeTable
2025-12-17 15:55:25 -08:00
Fuma Nama ee1a335649 refactor(docs): use @hanzo/ui/content for content components
- Update mdx-components to import from @hanzo/ui/content (general)
- Keep TypeTable import from @hanzo/ui/docs/components (docs-specific)
- Update @hanzo/ui to ^5.3.26
2025-12-17 15:43:08 -08:00
zeekay 3626aa3104 fix(docs): use @hanzo/ui/docs/components for MDX components
Import Tab, Tabs, Card, etc. from @hanzo/ui/docs/components to avoid
conflicts with @hanzo/ui primitive components
2025-12-17 15:04:14 -08:00
zeekay 3e7a500dee feat(docs): use flat imports from @hanzo/ui
Simplify imports: import { DocsLayout, RootProvider } from '@hanzo/ui'
instead of @hanzo/ui/docs/layouts/docs subpaths
2025-12-17 14:52:09 -08:00
zeekay e647e428ab chore(docs): migrate from fumadocs to @hanzo/mdx and @hanzo/ui
- Replace fumadocs-ui with @hanzo/ui/docs/*
- Replace fumadocs-mdx with @hanzo/mdx
- Update import paths and CLI commands
2025-12-17 14:31:51 -08:00
zeekay 3d42bc3de2 chore(docs): use unified @hanzo/docs package
Consolidate to single @hanzo/docs package with subpath exports:
- @hanzo/docs/core/* for core functionality
- @hanzo/docs/ui/* for UI components
- @hanzo/docs/mdx/* for MDX processing

Uses hanzo-docs CLI instead of fumadocs-mdx for build commands.
2025-12-17 14:22:35 -08:00
zeekay 640bfbc2b6 chore(docs): migrate from fumadocs to @hanzo/docs packages
Use Hanzo's own documentation framework fork for better integration
with existing @hanzo/ui components and consistent theming.

- Replace fumadocs-core with @hanzo/docs-core
- Replace fumadocs-ui with @hanzo/docs-ui
- Replace fumadocs-mdx with @hanzo/docs-mdx
2025-12-17 14:17:30 -08:00
zeekay 378f962550 chore(docs): upgrade fumadocs to v16 to match LPs theme 2025-12-17 13:47:05 -08:00
zeekay 526dd16862 docs: update SDK install commands for published packages
All SDKs now published to registries:
- npm: @luxfi/dex, @luxfi/trading (v1.2.1)
- PyPI: lux-dex (v1.2.1)
- crates.io: lux-dex (v1.2.1)
2025-12-12 12:41:56 -08:00
zeekay 34f1b324b8 docs: add complete SDK installation for all languages
- Add releases section with v1.2.1 link
- Update installation to use GitHub (not yet on npm/PyPI/crates)
- Add full Rust, C++, and C SDK documentation
- Include code examples for all 7 languages
- Add linking instructions for C/C++ (CMake, pkg-config)
2025-12-12 06:04:33 -08:00
zeekay a7c8033e83 docs: clarify SDK package naming and fix Python imports
- Rename @luxfi/dex-sdk to @luxfi/dex (cleaner package name)
- Document both TypeScript packages:
  - @luxfi/dex - Core SDK (Client, types, low-level API)
  - @luxfi/trading - Trading bots SDK (DEX(), AMM(), CCXT)
- Fix Python package name: lux-dex (import as lux_dex)
- Update all Python imports from luxfi_dex to lux_dex
- Fix pip install command to use lux-dex
2025-12-12 05:58:29 -08:00
zeekay d718fbe33e docs: update SDK imports to @luxfi/trading and describe LX as Lux L2 chain
- Update all SDK examples to use `import { DEX } from '@luxfi/trading'`
- Replace LXDexClient with Client, jsonRpcUrl with rpcUrl throughout
- Rename architecture/sidecar.mdx to l2-chain.mdx
- Describe LX as a dedicated Lux L2 chain that shares consensus/finality
- Document validator staking requirements for DEX node operators
- Clarify relationship to Lux L1, B-Chain bridge, and C-Chain settlement
- Update 31 documentation files with consistent patterns
2025-12-12 05:30:54 -08:00
zeekay 84190aaa45 docs: align all examples with @luxfi/trading DEX/AMM exports
- Update arbitrage.mdx with new import patterns
- Update sdk/index.mdx with correct package names and examples
- Update getting-started.mdx TypeScript examples
- Update tutorials/first-trade.mdx complete walkthrough
- Update tutorials/index.mdx quick reference
- Update main index.mdx SDK examples
- All docs now use clean DEX() and AMM() imports
- Build verified: 144 pages generated successfully
2025-12-12 05:17:23 -08:00
zeekay b70d1cf53f feat(sdk): add DEX() and AMM() convenience exports
- Add simple factory functions DEX() and AMM() for single-venue clients
- Update TypeScript SDK docs to use cleaner imports
- Update trading docs examples to use @luxfi/trading package
- Align all documentation with actual SDK exports

The new exports provide a simpler API:
  import { DEX, AMM } from '@luxfi/trading'
  const dex = await DEX({ rpcUrl: '...' })
2025-12-12 05:11:25 -08:00
zeekay c7b351a500 docs: add complete trading documentation (fees, limits, margin, perpetuals)
- Add fees.mdx with complete fee schedule, tiers, and discounts
- Add limits.mdx with position, rate, and withdrawal limits
- Add margin.mdx with leverage and margin mode documentation
- Add perpetuals.mdx with comprehensive perp trading guide
- Fix broken options link in trading index
- Update meta.json with new navigation items
2025-12-12 05:02:41 -08:00
zeekay 437dd0d800 fix: escape MDX special characters in arbitrage docs 2025-12-12 04:34:29 -08:00
zeekay 7cd44d9f00 Add arbitrage docs 2025-12-11 23:06:49 -08:00
zeekay fbecfda830 docs: add infrastructure comparison and post-quantum security
- Compare LX DEX vs NYSE, Nasdaq, CME, Hyperliquid, dYdX, Binance
- 800 Gbps fiber (20x NYSE bandwidth)
- Post-quantum cryptography: ML-DSA, ML-KEM, Corona
- Settlement 86,400x faster than NYSE (1ms vs T+1)
2025-12-11 22:44:12 -08: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 9e54603e26 feat(integrations): add Hummingbot Gateway connector for LX DEX
Add official Hummingbot Gateway connector enabling algorithmic trading on
LX DEX. The connector supports all four trading schemas:

- Router: DEX aggregation with optimal swap routing
- AMM: Traditional xy=k liquidity pool operations
- CLMM: Concentrated liquidity market maker positions
- CLOB: Central limit order book trading

Includes:
- Full connector implementation with WebSocket support
- Fastify route handlers for all endpoints
- Plugin package for easy Gateway integration
- Comprehensive API documentation
- Quick start and strategy guides
- Jest test suite
2025-12-11 19:36:46 -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 395520ddb5 fix: consolidate docs navigation
- Remove duplicate orderbook from Core Concepts (engine/ folder covers it)
- Single API Reference entry instead of folder expansion
- SDK Guide shows each language as separate entry
2025-12-11 18:24:37 -08:00
zeekay a1d2a141c0 fix: escape MDX special characters and convert JSX components to markdown
- Escape < characters followed by numbers (e.g., <100ns becomes &lt;100ns)
- Convert Tabs/Tab JSX components to markdown headers for compatibility
- Convert Cards/Card JSX components to markdown links
- Update mdx-components.tsx to include all fumadocs-ui components
- These fixes resolve MDX build errors in GitHub Actions
2025-12-11 18:20:11 -08:00
zeekay 0d0e7a4327 Add more docs / SDKs 2025-12-11 18:10:57 -08:00
zeekay b0cb3a603a docs: add navigation meta.json for all sections
- API Reference (gRPC, RPC, WebSocket)
- SDK Guide (Go, Rust, Python, TypeScript, C++)
- Performance (throughput, latency, memory)
- Core Engine (orderbook, matching, state)
- HFT (connectivity, colocation)
- Bridge (bchain, threshold, mpc)
- DeFi (margin, lending)
- Operations (installation, configuration, docker)
- Trading (order-types, spot)
- Market Makers (program, api-access, quoting, inventory, fees)
- Risk Management (pre-trade)
- Security (authentication, encryption, quantum, mpc, smartcontracts, audits)

Enables proper sidebar navigation at dex.lux.network
2025-12-11 17:56:56 -08:00
zeekay 1765e897f7 docs: add security documentation
- Added audit procedures and compliance docs
- Added MPC (multi-party computation) documentation
- Added quantum resistance documentation
- Added smart contract security docs
2025-12-11 17:55:07 -08:00
zeekay 1b7e45a2a1 Expanded docs 2025-12-11 17:50:19 -08:00
zeekay bda75f4144 Update docs 2025-12-12 01:49:40 +00:00
zeekay a859585613 docs: add LP specification references and implementation status
- Add LP specification links to all documentation pages
- Add implementation status tables with GitHub source links
- Add links to LP discussions on luxfi/LPs
- Update architecture diagram with B-Chain sidecar model
- Add redirect from / to /docs
- Update API, SDK, orderbook, consensus, bridge, lending docs
- Link to LP-9000 DEX series, LP-6000 Bridge series, LP-8401 Lending
2025-12-11 17:31:38 -08:00
zeekay 85192f3a37 docs: set up GitHub Pages documentation site
- Convert existing markdown docs to MDX in content/docs/
- Add comprehensive documentation pages:
  - Getting Started guide
  - API Reference
  - Architecture overview
  - SDK Guide
  - Orderbook engine documentation
  - Consensus layer documentation
  - Lending protocol documentation
  - Cross-chain bridge documentation
- Configure Next.js for static export (GitHub Pages)
- Add GitHub Actions workflow for automatic deployment
- Set up CNAME for dex.lux.network custom domain
- Fix MDX JSX expression escaping for curly braces
2025-12-11 17:09:28 -08:00
zeekay c64a1457a8 refactor: Simplify orderbook to pure Go default with optional CGO
Clean architecture following Go principles:
- factory.go: Pure Go implementation (default, no CGO)
- factory_cgo.go: C++ optimized version when CGO=1
- orderbook.go: Standalone Go orderbook implementation
- cpp_orderbook.go: C++ bindings for high performance

Also includes:
- Vault execution integration with orderbook
- dex-api-server command for REST/WebSocket API
- E2E test scripts for API validation
- Documentation site scaffolding
2025-12-11 11:47:43 -08:00
zeekay ec1544f7aa Add comprehensive documentation and development guides
- Created detailed DEVELOPMENT.md guide for contributors
- Added complete ARCHITECTURE.md with system design
- Documented data flow, performance optimizations, and scalability
- Added debugging, profiling, and monitoring guides
- Included deployment strategies and troubleshooting
- All documentation complete with examples and diagrams
2025-08-24 19:01:38 -05:00
zeekay 9bc0980193 Add production-ready infrastructure and tooling
- Added Dockerfile and docker-compose.yml for containerization
- Created comprehensive API documentation
- Added integration test suite
- Set up performance benchmarking workflow
- Added security scanning workflow
- Configured code coverage reporting with Codecov
- Updated README with current metrics
- All CI/CD pipelines configured and passing
2025-08-24 18:58:55 -05:00