Optional
storage: ShogunStoragePrivate
lastPrivate
lastPrivate
logsReadonly
STEALTH_Private
Readonly
STEALTH_Private
Readonly
storageCreates a new stealth account
Derives a wallet from shared secret
Removes the initial tilde (~) from the public key if present
Generates a new ephemeral key pair for stealth transactions
Promise with the generated key pair
Implementazione originale di generateStealthAddress
Recipient's public key
Optional
ephemeralPrivateKey: stringEphemeral private key (optional)
Promise with the stealth address result
Genera una coppia di chiavi stealth - necessaria per i test aggiuntivi
Genera metadati stealth - necessario per i test
Gets public key from an address
Gets the private key for a stealth address
Stealth data
User's private key or spend key
Promise with the derived private key
Checks if a stealth address belongs to the user
Stealth data to check
User's private key or spend key
Promise resolving to boolean indicating ownership
Private
logOpens a stealth address by deriving the private key
Private
openStandard method to open a stealth address (used as fallback)
Saves stealth keys in user profile
The stealth keys to save
Saves stealth data in storage with validation
Scans a list of stealth addresses to find ones belonging to the user
Array of stealth data to scan
User's private key or spend key
Promise with array of stealth data that belongs to the user
Private
validateUtilizzato per verificare un indirizzo stealth - necessario per i test
Cleanup sensitive data from memory