KNN3 Network Docs

Delivery of KNN3 Data Service

How does KNN3 deliver data service to d/Apps & Smart contracts ?

KNN3's services subscribe to real-time data from DIDs, Social Graph, Twitter, DeFi, GameFi, and Governance Tools, and flow the aggregated data into KNN3's data warehouse for further processing.
We have created a tree-type KV data structure called User Profile Data Vault. When preprocessing the data, KNN3 will synchronize the latest data to the User Profile Data Vault in order to obtain user behavioral data on different blockchains, platforms, and applications. This data is used as a source, and its multiple mirrors exist in different places:
  • For Webapp users, they can access the data via decentralized storage services IPFS or Arweave.
  • For analysts, they can access our data warehouse through KNN3's OLAP service.
  • For developers, they can use specific contracts (UserProfileDataVault.sol) to quickly obtain on-chain user behavioral data from multi-chains.
After ETL and data aggregation processing, through Chainlink Keeper, we can automate data synchronization in a trustless way. We can also design a query process for a single request to a specified address.
What we are also trying to achieve is to allow smart contracts to customize SQL-query, through Chainlink Oracle & SQL handler EA, SQL-query can be done permissionlessly without further integration and registration. From the perspective of data availability, Our partners and us will build a user-centric large-scale shared data warehouse, combined with web3-native extensions, so that d/Apps based on hybrid smart contracts have universal multi-chain and cross-platform accessibility.
For d/Apps developers, KNN3 builds a web3 user-centric high-performance data warehouse that subscribes to multi-chain transaction data from our own ETL services and partners. In addition, by integrating DIDs and signers apps, we can bring convenient data interoperability across different blockchains and even off-chain to d/Apps by aggregating user behavioral data into different account systems.
Another added value that KNN3 brings to d/Apps developers is the general data interaction method, allowing d/Apps to build flexible data interaction in their own application scenarios:

Dynamic Verifiable Credential | Event-based

Trustless user on-chain behavior witness and monitoring service, allowing d/Apps to verify whether users have completed the corresponding actions on-chain, or to check the status of asset ownership, or to use the number of assets as a threshold as fundamental to establish their own conditional models which adapt to corresponding applications scenes.
For campaign quest tools, they want to track whether a user has interacted with a particular contract/agreement/feature, to determine if that user is eligible to receive rewards from the campaign.
For on-chain reputation programs, continuous tracking of user ownership of certain target assets/badges or a quantitative portfolio of a series of tokens/LP credentials will help users seamlessly gain your membership or grant special privileges.

KNN3 GraphX ​​| Relational-based

KNN3 is a relational social aggregator, which can not only integrate social graphs such as Lens and RSS3 but also convert behavioral data into implicit relations of common ownership and participation, which is also useful for recommendations, social discovery, user relational algorithms and maybe user profiling.

Variety of choices on data availability

Product Name
Data schema
Data availability
Dynamic Verifiable Credential
KV-based, NoSQL
S3, IPFS, Arweave
KNN3 GraphX
User Data Profile Vault (Alpha)
KV-based, Tree Object Structure
SQL on TiDB, IPFS, Smart contract on Polygon

Tech specs (API docs)

Use Case