Skip to content

Commit 04798ce

Browse files
committed
[+] kv-service/use-cases
1 parent 7dd8c18 commit 04798ce

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

docs/kv-service/use-cases.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
id: kv-use-cases
3+
title: Use Cases
4+
sidebar_position: 7
5+
---
6+
7+
KVService works as a general key-value store. It can be used in many different scenarios. This page lists some of the use cases.
8+
9+
## KVService as a persistence storage
10+
11+
You can use KVService to store the data that needs cross-session persistence.
12+
13+
For example, you can store the user's avatar, nick name, bio, show/hide status of NFT list, or order of these contents, under your web3 app's scenarios.
14+
15+
Using KVservices gives you some benefits:
16+
17+
- The change made by user is verifiable by other user / applications, aka platform-independent. No one (except the user himself) can change the data without a valid signature.
18+
- The data is stored in a decentralized way, no matter where this data is actually stored. User always has a choice to move their data to other (or self-hosted) platforms.
19+
> The actual "migration" function is still under development.

sidebars.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ module.exports = {
2525
type: 'category',
2626
label: 'KVService',
2727
collapsed: true,
28-
items: ['kv-service/kv-intro']
28+
items: ['kv-service/kv-intro', 'kv-service/kv-faq', 'kv-service/kv-use-cases', 'kv-service/kv-api']
2929
}, {
3030
type: 'category',
3131
label: 'RelationService',

0 commit comments

Comments
 (0)