Commit Graph
4 Commits
Author SHA1 Message Date
zeekay da46fbdc1a feat: add Polkadot/Substrate support to bridge
New chain support:
- Polkadot mainnet (DOT, 10 decimals)
- SS58 address encoding/decoding (zero-dependency, blake2b)
- Substrate JSON-RPC client (raw fetch, no @polkadot/api dep)
- Deposit detection following existing polling pattern
- SCALE extrinsic builder + MPC sr25519 signing interface
- LDOT/ZDOT wrapped tokens on Lux/Zoo

Files:
- substrate-address.ts — SS58 encode/decode (13 tests)
- substrate-client.ts — balance, nonce, broadcast (7 tests)
- substrate-deposit.ts — DOT deposit detection
- substrate-signer.ts — MPC signing integration
- Updated: networks.ts, mpc-wallet.ts, swap-pairs.ts, network-type.ts
2026-03-18 14:09:27 -07:00
zeekay be3a4b7a75 fix: build workspace deps in CI, bump @luxfi/core for xrp type
- Dockerfile: copy and build pkg/core before app/server
- CI: build workspace dependencies before typecheck
- server.yml: use root context for Docker build
- Bump @luxfi/core to 10.0.6 (adds xrp NetworkType)
2026-03-05 23:58:32 -08:00
zeekay e9dbf11a1d feat: native MPC wallet support, replace Utila, enable all chains
- Replace Utila/Fireblocks wallet creation with native MPC API
  (new mpc-wallet.ts calls our MPC cluster directly via HTTP)
- Add native deposit checking via blockchain RPCs
  (EVM eth_getBalance, BTC Blockstream API, SOL getBalance, TON toncenter)
- Enable deposits on BTC (testnet+mainnet), SOL (devnet+mainnet),
  TON (testnet+mainnet)
- Add XRP Ledger as new chain (testnet+mainnet) with NetworkType "xrp"
- Add LXRP wrapped token to Lux/Zoo network configs
- Add XRP swap pairs (XRP <-> LXRP <-> ZXRP)
- Fix BTC testnet decimals (was 18, now 8)
- Update swap-pairs: SOL/TON now include native token pairs
2026-03-05 23:41:13 -08:00
zeekay 2a5bda0506 Update project 2025-08-03 18:45:59 -05:00