Skip to content

Repository files navigation

cellframe-node-plugin-explorer

Description

cellframe-node-plugin-explorer is a plugin for a node that allows you to get information about transactions and DAG events via API, via http request. You can get information at the following URL http://'node address':'port node'/expl

Formation of addresses for receiving information from the node.

TODO

Installation

To install the plugin, you need the installed cellframe node.

After you have made sure that the node is installed, you need to go through the following steps:

  1. In the /opt/cellframe-node/var/lib/ directory, create the plugins directory
  2. In the created plugins directory, create the explorer directory
  3. In the created directory explorer, copy the files
  • explorer.py
  • manifest.json
  1. In the cellframe-node configuration, enable the loading of Python plugins. To do this, uncomment the following lines in the /opt/cellframe-node/etc/cellframe-node.cfg file
#[plugins]
#py_load=false
#py_path=opt/cellframe-node/var/lib/plugins
  1. py_load set to true
  2. Restart the cellframe-node service.

To check that the plugin has started and is working properly, you can contact it at http://'IP or DNS address of the node':'port node'/expl

Enabled cache explorer

To launch the explorer cache, you need to create a section in the configuration file of the cellframe-node [explorer] and set the cache parameter to true. As a result, you should have the following entry in the cellframe-node configuration file.

[explorer]
cache=true

Releases

Packages

Contributors

Languages