Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@tkey/storage-layer-torus

Package Overview
Dependencies
Maintainers
0
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tkey/storage-layer-torus

TKey Torus Storage Layer Module

  • 15.0.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
533
decreased by-43.12%
Maintainers
0
Weekly downloads
 
Created
Source

tKey Torus Storage Layer

npm version minzip

A storage layer is needed to store and recall the metadata information of the shares generated so as to be able to recover the private key from the tKeys generated. This SDK gives you the ability to get and set the Metadata for the various shares generated.

Installation

npm install --save @tkey/storage-layer-torus

Instantiation

Import the TorusStorageLayer class from @tkey/storage-layer-torus
import TorusStorageLayer from "@tkey/storage-layer-torus";
Assign the TorusStorageLayer class to a variable
const storageLayer = new TorusStorageLayer(TorusStorageLayerArgs);

Parameters

declare type TorusStorageLayerArgs = {
  enableLogging?: boolean;
  hostUrl?: string; // use `https://metadata.web3auth.io` for connecting to the Torus Metadata Server
  serverTimeOffset?: number;
};

Example

import TorusStorageLayer from "@tkey/storage-layer-torus";

const storageLayer = new TorusStorageLayer({ hostUrl: "https://metadata.web3auth.io" });

FAQs

Package last updated on 20 Aug 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc