How Does Composable Middleware Accelerate d/Apps in Web3?

KNN3 Network
7 min readSep 22, 2022

--

Promising picture of Web3

The era of revolution of the Internet has been flipping people’s way of life, the ubiquitous smart devices and artificial intelligence have intervened how people communicate and interact. Transactions in forms of tokenization instead of fiat finance are exploding; expanding social connections equipped with VR/ AR in the metaverse; holding various NFTs and being certified by forums or communities. According to McKinsey research, more than $120 billion has been invested in the metaverse sector in 2022 through May alone, more than double the amount invested in all of 2021. It is entirely possible that more than 50% of live events will take place in the Metaverse by 2030. (McKinsey, 2022) These behaviors have been widespread around every corner of the world. The time of Web3 is constructing an unprecedented wonderland.

Many expect that connected devices will play a huge role in the next online era and evolve into a True Internet of Things.(IoT) In the IoT environment, The interoperability between user adoption and technology revolution intertwined Web2 and Web3. Whether you are infrastructure, individual users, application facilities, exchanges, or wallet developers, you can seamlessly reach the target audience, due to the characteristic of the Web3 world, the most critical feature, Decentralization, data here is returned to the user self in a censorship-resistant manner.

From Macro to Micro, more intricate and composable

Arguably, from the macro perspective of crypto climate, it enables fractional asset ownership to users, and makes capital more affordable back to every user. From centralized to decentralized, DeFi, is one of the vital monetization sectors prevailing the storm. However, related issues surfaced at the same time.

With the frazy swell of speculation wave, bear market downpoured the enthusiasm of crypto currency. Lack of a sustainable and healthy ecosystem of liquidity makes investment in DeFi terms ambiguous and higher gas fees accelerated the freeze of the exchange market. If you zoomed in on the explicit case, details of financial applications are surrounded with FUD emotion. The bubble has been bombed.

Although AI analytics toolkits empowered data across platforms, from the micro perspectives, yet, these applications fall into isolated facilities, resulting in silos of data. When our market is surrounded by multiple segmented applications, we find that we are in a highly intricate environment. We lack a one stop all-encompassing user enabling.

It is the time to think out of the box and connect the macro and micro stances with the concept of middleware ground.

Missing puzzle: Integration and healthy Loop

The term Middleware is a flexible component in the web3 building block, embracing Composability and Pluggability, enables Middleware to swift and enlighten other components of the entire construction. For example, if we take EVM as an infrastructure, then the Graph, APIs for a vibrant decentralized climate, as a Middleware.

1) Infrastructure integration in a manner of longboard effect

Regarding the current state of the infrastructure circumstance, each tool is very powerful, but there is no way to integrate their functions together. There are multiple toolkits which may look similar, but are trying to dive in from different angles. For instance, as processing Cross-chain Channel-based DID, Next.ID concentrates on synergising Web2 and Web3 profiles along with the full ownership of persona; .bit focuses on Cross-chain behavior aggregating, especially for non-EVM footprints and social recovery; while Lens Protocol, RSS3 and CyberConnect are committed to permissionless on-chain relational solutions, in order to optimize social network expansion.

We are missing a one-place integration of middlewares to empower more advanced web3 use cases. We think that the Longboard Effect is the core. Individual applications should play their most robust part in the construction of web3 development.

2) Comprehensive Ecosystem loops

Once cross-platform data collaboration is built, it is very easy to neglect sustainability issues. In the procedure of data enabling, the first step is data fetching with ETLs(Extract, transform, load) and indexation from full nodes; the second stage is data pre-processing via clustering and tagging; the third part is through AI, scoring and credit program; the last step is matching interactions to d/Apps or user protocol. However, once the process is finished does not mean that the whole job is accomplished. The most easily overlooked course is often the most crucial, that is to re-examine the logic of the entire logic and Adaptive learning or fit it to the optimal logic. Here is the visualization of the loop.

Middleware Value Settlements

There are 226 DeFi applications existing and 203 of them are on Ethereum, whilst, the volume of infrastructure is far away from a comprehensive scalability. (DeFi Prime, 2022)The demands to boost infrastructure construction should be inevitably put on agenda.

Better UX needs to be caught up and the crypto economics cannot live without a healthy infrastructure growth. Previously, we missed connecting niche apps to the bigger picture. We want to move forward without compromising the core values ​​of the crypto forward, we need to improve the underlying technology. Currency signs should be driven by infrastructure Lego bricks — composable, pluggable middleware. Each of these middleware blocks provides microservices for actual end-user use cases.

1) Better user adoption

In many cases, the poor experience is not instantly from the end-point application or the base protocol, but the middle procedures during operation cause problems.

For example, The dreaded “out-of-gas feet”notification annoys users, definitely you don’t want to make the actual transaction cost exceed the number you imagined because of technical loopholes in delayed synchronization. These bad UX require a strong glue that connects the end user and developers to spanning the crypto finance flywheel. According to the shared value economics, the more users deploy, the faster and smoother the flywheel would work. When the financial crypto is embedded, such as tokens, people are incentivized to build applications as the protocol generates value.

Alternatively, not necessarily to be consumer-facing, the characteristic of middleware is that it is integrated into d/Apps which revitalizes Web3 from the inner of crypto. An upgrading concept of sophisticated circumstances is forging, falling the understanding of protocol and smart contracts structure into disuse. We need a more flexible, feasible and Web3-matched vision, to be composable and pluggable, which assembles the Legos to construct the connection of stack. Imagine living in a Web3 universe where you can shuttle at will.

2) One-stop relationship aggregator

Constructing a data consensus and relational aggregation system for IoT devices is not an easy task. To create truly powerful Middleware, there needs to be a method to accurately access the data needed at each step to match the value of the secured process and stakeholders involved. As a key component of ‘De’ middleware, KNN3 Network is one of the most worth studying infrastructures.

KNN3 Network provides one-stop for onchain data-driven d/apps. KNN3 Network provides graph solutions for Web3 multiverse relational aggregation to empower Social d/App and AI analytics. KNN3 aims to become a community-driven data curation protocol to enable on-chain data collaboration.

3) Protocol for on-chain graph data solution

As the fat protocol proposed, the completion and evolution of infrastructure development should perform more robustly than the application.

KNN3 Network spans the Web3 space across multiple chains. The problem of information over-consumption will be optimized. From the current concurrency, diversified data invades the internet. All data needs to be classified and effectively assembled to maximize value. Quantitative should combine with qualitative. By fulfilling structural query & relational queries in one place, SQL-style graph query components for any SQL-compatible BI/analytics platform integrate the current query service via KNN3 Network. Moreover, analysts can build & train the ML/AI algorithms and share insights on top of that.

Issues of privacy and security concerns will only intensify as the virtual world grows, creating problems for companies and individuals alike. Compared to the conventional SocialFi dapp embedded with SaaS (Software as a service), KNN3 Network is regarded as a trustless protocol which is decentralization-as-a-service (DAAS) and truly works as censorship-resistant.

More specifically, KNN3 Network has already assisted d/apps in vibrant stances; Providing Virtual Credential Service for Quest3(Virtual Credential Service is the fundamental framework for constructing Quest3 on-chain quest system to validate whether a Web3 user is eligible to complete a certain task); solutions with Social graph for MetaMail and Shorum(KNN3 provides a trustless analytic environment of user recommendation algorithms based on blockchain live data to encourage users to connect more friends with just on click); and AI-friendly solution for Algorithm Registry.(With KNN3 Network’s easy-to-use graph database and open algorithms, AR is able to establish an open platform that allows users to choose algorithms independently and even submit their own algorithms)

Conclusion

Since the development trajectory of DeFi applications has exceeded the maturity of infrastructures, instant profit also creates opportunities for cheap knockoffs into inflation.

Therefore, we need a vision of an ecosystem of interconnected machines beyond the simple exchange of data. Not from the macro or micro, but from the inside, — Middleware.

Positive crypto-economic flywheel creates a healthier and more complete token model. Demand for knn3 is expected to grow as more node operators join and more developers will build killer apps using decentralized blockchain data.

Reference:

DeFi Prime (July, 2022) Ethereum DeFi Ecosystem. Retrieved from: https://defiprime.com/ethereum

McKinsey & Company (June, 2022) Road to change Value creation in the metaverse. Retrieved from: https://www.mckinsey.com/~/media/mckinsey/business%20functions/marketing%20and%20sales/our%20insights/value%20creation%20in%20the%20metaverse/Value-creation-in-the-metaverse.pdf

--

--

KNN3 Network

KNN3 Network is a Web3 topological graph network solution to discover in-depth relationships among multi-blockchain users.