diff --git a/packages/cacti-weaver-driver-fabric/package.json b/packages/cacti-weaver-driver-fabric/package.json new file mode 100644 index 00000000000..b4fa4c1ecbe --- /dev/null +++ b/packages/cacti-weaver-driver-fabric/package.json @@ -0,0 +1,81 @@ +{ + "name": "@hyperledger/cacti-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": { + "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": {} + } + \ No newline at end of file diff --git a/packages/cacti-weaver-driver-fabric/readme.md b/packages/cacti-weaver-driver-fabric/readme.md new file mode 100644 index 00000000000..7a504e1aadd --- /dev/null +++ b/packages/cacti-weaver-driver-fabric/readme.md @@ -0,0 +1,15 @@ + +# 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/). + + diff --git a/packages/cacti-weaver-driver-fabric/src/main/typescript b/packages/cacti-weaver-driver-fabric/src/main/typescript new file mode 120000 index 00000000000..34419c8b221 --- /dev/null +++ b/packages/cacti-weaver-driver-fabric/src/main/typescript @@ -0,0 +1 @@ +../../../../weaver/core/drivers/fabric-driver \ No newline at end of file