You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: deso-backend/api/dao-endpoints.md
+4-1
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,10 @@ description: >-
6
6
7
7
# DeSo Tokens Endpoints
8
8
9
-
<markstyle="color:red;">Note: "DAO Coins" are now referred to as "</mark><markstyle="color:red;">**DeSo Tokens**</mark><markstyle="color:red;">" in all public-facing documentation, but the code and API have not yet been updated to reflect this change.</mark>\ <markstyle="color:red;"></mark>\ <markstyle="color:red;"></mark>\ <markstyle="color:red;"></mark>For endpoints to check ownership of DeSo Tokens, see [#get-hodlers-for-public-key](social-endpoints.md#get-hodlers-for-public-key"mention") and [#is-hodling-public-key](social-endpoints.md#is-hodling-public-key"mention").
9
+
<markstyle="color:red;">Note: "DAO Coins" are now referred to as "</mark><markstyle="color:red;">**DeSo Tokens**</mark><markstyle="color:red;">" in all public-facing documentation, but the code and API have not yet been updated to reflect this change.</mark>\
10
+
\
11
+
\
12
+
For endpoints to check ownership of DeSo Tokens, see [#get-hodlers-for-public-key](social-endpoints.md#get-hodlers-for-public-key"mention") and [#is-hodling-public-key](social-endpoints.md#is-hodling-public-key"mention").
10
13
11
14
{% swagger method="post" path="" baseUrl="/api/v0/get-dao-coin-limit-orders" summary="Gets All Open Orders on Order Book for a DeSo Token (DAO Coin) Market" %}
Copy file name to clipboardExpand all lines: deso-backend/configuration/README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ Compared to private, monopolized Web2 social media, all of the data on the DeSo
12
12
13
13
This means that **anybody can access this information and build their own application** using that data. 
14
14
15
-
However, blockchains require transactions and cryptography to validate information.**** 
15
+
However, blockchains require transactions and cryptography to validate information. 
16
16
17
17
We know this can be a hassle, so we've built this API along with the [Broken link](broken-reference"mention") service to make it easy for you, the developer, to focus on what matters: building your application. 
Copy file name to clipboardExpand all lines: deso-backend/transaction-utilities.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -80,7 +80,7 @@ Hex of transaction
80
80
| TxOutputs | <p>Array of transaction outputs</p><p></p><p>[{ PublicKey: string, AmountNanos: integer }]</p> | <p>Attribute of transaction</p><p></p><p>Each element represents an output (DeSo being received) in the transaction</p> |
81
81
| TxnMeta | Transaction Metadata object | <p>Attribute of transaction</p><p></p><p>Transaction Metadata descriptions coming soon. Each transaction type has its own transaction metadata object structure.</p> |
82
82
| TxnHashHex | String | Hex of transaction hash broadcasted to the DeSo blockchain |
83
-
| PostEntryResponse |``[`PostEntryResponse`](broken-reference)| If a transaction is a submit post transaction, the `PostEntryResponse` that was created by the transaction is included |
83
+
| PostEntryResponse |[`PostEntryResponse`](broken-reference)| If a transaction is a submit post transaction, the `PostEntryResponse` that was created by the transaction is included |
Copy file name to clipboardExpand all lines: deso-blockchain/privacy-and-security.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -27,8 +27,8 @@ Furthermore, if you own a large amount of DeSo it may be prudent to create two s
27
27
## **What do I do i**f I lose my seed phrase?
28
28
29
29
Because your seed phrase is stored exclusively in your browser, it cannot be recovered by any third party. **If you lose your seed phrase, currently the only option is to create a new account, save the new seed phrase, and send all of your holdings to this new account.**\
30
-
****\
31
-
****You may need to liquidate your creator coin holdings into DeSo first. You can transfer a username by first changing the username on the old account and then quickly claiming the username with the new account.
30
+
\
31
+
You may need to liquidate your creator coin holdings into DeSo first. You can transfer a username by first changing the username on the old account and then quickly claiming the username with the new account.
32
32
33
33
We apologize for the inconvenience here. We know this process is not ideal, but we're working on alternative solutions, and hope to have an easier recovery path for users in the future.
34
34
@@ -37,8 +37,8 @@ We apologize for the inconvenience here. We know this process is not ideal, but
37
37
DeSo Identity, located at [identity.deso.org](https://identity.deso.org), safely stores your sensitive account information in your browser's local storage. To protect private key material the identity service has minimal dependencies, a strict content security policy, and is audited by multiple security firms.\
38
38
\
39
39
**For now, the developer community does not recommend entering your seed phrase anywhere other than identity.deso.org.**\
40
-
****\
41
-
****Always check the URL bar to verify you are using `identity.deso.org.`
40
+
\
41
+
Always check the URL bar to verify you are using `identity.deso.org.`
42
42
43
43
The DeSo Identity Service aims to make it easy for users to use a wide array of community projects safely and securely.\
Copy file name to clipboardExpand all lines: deso-exchange-listings/exchange-listing-api.md
+6-6
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
1
# 1⃣ Exchange Listing: API
2
2
3
3
The developer community recommends using the open-source Rosetta API implementation, currently used by Coinbase, for integrating DeSo on an exchange: [https://github.com/deso-protocol/rosetta-deso](https://github.com/deso-protocol/rosetta-deso).\
4
-
****\
5
-
****This being said, we provide an alternative set of APIs in this document that may be easier to use, and that the DeSo core team plans to support indefinitely.
4
+
\
5
+
This being said, we provide an alternative set of APIs in this document that may be easier to use, and that the DeSo core team plans to support indefinitely.
6
6
7
7
Now that anyone in the world can run a DeSo node, we thought we'd democratize and decentralize this effort by publishing a simple public API that any crypto exchange in the world could follow to integrate DeSo.
8
8
@@ -56,7 +56,7 @@ Note that the node software is cross-platform and should run on Linux, Mac, and
56
56
57
57
58
58
_NOTE: You must set `READ_ONLY_MODE` to false in_[_dev.env_](https://github.com/deso-protocol/run/blob/190a2380b278689a4db844bb52a31d0450db7d46/dev.env#L265)_in order for some API calls to work. However, at the time of this writing, it is not yet recommended to deploy a production node with `READ_ONLY_MODE` set to false. This should change shortly, though. Keep an eye on the_[_README_](https://github.com/deso-protocol/run/tree/190a2380b278689a4db844bb52a31d0450db7d46)_for updates._\
* Under the hood, every public/private key pair maps to derivation path m/44'/0'/0'/0/{index}. \
93
93
\
94
94
**Thus they would be identical to what is generated by any Bitcoin wallet using the same mnemonic, passphrase, and derivation path.**\
95
-
****
95
+
96
96
* The public and private keys returned by this function will be encoded using base58 check encoding described in more detail in the [Full API Guide](exchange-listing-api.md#full-api-guide) section for this endpoint. For now, all that you need to know is that you can pass the public/private key strings to other API endpoints to check balances, spend DeSo, etc…\
97
97
98
98
* DeSo public keys that are encoded with base58 always start with the prefix “BC”. DeSo private keys that are encoded with base58 always start with the prefix “bc” (lower-case).\
* We pipe the command into “python -m json.tool” so that it will “pretty print” but that you can delete this if you don’t have Python installed.
115
115
116
116
_**Note: This API is strictly for use by exchanges.** The DeSo nodes use a different API that never receives your seed phrase, and your seed phrase never leaves your browser. In contrast, exchanges are typically custodial and so some of these endpoints manipulate seeds on behalf of users._\
* You can buy DeSo on diamondapp.com and then use the "Send DeSo" page to get some DeSo for testing purposes.\
149
149
150
150
* The amount must be specified in "nanos," where 1 DeSo = 1e9 nanos. This example transfers 1 DeSo from public key `BC1YLgAJ2kZ7Q4fZp7KzK2Mzr9zyuYPaQ1evEWG4s968sChRBPKbSV1` to public key `BC1YLgU67opDhT9bTPsqvue9QmyJLDHRZrSj77cF3P4yYDndmad9Wmx`\
151
-
``
151
+
152
152
* To do a "dry run" of the transaction without broadcasting it, simply add `DryRun: true` to the params.\
153
153
154
154
* Setting “AmountNanos” to a negative value like -1 will send the maximum amount possible.\
Copy file name to clipboardExpand all lines: deso-identity/identity/mobile-integration.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -34,13 +34,13 @@ It also means that derived keys are extremely sensitive information and therefor
34
34
1. Generate a derived key by making a call to [#derive](../window-api/#derive"mention") window API endpoint\
35
35
36
36
2. Construct a `AuthorizeDerivedKey` transaction via Backend API through `/api/v0/authorize-derived-key`\
37
-
``
37
+
38
38
3. Sign the `AuthorizeDerivedKey` transaction with the derived key\
39
39
40
40
4. Submit signed `AuthorizeDerivedKey` transaction via `/api/v0/submit-transaction`\
41
-
``
41
+
42
42
5. (Optional) Confirm that the derived key was successfully authorized through Backend API in `/api/v0/get-user-derived-keys`\
43
-
``
43
+
44
44
45
45
### Generate Derived Key
46
46
@@ -90,9 +90,9 @@ Let’s take a look at these values:
90
90
To check if a derived key is valid you should compare the current block height, e.g. taken from `/api/v0/get-app-state` Backend API endpoint, with the `expirationBlock` that you can find by querying the `/api/v0/get-user-derived-keys` Backend API endpoint.\
91
91
92
92
*`derivedJwt` is a JWT token with a month-long timeout signed by the `derivedPublicKeyBase58Check`\
93
-
``
93
+
94
94
*`jwt` is a JWT token with a month-long timeout signed by the owner `publicKeyBase58Check`\
95
-
``
95
+
96
96
*`network` is the network for which this derived key was generated\
97
97
98
98
*`messagingKeyName` is the key name used for v3 messaging\
Copy file name to clipboardExpand all lines: deso-repos/architecture-overview/README.md
+6-6
Original file line number
Diff line number
Diff line change
@@ -84,8 +84,8 @@ We use the following commit hashes to refer to the code:
84
84
85
85
* Choose a remote peer as a syncPeer in [`_startSync()`](https://github.com/deso-protocol/core/blob/135c03a/lib/server.go#L685). Call this the "remote peer."\
86
86
87
-
* Send the remote peer [`MsgDeSoGetHeaders` in `_startSync()`](https://github.com/deso-protocol/core/blob/135c03a/lib/server.go#L765)``\
88
-
``
87
+
* Send the remote peer [`MsgDeSoGetHeaders` in `_startSync()`](https://github.com/deso-protocol/core/blob/135c03a/lib/server.go#L765)\
88
+
89
89
* Remote peer replies to the `MsgDeSoGetHeaders` with a [`MsgDeSoHeaderBundle` in `_handleGetHeaders()`](https://github.com/deso-protocol/core/blob/135c03a/lib/server.go#L439).\
90
90
91
91
* Note that a "header locator" similar to Bitcoin is used to determine which headers are needed.\
@@ -145,10 +145,10 @@ We use the following commit hashes to refer to the code:
145
145
* Note that we are currently working on increasing the nonce size to 64 bits up from 32 bits. This will result in ExtraNonce being basically deprecated, and will make `GetBlockTemplate()` much faster because it won't have to copy a block.\
146
146
147
147
* Once a block has been submitted via SubmitBlock, it is then relayed to other peers via the INV mechanism described previously. This happens as follows:
148
-
*[`SubmitBlock()` in `miner.go`](https://github.com/deso-protocol/backend/blob/47bcc8af71b039f857bd949fcea94bfbed8b57e8/routes/miner.go#L125) calls [`ProcessBlock()`](https://github.com/deso-protocol/backend/blob/47bcc8af71b039f857bd949fcea94bfbed8b57e8/routes/miner.go#L177)``\
149
-
``
150
-
*`ProcessBlock()` notifies core's `server.go` that a block was connected by calling [`_handleBlockMainChainConnectedd()`](https://github.com/deso-protocol/core/blob/135c03a/lib/blockchain.go#L1854)``\
151
-
``
148
+
*[`SubmitBlock()` in `miner.go`](https://github.com/deso-protocol/backend/blob/47bcc8af71b039f857bd949fcea94bfbed8b57e8/routes/miner.go#L125) calls [`ProcessBlock()`](https://github.com/deso-protocol/backend/blob/47bcc8af71b039f857bd949fcea94bfbed8b57e8/routes/miner.go#L177)\
149
+
150
+
*`ProcessBlock()` notifies core's `server.go` that a block was connected by calling [`_handleBlockMainChainConnectedd()`](https://github.com/deso-protocol/core/blob/135c03a/lib/blockchain.go#L1854)\
151
+
152
152
*`_handleBlockMainChainConnectedd()` updates the mempool using [`UpdateAfterConnectBlock()`](https://github.com/deso-protocol/core/blob/135c03a/lib/server.go#L1078), which removes transactions from the mempool that have been mined into the block\
153
153
154
154
*`ProcessBlock()` notifies `server.go` again by [enqueing a `MsgDeSoBlockAccepted`](https://github.com/deso-protocol/core/blob/135c03a/lib/blockchain.go#L2135) message at the end, triggering a call to [`_handleBlockAccepted`](https://github.com/deso-protocol/core/blob/135c03a/lib/server.go#L1127).
Copy file name to clipboardExpand all lines: deso-tech-stack.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -22,12 +22,12 @@ We strive on the following development principles:
22
22
### **1) Easy for web2 developers to build.**
23
23
24
24
***API-Driven & Permissionless**\
25
-
****Everything that DeSo builds is API-driven from the start. We believe this makes it easier for Web2 developers to focus on creating world-class Web3 applications, using familiar programming languages like [Javascript](deso-frontend/exchange-listing-api.md) & Python. There's no need to learn smart-contract languages and write cost-prohibitive contracts.\
25
+
Everything that DeSo builds is API-driven from the start. We believe this makes it easier for Web2 developers to focus on creating world-class Web3 applications, using familiar programming languages like [Javascript](deso-frontend/exchange-listing-api.md) & Python. There's no need to learn smart-contract languages and write cost-prohibitive contracts.\
26
26
\
27
27
Anyone in the world can also run their own DeSo node to curate and moderate their own feed. Read more: [feeds-and-moderation.md](deso-features/feeds-and-moderation.md"mention")\
28
28
29
29
***Virtually Zero Gas Fees**\
30
-
****On DeSo, you'll never expect to pay more than a fraction of a penny for thousands of on-chain transactions. The average fee per post is <$0.000017, in contrast to Ethereum where the average fee per post can cost >$50 depending on gas fees.\
30
+
On DeSo, you'll never expect to pay more than a fraction of a penny for thousands of on-chain transactions. The average fee per post is <$0.000017, in contrast to Ethereum where the average fee per post can cost >$50 depending on gas fees.\
31
31
\
32
32
DeSo solves very complex storage & indexing problems to be able to handle decentralized social applications extremely efficiently. This is an advantage of DeSo being an "infinite-state" blockchain that's optimized for storage-heavy use cases. Read more: [infinite-state.md](deso-blockchain/infinite-state.md"mention")\
33
33
@@ -47,7 +47,7 @@ We strive on the following development principles:
47
47
### **2) Easy for mainstream users to onboard.**
48
48
49
49
***Frictionless Usage & Onboarding**\
50
-
****DeSo is a very user-experienced-driven project, as we believe the key to Web3 social is to make the user experience on par with the expectations of Web2 social.\
50
+
DeSo is a very user-experienced-driven project, as we believe the key to Web3 social is to make the user experience on par with the expectations of Web2 social.\
51
51
\
52
52
This means unlike other blockchains, DeSo makes it very simple to sign up and try applications with an identity, wallet, and free "starter $DESO" to start engaging.\
53
53
\
@@ -76,7 +76,7 @@ We strive on the following development principles:
76
76
* All of your NFTs, Creator Coins, and DeSo Tokens are coupled with your Identity. See an example here: [https://signup.deso.com/wallet](https://signup.deso.com/wallet)\
77
77
78
78
***Privacy & Safety**\
79
-
****DeSo was built with ideas like Account Abstraction in mind from day one. \
79
+
DeSo was built with ideas like Account Abstraction in mind from day one. \
80
80
\
81
81
We utilize "derived keys" and "spending limits" which makes it safer to give permissions to specific applications like posting, commenting, or following — without giving up your private keys.\
82
82
\
@@ -87,7 +87,7 @@ We strive on the following development principles:
87
87
### **3) Easy for creators to engage & monetize.**
88
88
89
89
***Monetization & Social Features**\
90
-
****A unique advantage for DeSo being its own layer-1 is that the blockchain combines social + money transactions very seamlessly.\
90
+
A unique advantage for DeSo being its own layer-1 is that the blockchain combines social + money transactions very seamlessly.\
91
91
\
92
92
This allows DeSo offers multiple methods of on-chain monetization and social features for developers to build on, like the following:\
0 commit comments