-
Notifications
You must be signed in to change notification settings - Fork 285
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(fabric-driver): added weaver fabric driver as cacti plugin package
fix(fabric-driver): yarn lint errors Signed-off-by: Sandeep Nishad <sandeep.nishad1@ibm.com>
- Loading branch information
1 parent
03816d4
commit 36b8470
Showing
9 changed files
with
119 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
{ | ||
"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": "cacti@lists.hyperledger.org", | ||
"url": "https://www.hyperledger.org/use/cacti" | ||
}, | ||
"contributors": [ | ||
{ | ||
"name": "Please add yourself to the list of contributors", | ||
"email": "your.name@example.com", | ||
"url": "https://example.com" | ||
}, | ||
{ | ||
"name": "Venkatraman Ramakrishna", | ||
"email": "vramakr2@in.ibm.com", | ||
"url": "https://researcher.watson.ibm.com/researcher/view.php?person=in-vramakr2" | ||
}, | ||
{ | ||
"name": "Sandeep Nishad", | ||
"email": "sandeep.nishad1@ibm.com", | ||
"url": "https://github.com/sandeepnRES" | ||
}, | ||
{ | ||
"name": "Krishnasuri Narayanam", | ||
"email": "knaraya3@in.ibm.com", | ||
"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": { | ||
"build": "cd src/main/typescript && make build", | ||
"build-image": "cd src/main/typescript && make build-image", | ||
"build-image-local": "cd src/main/typescript && make build-image-local", | ||
"build-local": "cd src/main/typescript && make build-local", | ||
"clean": "cd src/main/typescript && make clean", | ||
"clean-local": "cd src/main/typescript && make clean-local", | ||
"publish": "cd src/main/typescript && make push-image && make push-image-latest", | ||
"postpublish": "cd src/main/typescript && make push-image-latest", | ||
"watch": "npm-watch" | ||
}, | ||
"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": {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/). | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../weaver/core/drivers/fabric-driver |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters