mirror of
https://github.com/luxwallet/sdk.git
synced 2026-10-30 19:32:37 +00:00
Unified Lux Wallet shared core as a pnpm workspace. Umbrella @luxwallet/sdk re-exports independent modules; connect/SIWx stays in luxwallet/connect (depended on, not duplicated). Packages (packages/): - @luxwallet/chains REAL chain registry, one source of truth, emits chains.json for native. Seeds Lux C (96369/96368/96370), Zoo (200200/200201), Hanzo (36963/36964), Sparkle Pony (36911/36910), Pars (494949/7071) as EVM; X/P/Q/Z Lux families as non-EVM entries (builderStatus todo). - @luxwallet/rpc REAL gateway client: https://<gateway>/v1/rpc/<chainId>, default api.hanzo.ai + brand/per-chain override (getBootnodeRpcUrl semantics). - @luxwallet/crypto facade over luxfi/crypto C core (WASM/UniFFI). Exact CryptoBackend interface + FIPS sizes; impl stubbed (throws 'not yet bound'). NOT @noble/post-quantum. LLM.md documents WASM bind + the on-chain ML-DSA precompile wire format + shared KAT vectors. - @luxwallet/keyring account model + keystore. Keyring store + BIP-44 paths + AccountID framing REAL; crypto calls stubbed via @luxwallet/crypto. - @luxwallet/tx EVM unsigned EIP-1559 builder REAL (viem); P/X/UTXO/SVM typed stubs with builderStatus + LLM.md citing Lux tx types. - @luxwallet/sdk thin umbrella barrel (+ subpath exports). TS project references (tsc --build), vitest per package, react-native + browser/default export conditions. verify-clean gate: no @noble PQ, no GPL, crypto facade dependency-free. pnpm -r typecheck: 6/6 pass. pnpm -r test: 44 pass. pnpm verify: OK.
7 lines
230 B
TypeScript
7 lines
230 B
TypeScript
/**
|
|
* Vitest workspace — discover every package's tests. `pnpm -r test` runs
|
|
* each package's own `vitest run`; this file lets a root `vitest` run them
|
|
* all at once during local iteration.
|
|
*/
|
|
export default ["packages/*"];
|