Blockchain CLI Console Mediator for Unified Interaction
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing methods for interacting with blockchains are user-unfriendly, require substantial expertise, and are limited by inefficient interface options, making it difficult for developers to implement simple functionalities in blockchain-related applications.
Innovation Solution
A computer-implemented method and system that manages user interactions with blockchains through a command line interface (CLI), utilizing a command manager and plug-ins to convert user inputs into compatible commands, allowing interaction with multiple blockchains using a unified protocol and SDKs, enabling easy extension and modification of commands and configurations.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If script commands or APIs are used to interact with blockchains, then blockchain operations can be performed, but the interface becomes user-unfriendly and requires substantial expertise
Solution Approach 1:
The patent introduces a console as an intermediary layer between users and blockchains. This console provides a unified command-line interface that translates user-friendly commands into blockchain-specific API calls, eliminating the need for users to directly interact with complex blockchain APIs while maintaining full functionality.
Solution Approach 2:
The console is designed as a universal interface that can interact with multiple different blockchain networks through a single unified command structure. Users can switch between different blockchains using consistent syntax, making the system adaptable to various blockchain environments without requiring separate learning curves for each blockchain.
2Productivity
If developers use existing blockchain interaction methods, then blockchain functionalities can be implemented, but substantial expertise and efforts are required even for simple functionalities
Solution Approach 1:
The console implements automatic configuration management where configuration information is stored and reused. Once configured for a blockchain, the console automatically manages connection details, API endpoints, and other parameters, eliminating the need for developers to repeatedly input configuration information for each interaction.
Solution Approach 2:
The system performs preliminary configuration setup before actual blockchain operations. Configuration information is pre-stored and validated, so when developers need to interact with blockchains, the heavy lifting of setup and configuration has already been completed, allowing them to focus solely on business logic.
3Adaptability or versatility
If a unified interface is provided for multiple blockchains, then development efficiency is enhanced, but the system must manage multiple SDKs and command plug-ins
Solution Approach 1:
The command management system is segmented into modular command plug-ins, each handling specific blockchain operations. This segmentation allows the system to maintain a clean, organized structure where each plug-in is responsible for a specific function, making the overall complexity manageable through clear separation of concerns.
Data Source
Figure 1
Figure 2
Figure 3
AI summary
Methods, systems, and apparatus, including computer programs encoded on computer storage media, for managing user interactions with a blockchain. One of the methods includes: receiving a user input in a command line interface (CLI), wherein the user input comprises a reference to one or more configurations; determining, by a command manager based on the user input, a blockchain-related operation and a command plug-in associated with the blockchain-related operation; generating, by the determined command plug-in, a command based on the determined operation and the one or more configurations; and sending, by a software development kit (SDK) associated with the blockchain, the command to one or more nodes associated with the blockchain.