Skip to content

Commit 7b6c646

Browse files
authored
Merge pull request #132 from KomodoPlatform/hd-wallet-updates
Update HD wallet activation docs
2 parents 1b393ad + 43a8abc commit 7b6c646

File tree

35 files changed

+2130
-796
lines changed

35 files changed

+2130
-796
lines changed

STYLE_GUIDE.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ MDX supports standard markdown by default [CommonMark](https://commonmark.org/).
166166

167167
The `CodeGroup` acts as a wrapper around code blocks. It allows us to have tabbed content (or not, if it's a single block) with properties such as **title, tags, labels and more**. An example would look something like this:
168168

169-
````mdx
169+
```mdx
170170
<CodeGroup title="Code Sample" tag="post" label="/kmd/jwt/post" >
171171

172172
```ts
@@ -186,19 +186,19 @@ The `CodeGroup` acts as a wrapper around code blocks. It allows us to have tabbe
186186
```
187187

188188
</CodeGroup>
189-
````
189+
```
190190

191191
And rendered as:
192192

193193
![Code group UI](style-guide-images/code-group-sample.png)
194194

195195
<!-- If you have a single block of code, you can use the `CodeGroup` without wrapping it around the block by using `mdx-annotations`.
196196
197-
````mdx
197+
```mdx
198198
```ts {{title: "Single Block", tag: "post", label: "/kmd/jwt/post"}}
199199
// ...
200200
```
201-
````
201+
```
202202
203203
And you'll still have it rendered correctly:
204204
@@ -218,7 +218,7 @@ You only need to include the `json` data, and the additional **mm2MethodDecorate
218218

219219
A working code sample would look like this:
220220

221-
````mdx
221+
```mdx
222222
<CodeGroup title="Generate Invoice" tag="POST" label="generate_invoice" mm2MethodDecorate="true">
223223

224224
```json
@@ -235,7 +235,7 @@ A working code sample would look like this:
235235
```
236236

237237
</CodeGroup>
238-
````
238+
```
239239

240240
Rendered as:
241241

@@ -287,7 +287,7 @@ This renders a button with a specified text based on its state (expanded or coll
287287

288288
You'll mostly use this for API, Commands, etc. Responses, which should be wrapped with the `CollapsibleSection` tags, for example:
289289

290-
````mdx
290+
```mdx
291291
<CollapsibleSection expandedText='Hide Response' collapsedText='Show Response'>
292292
#### Response (ready, successful)
293293

@@ -300,13 +300,13 @@ You'll mostly use this for API, Commands, etc. Responses, which should be wrappe
300300
```
301301

302302
</CollapsibleSection>
303-
````
303+
```
304304

305305
The `CollapsibleSection` tags should also wrap all error responses (as a group), with the `expandedText` and `collapsedText` values set to '**Show Error Responses**' and '**Hide Error Responses' respectively**.
306306

307307
A working code would look like this:
308308

309-
````mdx
309+
```mdx
310310
<CollapsibleSection expandedText='Hide code' collapsedText='Show code'>
311311

312312
```json
@@ -320,7 +320,7 @@ A working code would look like this:
320320
```
321321

322322
</CollapsibleSection>
323-
````
323+
```
324324

325325
Rendered as:
326326

data-for-gpts/all-content.txt

+6-6
Original file line numberDiff line numberDiff line change
@@ -22548,11 +22548,11 @@ For more details on the above command, see [tokencreate.](/antara/api/tokens/#to
2254822548

2254922549
This command returns a hex value as a response:
2255022550

22551-
````json
22551+
```json
2255222552
{
2255322553
"result": "success",
2255422554
"hex": "01000000022c223cfc9c3349aed24ca89e44af6fcdb030150443bd6ac55e2080ce4b097c3002000000484730440220316605c400c47e2d5aa6104ac5c5229e71683b8db9482efa1655d257690d338802202344f254b208a6d724f52f4503531cf005a8ca68119bde4b6cb281ab9fccaf1101ffffffff80e66c0c47311449c5effc2782134006f05fd31e79659bc4b0608d7e247e280c0000000049483045022100ec494d3fa5c76fe0382e83980affdfd091509fb4e18b20fff8c095374e6b6bee022015ddaf95dc8b03e8cbba00ff7a377b80a7bd2200a68669718c329c617549757701ffffffff0400a0724e18090000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401cc1027000000000000232102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702acc01f66fa15090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac0000000000000000396a37e3632103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc0354414b0e54657374696e672070686173652e00000000" } ```
22555-
````
22555+
```
2255622556

2255722557
Select the hex value (`01000000022c223c...`) and copy it (CTRL + SHFT + C).
2255822558

@@ -29101,9 +29101,9 @@ Below is a table of the currently available legacy, v2.0 and v2.0 (Dev) methods:
2910129101
| | | [task::enable\_utxo::init](/atomicdex/api/v20-dev/task_enable_utxo/#init) |
2910229102
| | | [task::enable\_utxo::status](/atomicdex/api/v20-dev/task_enable_utxo/#status) |
2910329103
| | | [task::enable\_utxo::user\_action](/atomicdex/api/v20-dev/task_enable_utxo/#user-action) |
29104-
| | | [task::enable\_z\_coin::cancel](/atomicdex/api/v20-dev/task_enable_z_coin/#cancel-initialization) |
29105-
| | | [task::enable\_z\_coin::init](/atomicdex/api/v20-dev/task_enable_z_coin/#initialize-z-coin-activation) |
29106-
| | | [task::enable\_z\_coin::status](/atomicdex/api/v20-dev/task_enable_z_coin/#activation-status) |
29104+
| | | [task::enable\_z\_coin::cancel](/atomicdex/api/v20-dev/zhtlc_coins/activation/#cancel-activation) |
29105+
| | | [task::enable\_z\_coin::init](/atomicdex/api/v20-dev/zhtlc_coins/activation/#initialize-zhtlc-coin-activation) |
29106+
| | | [task::enable\_z\_coin::status](/atomicdex/api/v20-dev/zhtlc_coins/activation/#activation-status) |
2910729107
| | | [task::init\_trezor::cancel](/atomicdex/api/v20-dev/task_init_trezor/#cancel) |
2910829108
| | | [task::init\_trezor::init](/atomicdex/api/v20-dev/task_init_trezor/#init) |
2910929109
| | | [task::init\_trezor::status](/atomicdex/api/v20-dev/task_init_trezor/#status) |
@@ -30893,7 +30893,7 @@ KomoDeFi is a true cross chain, cross protocol Decentralized Exchange (DEX), all
3089330893
```
3089430894
</CollapsibleSection>
3089530895

30896-
For enabling Z coins, refer to the [Z coin tasks](/atomicdex/api/v20-dev/task_enable_z_coin/#initialize-z-coin-activation) in the v2.0 Dev API.
30896+
For enabling Z coins, refer to the [Z coin tasks](/atomicdex/api/v20-dev/task_enable_z_coin/#initialize-zhtlc-coin-activation) in the v2.0 Dev API.
3089730897

3089830898
To see more examples for other platforms like Fantom, Avalanche & Harmony, you can search the [KomoDeFi API Coin Activation Commands List
3089930899
](https://stats.kmd.io/atomicdex/activation_commands/) or build a single `batch` command to enable a set of selected coins via the

data-for-gpts/antara-content.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -22548,11 +22548,11 @@ For more details on the above command, see [tokencreate.](/antara/api/tokens/#to
2254822548

2254922549
This command returns a hex value as a response:
2255022550

22551-
````json
22551+
```json
2255222552
{
2255322553
"result": "success",
2255422554
"hex": "01000000022c223cfc9c3349aed24ca89e44af6fcdb030150443bd6ac55e2080ce4b097c3002000000484730440220316605c400c47e2d5aa6104ac5c5229e71683b8db9482efa1655d257690d338802202344f254b208a6d724f52f4503531cf005a8ca68119bde4b6cb281ab9fccaf1101ffffffff80e66c0c47311449c5effc2782134006f05fd31e79659bc4b0608d7e247e280c0000000049483045022100ec494d3fa5c76fe0382e83980affdfd091509fb4e18b20fff8c095374e6b6bee022015ddaf95dc8b03e8cbba00ff7a377b80a7bd2200a68669718c329c617549757701ffffffff0400a0724e18090000302ea22c8020bc485b86ffd067abe520c078b74961f6b25e4efca6388c6bfd599ca3f53d8dae8103120c008203000401cc1027000000000000232102adf84e0e075cf90868bd4e3d34a03420e034719649c41f371fc70d8e33aa2702acc01f66fa15090000232103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abcac0000000000000000396a37e3632103fe754763c176e1339a3f62ee6b9484720e17ee4646b65a119e9f6370c7004abc0354414b0e54657374696e672070686173652e00000000" } ```
22555-
````
22555+
```
2255622556

2255722557
Select the hex value (`01000000022c223c...`) and copy it (CTRL + SHFT + C).
2255822558

data-for-gpts/atomicdex-content.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -2335,8 +2335,8 @@ Below is a table of the currently available legacy, v2.0 and v2.0 (Dev) methods:
23352335
| | | [task::enable\_utxo::init](/atomicdex/api/v20-dev/task_enable_utxo/#init) |
23362336
| | | [task::enable\_utxo::status](/atomicdex/api/v20-dev/task_enable_utxo/#status) |
23372337
| | | [task::enable\_utxo::user\_action](/atomicdex/api/v20-dev/task_enable_utxo/#user-action) |
2338-
| | | [task::enable\_z\_coin::cancel](/atomicdex/api/v20-dev/task_enable_z_coin/#cancel-initialization) |
2339-
| | | [task::enable\_z\_coin::init](/atomicdex/api/v20-dev/task_enable_z_coin/#initialize-z-coin-activation) |
2338+
| | | [task::enable\_z\_coin::cancel](/atomicdex/api/v20-dev/task_enable_z_coin/#cancel-activation) |
2339+
| | | [task::enable\_z\_coin::init](/atomicdex/api/v20-dev/task_enable_z_coin/#initialize-zhtlc-coin-activation) |
23402340
| | | [task::enable\_z\_coin::status](/atomicdex/api/v20-dev/task_enable_z_coin/#activation-status) |
23412341
| | | [task::init\_trezor::cancel](/atomicdex/api/v20-dev/task_init_trezor/#cancel) |
23422342
| | | [task::init\_trezor::init](/atomicdex/api/v20-dev/task_init_trezor/#init) |
@@ -4125,7 +4125,7 @@ KomoDeFi is a true cross chain, cross protocol Decentralized Exchange (DEX), all
41254125
```
41264126
</CollapsibleSection>
41274127

4128-
For enabling Z coins, refer to the [Z coin tasks](/atomicdex/api/v20-dev/task_enable_z_coin/#initialize-z-coin-activation) in the v2.0 Dev API.
4128+
For enabling Z coins, refer to the [Z coin tasks](/atomicdex/api/v20-dev/task_enable_z_coin/#initialize-zhtlc-coin-activation) in the v2.0 Dev API.
41294129

41304130
To see more examples for other platforms like Fantom, Avalanche & Harmony, you can search the [KomoDeFi API Coin Activation Commands List
41314131
](https://stats.kmd.io/atomicdex/activation_commands/) or build a single `batch` command to enable a set of selected coins via the

data-for-gpts/komodefi-api/all-api-content.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -2335,8 +2335,8 @@ Below is a table of the currently available legacy, v2.0 and v2.0 (Dev) methods:
23352335
| | | [task::enable\_utxo::init](/atomicdex/api/v20-dev/task_enable_utxo/#init) |
23362336
| | | [task::enable\_utxo::status](/atomicdex/api/v20-dev/task_enable_utxo/#status) |
23372337
| | | [task::enable\_utxo::user\_action](/atomicdex/api/v20-dev/task_enable_utxo/#user-action) |
2338-
| | | [task::enable\_z\_coin::cancel](/atomicdex/api/v20-dev/task_enable_z_coin/#cancel-initialization) |
2339-
| | | [task::enable\_z\_coin::init](/atomicdex/api/v20-dev/task_enable_z_coin/#initialize-z-coin-activation) |
2338+
| | | [task::enable\_z\_coin::cancel](/atomicdex/api/v20-dev/task_enable_z_coin/#cancel-activation) |
2339+
| | | [task::enable\_z\_coin::init](/atomicdex/api/v20-dev/task_enable_z_coin/#initialize-zhtlc-coin-activation) |
23402340
| | | [task::enable\_z\_coin::status](/atomicdex/api/v20-dev/task_enable_z_coin/#activation-status) |
23412341
| | | [task::init\_trezor::cancel](/atomicdex/api/v20-dev/task_init_trezor/#cancel) |
23422342
| | | [task::init\_trezor::init](/atomicdex/api/v20-dev/task_init_trezor/#init) |
@@ -4125,7 +4125,7 @@ KomoDeFi is a true cross chain, cross protocol Decentralized Exchange (DEX), all
41254125
```
41264126
</CollapsibleSection>
41274127

4128-
For enabling Z coins, refer to the [Z coin tasks](/atomicdex/api/v20-dev/task_enable_z_coin/#initialize-z-coin-activation) in the v2.0 Dev API.
4128+
For enabling Z coins, refer to the [Z coin tasks](/atomicdex/api/v20-dev/task_enable_z_coin/#initialize-zhtlc-coin-activation) in the v2.0 Dev API.
41294129

41304130
To see more examples for other platforms like Fantom, Avalanche & Harmony, you can search the [KomoDeFi API Coin Activation Commands List
41314131
](https://stats.kmd.io/atomicdex/activation_commands/) or build a single `batch` command to enable a set of selected coins via the

data-for-gpts/komodefi-api/legacy-api-content.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1768,7 +1768,7 @@ KomoDeFi is a true cross chain, cross protocol Decentralized Exchange (DEX), all
17681768
```
17691769
</CollapsibleSection>
17701770

1771-
For enabling Z coins, refer to the [Z coin tasks](/atomicdex/api/v20-dev/task_enable_z_coin/#initialize-z-coin-activation) in the v2.0 Dev API.
1771+
For enabling Z coins, refer to the [Z coin tasks](/atomicdex/api/v20-dev/task_enable_z_coin/#initialize-zhtlc-coin-activation) in the v2.0 Dev API.
17721772

17731773
To see more examples for other platforms like Fantom, Avalanche & Harmony, you can search the [KomoDeFi API Coin Activation Commands List
17741774
](https://stats.kmd.io/atomicdex/activation_commands/) or build a single `batch` command to enable a set of selected coins via the

0 commit comments

Comments
 (0)