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

@slide-computer/signer-transport-plug

Package Overview
Dependencies
Maintainers
0
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@slide-computer/signer-transport-plug

JavaScript and TypeScript library to communicate with Plug Wallet on the Internet Computer

  • 3.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
225
increased by99.12%
Maintainers
0
Weekly downloads
 
Created
Source

This package will be deprecated and replaced with @slide-computer/signer-extension once ICRC-94 is available.

@slide-computer/signer-transport-plug

JavaScript and TypeScript library to communicate with Plug Wallet on the Internet Computer.


Installation

Using Plug transport:

npm i --save @slide-computer/signer-transport-plug

In the browser:

import { PlugTransport } from "@slide-computer/signer-transport-plug";

To create a Plug transport, run

const transport = new PlugTransport();

Either use with @slide-computer/signer

const signer = new Signer({transport});

Or directly in your custom implementation

const channel = await transport.establishChannel();
const listener = channel.registerListener((response) => {
  // Process incoming responses
});
// Send outgoing requests
channel.send(JSON_RPC_REQUEST);

Keywords

FAQs

Package last updated on 14 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