mirror of
https://github.com/luxfi/bridge.git
synced 2026-09-24 00:26:46 +00:00
Connect a wallet on every bridge ecosystem, not just EVM. wagmi stays the EVM/Lux deposit signer; @luxwallet/connect adds the connect/identity layer for Solana, Bitcoin, TON, XRP and Polkadot — chains wagmi cannot reach. - useLuxWallet: non-EVM connect via getConnector(chain).connect() + SIWx login - useBridgeWallet: composes wagmi + luxwallet, routes by chain family - WalletConnect: family-aware — EVM picker vs non-EVM single-tap connect - chains/registry: DEFAULT_CHAINS derived from @luxwallet/chains (one source of truth for the selector); covers all six connectable ecosystems - wallet-family: the one place mapping bridge family -> wallet stack - SwapForm: source/dest address resolved across both stacks - TON manifest for the tenant app; deps via file: (TODO -> npm) Additive + non-breaking: existing EVM flow unchanged. No WalletConnect projectId on the non-EVM path. MIT/Apache/ISC deps only, zero GPL. 87 tests pass (8 new); tsc clean for SDK + tenant app.