Developing Low-Code Contracts
When developing and testing traditional smart contract services, developers have to master the underlying contract languages, programming skills, and blockchain knowledge, to ensure the contract security. With the BCS low-code development function, only the business process modeling notations (BPMNs) and some assistant codes are required for compiling secure and reliable smart contracts.
The involved modules are as follows:
- BPMN diagram drawing
On the easy-to-use BPMN drawing page, you can drag and combine start events, activities, gateways, attaching events, end events, and lanes to customize your service BPMN diagrams. And only a few service-based and query codes are required for developing smart contracts. On the drawing page, you can verify the BPMN diagram validity anytime before you click the Build project icon to generate a smart contract.
- Smart contract deployment
Log in to the Service Management page, and the Package Management page is automatically displayed for you to view and manage the generated smart contracts. Specify the endorsement policies and target organizations for the generated contracts before installing and instantiating them. Smart contracts run in a Docker container on endorsing peers.
- Smart contract triggering
The execution of instantiated smart contracts can be triggered by events or transactions. After it is triggered, endorsing peers start to reach a consensus to prevent attacks.
- Smart contract change
After services are upgraded, you need to draw new BPMN diagrams and redeploy contracts of the new version. To ensure security, changes of a contract can be completed only after a specific quantity of endorsing peers reach a consensus.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot