“Make smart contract even smarter” said Thomas Yu, Co-Founder of KNN3 Network, shared his vision about the web3 infrastructure construction at SmartCon 2022

At SmartCon 2022 by Chainlink, the must-attend web3 conference of the year, KNN3 Network Co-Founder Thomas Yu unveiled his vision of future smart contracts, plus how KNN3 Network will empower the whole web3 landscape.

Current challenges & solutions on smart contracts

Thomas Yu pointed out that one of the current challenges on smart contracts is the constraint on data availability, which can be segmented into 3 partitions:

  1. The short sight of historical data even from the same blockchain

  2. The blindness of user data from other blockchains and platforms

  3. The incapability of data processing prevents smart contracts from advanced application scenarios

In order to improve on-chain data availability and multi-chain interoperability, “we need a Universal identity-centric data warehouse solution that allows smart contracts to access multi-chain user behavioral data seamlessly.” claimed by Thomas Yu. “KNN3 aggregating service subscribes to cross-platform data sources lively, from ETL services, DIDs, Social graphs, Twitter, Defi, GameFi, and Governance tools, and then, the data stream will be consolidated into KNN3’s data warehouse and pre-processed in different data product form for further processing and analysis.

One of the data products in the prototype stage is the so-called User Profile Data Vault. In order to allow smart contracts to directly access multi-chain identity-centric data conveniently without tedious hacking on data indexation and cross-chain oracle, User Profile Data Vault came to the rescue.

How does a smart contract get Multi-chain user data with User Profile Data Vault?

After ETL & data consolidating process, live indexed data are hot-and-ready in TiDB (A leading cloud-native database with multi-purpose compatibility). With the KNN3 built Chainlink External Adapter, data can be queried from TiDB and transformed into tree type KV-structure, and uploaded onto Polygon UserProfileDataVault.sol using Chainlink oracles.

User Profile Data Vault Data Flow.   source: KNN3 Network
User Profile Data Vault Data Flow.   source: KNN3 Network

In the future, with Chainlink Automation, we can automate the data sync process in a trustless periodical manner. Given the cost and efficiency, the charge-per-use model also can be provided with a configurable query designed to process targeted addresses per request.

For future plans, KNN3 will launch a data process job registration platform that allows smart contract developers to conduct data pre-processing jobs on trustless off-chain environments,  and jobs can be called from smart contracts on demand. KNN3 will also put an effort into personalized vault & privacy implementation, which allows the owner of the vaults to partially or fully encrypt the data with ZKP extension.

Vision in build

KNN3’s vision is to be an all-in-one DataFi solution platform

“In KNN3, we valued users' behavioral data and categorized it into different category-group, d/Apps can decide which category of data they are interested in subscribing to. KNN3 has built a high-performance web3 identity-centric data warehouse, which subscribes to multi-chain transaction data from our self-owned ETL services and partnered data providers." said Thomas Yu.

"Another value-add that KNN3 is trying to bring to d/Apps developers is a series of versatile data delivery approaches which allow d/Apps to build flexible data interaction in their own application scenarios. "

Other Products & services on KNN3 tool stack

1)KNN3 GraphX - A relationship social aggregator, consolidates not only social  graphs such as Lens, RSS3, but also converts behavioral data accordingly into co-ownership, co-attendance implicit relationships, that is essential for relational algorithms for the recommendation, social discovery and user profiling.

KNN3 GraphX.   source: KNN3 Network
KNN3 GraphX.   source: KNN3 Network

2)Dynamic Verifiable Credentials (DVC) Service - A trustless user’s on-chain action witness & monitoring service. A lightweight label solution that assists GraphX in richer label applications. In short, DVC is a verifiable and queriable label service that helps identify entity or relationship characteristics. It allows d/Apps to identify entity or relationship characteristics. verify if a user has completed an on-chain action, or check the status of assets’ ownership, or a numerical threshold as the fundamental ingredients to cook their own conditional models to fit in their application scenario. (a) For a campaign quest tool, they might want to track if a user has interacted with a certain protocol / called a specific function, to qualify if that user is eligible to get rewarded from the quest campaign. (b) For an on-chain reputation program, keeping track of the user’s ownership of certain targeted assets/badges or a quantitative portfolio of a series of tokens/LP credentials will be useful to seamlessly qualify a user into your membership, or grant special privileges.

KNN3 DVC (Dynamic Verifiable Credential Service)    source: KNN3 Network
KNN3 DVC (Dynamic Verifiable Credential Service)    source: KNN3 Network

Variety of choice on data availability on top of KNN3

From Data to DataFi

It is important to recognize that adapting from web2 to web3, the nature of data has shifted from a vehicle of information to a vehicle of trust. Thus, to keep the intrinsic value of web3 data, data interoperability should be encapsulated in trustless data flow.

Maybe DataFi (verifiable Data-as-a-Service), derived from traditional Data-as-a-Service, will  be a fundamental service type in web3. That we don’t know yet, but surely, this paradigm shift is impacting the entire data business industry to rethink and reinvent the new business form.

Special thanks

Great thanks for the invitation from Chainlink Labs to speak at SmartCon 2022. In using this opportunity, KNN3 brought our key initiative and latest prototype feature to the Web3 community, interesting suggestions,and heartful feedback, and nice partners connected.

Great thanks for all the support from TiDB backed by PingCAP. With its solid technology and professional service, we saved a lot of time from pitfalls and troubleshooting.

Great thanks for the help from DEV3, a convenient development tool backed by a solid tech team. Without their fast support and integration, we could not visualize & simplify our contract deploy process, which was vital to the successful demo.

About KNN3 Network

KNN3 Network is a one-stop Web3 User-centric DataFi solution for d/Apps and smart contracts. KNN3 allows d/Apps & smart contracts to interact with cross-platform user-centric data in multiple algo-friendly ways.

Website | Twitter | Discord | Mirror | Medium

Subscribe to KNN3.xyz
Receive the latest updates directly to your inbox.
Mint this entry as an NFT to add it to your collection.
Verification
This entry has been permanently stored onchain and signed by its creator.