@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'
const session = new Session({
walletPlugin: new WalletPluginPrivateKey({
privateKey: '5Jtoxgny5tT7NiNFp1MLogviuPJ9NniWjnU4wKzaX4t7pL4kJ8s',
}),
})
const result = session.transact({
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.