-
Notifications
You must be signed in to change notification settings - Fork 243
🧮 Manage data public info #1496
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
base: main
Are you sure you want to change the base?
Changes from all commits
bf38d58
45493d9
1fea4bf
aedcb55
67f9f3b
e2dc80e
b416b58
b5f75f7
60e9030
b011859
5214913
283ef8c
63c395c
ba592be
891267d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,20 @@ | ||||||||||||||||||
| --- | ||||||||||||||||||
| sidebar_position: 10 | ||||||||||||||||||
| title: Native Data | ||||||||||||||||||
| description: Associate information with a classic account. | ||||||||||||||||||
| --- | ||||||||||||||||||
|
|
||||||||||||||||||
| You can manage data associated with [accounts](../../stellar-data-structures/accounts.mdx) using the [`ManageData` operation](../../transactions/list-of-operations.mdx#manage-data), no smart contract needed! The data entry uses up one account subentry, increasing base reserves. In exchange for this slight cost, you can retrieve an account with [user-defined](../../../../data/apis/horizon/api-reference/resources/operations/object/manage-data.mdx) key-value pairs. | ||||||||||||||||||
|
Comment on lines
+4
to
+7
|
||||||||||||||||||
| description: Associate information with a classic account. | |
| --- | |
| You can manage data associated with [accounts](../../stellar-data-structures/accounts.mdx) using the [`ManageData` operation](../../transactions/list-of-operations.mdx#manage-data), no smart contract needed! The data entry uses up one account subentry, increasing base reserves. In exchange for this slight cost, you can retrieve an account with [user-defined](../../../../data/apis/horizon/api-reference/resources/operations/object/manage-data.mdx) key-value pairs. | |
| description: Associate information with a classic (non-contract) account as an alternative to smart contract storage. | |
| --- | |
| In addition to smart contract storage, you can use the network’s native facilities to manage data associated with classic [accounts](../../stellar-data-structures/accounts.mdx) via the [`ManageData` operation](../../transactions/list-of-operations.mdx#manage-data)—no smart contract required. The data entry uses up one account subentry, increasing base reserves. In exchange for this slight cost, you can retrieve an account with [user-defined](../../../../data/apis/horizon/api-reference/resources/operations/object/manage-data.mdx) key-value pairs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lemme sleep on this. I suppose you're right. And I've made a lot of progress documenting ledger entries, which are a different class of protocol data. This was written closer to my section 2.2 concerns, which seem to be all good
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The sidebar_position value is set to 10, which conflicts with persisting-data.mdx in the same directory that also has sidebar_position: 10. This will cause unpredictable ordering in the documentation sidebar. Since state-archival.mdx uses 20, this file should use a different value such as 15 to maintain proper ordering.