corda/tools/explorer
kasiastreich 36d5d0d7b2 Refactor of CompositeKeys to implement PublicKey interface. (#433)
* Make CompositeKey implement PublicKey

The initial implementation of composite keys as their own distinct class separate from PublicKey
means that the keys cannot be used on standard classes such as Certificate. This work is a beginning
to modifying CompositeKey to being a PublicKey implementation, although significant further work
is required to integrate this properly with the standard Java APIs, especially around verifying
signatures using the new key type.

* First stage of making CompositeKey implement PublicKey interface. Revert to using PublicKey everywhere we expect a key.

* Move algorithm and format into companion object (#432)

Move algorithm and format into companion object so that they can be referenced from other
classes (i.e. the upcoming signature class).

* Add simple invariants to construction of CompositeKey.
Builder emits CompositeKeys in simplified normalised form. Forbid keys with single child node, force ordering on children and forbid duplicates on the same level. It's not full semantical normalisation.

* Make constructor of CompositeKey private, move NodeWeight inside the class.
Add utility function for Kryo deserialization to read list with length constraints.
2017-04-12 11:13:20 +01:00
..
capsule Merge DemoBench into Corda. (#380) 2017-03-21 14:24:13 +00:00
src Refactor of CompositeKeys to implement PublicKey interface. (#433) 2017-04-12 11:13:20 +01:00
build.gradle Replace kotlinx-support-jdk8 with kotlin-stdlib-jre8. (#463) 2017-03-30 16:27:01 +01:00
README.md Update port numbers in explorer docs 2017-03-22 12:25:36 +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 -> 20003 (Does not accept logins)
  • Alice -> 20006
  • Bob -> 20009
  • UK Bank Plc -> 20012 (Issuer node)
  • USA Bank Corp -> 20015 (Issuer node)

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.