📚
Hyperledger Fabric Development
CtrlK
  • Introduction
  • Getting Started
    • VM Setup
    • Tools Setup
    • Problem Statement
  • Components and Concepts
    • Membership Service Provider
    • Ledger
    • Channel
    • Smart Contract and Chaincode
    • Ordering Service
    • Transaction Flow
  • Chaincode Basics
    • Introduction
    • ChainCode
    • Contract Class
    • Node.js Chaincode Structure
    • The ChaincodeStub Interface
    • Transaction Proposal Data
    • Distributed Ledger Data Representation
    • Simple Interaction with Ledger Data: getState, putState, delState
    • Chaincode Logging
    • Chaincode Unit Testing
  • Chaincode LifeCycle
    • Chaincode Deployment
    • Packaging
    • Installation
    • Chaincode Definition Approval
    • Chaincode Definition Commit
    • The Chaincode Upgrade
    • Endorsement Policies
    • Invoke and Query
    • Lab
  • Ledger Data Range Queries
    • Querying Ledger Data by Range
    • Composite Key
    • Queries Based on Composite Keys
    • Pagination
  • CouchDB as a State Database
    • Prerequisites
    • Understanding Rich Queries
    • ChaincodeStub Functions for Rich Queries
    • CouchDB Indexes
  • Using Chaincode to Read the History of Assets
    • Collecting the History of Assets
    • Collecting the History of Assets (continued)
  • Programmatic Access Control: Client Identity
    • ClientIdentity
    • Lab - Balance Transfer
  • Chaincode Specifics
    • Cross-Chaincode Invocation
    • Key-Level Endorsement Policies
    • Usage Restrictions of Chaincode Expressions
  • HL Fabric Node.js SDK
    • Overview of SDK Modules
    • fabric-network
    • fabric-common
    • fabric-ca-client
  • Main Application Components
    • Chapter Overview
    • Wallet: A User Identities Storage
    • Instantiate a Wallet
    • Import Identities into a Wallet
    • Select and Manage Wallet Identities
    • Gateway: Network Interactions Management
    • Connection Profiles
    • Instantiate and Connect to a Gateway
    • Access Networks and Contracts
    • Network, Contract, and Transaction Classes
  • Interaction with Fabric CA from an Application
    • User Registration and Enrollment
  • Event Processing
    • HL Fabric Events and Subscriptions
    • Listening to Events Using fabric-network
  • Private Data Collections
    • What Is a Private Data Collection?
    • Private Data Collection Definition
    • Chaincode API for Private Data Collections
Powered by GitBook
On this page

Was this helpful?

Chaincode Basics

IntroductionChainCodeContract ClassNode.js Chaincode StructureThe ChaincodeStub InterfaceTransaction Proposal DataDistributed Ledger Data RepresentationSimple Interaction with Ledger Data: getState, putState, delStateChaincode LoggingChaincode Unit Testing
PreviousTransaction FlowNextIntroduction

Last updated 4 years ago

Was this helpful?