Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added subquery page #71

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions docs/build/external-resources/subquery.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
title: Indexing data
id: index-cudos
---

# Indexing Data

Indexing provides a data structure that speeds up the retrieval of records, making it more effient and fast to access data.


# The importance of Indexing

Data indexing plays a pivotal role in enhancing the efficiency, accessibility, and utility of blockchain networks.

Because blockchains record data in the form of sequential transactions, finding specific data fields for a specific type of transaction can become increasingly cumbersome and time-consuming.

This becomes even more challenging as the blockchain grows, making it crucial to be able to access data efficiently. By creating indexes, nodes in the network can quickly locate the information without having to scan the entire blockchain, thereby significantly improving query performance and user experience.

Indexing facilitates the analysis of blockchain data by structuring it into data that can be easily queried.
Indexing also makes blockchain data more accessible and user-friendly, by enabling faster and more accurate data retrieval

# Using SubQuery to Index Data

CUDOS is supported on [SubQuery](https://search.brave.com/search?q=subquery&source=desktop), allowing developers to easily query all the data available on the CUDOS blockchain.

You can start indexing data by checking the [cudos-starter](https://github.com/subquery/cosmos-subql-starter/tree/main/Cudos/cudos-starter
) example.
8 changes: 8 additions & 0 deletions sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,14 @@ module.exports = {
'build/tools/cli',
]
},

{
type: 'category',
label: 'External Resources',
items: [
'build/external-resources/index-cudos',
]
},
],

learnSidebar: [
Expand Down