@apex-org/convector-core-chaincode
TypeScript icon, indicating that this package has built-in type declarations

1.3.10-0-alpha.2486f88c • Public • Published

Convector Base Chaincode

This module contains the code to build chaincodes using a model/controller system, where the models describe the different objects and controllers handle the business logic in a separate layer.

This is meant to be used with Hyperledger Fabric, and thus rely on the chaincode stub to access and persist data.

All the controllers' methods are registered using the convention controller_function, this way, if you want to invoke a function called create in a controller called person, you need to invoke the method person_create.

It's necessary to invoke the method initControllers after instantiate or upgrade the chaincode in order to initialize the controller mapping.

Package Sidebar

Install

npm i @apex-org/convector-core-chaincode

Weekly Downloads

1

Version

1.3.10-0-alpha.2486f88c

License

Apache-2.0

Unpacked Size

38.7 kB

Total Files

21

Last publish

Collaborators

  • akshaysood112
  • rodolfoleal