@tangle-js/anchors
Version:
Anchoring messages to the Tangle. Powered by IOTA Streams
16 lines (15 loc) • 396 B
TypeScript
export declare class SeedHelper {
/**
* Generates a new seed
* @param length Seed length
* @returns The seed
*/
static generateSeed(length?: number): string;
/**
* Given a seed obtains the corresponding Ed25519 public key
*
* @param seed The seed
* @returns the public key
*/
static publicKeyFromSeed(seed: string): Promise<string>;
}