Skip to content

TransactPlugin for the Wharf Session Kit. Calls a callback function when broadcasted transaction is final.

License

Notifications You must be signed in to change notification settings

wharfkit/transact-plugin-finality-checker

Repository files navigation

@wharfkit/transact-plugin-finality-checker

A Transact plugin that displays the finality status of a transaction after it has been broadcasted to the blockchain.

Usage

Install the plugin:

yarn add @wharfkit/transact-plugin-finality-checker

Then use it when instantiating the SessionKit:

new SessionKit(sessionArgs, {
    ...
    transactPlugins: [
        new TransactPluginFinalityChecker(),
    ],
})

## Developing

You need [Make](https://www.gnu.org/software/make/), [node.js](https://nodejs.org/en/) and [yarn](https://classic.yarnpkg.com/en/docs/install) installed.

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

---

Made with ☕️ & ❤️ by [Greymass](https://greymass.com), if you find this useful please consider [supporting us](https://greymass.com/support-us).

About

TransactPlugin for the Wharf Session Kit. Calls a callback function when broadcasted transaction is final.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published