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: src/pages/komodo-defi-framework/api/v20-dev/one_inch_v6_0_classic_swap_create/index.mdx
+1-2
Original file line number
Diff line number
Diff line change
@@ -11,8 +11,7 @@ The `1inch_v6_0_classic_swap_create` method returns transaction data for classic
11
11
You'll also need to set your 1inch API key as an environment variable called `ONE_INCH_API_TEST_AUTH`, e.g. `ONE_INCH_API_TEST_AUTH="Bearer YourAPIkey"`.
12
12
</Note>
13
13
14
-
Refer to the [1inch Classic Swap documentation](https://portal.1inch.dev/documentation/apis/swap/classic-swap/quick-start) for more information.
15
-
14
+
Refer to the [1inch Classic Swap documentation](https://portal.1inch.dev/documentation/apis/swap/classic-swap/quick-start) for more information.
Copy file name to clipboardexpand all lines: src/pages/komodo-defi-framework/api/v20-dev/one_inch_v6_0_classic_swap_liquidity_sources/index.mdx
+5-4
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ The `1inch_v6_0_classic_swap_liquidity_sources` method returns liquidity sources
11
11
You'll also need to set your 1inch API key as an environment variable called `ONE_INCH_API_TEST_AUTH`, e.g. `ONE_INCH_API_TEST_AUTH="Bearer YourAPIkey"`.
12
12
</Note>
13
13
14
-
Refer to the [1inch Classic Swap documentation](https://portal.1inch.dev/documentation/apis/swap/classic-swap/quick-start) for more information.
14
+
Refer to the [1inch Classic Swap documentation](https://portal.1inch.dev/documentation/apis/swap/classic-swap/quick-start) for more information.
15
15
16
16
## Arguments
17
17
@@ -47,9 +47,9 @@ Refer to the [1inch Classic Swap documentation](https://portal.1inch.dev/documen
47
47
#### Response
48
48
49
49
```json
50
-
{
51
-
"mmrpc": "2.0",
52
-
"result": {
50
+
{
51
+
"mmrpc": "2.0",
52
+
"result": {
53
53
"protocols": [
54
54
{
55
55
"id": "UNISWAP_V1",
@@ -71,5 +71,6 @@ Refer to the [1inch Classic Swap documentation](https://portal.1inch.dev/documen
Copy file name to clipboardexpand all lines: src/pages/komodo-defi-framework/api/v20-dev/one_inch_v6_0_classic_swap_quote/index.mdx
+1-1
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ The `1inch_v6_0_classic_swap_quote` method returns best quote from 1inch classic
11
11
You'll also need to set your 1inch API key as an environment variable called `ONE_INCH_API_TEST_AUTH`, e.g. `ONE_INCH_API_TEST_AUTH="Bearer YourAPIkey"`.
12
12
</Note>
13
13
14
-
Refer to the [1inch Classic Swap documentation](https://portal.1inch.dev/documentation/apis/swap/classic-swap/quick-start) for more information.
14
+
Refer to the [1inch Classic Swap documentation](https://portal.1inch.dev/documentation/apis/swap/classic-swap/quick-start) for more information.
Copy file name to clipboardexpand all lines: src/pages/komodo-defi-framework/api/v20-dev/one_inch_v6_0_classic_swap_tokens/index.mdx
+1-1
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ The `1inch_v6_0_classic_swap_tokens` method returns tokens for classic swaps fro
11
11
You'll also need to set your 1inch API key as an environment variable called `ONE_INCH_API_TEST_AUTH`, e.g. `ONE_INCH_API_TEST_AUTH="Bearer YourAPIkey"`.
12
12
</Note>
13
13
14
-
Refer to the [1inch Classic Swap documentation](https://portal.1inch.dev/documentation/apis/swap/classic-swap/quick-start) for more information.
14
+
Refer to the [1inch Classic Swap documentation](https://portal.1inch.dev/documentation/apis/swap/classic-swap/quick-start) for more information.
Copy file name to clipboardexpand all lines: src/pages/komodo-defi-framework/setup/configure-mm2-json/index.mdx
+3-6
Original file line number
Diff line number
Diff line change
@@ -37,9 +37,7 @@ When running the Komodo DeFi API via commandline with the `mm2` binary, some bas
37
37
| passphrase | string | Optional. Your passphrase (mnemonic phrase) in plain text. This is the source of each of your coins private keys. [**KEEP IT SAFE!**](https://www.youtube.com/watch?v=WFpxVbTqhB8). For more secure, encrypted storage in a local database, use the `wallet_name` and `wallet_password` parameters below. |
38
38
| wallet\_name | string | Optional. An arbitrary name for the wallet. If no `passphrase` is provided, and the wallet has been used already, the `wallet_password` will be used to decrypt the local stored mnemonic phrase. If it has not been used before, a mnemonic will be generated and encrypted for local storage. The mnemonic phrase can be seen in plain text using the (/komodo-defi-framework/api/v20/get\_mnemonic)\[] method. |
39
39
| wallet\_password | string | Optional, required if using `wallet_name`. The password use to encrypt your wallet's mnemonic phrase for local storage, and decrypt the wallet when logging in. |
40
-
| 1inch\_api | string | Optional, required if using [1inch integration methods](/komodo-defi-framework/api/v20-dev/one_inch_v6_0_classic_swap_create/). URL for 1inch API, e.g. "https://api.1inch.dev"|
41
-
42
-
40
+
| 1inch\_api | string | Optional, required if using [1inch integration methods](/komodo-defi-framework/api/v20-dev/one_inch_v6_0_classic_swap_create/). URL for 1inch API, e.g. "[https://api.1inch.dev](https://api.1inch.dev)" |
43
41
44
42
#### Example (allowing weak password):
45
43
@@ -120,11 +118,11 @@ When running the Komodo DeFi API via commandline with the `mm2` binary, some bas
120
118
"1inch_api": "https://api.1inch.dev"
121
119
}
122
120
```
121
+
123
122
<Note>
124
123
To use methods which interface with the 1inch API, you'll also need to set your 1inch API key as an environment variable called `ONE_INCH_API_TEST_AUTH`, e.g. `ONE_INCH_API_TEST_AUTH="Bearer YourAPIkey"`.
125
124
</Note>
126
125
127
-
128
126
#### Example for HD Wallets:
129
127
130
128
If you are using HD wallets, you will need to set `enable_hd` to `true` in to your [MM2.json file](/komodo-defi-framework/setup/configure-mm2-json/).
@@ -166,8 +164,7 @@ The structure for adding additional coins can vary, please refer to the [listing
166
164
| MM\_CERT\_PATH | string | Full path to TLS/SSL certificate file. |
167
165
| MM\_CERT\_KEY\_PATH | string | Full path to TLS/SSL certificate key file. |
168
166
| RUST\_LOG | string | Global default log level is `info`. To modify the log level for specific module (e.g. for debugging `atomicdex_gossipsub::behaviour`) and keep the default at `info`, use the format `"info,atomicdex_gossipsub::behaviour=debug"`|
169
-
| ONE\_INCH\_API\_TEST\_AUTH | string | 1inch API key to authenticate for using [1inch integration methods](/komodo-defi-framework/api/v20-dev/one_inch_v6_0_classic_swap_create/). |
170
-
167
+
| ONE\_INCH\_API\_TEST\_AUTH | string | 1inch API key to authenticate for using [1inch integration methods](/komodo-defi-framework/api/v20-dev/one_inch_v6_0_classic_swap_create/). |
0 commit comments