Skip to content

Commit 08cf082

Browse files
committed
add build flag notes for 1inch methods
1 parent 4549653 commit 08cf082

File tree

5 files changed

+10
-0
lines changed
  • src/pages/komodo-defi-framework

5 files changed

+10
-0
lines changed

src/pages/komodo-defi-framework/api/v20-dev/one_inch_v6_0_classic_swap_create/index.mdx

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ The `1inch_v6_0_classic_swap_create` method returns transaction data for classic
99
<Note>
1010
To use methods which interface with the 1inch API, you need to set the `1inch_api` url in your [MM2.json file](/komodo-defi-framework/setup/configure-mm2-json/).
1111
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+
13+
As this feature is still experimental, you will need to [build KDF from source](https://github.com/KomodoPlatform/komodo-defi-framework?tab=readme-ov-file#building-from-source) on the dev branch with a build flag, e.g. `cargo build --feature test-ext-api`.
1214
</Note>
1315

1416
Refer to the [1inch Classic Swap documentation](https://portal.1inch.dev/documentation/apis/swap/classic-swap/quick-start) for more information.

src/pages/komodo-defi-framework/api/v20-dev/one_inch_v6_0_classic_swap_liquidity_sources/index.mdx

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ The `1inch_v6_0_classic_swap_liquidity_sources` method returns liquidity sources
99
<Note>
1010
To use methods which interface with the 1inch API, you need to set the `1inch_api` url in your [MM2.json file](/komodo-defi-framework/setup/configure-mm2-json/).
1111
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+
13+
As this feature is still experimental, you will need to [build KDF from source](https://github.com/KomodoPlatform/komodo-defi-framework?tab=readme-ov-file#building-from-source) on the dev branch with a build flag, e.g. `cargo build --feature test-ext-api`.
1214
</Note>
1315

1416
Refer to the [1inch Classic Swap documentation](https://portal.1inch.dev/documentation/apis/swap/classic-swap/quick-start) for more information.

src/pages/komodo-defi-framework/api/v20-dev/one_inch_v6_0_classic_swap_quote/index.mdx

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ The `1inch_v6_0_classic_swap_quote` method returns best quote from 1inch classic
99
<Note>
1010
To use methods which interface with the 1inch API, you need to set the `1inch_api` url in your [MM2.json file](/komodo-defi-framework/setup/configure-mm2-json/).
1111
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+
13+
As this feature is still experimental, you will need to [build KDF from source](https://github.com/KomodoPlatform/komodo-defi-framework?tab=readme-ov-file#building-from-source) on the dev branch with a build flag, e.g. `cargo build --feature test-ext-api`.
1214
</Note>
1315

1416
Refer to the [1inch Classic Swap documentation](https://portal.1inch.dev/documentation/apis/swap/classic-swap/quick-start) for more information.

src/pages/komodo-defi-framework/api/v20-dev/one_inch_v6_0_classic_swap_tokens/index.mdx

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ The `1inch_v6_0_classic_swap_tokens` method returns tokens for classic swaps fro
99
<Note>
1010
To use methods which interface with the 1inch API, you need to set the `1inch_api` url in your [MM2.json file](/komodo-defi-framework/setup/configure-mm2-json/).
1111
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+
13+
As this feature is still experimental, you will need to [build KDF from source](https://github.com/KomodoPlatform/komodo-defi-framework?tab=readme-ov-file#building-from-source) on the dev branch with a build flag, e.g. `cargo build --feature test-ext-api`.
1214
</Note>
1315

1416
Refer to the [1inch Classic Swap documentation](https://portal.1inch.dev/documentation/apis/swap/classic-swap/quick-start) for more information.

src/pages/komodo-defi-framework/setup/configure-mm2-json/index.mdx

+2
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,8 @@ When running the Komodo DeFi API via commandline with the `mm2` binary, some bas
121121

122122
<Note>
123123
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"`.
124+
125+
As this feature is still experimental, you will need to [build KDF from source](https://github.com/KomodoPlatform/komodo-defi-framework?tab=readme-ov-file#building-from-source) on the dev branch with a build flag, e.g. `cargo build --feature test-ext-api`.
124126
</Note>
125127

126128
#### Example for HD Wallets:

0 commit comments

Comments
 (0)