LayerXcom / cordage

Cordage: the blockchain interoperability project!
https://layerxcom.github.io/cordage/en/
Other
52 stars 6 forks source link
blockchain corda cordage cross-chain-applications ethereum hyperledger-besu interoperability quorum

Cordage

Cordage makes the interoperability possible between Corda and other Blockchains by providing several modules that propagate, pull and verify information between Blockchains without further trusted third party.

In the first stage, we focus on EVM based blockchain such as Ethereum, Quorum and Hyperledger Besu.

WARNING: Cordage is alpha quality software, improvements and fixes are made frequently.

How Cordage makes the interoperability possible

In general, key features to compose the interoperability are as follow:

Data propagation is a feature that propagates data to each other between blockchains. Data verification is a feature that verifies propagated data.

Cordage provides these features as executable modules that do not require additional components except Corda and the other Blockchain. A combination of these modules enables you to build concrete cross-chain applications.

Cordage use cases

Put simply, cross-chain applications are abstracted in 2 patterns.

One is the data import. Implementing the wrapped asset such as Wrapped Bitcoin enables you to move assets from one ledger to the other. By implementing the cross-chain oracle, you can import external ledger information such as ETH/DAI price.

The other one is the data update with condition triggers. The cross-chain atomic swap is one of the most appealing applications. It enables payment-versus-payment and payment-versus-delivery settlement. This pattern also includes asset encumbrance. It realizes various applications such as liens, collateral in finance, clawbacks, etc.

Cordage sample applications

Run tests

Cordage modules

In the first stage, we focus on Corda and EVM based blockchain interoperability. Then, we will be connecting with Hyperledger Fabric.

Data propagation and data verification features, that are explained in the section of How Cordage makes the interoperability possible, are consists of subdivided features as follow:

Data propagation

Data verification

Implementation status

We have implemented the following modules so far.

P1: Flow Ethereum TX

P3: Flow Ethereum Event Watch

P1+P4+V2: Custom Notary Flow that creates an ethereum tx and sends to the ethereum node

How to run

Please follow the README.md in each directory.

Contact

For further discussions and questions, please talk to us on Gitter!

Contributing

We welcome contributions to Cordage. Feel free to submit your own issues and PRs!

License

Cordage is licensed under the Apache License, Version 2.0.

Maintainers

Sponsors

LayerX