Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Formatting Errors and Add Widget Docs #2

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed .index.md.swp
Binary file not shown.
20 changes: 13 additions & 7 deletions .vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,9 @@ export default {
const tomatogroteskRegularFont = assets.find(
(file) => /TomatoGrotesk-Regular\.\w+\.otf/,
);
const tomatogroteskBoldFont = assets.find((file) => /TomatoGrotesk-Bold\.\w+\.otf/);
const tomatogroteskBoldFont = assets.find(
(file) => /TomatoGrotesk-Bold\.\w+\.otf/,
);

const headConfig: HeadConfig[] = [];

Expand Down Expand Up @@ -264,7 +266,10 @@ function nav() {
text: "Install Extension Wallet",
link: "https://xdefi.io",
},
{ text: "Extension Wallet", link: "/developers/extension-integration" },
{
text: "Extension Wallet",
link: "/developers/extension-integration",
},
{
text: "Install Mobile Wallet",
link: "https://xdefi.io",
Expand Down Expand Up @@ -398,15 +403,15 @@ function sidebarHome() {
{ text: "Solana", link: "/developers/build-dapp-solana" },
{ text: "UTXO", link: "/developers/build-dapp-utxo" },
],
},
},
{
text: "Build a Cosmos dApp",
collapsed: true,
items: [
{ text: "Configuration", link: "/developers/configuration-cosmos" },
{ text: "Let's dev", link: "/developers/lets-dev-cosmos" },
],
},
},
],
},
{
Expand All @@ -416,7 +421,10 @@ function sidebarHome() {
{ text: "Overview", link: "/routing/overview" },
{ text: "Endpoints", link: "/routing/endpoints" },
{ text: "Routing Graph QL API", link: "/routing/routing-graph-ql-api" },
{ text: "Query and Mutation details", link: "/routing/query-mutation-details" },
{
text: "Query and Mutation details",
link: "/routing/query-mutation-details",
},
{ text: "Step-by-step Swap example", link: "/routing/swap-example" },
{
text: "Integration",
Expand Down Expand Up @@ -446,5 +454,3 @@ function sidebarHome() {
},
];
}


22 changes: 11 additions & 11 deletions .vitepress/theme/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
* -------------------------------------------------------------------------- */

:root {
--vp-c-brand: #335DE5;
--vp-c-brand-light: #486FEB;
--vp-c-brand-lighter: #587CEF;
--vp-c-brand-lightest: #6786EB;
--vp-c-brand-dark: #2855E8;
--vp-c-brand-darker: #1F50EC;
--vp-c-brand: #335de5;
--vp-c-brand-light: #486feb;
--vp-c-brand-lighter: #587cef;
--vp-c-brand-lightest: #6786eb;
--vp-c-brand-dark: #2855e8;
--vp-c-brand-darker: #1f50ec;
--vp-c-brand-dimm: rgba(123, 43, 249, 0.08);
}

Expand Down Expand Up @@ -41,14 +41,14 @@
--vp-home-hero-name-color: transparent;
--vp-home-hero-name-background: -webkit-linear-gradient(
220deg,
#335DE5 80%,
#486FEB
#335de5 80%,
#486feb
);

--vp-home-hero-image-background-image: linear-gradient(
-45deg,
#335DE5 80%,
#486FEB 50%
#335de5 80%,
#486feb 50%
);
--vp-home-hero-image-filter: blur(40px);
}
Expand Down Expand Up @@ -80,7 +80,7 @@
--vp-custom-block-tip-border: var(--vp-c-brand);
--vp-custom-block-tip-text: var(--vp-c-brand-lightest);
--vp-custom-block-tip-bg: var(--vp-c-brand-dimm);
--tab-text-color: #000 ;
--tab-text-color: #000;
}

/**
Expand Down
7 changes: 4 additions & 3 deletions about/xdefi-technologies/audits.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ Security is the first and most important manner for Wallets provider.

At XDEFI Technologies, we want our users using XDEFI Wallet to interact safely on our large list of [supported blockchains](./supported-blockchains) and also feel secure

*Note that we will always recommend you for more security to use one of our [supported Hardware wallets](./supported-hardware-wallets).*
_Note that we will always recommend you for more security to use one of our [supported Hardware wallets](./supported-hardware-wallets)._

We continuously try to improve our security by having audits from different providers. The list below retrieve all the previous audits made:

- I don't remind - 2020
- [Kudelski Security audit]() - 2021
- Kudelski Security audit - 2021
- New one - 2024

As of 2024, we are open sourcing part of our repositories. We encourage users, developers and security researchers to help us maintaining the best level of security, and report us any finding using our [bug bounty program](./bug-bounty-program)
As of 2024, we are open sourcing part of our repositories. We encourage users, developers and security researchers to help us maintaining the best level of security, and report us any finding using our [bug bounty program](./bug-bounty-program)
4 changes: 2 additions & 2 deletions about/xdefi-technologies/bug-bounty-program.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

If you think having identified a potential bug or breach in the XDEFI Wallet Extension (Chrome web extension) or in the [WebApp](https://www.app.xdefi.io), please send us an [email](mailto:[email protected]) to outlining the issue in sufficient detail.

We will review your finding, try to reproduce the issue and reply to you shortly.
We will review your finding, try to reproduce the issue and reply to you shortly.

Find out more about our [bug bounty program](https://www.xdefi.io/article/bug-bounty-program/).
Find out more about our [bug bounty program](https://www.xdefi.io/article/bug-bounty-program/).
2 changes: 1 addition & 1 deletion about/xdefi-technologies/extension-wallet.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# Extension Wallet
# Extension Wallet
13 changes: 7 additions & 6 deletions about/xdefi-technologies/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,25 +17,26 @@ XDEFI Wallet **doesn't** have access to your secret phrase, password or recovery

You are in **complete control of your information and your wallet**, so please keep your secret phrase safe and store it offline!

## How do I connect to a dApp if I don't see the XDEFI Wallet logo?
## How do I connect to a dApp if I don't see the XDEFI Wallet logo?

XDEFI Wallet can connect to all dApps on all [supported blockchains](./supported-blockchains.md).
XDEFI Wallet can connect to all dApps on all [supported blockchains](./supported-blockchains.md).

In many cases you will see the XDEFI Wallet logo when you go to `connect wallet`.
If you do not see it, you can still connect to the dapp by clicking on the first wallet in the list, usually MetaMask, Keplr or Phantom.
If you do not see it, you can still connect to the dapp by clicking on the first wallet in the list, usually MetaMask, Keplr or Phantom.
Please make sure you have **prioritize XDEFI** feature turned on in your XDEFI Wallet settings.

## Can I migrate my MetaMask or Keplr wallet to XDEFI Wallet?

**Yes**, you can migrate any wallet to XDEFI Wallet using your wallet's seed phrase. This process only takes a few seconds, and all of your assets and NFTs will immediately appear in XDEFI Wallet.

Please see our quick start guides here: https://www.xdefi.io/support-category/xdefi-wallet-quick-start/
Please see our quick start guides here: <https://www.xdefi.io/support-category/xdefi-wallet-quick-start/>

## How do I join the XDEFI Referral Program?

The program is currently available on our [WebApp](https://www.app.xdefi.io/referral) and makes you **earn 30% commission** on all swaps made by your referrees.

### To create your own reference, just follow the steps below

1. Head to the [referral tab](https://www.app.xdefi.io/referral) into our WebApp.
2. Connect your **Ethereum wallet** by clicking on the Connect` button.
3. Sign the **message request** to allow your address to interact with our WebApp.
Expand All @@ -58,7 +59,7 @@ Each referrer will receive a unique referral link, such as go.xdefi.io/reference

Please use your personal link when inviting people to install XDEFI Wallet, you don't wanna comissions from them!

## How do I stake my $XDEFI tokens?
## How do I stake my $XDEFI tokens?

You can stake your **$XDEFI** tokens on the [stake tab](https://www.app.xdefi.io/stake) of our WebApp.

Expand All @@ -67,4 +68,4 @@ You can stake your **$XDEFI** tokens on the [stake tab](https://www.app.xdefi.io
## What is a non-custodial wallet?

Unlike centralized exchanges, **non-custodial wallets** offer you **full control** over your seed phrase, private keys and assets (including NFTs). Forgetting or losing your seed phrase and private keys means losing access to your deposit addresses and the funds you hold on them, so make sure to back them up.
We recommend **offline storage on at least two devices**, one of which has FLASH memory. Encrypting the digital device holding this information is a good practice as long as you remember your decryption password.
We recommend **offline storage on at least two devices**, one of which has FLASH memory. Encrypting the digital device holding this information is a good practice as long as you remember your decryption password.
1 change: 0 additions & 1 deletion about/xdefi-technologies/how-to-add-custom-network.md
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
# How to add a Custom Network

2 changes: 1 addition & 1 deletion about/xdefi-technologies/mobile-wallet.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# Mobile Wallet
# Mobile Wallet
6 changes: 5 additions & 1 deletion about/xdefi-technologies/routing-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ XDEFI Technologies build and maintain an in house Routing API to make seamless t
The routing API integrate a multitude of AMMs, DEX aggregators and Bridge solutions.

The list below retrieve all the current integrations supported:

- 1inch
- Circle Bridge
- Jupiter
Expand All @@ -24,12 +25,15 @@ You can request a new integration by sending us an [email](mailto:routing@xdefi.
## Current platforms using the Routing API

The list below retrieve all the current platforms using XDEFI Technologies Routing API:

### Wallets

- [XDEFI Wallet](https://www.xdefi.io)

### Applications

- [XDEFI WebApp](https://www.app.xdefi.io)

## Integrate it on your platform

See more on [Adding XDEFI Technologies Routing API on your platform](/routing/overview) documentation.
See more on [Adding XDEFI Technologies Routing API on your platform](/routing/overview) documentation.
18 changes: 12 additions & 6 deletions about/xdefi-technologies/supported-blockchains.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Supported Blockchains

XDEFI Wallet make it possible for users to access, interact and build with more ecosystems and blockchains than any other in the market. There is two different way for blockchains to be supported:

- **Native integration**

Maintained and indexed by XDEFI team, native integration include more visiblity in the wallet (eg. historical details), more privacy (eg. proxies on multiple RPC by default) and dedicated feature of the chain (eg. staking in wallet).
Expand All @@ -13,21 +14,24 @@ The list below retrieve all the natives integrations supported by XDEFI Wallet.
You can find the list of custom networks supported [here](./supported-custom-networks).

## UTXO's

The below list of blockchains is supported natively:

- Bitcoin (BTC)
- Bitcoin Cash (BCH)
- Dogecoin (DOGE)
- Litecoin (LTC)


## EVM's

The below list of blockchains is supported natively:

- Aurora (AURORA)
- Avalanche (AVAX)
- BNB Beacon Chain (BNB)
- BNB Smart Chain (BNB)
- Canto (CANTO)
- Cronos (CRO)
- Cronos (CRO)
- Ethereum (ETH)
- Fantom (FTM)
- Gnosis (xDAI)
Expand All @@ -43,10 +47,12 @@ See more on [Building an EVM dApp with XDEFI](/developers/build-evm-dapp) docume

You can request an EVM native integration by sending us an [email](mailto:[email protected]).

*(Note that native integration requiere an upfront payment to start implementing it)*
Note that native integration requiere an upfront payment to start implementing it

## Cosmos chains

The below list of blockchains is supported natively:

- Akash (AKT)
- Cosmos (ATOM)
- Crescent (CRE)
Expand All @@ -62,7 +68,6 @@ The below list of blockchains is supported natively:
- Terra (LUNA)
- THORChain (RUNE)


The others Cosmos chains are supported non natively using Custom Network integration, allowing users and developers to interact and build on them.

See more on [Adding a custom Cosmos network on XDEFI](./how-to-add-custom-network) documentation.
Expand All @@ -71,11 +76,12 @@ See more on [Building a Cosmos dApp with XDEFI](/developers/build-cosmos-dapp) d

You can request a Cosmos native integration by sending us an [email](mailto:[email protected]).

*(Note that native integration requiere an upfront payment to start implementing it)*
Note that native integration requiere an upfront payment to start implementing it

## Solana
- Solana (SOL)

- Solana (SOL)

## Near

- Near Protocol (NEAR)
1 change: 0 additions & 1 deletion about/xdefi-technologies/supported-custom-networks.md
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
# Supported Custom Networks

2 changes: 1 addition & 1 deletion about/xdefi-technologies/supported-hardware-wallets.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

## Ledger

## Trezor
## Trezor
2 changes: 1 addition & 1 deletion about/xdefi-token/buying.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# How and where to buy $XDEFI token
# How and where to buy $XDEFI token
2 changes: 1 addition & 1 deletion about/xdefi-token/revenue.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# Revenue model of $XDEFI token
# Revenue model of $XDEFI token
2 changes: 1 addition & 1 deletion about/xdefi-token/staking.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# Staking $XDEFI token
# Staking $XDEFI token
2 changes: 1 addition & 1 deletion about/xdefi-token/tokenomics.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# $XDEFI Tokenomics
# $XDEFI Tokenomics
18 changes: 11 additions & 7 deletions about/xdefi-token/utility.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
# Utility

$XDEFI has four main utilities:
$XDEFI has four main utilities:

1. [Staking](utility#staking)
2. [Governance](utility#governance-rights)
3. [Gas abstraction](utility#gas-abstraction)
4. [Premium features.](utility#premium-features)

## Staking
The follows a **veModel**, which is a design originally pioneered by Curve. It allows token holders to stake and earn a share of XDEFI swap and bridge fees.
## Staking

The follows a **veModel**, which is a design originally pioneered by Curve. It allows token holders to stake and earn a share of XDEFI swap and bridge fees.

XDEFI generates revenue from swaps (both in-wallet and [platforms integrating the Routing API](../xdefi-technologies/routing-api#current-platforms-using-the-routing-api)), as well as single-sided staking (Zaps), which is a feature of our Web App.

Expand All @@ -18,17 +20,19 @@ In the near-term, $XDEFI staking rewards will continue to be supplemented with f
:::

## Governance rights

Today, **$XDEFI** token holders and stakers can such as native chain integrations, new product features, and fee distribution. This gives holders a say in the development of the platform.

You can see historical governance proposals and result on [Snapshot website](A)

## Gas abstraction
*est. Q1 2024*

This feature will permit $XDEFI tokens to be locked up in a gas tank to cover gas costs for transaction signing within the wallet and when interacting with external dApps. This is done to provide a seamless and simplified user experience, without having to worry about storing gas tokens on each address.
est. Q1 2024

This feature will permit $XDEFI tokens to be locked up in a gas tank to cover gas costs for transaction signing within the wallet and when interacting with external dApps. This is done to provide a seamless and simplified user experience, without having to worry about storing gas tokens on each address.

## Premium Features
*est. 2024*

In the future, further utility for **$XDEFI** token holders will be launched including for example wallet skins & preferential access to certain XDEFI Campaigns.
est. 2024

In the future, further utility for **$XDEFI** token holders will be launched including for example wallet skins & preferential access to certain XDEFI Campaigns.
1 change: 0 additions & 1 deletion about/xdefi-token/xdefi.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ prev:
---

# Overview of $XDEFI

2 changes: 1 addition & 1 deletion community/discord.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# Discord
# Discord
1 change: 0 additions & 1 deletion community/overview.md
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
# Community overview

2 changes: 1 addition & 1 deletion community/telegram.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# Telegram
# Telegram
2 changes: 1 addition & 1 deletion community/x.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# X
# X
2 changes: 1 addition & 1 deletion developers/configuration-cosmos.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# Configuration
# Configuration
2 changes: 1 addition & 1 deletion developers/configuration-evm.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# Configuration
# Configuration
2 changes: 1 addition & 1 deletion developers/lets-dev-cosmos.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# Let's dev
# Let's dev
2 changes: 1 addition & 1 deletion developers/lets-dev-evm.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# Let's dev
# Let's dev
2 changes: 1 addition & 1 deletion developers/overview.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# Overview
# Overview
Loading
Loading