New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@wharfkit/wallet-plugin-privatekey

Package Overview
Dependencies
Maintainers
3
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wharfkit/wallet-plugin-privatekey

A template to create wallet plugins for use with @wharfkit/session.

  • 1.1.0
  • latest
  • npm
  • Socket score

Version published
Maintainers
3
Created
Source

@wharfkit/wallet-plugin-privatekey

A @wharfkit/session WalletPlugin implementation that takes a private key and blindly signs transactions.

Primarily designed to be used in controlled environments (such as server side applications) or for testing purposes.

Usage

import {Session} from '@wharfkit/session'
import {WalletPluginPrivateKey} from '@wharfkit/wallet-plugin-privatekey'

// Establish a session and include the wallet plugin
const session = new Session({
    // ... other options
    walletPlugin: new WalletPluginPrivateKey({
        privateKey: '5Jtoxgny5tT7NiNFp1MLogviuPJ9NniWjnU4wKzaX4t7pL4kJ8s',
    }),
})

// Calling transact will use this plugin to automatically sign with the provided key
const result = session.transact({
    actions: [
        // your actions
    ],
})

Developing

You need Make, node.js and yarn installed.

Clone the repository and run make to checkout all dependencies and build the project. See the Makefile for other useful targets. Before submitting a pull request make sure to run make lint.


Made with ☕️ & ❤️ by Greymass, if you find this useful please consider supporting us.

FAQs

Package last updated on 10 Nov 2023

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