Uploaded image for project: 'Fabric Chaincode Node'
  1. Fabric Chaincode Node
  2. FABCN-8 Fabric support for javascript chaincode
  3. FABCN-316

Complete implementation of must-have shim APIs - Part I

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed (View Workflow)
    • Priority: Medium
    • Resolution: Done
    • Labels:
      None

      Description

      Based on feedback from Composer, the must-have APIs to be implemented:
      The basic lifecycle type calls

      shim.Start
      shim.Success
      shim.Error
      stub.GetFunctionAndParameters
      

      Key and State Calls (fundamental to Composer)

      GetState
      PutState
      DelState
      

      Other calls

      GetCreator - Fundamental for our access control
      SetEvent - Required for us to support emitting events
      

      Finally, these come for free:

      getArgs
      getStringArgs
      getTxID
      getTransient
      getSignedProposal
      getTxTimestamp
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jimthematrix Jim Zhang
              Reporter:
              jimthematrix Jim Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 2 weeks
                  2w
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 weeks
                  2w

                    Git Integration