@arc76/core
v1.6.2026080407
Published
Shared ARC76 (PBKDF2-HMAC-SHA256) seed derivation used by the per-chain @arc76/* packages (@arc76/algorand, @arc76/ethereum, @arc76/bitcoin, @arc76/bitcoincash, @arc76/solana). https://github.com/algorandfoundation/ARCs/blob/main/ARCs/arc-0076.md
Downloads
355
Maintainers
Readme
@arc76/core
Shared ARC76 seed
derivation (PBKDF2-HMAC-SHA256, 999,999 iterations, 32-byte output) used internally by the
per-chain @arc76/* packages (@arc76/algorand, @arc76/ethereum, @arc76/bitcoin,
@arc76/bitcoincash, @arc76/solana).
Most consumers should install a chain-specific package instead of this one directly — this package is only useful if you're implementing ARC76 support for a new chain yourself.
Usage
npm i @arc76/core --saveimport { deriveSeed, deriveSeedWithEmail } from "@arc76/core";
const seed = await deriveSeed(password); // Uint8Array(32), slot 0
const seed1 = await deriveSeed(password, 1); // slot 1
const emailSeed = await deriveSeedWithEmail(email, password); // slot 0Password must be at least 16 characters (throws otherwise) — production passwords should be much longer (≥ 50 characters recommended).
⚠️ Same-curve chains share the literal same key material. From the same password/email/slot,
@arc76/bitcoin/@arc76/bitcoincash/@arc76/ethereumderive the identical secp256k1 private key, and@arc76/algorand/@arc76/solanaderive the identical Ed25519 keypair — leaking one chain's key leaks every other chain sharing its curve. Use a different password (orslot) per chain if you need isolation.
