Corda is an open source blockchain project, designed for business from the start. Only Corda allows you to build interoperable blockchain networks that transact in strict privacy. Corda's smart contract technology allows businesses to transact directly, with value.
Go to file
Roger Willis 6d1462f8eb CollectSignaturesFlow (#560)
* Initial commit for CollectSignaturesFlow, some tests and associated documentation via a new "Flow Library" section of the docsite.

* Refactored the TwoPartyDealFlow to use the CollectSignaturesFlow.

* Added the subclassed CollectsigsFlow to the trader demo, whitelisted it and added a flow initiator for the responder.

* Minor edits to progress tracker.

* Amended as per Rick's comments.

* Generalised this flow, so it now works if more than one signatures have been collected, initially.

* Minor edits to the IRS demo so it uses the CollectSignaturesFlow.

* For debugging purposes...

* Adding CollectsigsFlow support to SIMM Demo.

* Removing debug logging.

* Amended top level comment: transactions can only have one notary.

* Added TODOs as checkTransaction logic is absent.

* Addressed Mike's review comments.

* Minor edit to flow-library docs.

* Updated flow based on Mike's review comments.

* Added two usage examples and updated the tests.

* Made changes to accommodate new CollectSignaturesFlow approach.

* Made changes to SIMM demo to accommodate new CollectSignaturesFlow approach.

* Added abstract check proposal method to two party deal flow.

* Added missing TODOs.

* Addressed Sham's comments.

* Rebased to M11.
2017-05-11 14:37:53 -04:00
.idea Sync .idea/compiler.xml with Gradle 2017-05-08 14:11:34 +02:00
buildSrc Upgraded both guava and guava-testlib to 21.0 and made sure they share the same version variable 2017-03-24 17:17:36 +00:00
client Move party classes into identity package 2017-05-11 11:25:59 +01:00
config Interim patch introducing X500Names 2017-05-03 10:46:03 +01:00
core CollectSignaturesFlow (#560) 2017-05-11 14:37:53 -04:00
docs CollectSignaturesFlow (#560) 2017-05-11 14:37:53 -04:00
experimental Merge pull request #669 from corda/aslemmer-quasar-hook 2017-05-11 15:34:46 +01:00
finance CollectSignaturesFlow (#560) 2017-05-11 14:37:53 -04:00
gradle/wrapper Upgrade to Kotlin 1.0.7 and Gradle 3.4.1 (#402) 2017-03-22 12:05:49 +00:00
gradle-plugins NodeRunner enhancements (#614) 2017-05-09 10:22:22 +01:00
lib Upgrade Quasar to 0.7.6 and fix an exception handling bug in SMM that it revealed (if an exception was thrown immediately on protocol startup we let it leak instead of capturing it in the future. 2016-08-17 14:43:45 +01:00
node Add certificate path storage to identity service 2017-05-11 16:55:23 +01:00
node-api Making sure non-serialisable objects in FlowException do not interfere with the flow session (#651) 2017-05-10 11:07:28 +01:00
node-schemas Move party classes into identity package 2017-05-11 11:25:59 +01:00
samples CollectSignaturesFlow (#560) 2017-05-11 14:37:53 -04:00
test-utils Add certificate path storage to identity service 2017-05-11 16:55:23 +01:00
tools Introducing StartableByRPC and SchedulableFlow annotations, needed by flows started via RPC and schedulable flows respectively. 2017-05-11 14:55:40 +01:00
verifier Move party classes into identity package 2017-05-11 11:25:59 +01:00
webserver Introducing StartableByRPC and SchedulableFlow annotations, needed by flows started via RPC and schedulable flows respectively. 2017-05-11 14:55:40 +01:00
.gitignore AMQP serialisation: Part 1 (#581) 2017-05-05 12:14:02 +01:00
build.gradle Upgraded to Kotlin 1.1.2 2017-05-10 10:50:35 +01:00
constants.properties Upgraded to Kotlin 1.1.2 2017-05-10 10:50:35 +01:00
CONTRIBUTING.md Addressed some review comments about the license and readmes. 2016-11-22 11:56:46 +00:00
gradle.properties Enable Kotlin incremental compilation in Gradle 2017-01-06 16:39:01 +01:00
gradlew Upgrade to Kotlin 1.0.7 and Gradle 3.4.1 (#402) 2017-03-22 12:05:49 +00:00
gradlew.bat Upgrade to Kotlin 1.0.7 and Gradle 3.4.1 (#402) 2017-03-22 12:05:49 +00:00
LICENSE Update LICENSE 2017-03-06 15:33:29 +01:00
README.md Update production readiness warning (#505) 2017-04-04 16:58:24 +01:00
settings.gradle Address comments #669 2017-05-11 11:13:18 +01:00
TRADEMARK Amended wording of trademark notice per advice from legal counsel. 2016-11-29 21:11:09 +00:00

Corda

Corda

Corda is a decentralised database system in which nodes trust each other as little as possible.

Features

  • A P2P network of nodes
  • Smart contracts
  • Flow framework
  • "Notary" infrastructure to validate uniqueness of transactions
  • Written as a platform for distributed apps called CorDapps
  • Written in Kotlin, targeting the JVM

Read our full and planned feature list here.

Getting started

Firstly, read the Getting started documentation.

Next, use the following guides to set up your dev environment:

  • If you are on Windows use this getting started guide which also explains through how to run the sample apps.

  • Alternatively if you are on Mac/Linux, watch this brief Webinar which walks through getting Corda, installing it, building it, running nodes and opening projects in IntelliJ.

After the above, watching the following webinars will give you a great introduction to Corda:

Webinar 1 Introduction to Corda

Richard Brown, R3 Chief Technology Officer, explains Corda's unique architecture, the only distributed ledger platform designed by and for the financial industry's unique requirements. You may want to read the Corda non-technical whitepaper as pre-reading for this session.

Webinar 2 Corda Developers Tutorial

Roger Willis, R3 Developer Relations Lead, provides an overview of Corda from a developers perspective and guidance on how to start building CorDapps. You may want to view Webinar 1 - Introduction to Corda as preparation for this session. NB. This was recorded for the M5 release.

Building on Corda

To build your own CorDapps:

  1. Clone the CorDapp Template repository
  2. Read the README (IMPORTANT!)
  3. Read the Writing a CorDapp documentation

To look at the Corda source and run some sample applications:

  1. Clone this repository
  2. To run some sample CorDapps, read the running the demos documentation
  3. Start hacking and contribute!

Development State

Corda is under active development and is maturing rapidly. We are targeting production-readiness in 2017. The API will continue to evolve throughout 2017; backwards compatibility not assured until version 1.0.

Pull requests, experiments, and contributions are encouraged and welcomed.

Background

The project is supported by R3, a financial industry consortium, which is why it contains some code for financial use cases and why the documentation focuses on finance. The goal is to use it to construct a global ledger, simplifying finance and reducing the overheads of banking. But it is run as an open source project and the basic technology of a peer-to-peer decentralised database may be useful for many different projects.

Contributing

Please read here.

License

Apache 2.0

Acknowledgements

YourKit

YourKit supports open source projects with its full-featured Java Profiler.

YourKit, LLC is the creator of YourKit Java Profiler and YourKit .NET Profiler, innovative and intelligent tools for profiling Java and .NET applications.