Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@tkey/seed-phrase
Advanced tools
Readme
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 135 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.