A plugin to allow users to interact with Wharf Kit in a console.
Install the plugin with
yarn add @wharfkit/console-renderer
Use the plugin when instantiating a Wharf Kit session:
import { Session } from '@wharfkit/core';
import { ConsoleRenderer } from '@wharfkit/console-renderer';
const session = new Session({
...
ui: [
new ConsoleRenderer(),
],
});s
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.
To run the unit tests, run:
make test
To try out the interactive console, run:
make test-cli
Made with ☕️ & ❤️ by Greymass, if you find this useful please consider supporting us.