This commit is contained in:
2026-10-20 03:14:08 -04:00
parent b1d2b5c10e
commit 9850fd8554
28 changed files with 1256 additions and 26 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
// Browser/Node WebCrypto only: this module never reads storage or sends data.
const NETWORK = 'wikideck-randomx-testnet-6';
import { NETWORK } from './network.ts';
const ITERATIONS = 600_000;
const MAX_BYTES = 32 * 1024;
const encoder = new TextEncoder();
@@ -7,7 +7,7 @@ const encoder = new TextEncoder();
export type WalletBackup = {
format: 'wikideck-wallet-backup';
version: 1;
network: 'wikideck-randomx-testnet-6';
network: typeof NETWORK;
kdf: 'PBKDF2-SHA256';
iterations: 600000;
cipher: 'AES-256-GCM';