
Security News
Vite Releases Technical Preview of Rolldown-Vite, a Rust-Based Bundler
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
@tkey/private-keys
Advanced tools
The tKey Private Key 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/private-keys
PrivateKeyModule
class from @tkey/private-keys
import PrivateKeyModule from "@tkey/private-keys";
PrivateKeyModule
class to a variableconst privateKeyModule = new PrivateKeyModule();
The PrivateKeyModule
class returns an object with the following properties:
declare class PrivateKeyModule implements IModule {
moduleName: string;
tbSDK: ITKeyApi;
privateKeyFormats: IPrivateKeyFormat[];
constructor(formats: IPrivateKeyFormat[]);
setModuleReferences(tbSDK: ITKeyApi): void;
initialize(): Promise<void>;
setPrivateKey(privateKeyType: string, privateKey?: BN): Promise<void>;
getPrivateKeys(): Promise<IPrivateKeyStore[]>;
getAccounts(): Promise<BN[]>;
}
With the PrivateKeyModule
, you've access to the following functions:
setPrivateKey(privateKeyType: string, privateKey?: BN)
privateKeyType
: The type of private key to set.privateKey
: The private key to set.getPrivateKeys()
Promise<IPrivateKeyStore[]>
- The private keys stored.FAQs
TKey Private Keys Module
The npm package @tkey/private-keys receives a total of 9 weekly downloads. As such, @tkey/private-keys popularity was classified as not popular.
We found that @tkey/private-keys demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.