Open source progress | WeBASE v3.1.0 released, adding several useful features

WeBASE is a friendly and feature-rich blockchain middleware platform that helps community developers interact with blockchain more quickly through a series of common functional components and practical tools.

At present, WeBASE has been updated and iterated to version v3.1.0. In this update, WeBASE has brought the latest contract Java scaffolding export function, completed Dameng database adaptation, added WeBASE CRUD precompiled interface code, and included in the technical documentation The class presents dozens of blockchain tutorials contributed by community developers so that users can consult them on demand.

Let's take a look at the new features of WeBASE v3.1.0. Welcome to star and actively experience.

  Java project export is more friendly

In this update, we have introduced the latest v3.3.0 Java scaffolding component in the WeBankBlockchain SmartDev-Scaffold contract open sourced by Weizhong Blockchain, which is adapted to the Java project export function in the contract IDE.

The Java project exported by WeBASE v3.1.0 will automatically configure the node's IP port, SDK certificate, and private key, and the usage method is the same as that of the Java project exported by WeBASE v1.5.5. At the same time, based on the WeBankBlockchain SmartDev-Scaffold component, WeBASE optimizes the code logic for exporting Java projects. The code is more concise and readable, and it is more convenient for developers in the open source community to carry out secondary development based on the export interface of SmartDev-Scaffold or WeBASE.

At the same time, WeBASE v3.1.0 supports the export of Java projects using Solidity v0.8.11 contracts, and also optimizes the adaptation of complex parameters such as struct.

0e6756f4b9a6bc2d8e2e04441f8a13b3.png

Figure 1 - Export Java project

  Adapt to Dameng database

Dameng Database is a high-performance database management system with completely independent intellectual property rights. The developer Liang Jinhui (github ID: JHL) from Digital Guangdong Network Construction Co., Ltd. carried out secondary development based on the code of WeBASE v3.0.2 tag, and adapted the private key custody and signature service WeBASE-Sign and node management service WeBASE-Node-Manager Equipped with Dameng database, and contributed the code to the lab-xc branch of WeBASE-Sign and WeBASE-Node-Manager.

It is worth noting that the code adapted to Dameng database can be switched between MySql and Dameng database by modifying the JDBC driver of the database and modifying the configuration of Mybatis.

Liang Jinhui organized the experience of how to transform the WeBASE code to adapt to Dameng database into a technical tutorial to help community developers understand their transformation ideas, so that community developers who use other versions of WeBASE can refer to the tutorial for secondary development of WeBASE.

59edf4650aa0a0ad1ae7570a97be786e.png

Figure 2 - Dameng Database Adaptation Tutorial

WeBASE-Sign code warehouse adapted to Dameng database:

https://github.com/WeBankBlockchain/WeBASE-Sign/tree/lab-xc

WeBASE-Node-Manager code warehouse adapted to Dameng database:

https://github.com/WeBankBlockchain/WeBASE-Node-Manager/tree/lab-xc

"Using Dameng Database to Adapt WeBASE" Technical Tutorial: https://webasedoc.readthedocs.io/zh_CN/latest/docs/WeBASE-Console-Suit/articles/dameng_db_fit_in.html

  Added WeBASE CRUD precompiled interface code

Community developer Li Tieqiao (github ID: Litieqiao) completed the adaptation of FISCO BCOS v3.x CRUD interface in the node pre-service WeBASE-Front based on the FISCO BCOS console console and the CRUD precompiled contract interface of WeBASE-Front v1.5.5 For development, developers can directly call the front interface of the node to initiate the call of the CRUD precompiled contract.

This part of the code has been merged into the WeBASE-Front master-3.0 branch. Friends in the community are welcome to deploy the latest WeBASE-Front v3.1.0 for experience.

Developers should pay attention to the experience. The updated CRUD interface here needs to be called directly through the HTTP interface. The specific method is: use the swagger of WeBASE-Front to call, and the url is: /WeBASE-Front/swagger-ui.html#/precntauth_precompiled_controller /descTableUsingPOST

afe56c1d0d5febcd6667d0fb870c89a3.png

Figure 3 - List of CRUD interfaces in the node frontend

  A collection of dozens of blockchain tutorials contributed by the community

As a blockchain middleware that has attracted much attention from developers, WeBASE has been adhering to the spirit of openness, sharing, diversity and tolerance to link open source enthusiasts. In previous community Task Challenges, many developers either actively contributed their experience in applying WeBASE in different scenarios to the community in the form of technical tutorials, or submitted PRs to repair or optimize WeBASE features. In this update, we have added a "WeBASE Community Articles" module to the WeBASE technical documentation, classifying and presenting dozens of tutorials contributed by developers, so that community users can refer to them on demand.

We look forward to blockchain technology enthusiasts and partners in the open source community to participate in the joint construction and work together to promote the development of WeBASE to a more complete and friendly ecology.

d00780bbb0b49cff7e693a87585932a6.png

Figure 4 - List of Community Articles

"WeBASE Technical Documentation Community Articles" module link: https://webasedoc.readthedocs.io/zh_CN/latest/docs/WeBASE-Console-Suit/articles/index.html

  Optimization and fixes

  • The WeBASE application management SDK WeBASE-APP-SDK is updated to v1.5.6, and supports the application access of WeBASE v1.x and v3.x versions.

  • Fix the problem that the WeBASE v3.x application management access fails to pass the authentication. Developers need to use webase-app-sdk v1.5.6 and above when accessing the application management. For more details, please refer to the latest WeBASE application Access management documents.

  • Fix the problem that the contract IDE is judged as version 0.6.9 when using solidity v0.6.10-gm.

  • Fix the address parameter length judgment in the contract IDE.

  use immediately

The latest codes and technical documents involved in the above optimizations and functions have been updated synchronously. Experience and star support are welcome. If you need to consult technical questions, welcome to reply [Little Assistant] in the dialog box of this official account to enter the technical exchange group.

WeBASE code warehouse: https://github.com/WeBankBlockchain/WeBASE/tree/master-3.0

WeBASE code warehouse domestic mirror: https://gitee.com/WeBank/WeBASE/tree/master-3.0

WeBASE technical documentation :

https://webasedoc.readthedocs.io/zh_CN/lab

Domestic mirror of WeBASE technical documentation:

https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/WeBASE/doc/lab/index.html

To experience WeBASE for the first time, please refer to the one-click deployment document: https://webasedoc.readthedocs.io/zh_CN/lab/docs/WeBASE/install.html

Report problems to us, welcome to file an issue:

https://github.com/WeBankBlockchain/WeBASE/issues

8dec71096dbfc844de85ac6c69f70ee8.png

Guess you like

Origin blog.csdn.net/webankblockchain/article/details/132114483