
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
@tkey/seed-phrase
Advanced tools
The tKey Seed Phrase Module helps you add or remove the and password as a share for tkey. This module is the part of the tKey SDK.
npm install --save @tkey/seed-phrase
SeedPhraseModule
class from @tkey/seed-phrase
import SeedPhraseModule from "@tkey/seed-phrase";
SeedPhraseModule
class to a variableconst seedPhraseModule = new SeedPhraseModule();
The SeedPhraseModule
class returns an object with the following properties:
declare class SeedPhraseModule implements IModule {
moduleName: string;
tbSDK: ITKeyApi;
seedPhraseFormats: ISeedPhraseFormat[];
constructor(formats: ISeedPhraseFormat[]);
setModuleReferences(tbSDK: ITKeyApi): void;
initialize(): Promise<void>;
setSeedPhrase(seedPhraseType: string, seedPhrase?: string): Promise<void>;
setSeedPhraseStoreItem(partialStore: ISeedPhraseStore): Promise<void>;
CRITICAL_changeSeedPhrase(oldSeedPhrase: string, newSeedPhrase: string): Promise<void>;
getSeedPhrases(): Promise<ISeedPhraseStore[]>;
getSeedPhrasesWithAccounts(): Promise<ISeedPhraseStoreWithKeys[]>;
getAccounts(): Promise<BN[]>;
}
With the SeedPhraseModule
, you've access to the following functions:
setSeedPhrase(seedPhraseType: string, seedPhrase?: string)
seedPhraseType
: The type of seed phrase to set.seedPhrase
: The seed phrase to set.setSeedPhraseStoreItem(partialStore: ISeedPhraseStore)
partialStore
: The partial store to set.getSeedPhrases()
Promise<ISeedPhraseStore[]>
: A list of seed phrases.getSeedPhrasesWithAccounts()
Promise<ISeedPhraseStoreWithKeys[]>
: A list of seed phrases with accounts.FAQs
TKey Seed Phrase Module
The npm package @tkey/seed-phrase receives a total of 68 weekly downloads. As such, @tkey/seed-phrase popularity was classified as not popular.
We found that @tkey/seed-phrase demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.