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
TODO
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:
- In the /opt/cellframe-node/var/lib/ directory, create the plugins directory
- In the created plugins directory, create the explorer directory
- In the created directory explorer, copy the files
- explorer.py
- manifest.json
- 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
- py_load set to true
- 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
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