2016-11-03 16:56:10 +00:00
|
|
|
Node Explorer
|
|
|
|
=============
|
|
|
|
|
2019-01-28 14:11:59 +00:00
|
|
|
.. note:: To run Node Explorer on your machine, you will need JavaFX for Java 8. If you don't have JavaFX
|
|
|
|
installed, you can either download and build your own version of OpenJFK, or use a pre-existing
|
|
|
|
build, like the one offered by Zulu. They have community builds of OpenJFX for Window, macOS and Linux
|
|
|
|
available on their `website <https://www.azul.com/downloads/zulu/zulufx/>`_.
|
|
|
|
|
2016-12-06 16:16:47 +00:00
|
|
|
The node explorer provides views into a node's vault and transaction data using Corda's RPC framework.
|
|
|
|
The user can execute cash transaction commands to issue and move cash to other parties on the network or exit cash (eg. remove from the ledger)
|
2016-11-03 16:56:10 +00:00
|
|
|
|
|
|
|
Running the UI
|
|
|
|
--------------
|
|
|
|
**Windows**::
|
|
|
|
|
|
|
|
gradlew.bat tools:explorer:run
|
|
|
|
|
|
|
|
**Other**::
|
|
|
|
|
|
|
|
./gradlew tools:explorer:run
|
2018-12-29 11:18:07 +00:00
|
|
|
|
|
|
|
.. note:: In order to connect to a given node, the node explorer must have access to all CorDapps loaded on that particular node.
|
|
|
|
By default, it only has access to the finance CorDapp.
|
|
|
|
All other CorDapps present on the node must be copied to a ``cordapps`` directory located within the directory from which the node explorer is run.
|
2016-11-03 16:56:10 +00:00
|
|
|
|
2016-11-25 14:29:13 +00:00
|
|
|
Running demo nodes
|
2016-11-03 16:56:10 +00:00
|
|
|
------------------
|
2016-12-06 16:16:47 +00:00
|
|
|
|
2019-02-25 18:11:06 +00:00
|
|
|
Node Explorer is included with the :doc:`demobench` application, which allows
|
|
|
|
you to create local Corda networks on your desktop. For example:
|
2016-12-06 16:16:47 +00:00
|
|
|
|
2019-02-25 18:11:06 +00:00
|
|
|
* Notary
|
|
|
|
* Bank of Breakfast Tea (*Issuer node* for GBP)
|
|
|
|
* Bank of Big Apples (*Issuer node* for USD)
|
2019-02-27 14:32:39 +00:00
|
|
|
* Alice (*Participant node*, for user Alice)
|
|
|
|
* Bob (*Participant node*, for user Bob)
|
2019-02-25 18:11:06 +00:00
|
|
|
|
|
|
|
DemoBench will deploy all nodes with Corda's Finance CorDapp automatically, and
|
2019-02-27 14:32:39 +00:00
|
|
|
allow you to launch an instance of Node Explorer for each. You will also be logged
|
2019-02-25 18:11:06 +00:00
|
|
|
into the Node Explorer automatically.
|
2016-12-06 16:16:47 +00:00
|
|
|
|
|
|
|
When connected to an *Issuer* node, a user can execute cash transaction commands to issue and move cash to itself or other
|
|
|
|
parties on the network or to exit cash (for itself only).
|
|
|
|
|
|
|
|
When connected to a *Participant* node a user can only execute cash transaction commands to move cash to other parties on the network.
|
|
|
|
|
2019-02-25 18:11:06 +00:00
|
|
|
The Node Explorer is also available as a stand-alone JavaFX application. It is
|
|
|
|
available from the Corda repositories as ``corda-tools-explorer``, and can be
|
|
|
|
run as
|
2016-12-06 16:16:47 +00:00
|
|
|
|
2019-02-25 18:11:06 +00:00
|
|
|
java -jar corda-tools-explorer.jar
|
2017-09-22 16:36:03 +00:00
|
|
|
|
2016-12-06 16:16:47 +00:00
|
|
|
.. note:: Use the Explorer in conjunction with the Trader Demo and Bank of Corda samples to use other *Issuer* nodes.
|
2016-11-03 16:56:10 +00:00
|
|
|
|
|
|
|
Interface
|
|
|
|
---------
|
|
|
|
Login
|
2019-02-27 14:32:39 +00:00
|
|
|
User can login to any Corda node using the explorer.
|
|
|
|
Corda node address, username and password are required for login, the address is defaulted to localhost:0 if left blank.
|
2016-12-06 16:16:47 +00:00
|
|
|
Username and password can be configured via the ``rpcUsers`` field in node's configuration file.
|
2016-11-22 11:56:15 +00:00
|
|
|
|
2016-11-03 16:56:10 +00:00
|
|
|
.. image:: resources/explorer/login.png
|
|
|
|
:scale: 50 %
|
|
|
|
:align: center
|
|
|
|
|
2016-11-22 11:56:15 +00:00
|
|
|
Dashboard
|
2016-11-23 09:57:28 +00:00
|
|
|
The dashboard shows the top level state of node and vault.
|
|
|
|
Currently, it shows your cash balance and the numbers of transaction executed.
|
2017-01-06 11:05:37 +00:00
|
|
|
The dashboard is intended to house widgets from different CordApps and provide useful information to system admin at a glance.
|
2016-11-03 16:56:10 +00:00
|
|
|
|
|
|
|
.. image:: resources/explorer/dashboard.png
|
|
|
|
|
|
|
|
Cash
|
|
|
|
The cash view shows all currencies you currently own in a tree table format, it is grouped by issuer -> currency.
|
|
|
|
Individual cash transactions can be viewed by clicking on the table row. The user can also use the search field to narrow down the scope.
|
|
|
|
|
|
|
|
.. image:: resources/explorer/vault.png
|
|
|
|
|
2016-12-06 16:16:47 +00:00
|
|
|
New Transactions
|
|
|
|
This is where you can create new cash transactions.
|
|
|
|
The user can choose from three transaction types (issue, pay and exit) and any party visible on the network.
|
|
|
|
|
|
|
|
General nodes can only execute pay commands to any other party on the network.
|
|
|
|
|
|
|
|
.. image:: resources/explorer/newTransactionCash.png
|
|
|
|
|
|
|
|
Issuer Nodes
|
|
|
|
Issuer nodes can execute issue (to itself or to any other party), pay and exit transactions.
|
2016-11-22 11:56:15 +00:00
|
|
|
The result of the transaction will be visible in the transaction screen when executed.
|
|
|
|
|
2016-12-06 16:16:47 +00:00
|
|
|
.. image:: resources/explorer/newTransactionIssuer.png
|
2016-11-22 11:56:15 +00:00
|
|
|
|
2016-11-03 16:56:10 +00:00
|
|
|
Transactions
|
|
|
|
The transaction view contains all transactions handled by the node in a table view. It shows basic information on the table e.g. Transaction ID,
|
|
|
|
command type, USD equivalence value etc. User can expand the row by double clicking to view the inputs,
|
|
|
|
outputs and the signatures details for that transaction.
|
|
|
|
|
|
|
|
.. image:: resources/explorer/transactionView.png
|
|
|
|
|
2016-11-22 11:56:15 +00:00
|
|
|
Network
|
2016-11-23 09:57:28 +00:00
|
|
|
The network view shows the network information on the world map. Currently only the user's node is rendered on the map.
|
|
|
|
This will be extended to other peers in a future release.
|
2017-01-06 11:05:37 +00:00
|
|
|
The map provides an intuitive way of visualizing the Corda network and the participants.
|
2016-11-03 16:56:10 +00:00
|
|
|
|
2016-11-22 11:56:15 +00:00
|
|
|
.. image:: resources/explorer/network.png
|
|
|
|
|
|
|
|
|
|
|
|
Settings
|
|
|
|
User can configure the client preference in this view.
|
2016-11-29 11:36:42 +00:00
|
|
|
|
2016-11-23 09:57:28 +00:00
|
|
|
.. note:: Although the reporting currency is configurable, FX conversion won't be applied to the values as we don't have an FX service yet.
|
2016-11-22 11:56:15 +00:00
|
|
|
|
|
|
|
|
|
|
|
.. image:: resources/explorer/settings.png
|