@wharfkit/console-renderer
v0.1.1
Published
A template to create user interfaces for use with @wharfkit/session.
Readme
@wharfkit/console-renderer
A plugin to allow users to interact with Wharf Kit in a console.
Installation
Install the plugin with
yarn add @wharfkit/console-rendererUsage
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(),
],
});sDeveloping
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.
Testing
To run the unit tests, run:
make testTo try out the interactive console, run:
make test-cliMade with ☕️ & ❤️ by Greymass, if you find this useful please consider supporting us.
