StaticfromBuilds the tree from a 64-byte seed.
The seed is CONSUMED by derivation and NOT retained (only the derived master key + chain code are kept, in private fields); the caller's buffer is not wiped — the caller owns it.
Derives the payment wallet at index:
m/44'/501'/{index}'/0' → SLIP-0010 ed25519 → base58 address.
Deterministic: the same seed and index always produce a byte-identical address and private key.
The derived wallet. The caller MUST wipe
privateKey after use (secureWipe).
after SolanaWalletTree.dispose.
Chain-scoped index allocation over used m/44'/501'/N'/0' paths
(v1.2 §2.2) — pure planning over the caller's persisted paths.
Needs no key material, so it keeps working after
SolanaWalletTree.dispose.
Zeroizes the master key material. Idempotent. After the FIRST
call every key-requiring method throws DisposedError
(code === 'DISPOSED'); nextIndex — which needs no key
material — keeps working, mirroring core's dispose semantics
(capabilities are revoked, information stays).
Deterministic Solana wallet tree over one 64-byte seed (Документ 2 v1.2 §4.1).
Identity.fromSeed/crypto.slip10.masterKeyFromSeed; anything else throwsTypeError.fromSeedderives the master node once and keeps ONLY the 32-byte IL/IR pair in#privatefields; the caller's buffer is neither read again nor wiped (the caller owns it). Mutating the seed afterfromSeednever changes subsequent derivations.deriveWalletreturns a freshly derived private key; the tree's master material is never exposed, and the child chain code (not returned) is wiped immediately.dispose()zeroizes the master key material; every key-requiring call afterwards throwsDisposedError.Example