diff --git a/.vitepress/config.ts b/.vitepress/config.ts index cb4b4c70b..ba77dae9e 100644 --- a/.vitepress/config.ts +++ b/.vitepress/config.ts @@ -235,7 +235,6 @@ function nav() { text: "Gas Tank API", link: "/gas-tank/gas-tank-api", }, - { text: "Swap Widget", link: "/swap-widget/widget-integration" }, { text: "Chains Lib", link: "/chains-lib/chains-lib", diff --git a/campaigns/campaigns-service-api.md b/campaigns/campaigns-service-api.md index 2a3714140..34759487d 100644 --- a/campaigns/campaigns-service-api.md +++ b/campaigns/campaigns-service-api.md @@ -1,8 +1,7 @@ --- -prev: - text: Routing API - link: /routing/introduction -next: false +next: + text: 📒 Chains Lib + link: /chains-lib/chains-lib --- # Campaigns Service API diff --git a/components/AddressCheckV2.jsx b/components/AddressCheckV2.jsx index 729735062..1edd63c7d 100644 --- a/components/AddressCheckV2.jsx +++ b/components/AddressCheckV2.jsx @@ -71,13 +71,15 @@ export default function AddressCheckV2() { )} -
+
Response
-
{JSON.stringify(response, null, 2)}
+
+          {JSON.stringify(response, null, 2)}
+        
); diff --git a/components/AssetsCryptoCurrencies.jsx b/components/AssetsCryptoCurrencies.jsx index 112ee4ce7..c42b78f02 100644 --- a/components/AssetsCryptoCurrencies.jsx +++ b/components/AssetsCryptoCurrencies.jsx @@ -103,13 +103,15 @@ const CryptoCurrencies = () => { )}
-
+
Response
-
{JSON.stringify(response, null, 2)}
+
+          {JSON.stringify(response, null, 2)}
+        
); diff --git a/components/AssetsFiatCurrencies.jsx b/components/AssetsFiatCurrencies.jsx index b9efa1ac9..023b235f0 100644 --- a/components/AssetsFiatCurrencies.jsx +++ b/components/AssetsFiatCurrencies.jsx @@ -97,13 +97,15 @@ const FiatCurrencies = () => { )}
-
+
Response
-
{JSON.stringify(response, null, 2)}
+
+          {JSON.stringify(response, null, 2)}
+        
); diff --git a/components/AssetsLPTokens.jsx b/components/AssetsLPTokens.jsx index a998f29c2..29a4afca4 100644 --- a/components/AssetsLPTokens.jsx +++ b/components/AssetsLPTokens.jsx @@ -119,13 +119,15 @@ const AssetsLPTokens = () => { )}
-
+
Response
-
{JSON.stringify(response, null, 2)}
+
+          {JSON.stringify(response, null, 2)}
+        
); diff --git a/components/AssetsTokens.jsx b/components/AssetsTokens.jsx index f62085ff9..dff41d1fa 100644 --- a/components/AssetsTokens.jsx +++ b/components/AssetsTokens.jsx @@ -110,13 +110,13 @@ const AssetsTokens = () => { )}
-
+
Response
-
{JSON.stringify(response, null, 2)}
+
{JSON.stringify(response, null, 2)}
); diff --git a/components/BridgeableTokens.jsx b/components/BridgeableTokens.jsx index 579a85572..0ac5212cd 100644 --- a/components/BridgeableTokens.jsx +++ b/components/BridgeableTokens.jsx @@ -73,13 +73,15 @@ export default function BridgeableTokens() { )}
-
+
Response
-
{JSON.stringify(response, null, 2)}
+
+          {JSON.stringify(response, null, 2)}
+        
); diff --git a/components/BroadcastTransaction.jsx b/components/BroadcastTransaction.jsx index d33002e5f..e67bbb6d8 100644 --- a/components/BroadcastTransaction.jsx +++ b/components/BroadcastTransaction.jsx @@ -77,7 +77,7 @@ const BroadcastTransaction = () => { return ( <> -
+
Chain:
@@ -97,7 +97,7 @@ const BroadcastTransaction = () => {
-
+
Raw Transaction Hex:
{ id="raw-hex" name="Raw Hex" value={rawHex} - className="bg-gray-50 text-gray-900 px-2 py-1 dark:bg-gray-700 dark:placeholder-gray-400 dark:text-white" + className="max-sm:w-[300px] bg-gray-50 text-gray-900 px-2 py-1 dark:bg-gray-700 dark:placeholder-gray-400 dark:text-white" placeholder="Enter an raw transaction hex" onChange={(e) => setRawHex(e.target.value)} /> @@ -131,13 +131,15 @@ const BroadcastTransaction = () => { )}
-
+
Response
-
{JSON.stringify(response, null, 2)}
+
+          {JSON.stringify(response, null, 2)}
+        
); diff --git a/components/ChainV2GraphQL.jsx b/components/ChainV2GraphQL.jsx index afb97da3d..7d65f8546 100644 --- a/components/ChainV2GraphQL.jsx +++ b/components/ChainV2GraphQL.jsx @@ -71,13 +71,15 @@ export default function ChainV2GraphQL() { )}
-
+
Response
-
{JSON.stringify(response, null, 2)}
+
+          {JSON.stringify(response, null, 2)}
+        
); diff --git a/components/ChainsV2.jsx b/components/ChainsV2.jsx index 67ff3cfeb..535a49d39 100644 --- a/components/ChainsV2.jsx +++ b/components/ChainsV2.jsx @@ -44,13 +44,15 @@ export default function ChainsV2() { )}
-
+
Response
-
{JSON.stringify(response, null, 2)}
+
+          {JSON.stringify(response, null, 2)}
+        
); diff --git a/components/ChainsV2GraphQL.jsx b/components/ChainsV2GraphQL.jsx index a6c3866a4..52c881514 100644 --- a/components/ChainsV2GraphQL.jsx +++ b/components/ChainsV2GraphQL.jsx @@ -61,13 +61,15 @@ export default function ChainsV2GraphQL() { )}
-
+
Response
-
{JSON.stringify(response, null, 2)}
+
+          {JSON.stringify(response, null, 2)}
+        
); diff --git a/components/DailyVolume.jsx b/components/DailyVolume.jsx index 6358da83d..46706f1c3 100644 --- a/components/DailyVolume.jsx +++ b/components/DailyVolume.jsx @@ -68,13 +68,15 @@ export default function DailyVolume() { )}
-
+
Response
-
{JSON.stringify(response, null, 2)}
+
+          {JSON.stringify(response, null, 2)}
+        
); diff --git a/components/DetectWallet.jsx b/components/DetectWallet.jsx index 698d50af6..2fdc6a4ad 100644 --- a/components/DetectWallet.jsx +++ b/components/DetectWallet.jsx @@ -44,13 +44,13 @@ const DetectWallet = ({ chainId, subChainId }) => {
{address && ( -
+
Address
-
{address}
+
{address}
)} diff --git a/components/GetBalance.jsx b/components/GetBalance.jsx index ee20865ba..20a94baec 100644 --- a/components/GetBalance.jsx +++ b/components/GetBalance.jsx @@ -174,7 +174,7 @@ const GetBalance = () => { return ( <> -
+
Chain:
@@ -194,7 +194,7 @@ const GetBalance = () => {
-
+
Address:
{ id="address" name="Address" value={address} - className="bg-gray-50 text-gray-900 px-2 py-1 dark:bg-gray-700 dark:placeholder-gray-400 dark:text-white" + className="max-sm:w-300px] bg-gray-50 text-gray-900 px-2 py-1 dark:bg-gray-700 dark:placeholder-gray-400 dark:text-white" placeholder="Enter an address" onChange={(e) => setAddress(e.target.value)} /> @@ -228,13 +228,15 @@ const GetBalance = () => { )}
-
+
Response
-
{JSON.stringify(response, null, 2)}
+
+          {JSON.stringify(response, null, 2)}
+        
); diff --git a/components/GetGasFee.jsx b/components/GetGasFee.jsx index 19e5870cf..72e1d957a 100644 --- a/components/GetGasFee.jsx +++ b/components/GetGasFee.jsx @@ -101,7 +101,7 @@ const GetGasFee = () => { return ( <> -
+
Chain:
@@ -141,13 +141,15 @@ const GetGasFee = () => { )}
-
+
Response
-
{JSON.stringify(response, null, 2)}
+
+          {JSON.stringify(response, null, 2)}
+        
); diff --git a/components/GetTransactions.jsx b/components/GetTransactions.jsx index 12c8e1fc4..64d052a1d 100644 --- a/components/GetTransactions.jsx +++ b/components/GetTransactions.jsx @@ -227,7 +227,7 @@ const GetTransactions = () => { return ( <> -
+
Chain:
@@ -247,7 +247,7 @@ const GetTransactions = () => {
-
+
Address:
{ id="address" name="Address" value={address} - className="bg-gray-50 text-gray-900 px-2 py-1 dark:bg-gray-700 dark:placeholder-gray-400 dark:text-white" + className="max-sm:w-[300px] bg-gray-50 text-gray-900 px-2 py-1 dark:bg-gray-700 dark:placeholder-gray-400 dark:text-white" placeholder="Enter an address" onChange={(e) => setAddress(e.target.value)} /> @@ -281,13 +281,15 @@ const GetTransactions = () => { )}
-
+
Response
-
{JSON.stringify(response, null, 2)}
+
+          {JSON.stringify(response, null, 2)}
+        
); diff --git a/components/GetUTXOs.jsx b/components/GetUTXOs.jsx index cf88832a1..e6b8656d3 100644 --- a/components/GetUTXOs.jsx +++ b/components/GetUTXOs.jsx @@ -89,7 +89,7 @@ const GetUTXOs = () => { return ( <> -
+
Chain:
@@ -109,7 +109,7 @@ const GetUTXOs = () => {
-
+
Address:
{ id="address" name="Address" value={address} - className="bg-gray-50 text-gray-900 px-2 py-1 dark:bg-gray-700 dark:placeholder-gray-400 dark:text-white" + className="max-sm:w-[300px] bg-gray-50 text-gray-900 px-2 py-1 dark:bg-gray-700 dark:placeholder-gray-400 dark:text-white" placeholder="Enter an address" onChange={(e) => setAddress(e.target.value)} /> @@ -143,13 +143,15 @@ const GetUTXOs = () => { )}
-
+
Response
-
{JSON.stringify(response, null, 2)}
+
+          {JSON.stringify(response, null, 2)}
+        
); diff --git a/components/RouteV2.jsx b/components/RouteV2.jsx index 91d199106..b015ec440 100644 --- a/components/RouteV2.jsx +++ b/components/RouteV2.jsx @@ -116,13 +116,15 @@ export default function RouteV2() { )}
-
+
Response
-
{JSON.stringify(response, null, 2)}
+
+          {JSON.stringify(response, null, 2)}
+        
); diff --git a/components/SubscriptionService.jsx b/components/SubscriptionService.jsx index 29e4f38b4..6ee736e38 100644 --- a/components/SubscriptionService.jsx +++ b/components/SubscriptionService.jsx @@ -102,13 +102,15 @@ const SubscriptionServices = () => { )}
-
+
Response
-
{JSON.stringify(response, null, 2)}
+
+          {JSON.stringify(response, null, 2)}
+        
); diff --git a/components/TokenV2.jsx b/components/TokenV2.jsx index a9ea32c76..a63dc2a79 100644 --- a/components/TokenV2.jsx +++ b/components/TokenV2.jsx @@ -74,13 +74,15 @@ export default function TokenV2() { )}
-
+
Response
-
{JSON.stringify(response, null, 2)}
+
+          {JSON.stringify(response, null, 2)}
+        
); diff --git a/components/TokensV2.jsx b/components/TokensV2.jsx index 9cd26ca2c..8a439dad2 100644 --- a/components/TokensV2.jsx +++ b/components/TokensV2.jsx @@ -74,13 +74,15 @@ export default function TokensV2() { )}
-
+
Response
-
{JSON.stringify(response, null, 2)}
+
+          {JSON.stringify(response, null, 2)}
+        
); diff --git a/components/staking/CreateCosmosDelegateTx.jsx b/components/staking/CreateCosmosDelegateTx.jsx index 401ca62a7..0dda8fca0 100644 --- a/components/staking/CreateCosmosDelegateTx.jsx +++ b/components/staking/CreateCosmosDelegateTx.jsx @@ -135,7 +135,7 @@ const CreateCosmosDelegateTx = () => { return ( <>
-
+
Asset:
@@ -154,14 +154,14 @@ const CreateCosmosDelegateTx = () => {
-
-
-
Validator:
+
+
+
Validator:
setValidatorAddress(e.target.value)} />
)} -
-
Amount:
+
+
Amount:
setAmount(e.target.value)} />
-
-
Delegator Address:
+
+
Delegator Address:
setDelegatorAddress(e.target.value)} />
-
-
Delegator Pubkey Hex:
+
+
Delegator Pubkey Hex:
setDelegatorPubkeyHex(e.target.value)} />
-
-
Sender Pubkey Hex:
+
+
Sender Pubkey Hex:
setMemo(e.target.value)} />
-
-
Gas limit:
+
+
Gas limit:
setGasLimit(e.target.value)} /> @@ -281,13 +281,15 @@ const CreateCosmosDelegateTx = () => { )}
-
+
Response
-
{JSON.stringify(response, null, 2)}
+
+          {JSON.stringify(response, null, 2)}
+        
); diff --git a/components/staking/CreateErc20ApproveTx.jsx b/components/staking/CreateErc20ApproveTx.jsx index 7586b8194..04d711419 100644 --- a/components/staking/CreateErc20ApproveTx.jsx +++ b/components/staking/CreateErc20ApproveTx.jsx @@ -99,7 +99,7 @@ const CreateErc20ApproveTx = () => { return ( <>
-
+
Asset:
@@ -114,58 +114,58 @@ const CreateErc20ApproveTx = () => {
-
-
-
From Address:
+
+
+
From Address:
setFromAddress(e.target.value)} />
-
-
Spender Address:
+
+
Spender Address:
setSpenderAddress(e.target.value)} />
-
-
Amount:
+
+
Amount:
setAmount(e.target.value)} />
-
-
Nonce:
+
+
Nonce:
setNonce(e.target.value)} /> @@ -193,13 +193,15 @@ const CreateErc20ApproveTx = () => { )}
-
+
Response
-
{JSON.stringify(response, null, 2)}
+
+          {JSON.stringify(response, null, 2)}
+        
); diff --git a/components/staking/CreateLidoStakeTx.jsx b/components/staking/CreateLidoStakeTx.jsx index 1a52d8787..4e238b170 100644 --- a/components/staking/CreateLidoStakeTx.jsx +++ b/components/staking/CreateLidoStakeTx.jsx @@ -96,7 +96,7 @@ const CreateLidoStakeTx = () => { return ( <>
-
+
Asset:
@@ -112,44 +112,44 @@ const CreateLidoStakeTx = () => {
-
-
-
Address:
+
+
+
Address:
setAddress(e.target.value)} />
-
-
Stake Value:
+
+
Stake Value:
setStakeValue(e.target.value)} />
-
-
Nonce:
+
+
Nonce:
setNonce(e.target.value)} /> @@ -177,13 +177,15 @@ const CreateLidoStakeTx = () => { )}
-
+
Response
-
{JSON.stringify(response, null, 2)}
+
+          {JSON.stringify(response, null, 2)}
+        
); diff --git a/components/staking/CreateStrideLiquidStakingTx.jsx b/components/staking/CreateStrideLiquidStakingTx.jsx index 21963fa91..9b1866da1 100644 --- a/components/staking/CreateStrideLiquidStakingTx.jsx +++ b/components/staking/CreateStrideLiquidStakingTx.jsx @@ -105,7 +105,7 @@ const CreateStrideLiquidStakingTx = () => { return ( <>
-
+
Asset:
@@ -124,86 +124,86 @@ const CreateStrideLiquidStakingTx = () => {
-
-
-
Reciever Stride Addres:
+
+
+
Reciever Stride Addres:
setRecieverStrideAddr(e.target.value)} />
-
-
Amount:
+
+
Amount:
setAmount(e.target.value)} />
-
-
Sender Address:
+
+
Sender Address:
setSenderAddr(e.target.value)} />
-
-
Sender Pubkey Hex:
+
+
Sender Pubkey Hex:
setSenderPubkeyHex(e.target.value)} />
-
-
Timeout Height:
+
+
Timeout Height:
setTimeoutHeight(e.target.value)} />
-
-
Gas limit:
+
+
Gas limit:
setGasLimit(e.target.value)} /> @@ -231,13 +231,15 @@ const CreateStrideLiquidStakingTx = () => { )}
-
+
Response
-
{JSON.stringify(response, null, 2)}
+
+          {JSON.stringify(response, null, 2)}
+        
); diff --git a/components/staking/GetCosmosDelegations.jsx b/components/staking/GetCosmosDelegations.jsx index 8eeb01036..a6cb3d1c4 100644 --- a/components/staking/GetCosmosDelegations.jsx +++ b/components/staking/GetCosmosDelegations.jsx @@ -83,7 +83,7 @@ const GetCosmosDelegations = () => { return ( <> -
+
Asset:
@@ -102,7 +102,7 @@ const GetCosmosDelegations = () => {
-
+
Address:
{ id="address" name="Address" value={address} - className="bg-gray-50 text-gray-900 px-2 py-1 dark:bg-gray-700 dark:placeholder-gray-400 dark:text-white" + className="max-sm:w-[300px] bg-gray-50 text-gray-900 px-2 py-1 dark:bg-gray-700 dark:placeholder-gray-400 dark:text-white" placeholder="Enter an address" onChange={(e) => setAddress(e.target.value)} /> @@ -136,13 +136,15 @@ const GetCosmosDelegations = () => { )}
-
+
Response
-
{JSON.stringify(response, null, 2)}
+
+          {JSON.stringify(response, null, 2)}
+        
); diff --git a/components/staking/GetLidoStakedBalance.jsx b/components/staking/GetLidoStakedBalance.jsx index c2c8898df..58a11540c 100644 --- a/components/staking/GetLidoStakedBalance.jsx +++ b/components/staking/GetLidoStakedBalance.jsx @@ -81,7 +81,7 @@ const GetLidoStakedBalance = () => { return ( <> -
+
Asset:
@@ -96,7 +96,7 @@ const GetLidoStakedBalance = () => {
-
+
Address:
{ id="address" name="Address" value={address} - className="bg-gray-50 text-gray-900 px-2 py-1 dark:bg-gray-700 dark:placeholder-gray-400 dark:text-white" + className="max-sm:w-[300px] bg-gray-50 text-gray-900 px-2 py-1 dark:bg-gray-700 dark:placeholder-gray-400 dark:text-white" placeholder="Enter an address" onChange={(e) => setAddress(e.target.value)} /> @@ -130,13 +130,15 @@ const GetLidoStakedBalance = () => { )}
-
+
Response
-
{JSON.stringify(response, null, 2)}
+
+          {JSON.stringify(response, null, 2)}
+        
); diff --git a/components/staking/GetStrideStakedAssetBalance.jsx b/components/staking/GetStrideStakedAssetBalance.jsx index 473068aa9..200fb2709 100644 --- a/components/staking/GetStrideStakedAssetBalance.jsx +++ b/components/staking/GetStrideStakedAssetBalance.jsx @@ -80,7 +80,7 @@ const GetStrideStakedAssetBalance = () => { return ( <> -
+
Asset:
@@ -99,7 +99,7 @@ const GetStrideStakedAssetBalance = () => {
-
+
Address:
{ id="address" name="Address" value={address} - className="bg-gray-50 text-gray-900 px-2 py-1 dark:bg-gray-700 dark:placeholder-gray-400 dark:text-white" + className="max-sm:w-[300px] bg-gray-50 text-gray-900 px-2 py-1 dark:bg-gray-700 dark:placeholder-gray-400 dark:text-white" placeholder="Enter an address" onChange={(e) => setAddress(e.target.value)} /> @@ -133,13 +133,15 @@ const GetStrideStakedAssetBalance = () => { )}
-
+
Response
-
{JSON.stringify(response, null, 2)}
+
+          {JSON.stringify(response, null, 2)}
+        
); diff --git a/components/staking/LidoCheckErc20Allowance.jsx b/components/staking/LidoCheckErc20Allowance.jsx index 1a4f6921e..5d9620291 100644 --- a/components/staking/LidoCheckErc20Allowance.jsx +++ b/components/staking/LidoCheckErc20Allowance.jsx @@ -77,7 +77,7 @@ const LidoCheckErc20Allowance = () => { return ( <> -
+
Asset:
@@ -92,7 +92,7 @@ const LidoCheckErc20Allowance = () => {
-
+
Owner Address:
{ id="address" name="Address" value={address} - className="bg-gray-50 text-gray-900 px-2 py-1 dark:bg-gray-700 dark:placeholder-gray-400 dark:text-white" + className="max-sm:w-[300px] bg-gray-50 text-gray-900 px-2 py-1 dark:bg-gray-700 dark:placeholder-gray-400 dark:text-white" placeholder="Enter an address" onChange={(e) => setAddress(e.target.value)} /> @@ -126,13 +126,15 @@ const LidoCheckErc20Allowance = () => { )}
-
+
Response
-
{JSON.stringify(response, null, 2)}
+
+          {JSON.stringify(response, null, 2)}
+        
); diff --git a/developers/blockchains-integration.md b/developers/blockchains-integration.md index 32cbd97e1..bd3ef0c42 100644 --- a/developers/blockchains-integration.md +++ b/developers/blockchains-integration.md @@ -1,6 +1,6 @@ --- prev: - text: "Mobile Wallet Integration" + text: "🔹 Mobile Wallet Integration" link: "./mobile-wallet" next: text: "Ethereum (ETH)" diff --git a/developers/extension-wallet.md b/developers/extension-wallet.md index 398d2f28a..df0d13ea3 100644 --- a/developers/extension-wallet.md +++ b/developers/extension-wallet.md @@ -1,6 +1,6 @@ --- prev: - text: "Developers" + text: "💻 Developers" link: "/developers/introduction" next: text: "Detect XDEFI Providers" diff --git a/developers/introduction.md b/developers/introduction.md index a69305a4e..ceaf978dc 100644 --- a/developers/introduction.md +++ b/developers/introduction.md @@ -1,7 +1,7 @@ --- prev: - text: "XDEFI Technologies" - link: "/about/xdefi-technologies/introduction" + text: "📚 XDEFI Dev Docs" + link: "/" --- # Developers diff --git a/developers/libraries-integration.md b/developers/libraries-integration.md index 6158696c0..8be5cebc3 100644 --- a/developers/libraries-integration.md +++ b/developers/libraries-integration.md @@ -1,6 +1,6 @@ --- prev: - text: "Mobile Wallet Integration" + text: "🔹 Mobile Wallet Integration" link: "./mobile-wallet" next: text: "BlockNative" diff --git a/developers/mobile-wallet.md b/developers/mobile-wallet.md index cf83bb4b2..22820f01f 100644 --- a/developers/mobile-wallet.md +++ b/developers/mobile-wallet.md @@ -1,6 +1,6 @@ --- prev: - text: "Extension Wallet Integration" + text: "🔹 Extension Wallet Integration" link: "/developers/extension-wallet" next: text: "Binance" diff --git a/routing/introduction.md b/routing/introduction.md index 46950c197..fb4c536c8 100644 --- a/routing/introduction.md +++ b/routing/introduction.md @@ -1,9 +1,9 @@ --- prev: - text: "XDEFI Wallet Integration" + text: "⚙️ XDEFI Wallet Integration" link: "/developers/xdefi-wallet-integration" next: - text: "Endpoints" + text: "🔹 Endpoints" link: "./endpoints" ---