1.1.0 • Published 6 months ago

@wharfkit/wallet-plugin-privatekey v1.1.0

Weekly downloads
-
License
BSD-3-Clause
Repository
-
Last release
6 months ago

@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.

1.1.0

6 months ago

1.0.0

9 months ago

1.0.0-beta1

9 months ago

0.5.0

12 months ago

0.3.0

1 year ago

0.3.0-ui-16

1 year ago

0.4.0

1 year ago

0.3.0-ui-13.1

1 year ago

0.3.0-ui-13

1 year ago

0.3.0-ui-11

1 year ago

0.2.1

1 year ago

0.3.0-ui-10a

1 year ago

0.3.0-ui-10

1 year ago

0.3.0-ui-8

1 year ago

0.2.0

1 year ago

0.1.0

1 year ago