1.4.1-2.0 • Published 10 months ago
@apex-pub/convector-tool-chaincode-manager v1.4.1-2.0
Convector Tool Chaincode Manager
This module contains the chaincode manager with tools to install and run chaincodes in a blockchain. This creates a binary called chaincode-manager
in the node_modules/.bin
folder.
Manager Config
The command relies on a configuration file provided at invocation. The file structure is detailed next:
worldsibuNpmToken
- the npm worldsibu token, if you don't have this, means you don't have permission to run our framework and it will fail to installchannel
- the channel where the chaincode is gonna be installedpeers
- a list of peers information, containing theurl
and a reachablemsp
pathorderer
- the orderer information, containing theurl
and a reachablemsp
pathadmin
- the user with admin privileges information, containing the username
,mspName
, andmsp
pathcontrollers
- a list of controllers to bound together in the chaincode, containing the npm packagename
, npm packageversion
and thecontroller
class name found in the packagepolicy
- a policy object, check the fabric sdk documentation for theendorsement-policy
field for mor information
All paths are resolved relative to the config file.
Here's an example on how the file looks
Manager Commands
chaincode-manager install <name> <version>
- install a new for the first time, this can be only executed the first time this chaincode is going to be install using this namechaincode-manager upgrade <name> <version>
- upgrade an existing chaincodechaincode-manager invoke <name> <controller> <function> [args...]
- invoke a function under a controller in a previously installed chaincode- All the commands demand a
-c ./chaincode.config.json
flag
1.4.1-0
10 months ago
1.4.1-4-alpha.71b29c8b
10 months ago
1.4.1-2.0
10 months ago
1.4.1-1.4.1-node20.0
10 months ago
1.4.1-4-alpha.e17c6b86
10 months ago
1.4.1-4-alpha.5d0544b6
10 months ago
1.4.1-4-alpha.aa405158
10 months ago
1.4.1-4-alpha.5f94f88e
10 months ago
1.4.1-4-alpha.6064f94c
10 months ago
1.4.1-4-alpha.8d3ff686
10 months ago
1.4.1-4-alpha.808cd029
10 months ago
1.4.1-4-alpha.8939dce7
10 months ago
1.4.1-4-alpha.c429017f
10 months ago
1.4.1-4-alpha.4ece38f3
10 months ago
1.4.0
11 months ago
1.3.12-1-alpha.c6e79dc1
11 months ago
1.3.12-1-alpha.7f254bb0
11 months ago
1.3.12-1-alpha.e89c9108
11 months ago
1.3.12-1-alpha.68de78fd
11 months ago
1.3.12-1-alpha.d64b57e0
11 months ago
1.3.10-0-alpha.861922ec
11 months ago
1.3.10-0-alpha.2486f88c
11 months ago