Skip to content

OTCGO/neo-plugins

 
 

Repository files navigation

What is it

A set of plugins that can be used inside the NEO core library. Check here for the official documentation.

Using plugins

Plugins can be used to increase functionality, as well as providing policies definitions of the network. One common example is to add the ApplicationLogs plugin in order to enable your node to create log files.

To configure a plugin, do the following:

  • Download the desired plugin from the Releases page
  • Alternative: Compile from source
    • Clone this repository;
    • Open it in Visual Studio, select the plugin you want to enable and select publish (compile it using Release configuration)
    • Create the Plugins folder in neo-cli / neo-gui (where the binary is run from, like /neo-cli/bin/debug/netcoreapp2.1/Plugins)
  • Copy the .dll and the folder with the configuration files into this Plugin folder.
  • Start neo using additional parameters, if required;
    • In order to start logging, start neo with the --log option.

The resulting folder structure is going to be like this:

./neo-cli.dll
./Plugins/ApplicationLogs.dll
./Plugins/ApplicationsLogs/config.json

Existing plugins

Application Logs

Add this plugin to your application if need to access the log files. This can be useful to handle notifications, but remember that this also largely increases the space used by the application.

Core Metrics

Metrics from the Blockchain. This can involve reports through RPC calls or other form of persisting.

Import Blocks

Synchronizes the client using offline packages. Follow the instructions here to bootstrap your network using this plugin.

RPC NEP5 Tracker

Plugin that enables NEP5 tracking using LevelDB.

RPC Security

Improves security in RPC nodes.

RPC System Asset Tracker

Plugin that enables Assets tracker. In particular, it enables RPC calls for getunpents and claimables.

Simple Policy

Enables policies for Consensus or Seed Nodes. In particular, policies for accepting transactions in the mempool and managing them.

StatesDumper

Exports NEO-CLI status data (useful for debugging).

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%