List of plugins
This page provides an overview of available plugins for ChainLaunch. Plugins extend the functionality of your blockchain networks by providing additional services, APIs, monitoring tools, and integrations.
Available Plugins
Hyperledger Fabric API Plugin
Name: plugin-hlf-api
Type: GitHub
Repository: https://github.com/kfsoftware/plugin-hlf-api
Status: Enabled
Description: Provides a REST API interface to interact with Hyperledger Fabric networks, allowing you to query and invoke chaincode operations through HTTP endpoints.
Features:
- REST API interface for Fabric operations
- Support for multiple peers
- TLS certificate management
- Chaincode query and invoke operations
- Channel management
- Health check endpoints
API Endpoints:
POST /api/evaluate: Evaluate a chaincode transaction without committing itPOST /api/invoke: Invoke a chaincode transaction on the networkGET /refresh: Refresh chaincode metadata and update dynamic endpoints
Request Structure:
{
"chaincode_name": "mycc",
"function": "GetAllAssets",
"args": ["arg1", "arg2"]
}
Response Structure:
{
"status": "success",
"success": true,
"result": "{\"key\":\"value\"}",
"result_code": 200,
"tx_id": "tx123",
"block_number": 123,
"error": null
}
Configuration Parameters:
key: Fabric key with MSP ID, certificate, and private keychannelName: Name of the Fabric channelpeers: List of peer nodes to connect toport: Port for the API server
Usage: This plugin is automatically available in ChainLaunch and can be configured through the platform's plugin management interface. See the Plugins Overview for detailed configuration examples and troubleshooting information.
Plugin Management
Enabling/Disabling Plugins
Plugins can be enabled or disabled through the ChainLaunch interface. Currently, the Hyperledger Fabric API plugin is enabled by default.
Plugin Updates
Plugins are automatically updated from their source repositories. The plugin system will pull the latest version from the GitHub repository.
Plugin Configuration
Each plugin requires specific configuration parameters. The configuration interface will guide you through the required settings based on the plugin's schema.
Getting Started
To use the Hyperledger Fabric API plugin:
- Access the plugin through the ChainLaunch interface
- Configure the plugin with your Fabric network parameters:
- Select your Fabric key (MSP ID, certificate, private key)
- Specify the channel name
- Configure peer endpoints
- Set the desired port for the API
- Deploy the plugin and verify it's running
- Test the API endpoints to ensure proper functionality
Support
For plugin support and questions:
- Check the troubleshooting guides in the Plugins Overview
- Review the plugin's GitHub repository for issues and updates
- Contact the ChainLaunch team for additional assistance
Contributing
Want to create your own plugin? See the Plugins Overview for detailed information on plugin structure and development guidelines. You can also contribute to existing plugins by submitting pull requests to their repositories.