From f2ccdfcd7a1ae67cd41f9d1750fabd7e76ea567c Mon Sep 17 00:00:00 2001 From: Satoshi Qazi Muhammed Date: Wed, 7 Oct 2026 11:33:20 +0400 Subject: [PATCH] Remove an ad-hoc test script from the repository root test-bizinikiwi.mjs was a one-off check from the 14.0.25 release, referenced nowhere, and failed lint (outside the TypeScript project). Co-Authored-By: Claude Opus 5.5 (1M context) --- test-bizinikiwi.mjs | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 test-bizinikiwi.mjs diff --git a/test-bizinikiwi.mjs b/test-bizinikiwi.mjs deleted file mode 100644 index 5f2be93..0000000 --- a/test-bizinikiwi.mjs +++ /dev/null @@ -1,17 +0,0 @@ -import { cryptoWaitReady, sr25519PairFromSeed, sr25519Sign, sr25519Verify, mnemonicToMiniSecret } from '@pezkuwi/util-crypto'; -import { hexToU8a, u8aToHex } from '@pezkuwi/util'; - -await cryptoWaitReady(); - -const mnemonic = 'crucial surge north silly divert throw habit fury zebra fabric tank output'; -const seed = mnemonicToMiniSecret(mnemonic); -const pair = sr25519PairFromSeed(seed); - -console.log('Public key:', u8aToHex(pair.publicKey)); - -const message = new TextEncoder().encode('test message'); -const signature = sr25519Sign(message, pair); -console.log('Signature:', u8aToHex(signature).slice(0, 40) + '...'); - -const verified = sr25519Verify(message, signature, pair.publicKey); -console.log('Verified:', verified);