From d8616203f8527e664f842f5d413e42f53d408ebb Mon Sep 17 00:00:00 2001 From: "Justin (HoangVD2)" Date: Fri, 15 Mar 2024 17:07:27 +0700 Subject: [PATCH 1/4] chore: update config router --- .vitepress/config.ts | 350 +++++++++++++++++++------------------ .vitepress/theme/style.css | 3 + 2 files changed, 179 insertions(+), 174 deletions(-) diff --git a/.vitepress/config.ts b/.vitepress/config.ts index faafce0f7..0f07e01f1 100644 --- a/.vitepress/config.ts +++ b/.vitepress/config.ts @@ -538,183 +538,182 @@ function sidebarHome() { // }, ], }, - ], - }, - { - text: "Blockchains Integration", - link: "/developers/blockchains-integration", - collapsed: true, - items: [ - // { - // text: "Akash (AKT)", - // link: "/developers/akash", - // }, - // { - // text: "Arbitrum (AETH)", - // link: "/developers/arbitrum", - // }, - // { - // text: "Aurora (AURORA)", - // link: "/developers/aurora", - // }, - // { - // text: "Avalanche (AVAX)", - // link: "/developers/avalanche", - // }, - // { - // text: "Axelar (AXL)", - // link: "/developers/axelar", - // }, - // { - // text: "Bitcoin (BTC)", - // link: "/developers/bitcoin", - // }, - // { - // text: "Bitcoin Cash (BCH)", - // link: "/developers/bitcoin-cash", - // }, - // { - // text: "BNB Beacon Chain (BNB)", - // link: "/developers/bnb-beacon-chain", - // }, - // { - // text: "BNB Smart Chain (BNB)", - // link: "/developers/bnb-smart-chain", - // }, - // { - // text: "Canto (CANTO)", - // link: "/developers/canto", - // }, - // { - // text: "Cosmos (ATOM)", - // link: "/developers/cosmos", - // }, - // { - // text: "Crescent (CRE)", - // link: "/developers/crescent", - // }, - // { - // text: "Cronos (CRO)", - // link: "/developers/cronos", - // }, - // { - // text: "Dogecoin (DOGE)", - // link: "/developers/dogecoin", - // }, - { - text: "Ethereum (ETH)", - link: "/developers/ethereum", - }, - // { - // text: "Fantom (FTM)", - // link: "/developers/fantom", - // }, - // { - // text: "Gnosis (xDAI)", - // link: "/developers/gnosis", - // }, - // { - // text: "Juno (JUNO)", - // link: "/developers/juno", - // }, - // { - // text: "Kava (KAVA)", - // link: "/developers/kava", - // }, - // { - // text: "Klaytn (KLAY)", - // link: "/developers/klaytn", - // }, - // { - // text: "Kujira (KUJI)", - // link: "/developers/kujira", - // }, - // { - // text: "Litecoin (LTC)", - // link: "/developers/litecoin", - // }, - // { - // text: "Mars (MARS)", - // link: "/developers/mars", - // }, - // { - // text: "Maya Protocol (MAYA)", - // link: "/developers/maya", - // }, - // { - // text: "Near Protocol (NEAR)", - // link: "/developers/near", - // }, - // { - // text: "Optimism (ETH)", - // link: "/developers/optimism", - // }, - // { - // text: "Osmosis (OSMO)", - // link: "/developers/osmosis", - // }, - // { - // text: "Polygon (MATIC)", - // link: "/developers/polygon", - // }, - // { - // text: "Sei Testnet (SEI)", - // link: "/developers/sei", - // }, - // { - // text: "Solana (SOL)", - // link: "/developers/solana", - // }, - // { - // text: "Stargaze (STARS)", - // link: "/developers/stargaze", - // }, - // { - // text: "Stride (STRD)", - // link: "/developers/stride", - // }, - // { - // text: "Terra (LUNA)", - // link: "/developers/terra", - // }, - // { - // text: "THORChain (RUNE)", - // link: "/developers/thorchain", - // }, - // { - // text: "Tron (TRX)", - // link: "/developers/tron", - // }, - ], - }, - { - text: "Libraries Integration", - link: "/developers/libraries-integration", - collapsed: true, - items: [ - { text: "Introduction", link: "/developers/libraries-integration" }, - { - text: "BlockNative", - link: "/developers/blocknative-xdefi-integration", - }, { - text: "CosmosKit", - link: "/developers/cosmoskit-xdefi-integration", - }, - { - text: "RainbowKit", - link: "/developers/rainbowkit-xdefi-integration", + text: "Libraries Integration", + link: "/developers/libraries-integration", + collapsed: true, + items: [ + { + text: "Introduction", + link: "/developers/libraries-integration", + }, + { + text: "BlockNative", + link: "/developers/blocknative-xdefi-integration", + }, + { + text: "CosmosKit", + link: "/developers/cosmoskit-xdefi-integration", + }, + { + text: "RainbowKit", + link: "/developers/rainbowkit-xdefi-integration", + }, + { + text: "Solana Adapter", + link: "/developers/solana-adapter-xdefi-integration", + }, + ], }, { - text: "Solana Adapter", - link: "/developers/solana-adapter-xdefi-integration", + text: "Blockchains Integration", + link: "/developers/blockchains-integration", + collapsed: true, + items: [ + { + text: "Akash (AKT)", + link: "/developers/akash", + }, + { + text: "Arbitrum (AETH)", + link: "/developers/arbitrum", + }, + { + text: "Aurora (AURORA)", + link: "/developers/aurora", + }, + { + text: "Avalanche (AVAX)", + link: "/developers/avalanche", + }, + { + text: "Axelar (AXL)", + link: "/developers/axelar", + }, + { + text: "Bitcoin (BTC)", + link: "/developers/bitcoin", + }, + { + text: "Bitcoin Cash (BCH)", + link: "/developers/bitcoin-cash", + }, + { + text: "BNB Beacon Chain (BNB)", + link: "/developers/bnb-beacon-chain", + }, + { + text: "BNB Smart Chain (BNB)", + link: "/developers/bnb-smart-chain", + }, + { + text: "Canto (CANTO)", + link: "/developers/canto", + }, + { + text: "Cosmos (ATOM)", + link: "/developers/cosmos", + }, + { + text: "Crescent (CRE)", + link: "/developers/crescent", + }, + { + text: "Cronos (CRO)", + link: "/developers/cronos", + }, + { + text: "Dogecoin (DOGE)", + link: "/developers/dogecoin", + }, + { + text: "Ethereum (ETH)", + link: "/developers/ethereum", + }, + { + text: "Fantom (FTM)", + link: "/developers/fantom", + }, + { + text: "Gnosis (xDAI)", + link: "/developers/gnosis", + }, + { + text: "Juno (JUNO)", + link: "/developers/juno", + }, + { + text: "Kava (KAVA)", + link: "/developers/kava", + }, + { + text: "Klaytn (KLAY)", + link: "/developers/klaytn", + }, + { + text: "Kujira (KUJI)", + link: "/developers/kujira", + }, + { + text: "Litecoin (LTC)", + link: "/developers/litecoin", + }, + { + text: "Mars (MARS)", + link: "/developers/mars", + }, + { + text: "Maya Protocol (MAYA)", + link: "/developers/maya", + }, + { + text: "Near Protocol (NEAR)", + link: "/developers/near", + }, + { + text: "Optimism (ETH)", + link: "/developers/optimism", + }, + { + text: "Osmosis (OSMO)", + link: "/developers/osmosis", + }, + { + text: "Polygon (MATIC)", + link: "/developers/polygon", + }, + { + text: "Sei Testnet (SEI)", + link: "/developers/sei", + }, + { + text: "Solana (SOL)", + link: "/developers/solana", + }, + { + text: "Stargaze (STARS)", + link: "/developers/stargaze", + }, + { + text: "Stride (STRD)", + link: "/developers/stride", + }, + { + text: "Terra (LUNA)", + link: "/developers/terra", + }, + { + text: "THORChain (RUNE)", + link: "/developers/thorchain", + }, + { + text: "Tron (TRX)", + link: "/developers/tron", + }, + ], }, ], }, - { - text: "Campaigns Service API", - link: "/developers/campaigns-service-api", - }, ], }, { @@ -731,12 +730,15 @@ function sidebarHome() { }, { text: "Step-by-step Swap example", link: "/routing/swap-example" }, { - text: "Integration", - collapsed: true, - items: [{ text: "Widget", link: "/routing/widget" }], + text: "Integration Widget", + link: "/routing/widget", }, ], }, + { + text: "Campaigns Service API", + link: "/developers/campaigns-service-api", + }, { text: "Community", collapsed: true, diff --git a/.vitepress/theme/style.css b/.vitepress/theme/style.css index cb5b7ddfc..6351c244c 100644 --- a/.vitepress/theme/style.css +++ b/.vitepress/theme/style.css @@ -126,3 +126,6 @@ h6 { height: 100%; border: none; } +.VPSidebarItem.level-0 { + padding-bottom: 10px !important; +} From c2b2df93ffd57aa265fccfc634c9ba87a0e23836 Mon Sep 17 00:00:00 2001 From: "Justin (HoangVD2)" Date: Fri, 15 Mar 2024 17:13:25 +0700 Subject: [PATCH 2/4] chore: update router Mobile Wallet Integration --- .vitepress/config.ts | 88 ++++++++++++++++++++++---------------------- 1 file changed, 44 insertions(+), 44 deletions(-) diff --git a/.vitepress/config.ts b/.vitepress/config.ts index 0f07e01f1..883e06226 100644 --- a/.vitepress/config.ts +++ b/.vitepress/config.ts @@ -492,50 +492,50 @@ function sidebarHome() { text: "Introduction", link: "/developers/mobile-wallet", }, - // { - // text: "Binance", - // link: "/developers/mobile-binance", - // }, - // { - // text: "Bitcoin", - // link: "/developers/mobile-bitcoin", - // }, - // { - // text: "Bitcoin Cash", - // link: "/developers/mobile-bitcoin-cash", - // }, - // { - // text: "Dogecoin", - // link: "/developers/mobile-dogecoin", - // }, - // { - // text: "Litecoin", - // link: "/developers/mobile-litecoin", - // }, - // { - // text: "NEAR", - // link: "/developers/mobile-near", - // }, - // { - // text: "Solana", - // link: "/developers/mobile-solana", - // }, - // { - // text: "Terra", - // link: "/developers/mobile-terra", - // }, - // { - // text: "Thorchain", - // link: "/developers/mobile-thorchain", - // }, - // { - // text: "Ethereum (EVM's)", - // link: "/developers/mobile-ethereum", - // }, - // { - // text: "Cosmos", - // link: "/developers/mobile-cosmos", - // }, + { + text: "Binance", + link: "/developers/mobile-binance", + }, + { + text: "Bitcoin", + link: "/developers/mobile-bitcoin", + }, + { + text: "Bitcoin Cash", + link: "/developers/mobile-bitcoin-cash", + }, + { + text: "Dogecoin", + link: "/developers/mobile-dogecoin", + }, + { + text: "Litecoin", + link: "/developers/mobile-litecoin", + }, + { + text: "NEAR", + link: "/developers/mobile-near", + }, + { + text: "Solana", + link: "/developers/mobile-solana", + }, + { + text: "Terra", + link: "/developers/mobile-terra", + }, + { + text: "Thorchain", + link: "/developers/mobile-thorchain", + }, + { + text: "Ethereum (EVM's)", + link: "/developers/mobile-ethereum", + }, + { + text: "Cosmos", + link: "/developers/mobile-cosmos", + }, ], }, { From 160a1b52761ae81785f5001fadd4fd758dd6fa3b Mon Sep 17 00:00:00 2001 From: "Justin (HoangVD2)" Date: Fri, 15 Mar 2024 17:19:15 +0700 Subject: [PATCH 3/4] docs: update content --- developers/xdefi-wallet-integration.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/developers/xdefi-wallet-integration.md b/developers/xdefi-wallet-integration.md index a7dce1b79..201b0fde9 100644 --- a/developers/xdefi-wallet-integration.md +++ b/developers/xdefi-wallet-integration.md @@ -4,3 +4,5 @@ Here is our current list of XDEFI Wallet integration: - [Extension Wallet Integration](./extension-wallet) - [Mobile Wallet Integration](./mobile-wallet) +- [Libraries Integration](./libraries-integration) +- [Blockchains Integration](./blockchains-integration) From bc3547e2fc879635e417cf3c0e6e511b5ffe48a2 Mon Sep 17 00:00:00 2001 From: "Justin (HoangVD2)" Date: Fri, 15 Mar 2024 18:49:55 +0700 Subject: [PATCH 4/4] style: update config --- .vitepress/config.ts | 632 +++++++++--------- .../campaigns-service-api.md | 0 developers/introduction.md | 8 - index.md | 8 +- routing/introduction.md | 2 +- routing/{widget.md => widget-integration.md} | 0 6 files changed, 308 insertions(+), 342 deletions(-) rename {developers => campaigns}/campaigns-service-api.md (100%) rename routing/{widget.md => widget-integration.md} (100%) diff --git a/.vitepress/config.ts b/.vitepress/config.ts index 883e06226..6ba82cc4b 100644 --- a/.vitepress/config.ts +++ b/.vitepress/config.ts @@ -9,7 +9,7 @@ const { BASE: base = "/" } = process.env; // https://vitepress.dev/concepts/site-config export default { lang: "en-US", - title: "XDEFI Docs", + title: "XDEFI Dev Docs", description: "One Wallet for all your assets.", lastUpdated: true, cleanUrls: true, @@ -31,15 +31,6 @@ export default { type: "image/svg+xml", }, ], - // [ - // "link", - // { - // rel: "icon", - // type: "image/svg+xml", - // href: "/favicons/favicon-dark.svg", - // media: "(prefers-color-scheme: dark)", - // }, - // ], [ "link", { @@ -48,15 +39,6 @@ export default { type: "image/png", }, ], - // [ - // "link", - // { - // rel: "icon", - // type: "image/png", - // href: "/favicons/favicon-dark.png", - // media: "(prefers-color-scheme: dark)", - // }, - // ], [ "link", { @@ -65,15 +47,6 @@ export default { type: "image/x-icon", }, ], - // [ - // "link", - // { - // rel: "icon", - // type: "image/x-icon", - // href: "/favicons/favicon-dark.ico", - // media: "(prefers-color-scheme: dark)", - // }, - // ], ["meta", { name: "msapplication-TileColor", content: "#fff" }], ["meta", { name: "theme-color", content: "#fff" }], [ @@ -84,8 +57,6 @@ export default { "width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no", }, ], - // ['meta', { property: 'og:title', content: 'XDEFI' }], - // ['meta', { property: 'og:description', content: 'One Wallet for all your assets.' }], [ "meta", { @@ -140,7 +111,7 @@ export default { ], themeConfig: { - // https://vitepress.dev/concepts/default-theme-config + // https://vitepress.dev/reference/default-theme-config#default-theme-config nav: nav(), outline: { level: "deep", @@ -162,13 +133,7 @@ export default { text: "Edit this page on GitHub", }, - logo: { - alt: "XDEFI Logo", - light: "/img/logo-light.svg", - dark: "/img/logo-dark.svg", - }, - - siteTitle: false, + siteTitle: "XDEFI Dev Docs", socialLinks: [ { icon: "github", link: "https://github.com/XDeFi-tech" }, @@ -239,8 +204,8 @@ export default { name: "og:title", content: pageData.frontmatter.layout === "home" - ? `XDEFI Docs` - : `${pageData.title} | XDEFI Docs`, + ? `XDEFI Dev Docs` + : `${pageData.title} | XDEFI Dev Docs`, }, { name: "og:description", @@ -261,24 +226,25 @@ function nav() { }, { text: "About $XDEFI token", link: "/about/xdefi-token/xdefi-token" }, { text: "Developers", link: "/developers/introduction" }, - { text: "Routing", link: "/routing/introduction" }, { - text: "Quick integration", + text: "XDEFI Wallet Integration", + link: "/developers/xdefi-wallet-integration", + }, + { text: "Routing API", link: "/routing/introduction" }, + { + text: "Campaigns Service API", + link: "/campaigns/campaigns-service-api", + }, + { items: [ { text: "Install Extension Wallet", link: "https://xdefi.io", }, - { - text: "Extension Wallet", - link: "/developers/extension-integration", - }, { text: "Install Mobile Wallet", link: "https://xdefi.io", }, - { text: "Mobile Wallet", link: "/developers/mobile-integration" }, - { text: "Routing API", link: "/routing/widget" }, ], }, ], @@ -417,307 +383,309 @@ function sidebarHome() { { text: "Developers", link: "/developers/introduction", + items: [], + }, + { + text: "XDEFI Wallet Integration", + link: "/developers/xdefi-wallet-integration", collapsed: true, items: [ { - text: "XDEFI Wallet Integration", - link: "/developers/xdefi-wallet-integration", + text: "Extension", + link: "/developers/extension-wallet", collapsed: true, items: [ { - text: "Extension", + text: "Introduction", link: "/developers/extension-wallet", - collapsed: true, - items: [ - { - text: "Introduction", - link: "/developers/extension-wallet", - }, - { - text: "Detect XDEFI Providers", - link: "/developers/extension-detect-xdefi-providers", - }, - { - text: "Binance", - link: "/developers/extension-binance", - }, - { - text: "Bitcoin", - link: "/developers/extension-bitcoin", - }, - { - text: "Bitcoin Cash", - link: "/developers/extension-bitcoin-cash", - }, - { - text: "Dogecoin", - link: "/developers/extension-dogecoin", - }, - { - text: "Litecoin", - link: "/developers/extension-litecoin", - }, - { - text: "NEAR", - link: "/developers/extension-near", - }, - { - text: "Solana", - link: "/developers/extension-solana", - }, - { - text: "Terra", - link: "/developers/extension-terra", - }, - { - text: "Thorchain", - link: "/developers/extension-thorchain", - }, - { - text: "Ethereum (EVM's)", - link: "/developers/extension-evms", - }, - { - text: "Cosmos", - link: "/developers/extension-cosmos", - }, - ], }, { - text: "Mobile", + text: "Detect XDEFI Providers", + link: "/developers/extension-detect-xdefi-providers", + }, + { + text: "Binance", + link: "/developers/extension-binance", + }, + { + text: "Bitcoin", + link: "/developers/extension-bitcoin", + }, + { + text: "Bitcoin Cash", + link: "/developers/extension-bitcoin-cash", + }, + { + text: "Dogecoin", + link: "/developers/extension-dogecoin", + }, + { + text: "Litecoin", + link: "/developers/extension-litecoin", + }, + { + text: "NEAR", + link: "/developers/extension-near", + }, + { + text: "Solana", + link: "/developers/extension-solana", + }, + { + text: "Terra", + link: "/developers/extension-terra", + }, + { + text: "Thorchain", + link: "/developers/extension-thorchain", + }, + { + text: "Ethereum (EVM's)", + link: "/developers/extension-evms", + }, + { + text: "Cosmos", + link: "/developers/extension-cosmos", + }, + ], + }, + { + text: "Mobile", + link: "/developers/mobile-wallet", + collapsed: true, + items: [ + { + text: "Introduction", link: "/developers/mobile-wallet", - collapsed: true, - items: [ - { - text: "Introduction", - link: "/developers/mobile-wallet", - }, - { - text: "Binance", - link: "/developers/mobile-binance", - }, - { - text: "Bitcoin", - link: "/developers/mobile-bitcoin", - }, - { - text: "Bitcoin Cash", - link: "/developers/mobile-bitcoin-cash", - }, - { - text: "Dogecoin", - link: "/developers/mobile-dogecoin", - }, - { - text: "Litecoin", - link: "/developers/mobile-litecoin", - }, - { - text: "NEAR", - link: "/developers/mobile-near", - }, - { - text: "Solana", - link: "/developers/mobile-solana", - }, - { - text: "Terra", - link: "/developers/mobile-terra", - }, - { - text: "Thorchain", - link: "/developers/mobile-thorchain", - }, - { - text: "Ethereum (EVM's)", - link: "/developers/mobile-ethereum", - }, - { - text: "Cosmos", - link: "/developers/mobile-cosmos", - }, - ], }, { - text: "Libraries Integration", + text: "Binance", + link: "/developers/mobile-binance", + }, + { + text: "Bitcoin", + link: "/developers/mobile-bitcoin", + }, + { + text: "Bitcoin Cash", + link: "/developers/mobile-bitcoin-cash", + }, + { + text: "Dogecoin", + link: "/developers/mobile-dogecoin", + }, + { + text: "Litecoin", + link: "/developers/mobile-litecoin", + }, + { + text: "NEAR", + link: "/developers/mobile-near", + }, + { + text: "Solana", + link: "/developers/mobile-solana", + }, + { + text: "Terra", + link: "/developers/mobile-terra", + }, + { + text: "Thorchain", + link: "/developers/mobile-thorchain", + }, + { + text: "Ethereum (EVM's)", + link: "/developers/mobile-ethereum", + }, + { + text: "Cosmos", + link: "/developers/mobile-cosmos", + }, + ], + }, + { + text: "Libraries Integration", + link: "/developers/libraries-integration", + collapsed: true, + items: [ + { + text: "Introduction", link: "/developers/libraries-integration", - collapsed: true, - items: [ - { - text: "Introduction", - link: "/developers/libraries-integration", - }, - { - text: "BlockNative", - link: "/developers/blocknative-xdefi-integration", - }, - { - text: "CosmosKit", - link: "/developers/cosmoskit-xdefi-integration", - }, - { - text: "RainbowKit", - link: "/developers/rainbowkit-xdefi-integration", - }, - { - text: "Solana Adapter", - link: "/developers/solana-adapter-xdefi-integration", - }, - ], }, { - text: "Blockchains Integration", + text: "BlockNative", + link: "/developers/blocknative-xdefi-integration", + }, + { + text: "CosmosKit", + link: "/developers/cosmoskit-xdefi-integration", + }, + { + text: "RainbowKit", + link: "/developers/rainbowkit-xdefi-integration", + }, + { + text: "Solana Adapter", + link: "/developers/solana-adapter-xdefi-integration", + }, + ], + }, + { + text: "Blockchains Integration", + link: "/developers/blockchains-integration", + collapsed: true, + items: [ + { + text: "Introduction", link: "/developers/blockchains-integration", - collapsed: true, - items: [ - { - text: "Akash (AKT)", - link: "/developers/akash", - }, - { - text: "Arbitrum (AETH)", - link: "/developers/arbitrum", - }, - { - text: "Aurora (AURORA)", - link: "/developers/aurora", - }, - { - text: "Avalanche (AVAX)", - link: "/developers/avalanche", - }, - { - text: "Axelar (AXL)", - link: "/developers/axelar", - }, - { - text: "Bitcoin (BTC)", - link: "/developers/bitcoin", - }, - { - text: "Bitcoin Cash (BCH)", - link: "/developers/bitcoin-cash", - }, - { - text: "BNB Beacon Chain (BNB)", - link: "/developers/bnb-beacon-chain", - }, - { - text: "BNB Smart Chain (BNB)", - link: "/developers/bnb-smart-chain", - }, - { - text: "Canto (CANTO)", - link: "/developers/canto", - }, - { - text: "Cosmos (ATOM)", - link: "/developers/cosmos", - }, - { - text: "Crescent (CRE)", - link: "/developers/crescent", - }, - { - text: "Cronos (CRO)", - link: "/developers/cronos", - }, - { - text: "Dogecoin (DOGE)", - link: "/developers/dogecoin", - }, - { - text: "Ethereum (ETH)", - link: "/developers/ethereum", - }, - { - text: "Fantom (FTM)", - link: "/developers/fantom", - }, - { - text: "Gnosis (xDAI)", - link: "/developers/gnosis", - }, - { - text: "Juno (JUNO)", - link: "/developers/juno", - }, - { - text: "Kava (KAVA)", - link: "/developers/kava", - }, - { - text: "Klaytn (KLAY)", - link: "/developers/klaytn", - }, - { - text: "Kujira (KUJI)", - link: "/developers/kujira", - }, - { - text: "Litecoin (LTC)", - link: "/developers/litecoin", - }, - { - text: "Mars (MARS)", - link: "/developers/mars", - }, - { - text: "Maya Protocol (MAYA)", - link: "/developers/maya", - }, - { - text: "Near Protocol (NEAR)", - link: "/developers/near", - }, - { - text: "Optimism (ETH)", - link: "/developers/optimism", - }, - { - text: "Osmosis (OSMO)", - link: "/developers/osmosis", - }, - { - text: "Polygon (MATIC)", - link: "/developers/polygon", - }, - { - text: "Sei Testnet (SEI)", - link: "/developers/sei", - }, - { - text: "Solana (SOL)", - link: "/developers/solana", - }, - { - text: "Stargaze (STARS)", - link: "/developers/stargaze", - }, - { - text: "Stride (STRD)", - link: "/developers/stride", - }, - { - text: "Terra (LUNA)", - link: "/developers/terra", - }, - { - text: "THORChain (RUNE)", - link: "/developers/thorchain", - }, - { - text: "Tron (TRX)", - link: "/developers/tron", - }, - ], + }, + { + text: "Akash (AKT)", + link: "/developers/akash", + }, + { + text: "Arbitrum (AETH)", + link: "/developers/arbitrum", + }, + { + text: "Aurora (AURORA)", + link: "/developers/aurora", + }, + { + text: "Avalanche (AVAX)", + link: "/developers/avalanche", + }, + { + text: "Axelar (AXL)", + link: "/developers/axelar", + }, + { + text: "Bitcoin (BTC)", + link: "/developers/bitcoin", + }, + { + text: "Bitcoin Cash (BCH)", + link: "/developers/bitcoin-cash", + }, + { + text: "BNB Beacon Chain (BNB)", + link: "/developers/bnb-beacon-chain", + }, + { + text: "BNB Smart Chain (BNB)", + link: "/developers/bnb-smart-chain", + }, + { + text: "Canto (CANTO)", + link: "/developers/canto", + }, + { + text: "Cosmos (ATOM)", + link: "/developers/cosmos", + }, + { + text: "Crescent (CRE)", + link: "/developers/crescent", + }, + { + text: "Cronos (CRO)", + link: "/developers/cronos", + }, + { + text: "Dogecoin (DOGE)", + link: "/developers/dogecoin", + }, + { + text: "Ethereum (ETH)", + link: "/developers/ethereum", + }, + { + text: "Fantom (FTM)", + link: "/developers/fantom", + }, + { + text: "Gnosis (xDAI)", + link: "/developers/gnosis", + }, + { + text: "Juno (JUNO)", + link: "/developers/juno", + }, + { + text: "Kava (KAVA)", + link: "/developers/kava", + }, + { + text: "Klaytn (KLAY)", + link: "/developers/klaytn", + }, + { + text: "Kujira (KUJI)", + link: "/developers/kujira", + }, + { + text: "Litecoin (LTC)", + link: "/developers/litecoin", + }, + { + text: "Mars (MARS)", + link: "/developers/mars", + }, + { + text: "Maya Protocol (MAYA)", + link: "/developers/maya", + }, + { + text: "Near Protocol (NEAR)", + link: "/developers/near", + }, + { + text: "Optimism (ETH)", + link: "/developers/optimism", + }, + { + text: "Osmosis (OSMO)", + link: "/developers/osmosis", + }, + { + text: "Polygon (MATIC)", + link: "/developers/polygon", + }, + { + text: "Sei Testnet (SEI)", + link: "/developers/sei", + }, + { + text: "Solana (SOL)", + link: "/developers/solana", + }, + { + text: "Stargaze (STARS)", + link: "/developers/stargaze", + }, + { + text: "Stride (STRD)", + link: "/developers/stride", + }, + { + text: "Terra (LUNA)", + link: "/developers/terra", + }, + { + text: "THORChain (RUNE)", + link: "/developers/thorchain", + }, + { + text: "Tron (TRX)", + link: "/developers/tron", }, ], }, ], }, { - text: "Routing", + text: "Routing API", link: "/routing/introduction", collapsed: true, items: [ @@ -731,13 +699,14 @@ function sidebarHome() { { text: "Step-by-step Swap example", link: "/routing/swap-example" }, { text: "Integration Widget", - link: "/routing/widget", + link: "/routing/widget-integration", }, ], }, { text: "Campaigns Service API", - link: "/developers/campaigns-service-api", + link: "/campaigns/campaigns-service-api", + items: [], }, { text: "Community", @@ -754,5 +723,10 @@ function sidebarHome() { }, ], }, + { + text: "User Documentation", + link: "https://docs.xdefi.io", + items: [], + }, ]; } diff --git a/developers/campaigns-service-api.md b/campaigns/campaigns-service-api.md similarity index 100% rename from developers/campaigns-service-api.md rename to campaigns/campaigns-service-api.md diff --git a/developers/introduction.md b/developers/introduction.md index 791882f64..0ce7e5fce 100644 --- a/developers/introduction.md +++ b/developers/introduction.md @@ -6,8 +6,6 @@ prev: # Developers -[[toc]] - ## Introduction Welcome developers! You are now ready to implement XDEFI and level up the reach and scalability of your dApp in an interopable and non stop evolving ecosystem of blockchains. @@ -57,9 +55,3 @@ You can acces the list from here: - [CosmosKit](./cosmoskit-xdefi-integration) - [RainbowKit](./rainbowkit-xdefi-integration) - [Solana Adapter](./solana-adapter-xdefi-integration) - -## Campaigns Service API - -XDEFI Wallet is also providing a Campaigns Service API to make it easier for developers to integrate their dApps with XDEFI Wallet. - -- [Campaigns Service API](./campaigns-service-api) diff --git a/index.md b/index.md index 58d93e08e..198fe8765 100644 --- a/index.md +++ b/index.md @@ -27,11 +27,11 @@ features: details: Learn how to create multichain and crosschain applications using the most powerfull wallet. link: /developers/introduction - - title: Routing + - title: Routing API details: Implement our Widget to swap and bridge any assets accross our supported networks. link: /routing/introduction - - title: Community - details: Join the XDEFI community to connect, collaborate, and contribute with other developers. - link: /community/introduction + - title: Campaigns Service API + details: Allow third-party websites to connect a list of addresses from an external source to the XDEFI + link: /campaigns/campaigns-service-api --- diff --git a/routing/introduction.md b/routing/introduction.md index b77253033..c6f5cf2f6 100644 --- a/routing/introduction.md +++ b/routing/introduction.md @@ -9,7 +9,7 @@ _Comprehensive description of the routing service and its endpoints_ - [Routing Graph QL API](./routing-graph-ql-api) - [Query and Mutation details](./query-mutation-details) - [Step by step Swap example](./swap-example) -- [Integration](./integration) +- [Widget Integration](./widget-integration) ## Introduction diff --git a/routing/widget.md b/routing/widget-integration.md similarity index 100% rename from routing/widget.md rename to routing/widget-integration.md