Skip to content

Latest commit

 

History

History
73 lines (54 loc) · 9.94 KB

MIGRATION_TO_CACTI.md

File metadata and controls

73 lines (54 loc) · 9.94 KB

Migration to Cacti

If you are already familiar with the Weaver Getting Started tutorial, you can compare it with the corresponding tutorial for Weaver components within Cacti. The instructions are almost identical, with differences in the names of packages, images, and modules, either in configuration files or in public repositories.

Repository

The entire source code of github.com/hyperledger-labs/weaver-dlt-interoperability (https://github.com/hyperledger-labs/weaver-dlt-interoperability) was migrated to the weaver folder within github.com/hyperledger/cacti (https://github.com/hyperledger/cacti/tree/main/weaver). As a developer/contributor, you can compare the two and note recent changes made to the latter.

Documentation

Weaver philosophy and usage was documented in https://labs.hyperledger.org/weaver-dlt-interoperability/docs/external/introduction. The philosophy and usage of Weaver components as part of the Cacti framework are now documented in https://hyperledger.github.io/cacti/weaver/introduction/.

Users can compare the instructions for setting up test networks and testing protocols in https://labs.hyperledger.org/weaver-dlt-interoperability/docs/external/getting-started/guide with the newer Cacti version in https://hyperledger.github.io/cacti/weaver/getting-started/guide/. The instructions look very similar; only the references (URLs, package names, Docker image names, etc.) have changed.

References: Package and Image Names

Below we list the published Weaver packages and images, and their corresponding published Cacti packages and images.

Packages

Type Module/Feature Weaver Cacti
NPM (JavaScript & TypeScript) Common Protobufs (JS/TS) @hyperledger-labs/weaver-protos-js @hyperledger/cacti-weaver-protos-js
Node SDK for Fabric @hyperledger-labs/weaver-fabric-interop-sdk @hyperledger/cacti-weaver-sdk-fabric
Node SDK for Besu @hyperledger-labs/weaver-besu-interop-sdk @hyperledger/cacti-weaver-sdk-besu
Go Common Protobufs (Go) github.com/hyperledger-labs/weaver-dlt-interoperability/common/protos-go github.com/hyperledger/cacti/weaver/common/protos-go/v2
Go SDK for Fabric github.com/hyperledger-labs/weaver-dlt-interoperability/sdks/fabric/go-sdk github.com/hyperledger/cacti/weaver/sdks/fabric/go-sdk/v2
Fabric Interop Chaincode github.com/hyperledger-labs/weaver-dlt-interoperability/core/network/fabric-interop-cc/contracts/interop github.com/hyperledger/cacti/weaver/core/network/fabric-interop-cc/contracts/interop/v2
Fabric Utils Library for Chaincode github.com/hyperledger-labs/weaver-dlt-interoperability/core/network/fabric-interop-cc/libs/utils github.com/hyperledger/cacti/weaver/core/network/fabric-interop-cc/libs/utils/v2
Fabric Asset Exchange Library for Chaincode github.com/hyperledger-labs/weaver-dlt-interoperability/core/network/fabric-interop-cc/libs/assetexchange github.com/hyperledger/cacti/weaver/core/network/fabric-interop-cc/libs/assetexchange/v2
Fabric Asset Management Interface for Chaincode github.com/hyperledger-labs/weaver-dlt-interoperability/core/network/fabric-interop-cc/interfaces/asset-mgmt github.com/hyperledger/cacti/weaver/core/network/fabric-interop-cc/interfaces/asset-mgmt/v2
Maven (Java & Kotlin) Common Protobufs (Java/Kotlin) com.weaver.protos-java-kt org.hyperledger.cacti.weaver.protos.protos-java-kt
Java/Kotlin SDK for Corda com.weaver.corda.sdk.weaver-corda-sdk org.hyperledger.cacti.weaver.sdk.corda.weaver-sdk-corda
Interop CorDapp Contracts com.weaver.corda.app.interop.interop-contracts org.hyperledger.cacti.weaver.imodule.corda.interop-contracts
Interop CorDapp Workflows com.weaver.corda.app.interop.interop-workflows org.hyperledger.cacti.weaver.imodule.corda.interop-workflows
Cargo (Rust) Common Protobufs (Rust) weaver_protos_rs cacti_weaver_protos_rs

Docker Images

Module/Feature Weaver Cacti
Relay Server ghcr.io/hyperledger-labs/weaver-relay-server ghcr.io/hyperledger/cacti-weaver-relay-server
Fabric Driver ghcr.io/hyperledger-labs/weaver-fabric-driver ghcr.io/hyperledger/cacti-weaver-driver-fabric
Corda Driver ghcr.io/hyperledger-labs/weaver-corda-driver ghcr.io/hyperledger/cacti-weaver-driver-corda
IIN Agent ghcr.io/hyperledger-labs/weaver-iin-agent ghcr.io/hyperledger/cacti-weaver-iin-agent
Fabric Interop Chaincode ghcr.io/hyperledger-labs/weaver-fabric-cc ghcr.io/hyperledger/cacti-weaver-imodule-fabric

Examples