Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including @bpanel/mempool-widget with all npm packages installed. Try it out:

var mempoolWidget = require("@bpanel/mempool-widget")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@bpanel/mempool-widget v0.2.0

A simple widget for the bPanel dashboard to display current mempool size and tx count

Mempool Widget

A simple widget for the bPanel Dashboard plugin. The mempool widget decorates the secondary widget area below the larger primary area. Order of widgets in secondary area will depend on the order in which the widget plugins were installed.

The widget relies on the chain sockets plugin to subscribe to new transaction events via websockets. TX count and mempool size will increase (and decrease) as new transactions are received and blocks found.

screenshot

(Note: you cannot actually make transactions cheaper by clicking a button. The button in the widget has no actual effect.)

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free