Skip to content

Commit

Permalink
feat(fabric-driver): added weaver fabric driver as cacti plugin package
Browse files Browse the repository at this point in the history
Signed-off-by: Sandeep Nishad <[email protected]>
  • Loading branch information
sandeepnRES committed Jun 17, 2024
1 parent f8f6bcb commit 8e30685
Show file tree
Hide file tree
Showing 3 changed files with 97 additions and 0 deletions.
81 changes: 81 additions & 0 deletions packages/cacti-plugin-weaver-driver-fabric/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
{
"name": "@hyperledger/cacti-plugin-weaver-driver-fabric",
"version": "2.0.0-alpha.2",
"description": "Driver Server for communication with a Fabric Network as part of weaver data sharing protocol",
"keywords": [
"Hyperledger",
"cacti",
"Integration",
"Blockchain",
"Distributed Ledger Technology",
"Weaver"
],
"homepage": "https://github.com/hyperledger/cacti#readme",
"bugs": {
"url": "https://github.com/hyperledger/cacti/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/hyperledger/cacti.git"
},
"license": "Apache-2.0",
"author": {
"name": "Hyperledger cacti Contributors",
"email": "[email protected]",
"url": "https://www.hyperledger.org/use/cacti"
},
"contributors": [
{
"name": "Please add yourself to the list of contributors",
"email": "[email protected]",
"url": "https://example.com"
},
{
"name": "Venkatraman Ramakrishna",
"email": "[email protected]",
"url": "https://researcher.watson.ibm.com/researcher/view.php?person=in-vramakr2"
},
{
"name": "Sandeep Nishad",
"email": "[email protected]",
"url": "https://github.com/sandeepnRES"
},
{
"name": "Krishnasuri Narayanam",
"email": "[email protected]",
"url": "https://research.ibm.com/people/krishnasuri-narayanam"
}
],
"main": "dist/lib/main/typescript/index.js",
"module": "dist/lib/main/typescript/index.js",
"types": "dist/lib/main/typescript/index.d.ts",
"files": [
"dist/*"
],
"scripts": {
"watch": "npm-watch",
"build": "cd src/main/typescript && make build",
"build-local": "cd src/main/typescript && make build-local",
"build-image": "cd src/main/typescript && make build-image",
"build-image-local": "cd src/main/typescript && make build-image-local",
"publish": "cd src/main/typescript && make push-image && make push-image-latest",
"postpublish": "cd src/main/typescript && make push-image-latest",
"clean": "cd src/main/typescript && make clean",
"clean-local": "cd src/main/typescript && make clean-local"
},
"dependencies": {
},
"devDependencies": {
},
"engines": {
"node": ">=18",
"npm": ">=8"
},
"publishConfig": {
"access": "public"
},
"browserMinified": "dist/cacti-weaver-driver-fabric.web.umd.min.js",
"mainMinified": "dist/cacti-weaver-driver-fabric.node.umd.min.js",
"watch": {}
}

15 changes: 15 additions & 0 deletions packages/cacti-plugin-weaver-driver-fabric/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!--
Copyright IBM Corp. All Rights Reserved.
SPDX-License-Identifier: CC-BY-4.0
-->
# Cacti Fabric-Driver

The term "driver" has been used in Weaver parlance, and is synonymous with "connector" as used in Cactus (and not in Cacti). Both terms refer to a module with an interface and functions to "connect" to a ledger of a given DLT type and "drive" transactions through that ledger for querying and state update purposes whenever required in the context of a cross-network transaction.
There are some distinctive features of the Weaver Fabric driver that are not covered by the Cactus Fabric connector package, which is why the two continue to co-exist at this time. Our goal is to eventually merge them into a single connector/driver package that offers both the distinctive and overlapping features of both the existing packages.

For detailed information about fabric driver visit [here](src/main/typescript/readme.md).

To use fabric-driver in your application please refer [documentation](https://hyperledger.github.io/cacti/weaver/getting-started/guide/).


0 comments on commit 8e30685

Please sign in to comment.