Skip to content

A plugin for publishing arbitrary data on the blockchain using OP_RETURN

Notifications You must be signed in to change notification settings

bpanel-org/publish-data

Repository files navigation

Publish Data

A simple plugin for publishing arbitrary data to the blockchain using OP_RETURN. This plugin will automatically split up the scripts to abide by the OP_RETURN data size limits. Raw scripts are printed below the input to display what is added to your transactions output. Set the fee and choose the wallet to send and fund the tx with. TX hash of published transaction will be printed on the screen if successful.

To learn about how to publish data to the blockchain with bcoin using OP_RETURN checkout the guide on bcoin.io: Store Data on the Blockchain.

Installation

Install the Publish Data plugin the same way you would with any other bPanel plugin: add the name of the npm package to the plugins array in the pluginsConfig.js file:

// webapp/config/pluginsConfig.js
export const localPlugins = [];

export const plugins = ['@bpanel/publish-data'];

export default { localPlugins, plugins };

More on installing bPanel plugins here.

Planned Features

  • Support wallets protected with passphrases
  • Return entire raw transaction
  • notification when tx gets mined

screenshot

About

A plugin for publishing arbitrary data on the blockchain using OP_RETURN

Resources

Stars

Watchers

Forks

Packages

No packages published