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
Andras Slemmer 33421bdd44 CORDA-577: FlowSession porting (#1530)
* Throw exception if a flow is initiated twice for the same Party

* Chunk of porting

* Need ReceiveTransactionFlow

(cherry picked from commit 774383e)

* Notaries compile

* TwoPartyTrade

* SimmFlow & StateRevisionFlow

(cherry picked from commit da602b1)

* TwoPArtyDealFlow regulator send

* installCoreFlow

* IRSTradeFlow
UpdateBusinessDayFlow
RatesFixFlow
NodeInterestRates

(cherry picked from commit 6c8d314)

* Added recordTransaction parameter to ReceiveTransactionFlow

* Some Tests, Flows

* Fixed typo in record tx param

* more things

* Fix CollectSignatures

* FlowFrameworkTests

(cherry picked from commit 2c50bc3)

* Fix TwoPartyTradeFlow

* CustomVaultQuery

(cherry picked from commit 48f88e8)

* FlowsInJavaTest

* WorkflowTransactionBuildTutorial

* PersistentNetworkMapCacheTest

* FlowCookBookJava

(cherry picked from commit 9b48114)

* Fix RatesFixFlow

* Fix TwoPartyDealFlow to get signature of initiating side

* Integration tests

(cherry picked from commit dbcd965)

* CordappSmokeTest

(cherry picked from commit d19cbd6)

* Inlined FinalityFlow

* Updated uses of FinalityFlow

* ContractUpgradeFlowTest passes

* CollectSignaturesFlow refactor

(cherry picked from commit 5e7b1a7)

* Check that we are not the recipient of cash

* Fix Simm demo

* WorkflowTransactionBuildTutorialTest

* Fix CashPaymentFlowTests

* ScheduledFlowTests

* FlowFrameworkTests

* Add cordappPackagesToScan Driver param

* FinalityFlowTests

* Fix LoaderTestFlow

* NodeMonitorModelTest

* BankOfCordaRPCClientTest

* rename to extraCordappPackagesToScan

* Fixed broken merge

* BankOfCordaHttpAPITest

* Fix CollectSignaturesFlow

* Fix annotation on DummyFlow to stop warning

* Fix TraderDemoTest

* Review feedback

* Doc improvements and minor changes

* Address some PR comments

* Looping regulators into the FinalityFlow broadcast rather than sending separately in TwoPartyDealFlow.

* Add Uninitiated FlowState

* Add test for double initiateFlow exception

* Some more s&r victims

* FlowSession utilities (#1562)

* Merge fix

* CollectSignatureFlow can handle several signing keys

* Actually handle several signing keys

* update kdoc

* Correct SignTransactionFlow error message

* Create deprecated flows package

* Add internal deprecated flows

* Reverted FinalityFlow to auto-broadcast all tx participants

* Move the deprecated packages into another PR
2017-09-21 12:12:25 +01:00
.github Adjustments to the PR checklist 2017-09-20 16:58:31 +02:00
.idea Changed FlowLogic.ourIdentity to return Party and added FlowLogic.ourIdentityAndCert which returns PartyAndCertificate. (#1537) 2017-09-18 15:28:23 +01: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 CORDA-577: FlowSession porting (#1530) 2017-09-21 12:12:25 +01:00
confidential-identities CORDA-577: FlowSession porting (#1530) 2017-09-21 12:12:25 +01:00
config Enforce X500Name format defined in design doc (#1427) 2017-09-07 14:47:42 +01:00
core CORDA-577: FlowSession porting (#1530) 2017-09-21 12:12:25 +01:00
docs CORDA-577: FlowSession porting (#1530) 2017-09-21 12:12:25 +01:00
experimental [CORDA-461] Remove deprecated APIs. (#1480) 2017-09-13 15:39:39 +01:00
finance CORDA-577: FlowSession porting (#1530) 2017-09-21 12:12:25 +01:00
gradle/wrapper Switched gradle to include sources to make maintaining gradle files easier. 2017-08-24 12:33:11 +01:00
gradle-plugins Exclude kotlin-reflect artifact from any CorDapp. (#1555) 2017-09-19 15:05:54 +01:00
lib Restoring lib/quasar.jar from repo (#1389) 2017-09-05 12:58:23 +01:00
node CORDA-577: FlowSession porting (#1530) 2017-09-21 12:12:25 +01:00
node-api Remove advertised services from NodeInfo (#1521) 2017-09-20 13:19:57 +01:00
samples CORDA-577: FlowSession porting (#1530) 2017-09-21 12:12:25 +01:00
testing CORDA-577: FlowSession porting (#1530) 2017-09-21 12:12:25 +01:00
tools Clean up API for selecting notaries (#1573) 2017-09-21 10:28:18 +01:00
verifier CORDA-577: FlowSession porting (#1530) 2017-09-21 12:12:25 +01:00
webserver CordaX500Name JAX-RS parameter converter (#1571) 2017-09-21 10:19:42 +01:00
.gitignore Add kotlin throwables to whitelist (#1424) 2017-09-06 12:58:06 +01:00
build.gradle Move SwapIdentitiesFlow to confidential-identities module (#1531) 2017-09-18 14:19:20 +01:00
constants.properties Exclude kotlin-reflect artifact from any CorDapp. (#1555) 2017-09-19 15:05:54 +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 Upgraded to gradle 4.1. 2017-08-23 15:36:08 +01: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 Added a TC build icon and link to readme. 2017-06-15 16:53:29 +01:00
settings.gradle Move SwapIdentitiesFlow to confidential-identities module (#1531) 2017-09-18 14:19:20 +01:00
TRADEMARK Updated URL link to R3 trademark policy 2017-07-13 11:43:41 +01: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

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.