@wharfkit/transact-plugin-autocorrect
v1.3.1
Published
A plugin to correct common issues users experience while performing transactions.
Downloads
37
Readme
@wharfkit/transact-plugin-autocorrect
A plugin to correct common issues users experience while performing transactions.
Usage
Install plugin.
yarn add @wharfkit/transact-plugin-autocorrect
Include when configuring the Session Kit:
import {TransactPluginAutoCorrect} from '@wharfkit/transact-plugin-autocorrect'
const kit = new SessionKit({
// ... your other options
transactPlugins: [new TransactPluginAutoCorrect()],
})
Or when you are manually configuring a Session:
import {TransactPluginAutoCorrect} from '@wharfkit/transact-plugin-autocorrect'
const session = new Session({
// ... your other options
transactPlugins: [new TransactPluginAutoCorrect()],
})
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.