Skip to content
Merged
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
56 changes: 44 additions & 12 deletions .vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,10 @@ export default {
text: 'Avalanche (AVAX)',
link: '/developers/avalanche',
},
{
text: 'Blast (ETH)',
link: '/developers/blast',
},
{
text: 'BNB Smart Chain (BNB)',
link: '/developers/bnb-smart-chain',
Expand All @@ -480,6 +484,10 @@ export default {
text: 'Canto (CANTO)',
link: '/developers/canto',
},
{
text: 'Celo (CELO)',
link: '/developers/celo',
},
{
text: 'Cronos (CRO)',
link: '/developers/cronos',
Expand All @@ -492,14 +500,46 @@ export default {
text: 'Gnosis (xDAI)',
link: '/developers/gnosis',
},
{
text: 'Klaytn (KLAY)',
link: '/developers/klaytn',
},
{
text: 'Linea (ETH)',
link: '/developers/linea',
},
{
text: 'Manta (ETH)',
link: '/developers/manta',
},
{
text: 'Mantle (MNT)',
link: '/developers/mantle',
},
{
text: 'OpBNB (ETH)',
link: '/developers/opbnb',
},
{
text: 'Optimism (ETH)',
link: '/developers/optimism',
},
{
text: 'Polygon (MATIC)',
text: 'Polygon (POL)',
link: '/developers/polygon',
},
{
text: 'Scroll (ETH)',
link: '/developers/scroll',
},
{
text: 'ZetaChain (ZETA)',
link: '/developers/zetachain',
},
{
text: 'ZkSync (ETH)',
link: '/developers/zksync',
},
],
},
{
Expand Down Expand Up @@ -539,10 +579,6 @@ export default {
text: 'Kujira (KUJI)',
link: '/developers/kujira',
},
{
text: 'Mars (MARS)',
link: '/developers/mars',
},
{
text: 'Osmosis (OSMO)',
link: '/developers/osmosis',
Expand All @@ -569,10 +605,6 @@ export default {
text: 'Bitcoin Cash (BCH)',
link: '/developers/bitcoin-cash',
},
{
text: 'BNB Beacon Chain (BNB)',
link: '/developers/bnb-beacon-chain',
},
{
text: 'Cardano (ADA)',
link: '/developers/cardano',
Expand Down Expand Up @@ -738,13 +770,13 @@ export default {

transformHead(assets: string[]): HeadConfig[] {
const tomatogroteskLightFont = assets.find(
(file) => /TomatoGrotesk-Light\.\w+\.otf/
file => /TomatoGrotesk-Light\.\w+\.otf/,
);
const tomatogroteskRegularFont = assets.find(
(file) => /TomatoGrotesk-Regular\.\w+\.otf/
file => /TomatoGrotesk-Regular\.\w+\.otf/,
);
const tomatogroteskBoldFont = assets.find(
(file) => /TomatoGrotesk-Bold\.\w+\.otf/
file => /TomatoGrotesk-Bold\.\w+\.otf/,
);

const headConfig: HeadConfig[] = [];
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# XDEFI Technologies Documentation Site
# Ctrl (fka XDEFI) Technologies Documentation Site

Welcome to the official documentation repository for Ctrl (fka XDEFI) Technologies.

Expand Down
2 changes: 1 addition & 1 deletion about/xdefi-token/tokenomics.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ XDEFI’s early investors who funded the initial development of Ctrl Wallet. The
These tokens are subject to a 3-year schedule.
:::

### 15% to the XDEFI team
### 15% to the Ctrl (fka XDEFI) team

Current and future team members allocation.
::: info
Expand Down
9 changes: 9 additions & 0 deletions developers/blast.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Blast (ETH)

Blast is an Ethereum Layer 2 network designed to offer native yield for both ETH and stablecoins. Built by the team behind Blur, Blast provides a unique approach by integrating yield-generating mechanisms directly into the Layer 2 infrastructure. It is fully EVM-compatible, allowing developers to deploy Ethereum smart contracts seamlessly.

Blast not only inherits Ethereum’s security but also offers a built-in incentive model, making it attractive for both users and developers who seek high-performance and capital-efficient applications in DeFi, NFTs, and beyond.

This document is based on the EVMs (Ethereum Virtual Machine) and the Ethereum network.

<!--@include: ./_evm.md-->
25 changes: 17 additions & 8 deletions developers/blockchains-integration.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,41 @@
---
prev:
text: "🔹 Mobile Wallet Integration"
link: "./mobile-wallet"
text: '🔹 Mobile Wallet Integration'
link: './mobile-wallet'
next:
text: "Ethereum (ETH)"
link: "./ethereum"
text: 'Ethereum (ETH)'
link: './ethereum'
---

# Blockchains Integration

Ctrl (fka XDEFI) is the largest multichain wallet that provides hundreds of blockchains accessibility.

- EVM Chains

- [Ethereum (ETH)](./ethereum)
- [Arbitrum (AETH)](./arbitrum)
- [Aurora (AURORA)](./aurora)
- [Avalanche (AVAX)](./avalanche)
- [Blast (ETH)](./blast)
- [Binance Smart Chain (BSC)](./bnb-smart-chain)
- [Canto Network (CANTO)](./canto)
- [Celo (CELO)](./celo)
- [Cronos (CRO)](./cronos)
- [Fantom (FTM)](./fantom)
- [Gnosis (xDAI)](./gnosis)
- [Klaytn (KLAY)](./klaytn)
- [Linea (ETH)](./linea)
- [Manta (ETH)](./manta)
- [Mantle (MNT)](./mantle)
- [OpBNB (ETH)](./opbnb)
- [Optimism (OPTIMISM)](./optimism)
- [Polygon (MATIC)](./polygon)
- [Polygon (POL)](./polygon)
- [Scroll (ETH)](./scroll)
- [ZetaChain (ZETA)](./zetachain)
- [ZkSync (ETH)](./zksync)
- ...

- Cosmos Chains
- [Cosmos Hub (ATOM)](./cosmos)
- [Akash (AKT)](./akash)
Expand All @@ -33,18 +45,15 @@ Ctrl (fka XDEFI) is the largest multichain wallet that provides hundreds of bloc
- [Juno (JUNO)](./juno)
- [Kava (KAVA)](./kava)
- [Kujira (KUJI)](./kujira)
- [Mars (MARS)](./mars)
- [Osmosis (OSMO)](./osmosis)
- [Sei Testnet (SEI)](./sei)
- [Stargaze (STARS)](./stargaze)
- [Stride (STRD)](./stride)
- ...
- Other Chains
- [BNB Beacon Chain (BNB)](./bnb-beacon-chain)
- [Bitcoin (BTC)](./bitcoin)
- [Bitcoin Cash (BCH)](./bitcoin-cash)
- [Cardano (ADA)](./cardano)
- [Cosmos (ATOM)](./cosmos)
- [Dogecoin (DOGE)](./dogecoin)
- [Litecoin (LTC)](./litecoin)
- [Maya Protocol (MAYA)](./maya)
Expand Down
9 changes: 9 additions & 0 deletions developers/celo.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Celo (CELO)

Celo is an Ethereum-compatible Layer 1 blockchain optimized for mobile use and real-world adoption. Built with EVM compatibility, Celo enables developers to deploy Ethereum smart contracts while focusing on a mobile-first user experience, low gas fees, and fast transaction finality.

Celo aims to bring decentralized finance (DeFi), payments, and digital identity to anyone with a smartphone. Its ecosystem supports stablecoins, regenerative finance (ReFi), and applications that target underserved markets globally.

This documentation is based on the Ethereum Virtual Machine (EVM) and the Ethereum network

<!--@include: ./_evm.md-->
12 changes: 6 additions & 6 deletions developers/extension-cardano.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ It injects a CIP-30 compatible provider in `window.cardano.ctrl` and follows the

- [CIP-30: Cardano dApp-Wallet Web Bridge documentation](https://cips.cardano.org/cip/CIP-30)

### How to detect XDEFI's Cardano provider
### How to detect CTRL's Cardano provider

As the official [CIP-30 guide](https://cips.cardano.org/cip/CIP-30) mentioned:

```javascript
window.onload = async () => {
if (!window.cardano?.ctrl) {
alert("Please install XDEFI extension");
alert('Please install CTRL extension');
} else {
const cardanoWallet = window.cardano.ctrl;

Expand All @@ -30,7 +30,7 @@ window.onload = async () => {
// Get all used addresses
const usedAddresses = await api.getUsedAddresses();

console.log("Wallet connected successfully");
console.log('Wallet connected successfully');
}
};
```
Expand All @@ -57,16 +57,16 @@ if (window.cardano && window.cardano.ctrl) {
// Enable the wallet (request connection)
try {
const api = await cardanoWallet.enable();
console.log("Connected to Ctrl wallet");
console.log('Connected to Ctrl wallet');

// Now you can use the API methods
const balance = await api.getBalance();
const addresses = await api.getUsedAddresses();
} catch (error) {
console.error("Failed to connect:", error);
console.error('Failed to connect:', error);
}
} else {
console.log("Ctrl (fka XDEFI) is not installed");
console.log('Ctrl (fka XDEFI) is not installed');
}
```

Expand Down
50 changes: 25 additions & 25 deletions developers/extension-cosmos.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ Ctrl Wallet is part of [cosmos-kit](https://github.com/cosmology-tech/cosmos-kit

Here is an [example](https://github.com/cosmology-tech/cosmos-kit/blob/main/packages/example/pages/_app.tsx#L34) of how to use cosmos-kit.

### How to detect XDEFI’s Keplr provider
### How to detect CTRL’s Keplr provider

As the official Keplr guide mentioned [here](https://docs.keplr.app/api/);

```javascript
window.onload = async () => {
if (!window.xfi?.keplr) {
alert("Please install XDEFI extension");
alert('Please install CTRL extension');
} else {
const chainId = "cosmoshub-4";
const chainId = 'cosmoshub-4';
const keplr = window.xfi.keplr;

// Enabling before using the Keplr is recommended.
Expand All @@ -41,7 +41,7 @@ window.onload = async () => {

// Initialize the gaia api with the offline signer that is injected by Keplr extension.
const cosmJS = new SigningCosmosClient(
"https://lcd-cosmoshub.keplr.app",
'https://lcd-cosmoshub.keplr.app',
accounts[0].address,
offlineSigner,
);
Expand All @@ -61,9 +61,9 @@ if (window.keplr.isXDEFI) {
}
```

#### Chains supported on XDEFI
#### Chains supported on CTRL

As of release v26, XDEFI supports the following chains (chainId).
As of release v26, CTRL supports the following chains (chainId).

- Cosmos Hub, `cosmoshub-4`
- Osmosis, `osmosis-1`
Expand Down Expand Up @@ -204,7 +204,7 @@ const accounts = await offlineSigner.getAccounts();

// Initialize the gaia api with the offline signer that is injected by Keplr extension.
const cosmJS = new SigningCosmosClient(
"https://lcd-cosmoshub.keplr.app/rest",
'https://lcd-cosmoshub.keplr.app/rest',
accounts[0].address,
offlineSigner,
);
Expand Down Expand Up @@ -254,42 +254,42 @@ You can then make a request follows and add the custom chain:

```javascript
await window.xfi.keplr.experimentalSuggestChain({
chainId: "my-test-chain",
chainName: "my test chain",
chainId: 'my-test-chain',
chainName: 'my test chain',
bech32Config: {
bech32PrefixAccAddr: "cosmos",
bech32PrefixAccPub: "cosmospub",
bech32PrefixValAddr: "cosmosvaloper",
bech32PrefixValPub: "cosmosvaloperpub",
bech32PrefixConsAddr: "cosmosvalcons",
bech32PrefixConsPub: "cosmosvalconspub",
bech32PrefixAccAddr: 'cosmos',
bech32PrefixAccPub: 'cosmospub',
bech32PrefixValAddr: 'cosmosvaloper',
bech32PrefixValPub: 'cosmosvaloperpub',
bech32PrefixConsAddr: 'cosmosvalcons',
bech32PrefixConsPub: 'cosmosvalconspub',
},
bip44: {
coinType: 118,
},
currencies: [
{
coinDenom: "stake",
coinMinimalDenom: "stake",
coinDenom: 'stake',
coinMinimalDenom: 'stake',
coinDecimals: 6,
coinGeckoId: "cosmos",
coinGeckoId: 'cosmos',
coinImageUrl:
"https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.png",
'https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.png',
feeCurrency: true,
},
],
feeCurrencies: [
{
coinDenom: "stake",
coinMinimalDenom: "stake",
coinDenom: 'stake',
coinMinimalDenom: 'stake',
coinDecimals: 6,
coinGeckoId: "cosmos",
coinGeckoId: 'cosmos',
coinImageUrl:
"https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.png",
'https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.png',
feeCurrency: true,
},
],
rest: "http://127.0.0.1:1317",
rpc: "http://127.0.0.1:9090",
rest: 'http://127.0.0.1:1317',
rpc: 'http://127.0.0.1:9090',
});
```
9 changes: 9 additions & 0 deletions developers/klaytn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Klaytn (KLAY)

Klaytn is an open-source, Ethereum-compatible Layer 1 blockchain platform developed by Kakao, designed for enterprises and large-scale real-world applications. With full EVM compatibility, Klaytn allows developers to deploy Ethereum smart contracts with ease while offering fast block generation, low latency, and predictable low fees.

Klaytn focuses on delivering a scalable and business-friendly blockchain infrastructure for Web3 services, including DeFi, GameFi, and metaverse applications. It combines the performance of a permissioned blockchain with the decentralization of a public network.

This documentation is based on the Ethereum Virtual Machine (EVM) and the Ethereum network.

<!--@include: ./_evm.md-->
9 changes: 9 additions & 0 deletions developers/linea.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Linea (ETH)

Linea is a zkEVM-based Layer 2 network developed by ConsenSys, designed to scale Ethereum while preserving full Ethereum Virtual Machine (EVM) compatibility. It leverages zero-knowledge rollups (zk-rollups) to offer fast, low-cost transactions with strong security guarantees inherited from Ethereum.

Linea enables developers to deploy existing Ethereum smart contracts without modification, making it easy to build scalable dApps for DeFi, NFTs, and beyond. With native support from MetaMask and other ConsenSys tools, Linea offers a seamless development and user experience.

This documentation is based on the Ethereum Virtual Machine (EVM) and the Ethereum network.

<!--@include: ./_evm.md-->
9 changes: 9 additions & 0 deletions developers/manta.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Manta (ETH)

Manta is a zero-knowledge (zk) Layer 2 network built to scale Ethereum with enhanced privacy and performance. Powered by zk-rollup technology and EVM compatibility, Manta allows developers to deploy existing Ethereum smart contracts while benefiting from faster transactions and lower fees.

Manta is designed to support privacy-preserving decentralized applications (dApps), especially in areas like DeFi, identity, and Web3 credentials. With support for zk-enabled features out of the box, Manta offers a next-generation platform for building secure, scalable, and private blockchain solutions.

This documentation is based on the Ethereum Virtual Machine (EVM) and the Ethereum network.

<!--@include: ./_evm.md-->
Loading