cacti-weaver-sdk-fabric 2.0.0-rc.5
Install from the command line:
Learn more about npm packages
$ npm install @hyperledger/cacti-weaver-sdk-fabric@2.0.0-rc.5
Install via package.json:
"@hyperledger/cacti-weaver-sdk-fabric": "2.0.0-rc.5"
About this version
Client library functions to augment or complement the Fabric-Node-SDK library
The near-term scope of this project is the development of library functions and a NodeJS-based API for exercising of those functions by a Fabric client application. The library can be imported by an application written in NodeJS the same way the fabric-client
library is. Functions to be implemented within this library involve communication with relays and with remote Fabric networks for the purpose of running cross-network chaincode queries.
In the longer-term, we will add support for cross-network transaction invocations as well as event publish/subscribe.
Further down the line, we may add extra support, as required, for information exchange with remote networks running on DLT platforms other than Fabric.
Run npm install
then run make build
.
or run make build-local
, this will clone/copy the proto files and generate the javascript proto files
Run npm test
Run npm run docs
to generate docs. View docs via the generated html file.
- Create a Personal Access Token from Github with read access to packages. Refer Creating a Personal Access Token for help.
- Create a copy of
.npmrc.template
as.npmrc
. - Replace in copied
.npmrc
file with your personal access token. - Now put this
.npmrc
file in your application in same level as package.json. - Now you can run
npm install @hyperledger/cacti-weaver-sdk-fabric
in your application directory to install the latest version.
- Create a Personal Access Token from Github with write/read/delete access to packages. Refer Creating a Personal Access Token for help.
- Create a copy of
.npmrc.template
as.npmrc
. - Replace in copied
.npmrc
file with your personal access token. - Run
npm publish
to publish package to github packages.
NOTE: Always publish to your fork first, and only after testing it well, then
after PR approval, publish it to hyperledger/cacti
.
To publish to your fork, modify in package.json
:
...
"publishConfig": {
"registry": "https://npm.pkg.github.com/<your-git-name>"
}
NOTE:- Github Packages won't allow you to update the package if same version exists, you have to delete the package version (requires admin access) before publishing an update on the same package version.
Details
- cacti-weaver-sdk-fabric
- hyperledger
- about 2 months ago
- Apache-2.0
- 25 dependencies
Assets
- cacti-weaver-sdk-fabric-2.0.0-rc.5.tgz
Download activity
- Total downloads 3
- Last 30 days 1
- Last week 1
- Today 0