corda/tools/explorer
Shams Asari 830959c9f7
CORDA-2345: Simplified TestCordapp to make it inline with the recent CorDapp versioning changes (#4434)
TestCordapp has now two implementations to clearly separate the two use cases it has in the Corda repo:

* TestCordappImpl which implements the revised public API of TestCordapp; namely that a TestCordapp instance references a real CorDapp jar on the classpath. This is either an external dependency jar in which case it’s taken as is and given to the node, or it’s a local gradle project in which case it’s compiled using the gradle “jar” task to generate the CorDapp jar. This approach means the jar has all the original CorDapp versioning information, which is important that it’s correct when testing. To this end, TestCordapp only needs to expose the ability to specify the app’s config. All the remaining properties have moved to CustomCordapp.

* CustomCordapp for creating arbitrary custom CorDapps, including specifying the jar’s MANIFEST values. This is internal API and only used for testing the platform. Technically this shouldn’t implement TestCordapp but does so to reduce the complexity of the driver and mock network.
2018-12-20 09:49:58 +00:00
..
capsule CORDA-1985: Configure Gradle capsule plugin to use Capsule 1.0.3. (#3949) 2018-09-17 13:55:31 +01:00
src CORDA-2345: Simplified TestCordapp to make it inline with the recent CorDapp versioning changes (#4434) 2018-12-20 09:49:58 +00:00
build.gradle CORDA-2331 Split Workflow and contracts of Finance App into separate Cordapps (#4422) 2018-12-19 18:02:51 +00:00
README.md CORDA-1127 - updated comments to follow current port layout (#2669) 2018-02-28 16:48:40 +01:00

Node Explorer

The node explorer provides views of the 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 using the user interface.

Running the UI

Windows:

gradlew.bat tools:explorer:run

Other:

./gradlew tools:explorer:run

Running Demo Nodes

A demonstration Corda network topology is configured with 5 nodes playing the following roles:

  1. Notary
  2. Issuer nodes (representing two fictional central banks - UK Bank Plc issuer of GBP and USA Bank Corp issuer of USD)
  3. Participant nodes (representing two users - Alice and Bob)

The Issuer nodes have the ability to issue, move and exit cash amounts. The Participant nodes are only able to spend cash (eg. move cash).

Windows:

gradlew.bat tools:explorer:runDemoNodes

Other:

./gradlew tools:explorer:runDemoNodes

These Corda nodes will be created on the following port on localhost.

  • Notary -> 20005 (Does not accept logins)
  • UK Bank Plc -> 20011 (Issuer node)
  • USA Bank Corp -> 20008 (Issuer node)
  • Alice -> 20017
  • Bob -> 20014

Explorer login credentials to the Issuer nodes are defaulted to manager and test. Explorer login credentials to the Participants nodes are defaulted to user1 and test. Please note you are not allowed to login to the notary.

TODOs:

  • Shows more useful information in the dashboard.
  • Improve Network View, display other nodes in the world map and show transactions between them.
  • Add a new view showing node's state machines.
  • Link transaction input to its originated transaction to make it easier to trace back.
  • Shows Node information (Configuration, properties etc.) in Settings view.
  • Support other contract types.

More information can be found in the Project website and Documentation.