38 Commits
Author SHA1 Message Date
zeekayandHanzo Dev eb72965d75 Typecheck on the native compiler, keep 6 for the tools
typescript 7.0.2 is the native compiler and exports no JavaScript API, so
ts-jest and typescript-eslint cannot read it (an earlier bare-7 pin here
had to be reverted for exactly that). It comes in aliased as tsgo and does
the typechecking; typescript stays on the 6 line for the tools. tsgo
surfaced two native-compiler gaps not present under tsc 6.0.3: a JS-inference
miss on two @luxfi/utila exports (app/server), and a missing CSS side-effect
ambient declaration that also covers @luxdefi/ui's own unbuilt .tsx source
(app/explorer). Both fixed with narrow ambient declarations. 16 diagnostics
across the 11 workspace packages before and after.

Co-authored-by: Hanzo Dev <[email protected]>
2026-09-16 23:05:44 -07:00
zeekay 703bd4f9da license: relicense Lux Bridge to BSD-3-Clause
Lux Bridge is core network infrastructure meant for OSS developers to
build on, so it moves from the proprietary Lux Ecosystem License
(patent-protected tier) to BSD 3-Clause — the same permissive license
the rest of the Lux core stack carries (cli, sdk, genesis). Also
unifies the seven per-package license fields (MIT/ISC/BSD mixed) onto
the one repository license. No vendored modified upstream, so no
separate NOTICE is owed; third-party deps keep their licenses through
the module graph.
2026-08-08 03:15:36 -07:00
zeekayandHanzo Dev df9000f990 fix(bridge): one icon set — Lucide, one version, no hand-drawn second set
The repo resolved three majors of the same set at once — 0.307.0 (via
@luxdefi/ui), 0.456.0 (the catalog, used by bridge3) and 1.16.0 (pinned
directly by explorer). Same import name, three different drawings. Every
app now takes lucide from `catalog:`, and an override collapses the
transitive copy, so one version resolves for the whole tree.

app/bridge3/app/components/icons/ was a second set wearing the first
one's clothes: avatar/bag/left-arrow/right-arrow were hand-drawn, typed
as LucideProps, off-grid (17x21, 9x16, 1019x1281) and filled rather than
stroked — three of them with `fill="white"` baked into the path, so they
were invisible on a light background and could never take the theme.
None had a consumer. Deleted; Lucide draws all four (User, ShoppingBag,
ChevronLeft, ChevronRight).

What stays in that directory is not an icon set: the Lux mark and the
third-party network marks are logos, and logos are not glyphs.

explorer also declared @heroicons/react and heroicons with zero imports
of either — a set you cannot see is still a set you can reach for.

Co-authored-by: Hanzo Dev <[email protected]>
2026-07-27 18:04:22 -07:00
zeekay 8f075365ae chore: brand-neutral cleanup — remove cross-tenant references 2026-05-25 15:12:52 -07:00
zeekay 2552d19625 build: drop || true from root postinstall
The patch-hanzogui-exports.cjs script is the only supported way to
make `pnpm install && pnpm exec vite build` succeed against the broken
@hanzo/[email protected] publish. Swallowing its exit code with `|| true`
hides the only signal we have that the workaround stopped applying —
e.g. if a future pnpm release changes traversal semantics or upstream
republishes the SDK and the patcher trips on an unexpected layout, the
install would still report success and the failure would surface much
later at the vite build step with a confusing module-resolution error.

Verified `rm -rf node_modules && pnpm install --frozen-lockfile`
completes end-to-end with the script exiting 0
(`patched 240 package(s); fixed 41 source file(s)`). Red Phase 3 R2 nit.
2026-05-21 16:35:19 -07:00
zeekay f1820f6c02 phase3-r2: wire @hanzo/gui as a runtime dependency
The SDK now ships with @hanzo/gui + @hanzogui/{core,helpers,constants,
themes,animate,animate-presence,button,input} as direct dependencies
(moved out of the optional peerDependencies block). Phase 3 R2 starts
swapping native primitives onto Tamagui-based @hanzo/gui components,
so consumers no longer have to install those packages themselves.

Three plumbing changes make this actually bundle in a consumer:

  1. scripts/patch-hanzogui-exports.cjs (vendored from lux/exchange):
     the published @hanzo/[email protected] + @hanzogui/*@7.0.0 packages ship
     without a populated dist/, so their package.json main/module/exports
     point at folders that do not exist. The patch rewrites those entries
     to point at the included src/ at install time. Root postinstall hook
     runs it deterministically on every pnpm install.

  2. app/bridge/vite.config.ts: alias react-native -> react-native-web,
     dedupe react/react-dom/react-native-web, set TAMAGUI_TARGET=web and
     __DEV__=false. Minimum viable Tamagui wiring (mirrors the wiring
     lux/exchange ships in a much larger config).

  3. app/bridge/package.json: add react-native-web@^0.19.0 dependency
     so the alias above resolves.

Result: pnpm install in a fresh checkout produces a working build with
zero manual setup. `pnpm build` in app/bridge succeeds.
2026-05-21 16:09:47 -07:00
zeekay a4facf7845 feat(pkg/bridge): add @luxfi/bridge SDK + publish workflow
Rationalize the bridge workspace around one canonical SDK entry:

  - @luxfi/bridge        (NEW)  public SDK consumers import
  - @luxbridge/*          private workspace internals
  - @luxfi/{core,threshold,utila} generic Lux building-block libs

@luxfi/bridge re-exports mountBridge(), <Bridge />, BridgeConfig, and
BrandConfig. The runtime lazy-imports @luxbridge/app as the actual UI
implementation. Mirrors the mountExchange() pattern from
@/exchange — declarative config-in, brand metadata applied
to document, React tree rendered into #bridge-root.

Workspace housekeeping:
  - pkg/settings: 0.1.0 -> 1.0.0, marked private
  - pkg/ui (ui-automation), app/server, app/bridge3: marked private
  - app/explorer: 0.1.0 -> 1.0.0
  - root bridge package: 1.0.0 -> 1.1.0
  - app/bridge: add main/types/exports so the SDK can dynamic-import the App component

Publish workflow at .github/workflows/publish.yml fires on v* tag push,
runs pnpm publish -r --access public --no-git-checks. pnpm skips
private packages automatically. Public packages: @luxfi/bridge, @luxfi/core,
@luxfi/threshold, @luxfi/utila.
2026-05-21 14:02:03 -07:00
zeekay 4914d47bb5 fix: override [email protected] -> 3.0.4 for Node 18+ V8 compat 2026-03-02 11:18:11 -08:00
zeekay 307e4485cc unify all sql images to :latest (PG18)
Single version policy: ghcr.io/hanzoai/sql:latest everywhere.
No version pinning, no backwards compat, always latest stable.
2026-03-01 21:08:42 -08:00
zeekay c27ad9a38f remove firebase: kill transitive dep, clean up dead code
- Remove @hanzo/auth dependency (bridge uses JWT, not Firebase Auth)
- Remove @hanzo/commerce from peer deps and catalog
- Delete firebase-stub.js (unused build-time shim)
- Delete disabled mobile.tsx_ header component
- Add webpack aliases to prevent firebase from being bundled
- Add .dockerignore for faster Docker builds
- Simplify Dockerfile.bridge-ui (remove redundant config patching)
- Add pnpm peerDependencyRules to ignore unused optional deps
2026-02-27 15:59:25 -08:00
zeekay 2cf3250f33 fix: resolve all CI/CD issues for green builds
- Add packageManager field to root package.json for pnpm version
- Update workflows to handle MPC tools with mocks for CI
- Fix integration tests to handle missing dependencies gracefully
- Add E2E smoke test script for basic validation
- Update test commands to be more resilient
- Remove hard dependencies on external MPC repository

All workflows should now pass successfully in CI environment
2025-08-03 23:13:15 -05:00
zeekay a1b78ae8cb Integrate new KMS + MPC services 2025-08-03 15:52:32 -05:00
zeekay b1e0a205b5 Update docs 2025-08-02 14:35:25 -05:00
a3c6af02b6 new bridge ui (on remix) - initial (#304)
* initial remix boilerplate runs
* remix: font support
* metadata and favicons
* network and tokens domain model;
* network-combobox; 
* favicon bug;
* new combobox interface
* network combobox typescript issues
* reverse button, etc
* amount input and token selection
* renamed remix-bridge to new-bridge
* @hanzo/[email protected]; new scripts
* lockfile

---------

Co-authored-by: Zach Kelling <[email protected]>
2024-12-18 10:46:15 -08:00
zeekay 86f6880797 Fix pnpm 9.10 2024-11-14 14:30:35 -08:00
zeekay 6e0b4c5751 Try to match artem branch 2024-11-14 13:25:27 -08:00
zeekay 38c7a2a1d5 Remove the old app 2024-11-14 11:16:53 -08:00
zeekay 4acbe6d645 Merge in improvements 2024-11-14 10:52:48 -08:00
zeekay 50a1c07ab2 Merge remote-tracking branch 'origin/core/remix-bridge-boilerplate' 2024-11-14 10:50:46 -08:00
artem ash d144b69f8b pnpm: overrides --> catalog 2024-11-14 10:03:31 -08:00
zeekay f34110e107 Update project structure, split out settings to pkg 2024-11-13 17:52:39 -08:00
Artem AshandGitHub 3854374115 UI issues w hydration (#203)
* merged main
* Module version that fix some ui issues w hydration
2024-11-12 16:27:46 -08:00
zeekay 5f42bc38d2 Update server 2024-11-11 11:49:12 -08:00
Artem AshandGitHub 6741e02400 bridge now uses @hanzo/ui/primitives where possible (#186)
(no redundancies)
2024-11-09 12:12:48 -08:00
Artem AshandGitHub 1781f62a13 fixed infinite loading on /transactions; (#185)
commented out all TON and starknet stuff
2024-11-08 16:11:46 -08:00
artem ash 00287d8358 new luxfi/ui fixes hydration issues 2024-11-07 20:22:08 -08:00
artem ash 2870e85498 bridge compiles
Fix issues with abi-wan-kenobi

bridge compiles, builds, and runs (routes still removed)

auth route back in

transactions route

all routes restored

Bump @hanzo/auth to fix firebase credential handling

pnpm version

linting re-enabled and issues fixed

working version with some UI tweeks

@luxfi/ui version update

fixed page routers
2024-11-07 06:30:34 -08:00
venuswhispers 6ca9acf395 chore: code refactoring 2024-10-05 19:45:36 +08:00
zeekay 0fde2da9ed Update storybook config 2024-01-25 17:45:39 +01:00
zeekay 9dc364970b Update package.json 2024-01-23 20:28:27 +01:00
zeekay ffdba0c5a2 Fix package.json 2024-01-08 20:14:32 +01:00
zeekay 3b70cd52d0 Split SDK and Server, update endpoints 2024-01-08 18:24:26 +01:00
zeekay cc05029011 Fix build 2024-01-08 04:31:38 +01:00
zeekay d0b743fa9b Merge ui libraries 2024-01-08 00:28:25 +01:00
artemis prime b357c767f0 compiles and runs 2024-01-06 15:04:44 -08:00
artemis prime bce53404e1 initial conf 2024-01-04 12:27:23 -08:00
zeekay e8833950c1 Initial commit 2023-12-31 00:49:41 +01:00
zeekay 1c440985ee New bridge app + explorer 2023-12-30 14:10:02 +01:00