mirror of
https://github.com/hanzoai/desktop.git
synced 2026-11-02 23:04:14 +00:00
Mirror of the live fix in hanzoai/gui pkgs/ai (@hanzo/ai) applied to this repo's pre-convergence frontend tree. Replaces the hanzo-node-backed crypto wallet — which couldn't create/show a wallet without a connected node — with a self-contained stack under apps/hanzo-desktop/src/lib/lux-wallet: - luxfi/crypto WASM (real FIPS-204 ML-DSA-65 + secp256k1 + keccak); EVM keys via BIP-44 keys.deriveSecp256k1 (bit-identical to ethers/MetaMask), PQ identity via keys.serviceIdentity. Secrets sealed in OS keychain, never plaintext. - create / import / list / reveal / balance / send across the 11 ready EVM chains (@luxwallet/chains + /rpc); non-EVM X/P/Q/Z marked "coming soon". - Sign-In-With-Wallet: /v1/iam/web3/nonce -> CAIP-122 -> EIP-191 sign -> /v1/iam/web3/verify (@luxwallet/connect + @luxfi/crypto). - local-HD-PQ default; MPC / Safe selectable (coming soon). Wiring: rewrite pages/crypto-wallet.tsx onto the store; node-independent /wallet route + "Sign in with Wallet" on quick-connection; drop dead wallets-context. MIT/BSD deps vendored under apps/hanzo-desktop/vendor. NOTE: this app now renders @hanzo/ai (main.tsx), so the shipping wallet fix lands via hanzoai/gui; this mirror keeps the repo's own tree consistent.
71 lines
1.6 KiB
JSON
71 lines
1.6 KiB
JSON
{
|
|
"name": "@luxfi/crypto",
|
|
"version": "0.1.0",
|
|
"description": "The literal luxfi/crypto Go code compiled to WebAssembly — bit-identical-to-the-Lux-precompiles ML-DSA-65, secp256k1, keccak256/sha3/shake, and X-Wing KEM for Node and the browser.",
|
|
"license": "SEE LICENSE IN LICENSE",
|
|
"author": "Lux Industries Inc.",
|
|
"homepage": "https://github.com/luxfi/crypto",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/luxfi/crypto.git",
|
|
"directory": "npm"
|
|
},
|
|
"type": "module",
|
|
"main": "./dist/index.cjs",
|
|
"module": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js",
|
|
"require": "./dist/index.cjs"
|
|
},
|
|
"./crypto.wasm": "./wasm/crypto.wasm"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"wasm/crypto.wasm",
|
|
"README.md",
|
|
"LICENSE"
|
|
],
|
|
"sideEffects": true,
|
|
"scripts": {
|
|
"build:wasm": "bash ./build-wasm.sh",
|
|
"build:ts": "tsup",
|
|
"build": "npm run build:wasm && npm run build:ts",
|
|
"test": "node --test test/*.test.mjs",
|
|
"prepublishOnly": "npm run build && npm test"
|
|
},
|
|
"keywords": [
|
|
"lux",
|
|
"luxfi",
|
|
"crypto",
|
|
"wasm",
|
|
"webassembly",
|
|
"ml-dsa",
|
|
"mldsa65",
|
|
"dilithium",
|
|
"fips204",
|
|
"post-quantum",
|
|
"secp256k1",
|
|
"keccak256",
|
|
"sha3",
|
|
"shake256",
|
|
"x-wing",
|
|
"xwing",
|
|
"ml-kem",
|
|
"kem"
|
|
],
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^26.0.1",
|
|
"tsup": "^8.3.5",
|
|
"typescript": "^5.7.2"
|
|
},
|
|
"allowScripts": {
|
|
"[email protected]": true
|
|
}
|
|
}
|