aaroncox 6d4db2f454 v1.4.1
2026-02-10 16:02:13 -08:00
2023-02-20 21:36:10 -05:00
2023-02-20 21:36:10 -05:00
2023-02-20 21:36:10 -05:00
2023-02-20 21:36:10 -05:00
2023-02-20 21:36:10 -05:00
2023-02-20 21:36:10 -05:00
2023-02-20 21:36:10 -05:00
2026-02-10 16:02:13 -08:00
2026-02-10 14:13:14 -08:00
2023-02-28 16:40:16 -05:00
2025-09-20 00:12:28 -07:00

@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 SessionKit args (appName, chains, ui, walletPlugins)
    },
    {
        transactPlugins: [new TransactPluginAutoCorrect()],
    }
)

Or when you are manually configuring a Session:

import {TransactPluginAutoCorrect} from '@wharfkit/transact-plugin-autocorrect'

const session = new Session(
    {
        // ... your other Session args (chain, walletPlugin, permissionLevel)
    },
    {
        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.

S
Description
TransactPlugin for the Wharf Session Kit. Attempt to automatically correct resource issues (CPU/NET/RAM) before a transaction is signed.
Readme BSD-3-Clause 179 KiB
Languages
TypeScript 78.3%
JavaScript 14%
Makefile 7.7%