From 528c6165c7e773374a6dca0cbe2809550c5f791a Mon Sep 17 00:00:00 2001 From: Islam El-Ashi Date: Thu, 8 Jan 2026 13:48:41 +0100 Subject: [PATCH 1/2] docs: move Chain Fusion documentation to DeFi section - Moved chain-fusion directory from docs/building-apps/ to docs/defi/ - Updated sidebar configuration: removed from sidebars.js, added to docs/defi/sidebar.js - Fixed all internal documentation links to reflect new paths - Maintains consistency with DeFi-focused content organization --- docs/build-on-btc/runes.mdx | 2 +- docs/building-apps/essentials/gas-cost.mdx | 2 +- .../essentials/network-overview.mdx | 4 +- .../using-http/https-outcalls/overview.mdx | 2 +- .../bitcoin-local-balance-after-send.png | Bin .../bitcoin-local-check-balance.png | Bin .../_attachments/bitcoin-local-send-tx.png | Bin .../_attachments/bitcoin_architecture.png | Bin .../_attachments/bitcoin_integration.png | Bin .../_attachments/generate-ecdsa-key.png | Bin .../chain-fusion/dogecoin/overview.mdx | 0 .../chain-fusion/ethereum/evm-rpc/costs.mdx | 0 .../ethereum/evm-rpc/evm-rpc-canister.mdx | 2 +- .../ethereum/evm-rpc/how-it-works.mdx | 0 .../ethereum/evm-rpc/overview.mdx | 0 .../chain-fusion/ethereum/overview.mdx | 2 +- .../ethereum/using-eth/eth-comparison.mdx | 0 .../ethereum/using-eth/eth-dev-workflow.mdx | 10 +-- .../using-eth/generating-addresses.mdx | 0 .../using-eth/signing-transactions.mdx | 0 .../using-eth/submit-transactions.mdx | 2 +- .../chain-fusion/examples.mdx | 2 +- .../chain-fusion/overview.mdx | 2 +- .../chain-fusion/solana/overview.mdx | 0 .../chain-fusion/supported-chains.mdx | 4 +- docs/defi/overview.mdx | 2 +- docs/defi/sidebar.js | 61 ++++++++++++++++++ .../level-5/5.2-ICP-ETH-tutorial.mdx | 8 +-- sidebars.js | 61 ------------------ 29 files changed, 83 insertions(+), 83 deletions(-) rename docs/{building-apps => defi}/chain-fusion/_attachments/bitcoin-local-balance-after-send.png (100%) rename docs/{building-apps => defi}/chain-fusion/_attachments/bitcoin-local-check-balance.png (100%) rename docs/{building-apps => defi}/chain-fusion/_attachments/bitcoin-local-send-tx.png (100%) rename docs/{building-apps => defi}/chain-fusion/_attachments/bitcoin_architecture.png (100%) rename docs/{building-apps => defi}/chain-fusion/_attachments/bitcoin_integration.png (100%) rename docs/{building-apps => defi}/chain-fusion/_attachments/generate-ecdsa-key.png (100%) rename docs/{building-apps => defi}/chain-fusion/dogecoin/overview.mdx (100%) rename docs/{building-apps => defi}/chain-fusion/ethereum/evm-rpc/costs.mdx (100%) rename docs/{building-apps => defi}/chain-fusion/ethereum/evm-rpc/evm-rpc-canister.mdx (99%) rename docs/{building-apps => defi}/chain-fusion/ethereum/evm-rpc/how-it-works.mdx (100%) rename docs/{building-apps => defi}/chain-fusion/ethereum/evm-rpc/overview.mdx (100%) rename docs/{building-apps => defi}/chain-fusion/ethereum/overview.mdx (97%) rename docs/{building-apps => defi}/chain-fusion/ethereum/using-eth/eth-comparison.mdx (100%) rename docs/{building-apps => defi}/chain-fusion/ethereum/using-eth/eth-dev-workflow.mdx (86%) rename docs/{building-apps => defi}/chain-fusion/ethereum/using-eth/generating-addresses.mdx (100%) rename docs/{building-apps => defi}/chain-fusion/ethereum/using-eth/signing-transactions.mdx (100%) rename docs/{building-apps => defi}/chain-fusion/ethereum/using-eth/submit-transactions.mdx (95%) rename docs/{building-apps => defi}/chain-fusion/examples.mdx (98%) rename docs/{building-apps => defi}/chain-fusion/overview.mdx (98%) rename docs/{building-apps => defi}/chain-fusion/solana/overview.mdx (100%) rename docs/{building-apps => defi}/chain-fusion/supported-chains.mdx (93%) diff --git a/docs/build-on-btc/runes.mdx b/docs/build-on-btc/runes.mdx index f4818a3dee..2fba59ec42 100644 --- a/docs/build-on-btc/runes.mdx +++ b/docs/build-on-btc/runes.mdx @@ -18,7 +18,7 @@ Creating a Rune is done through a process called 'etching,' which refers to subm ## Runes on ICP -Canisters deployed on ICP can sign and submit transactions directly to the Bitcoin network through ICP's Bitcoin integration) and [threshold signatures](/references/t-sigs-how-it-works). Specifically, for a canister to etch Runes, it must sign transactions using [threshold Schnorr signatures](/references/t-sigs-how-it-works#deuterium-schnorr-release-beta) and have a [Bitcoin taproot address](/building-apps/chain-fusion/bitcoin/using-btc/generate-addresses#generating-addresses-with-threshold-schnorr). +Canisters deployed on ICP can sign and submit transactions directly to the Bitcoin network through ICP's Bitcoin integration) and [threshold signatures](/references/t-sigs-how-it-works). Specifically, for a canister to etch Runes, it must sign transactions using [threshold Schnorr signatures](/references/t-sigs-how-it-works#deuterium-schnorr-release-beta) and have a [Bitcoin taproot address](/build-on-btc/btc-transactions/generate-addresses#generating-addresses-with-threshold-schnorr). ## Etching and minting Runes diff --git a/docs/building-apps/essentials/gas-cost.mdx b/docs/building-apps/essentials/gas-cost.mdx index d960f66b5d..0defc71b05 100644 --- a/docs/building-apps/essentials/gas-cost.mdx +++ b/docs/building-apps/essentials/gas-cost.mdx @@ -138,7 +138,7 @@ Certain network features incur a special cost based on the feature’s unique in - [**Chain-key signing API**](/references/t-sigs-how-it-works/): Threshold signatures, including threshold ECDSA and threshold Schnorr. -- [**EVM RPC canister**](/building-apps/chain-fusion/ethereum/overview) +- [**EVM RPC canister**](/defi/chain-fusion/ethereum/overview) ## Errors related to cycles diff --git a/docs/building-apps/essentials/network-overview.mdx b/docs/building-apps/essentials/network-overview.mdx index 4b528e4eb6..0f161f3a59 100644 --- a/docs/building-apps/essentials/network-overview.mdx +++ b/docs/building-apps/essentials/network-overview.mdx @@ -13,7 +13,7 @@ import { GlossaryTooltip } from "/src/components/Tooltip/GlossaryTooltip"; **The Internet Computer is the first "World Computer" network. It enables you to build web applications and internet services using a 100% decentralized platform without Big Tech and traditional IT. While traditional blockchains struggle to store a single phone photo onchain, ICP already hosts social networks, multiple ledgers, AI, and much more, fully onchain.** -It is designed to give applications near-native performance and scalability while maintaining the security of decentralized execution. [Smart contracts](/building-apps/essentials/canisters) on ICP can [host web assets](/building-apps/frontends/uploading-serving-assets), [hold tokens](/defi/create), and serve HTTP requests from users. They can also interact with [RPC nodes](/building-apps/chain-fusion/ethereum/evm-rpc/overview) on other blockchains and Web2 servers through secure [HTTP requests](/building-apps/network-features/using-http/https-outcalls/overview), seamlessly and securely integrating with other ecosystems. +It is designed to give applications near-native performance and scalability while maintaining the security of decentralized execution. [Smart contracts](/building-apps/essentials/canisters) on ICP can [host web assets](/building-apps/frontends/uploading-serving-assets), [hold tokens](/defi/create), and serve HTTP requests from users. They can also interact with [RPC nodes](/defi/chain-fusion/ethereum/evm-rpc/overview) on other blockchains and Web2 servers through secure [HTTP requests](/building-apps/network-features/using-http/https-outcalls/overview), seamlessly and securely integrating with other ecosystems. ## Subnets @@ -49,7 +49,7 @@ Chain-key cryptography is a suite of cryptographic mechanisms that facilitate ma Nodes can collectively sign messages to users and other subnets using these secret shares. This makes validation of the state and results trivial for users, since all they need to do is verify the digital signature against the fixed public key. -[Chain-key signatures](/defi/chain-key-tokens/overview) are another component of chain-key cryptography that allows smart contracts to sign transactions targeted specifically at other blockchain networks like [Bitcoin](/build-on-btc/) and [Ethereum](/building-apps/chain-fusion/ethereum/overview). These transactions are submitted directly to the target chains without needing a bridge or oracle to facilitate the communication. +[Chain-key signatures](/defi/chain-key-tokens/overview) are another component of chain-key cryptography that allows smart contracts to sign transactions targeted specifically at other blockchain networks like [Bitcoin](/build-on-btc/) and [Ethereum](/defi/chain-fusion/ethereum/overview). These transactions are submitted directly to the target chains without needing a bridge or oracle to facilitate the communication. [Learn more about chain-key cryptography](https://learn.internetcomputer.org/hc/en-us/articles/34209497587732-Chain-Key-Signatures). diff --git a/docs/building-apps/network-features/using-http/https-outcalls/overview.mdx b/docs/building-apps/network-features/using-http/https-outcalls/overview.mdx index e944759758..997cfbd129 100644 --- a/docs/building-apps/network-features/using-http/https-outcalls/overview.mdx +++ b/docs/building-apps/network-features/using-http/https-outcalls/overview.mdx @@ -12,7 +12,7 @@ Canisters can make a request to a URL using [HTTPS outcalls](https://internetcom HTTPS outcalls enable a wide range of applications. For example, oracle services can directly integrate with ICP in a trustless manner, and dapps can provide user notifications or anything else that requires communication with servers on the Internet. -Some examples of onchain oracle-like services that obtain data from off-chain sources through HTTP outcalls include the [EVM RPC canister](/building-apps/chain-fusion/ethereum/evm-rpc/overview), the [exchange rate canister](/references/system-canisters/) and the [Orally dapp](https://kclew-uiaaa-aaaal-qbuiq-cai.ic0.app/sybil). +Some examples of onchain oracle-like services that obtain data from off-chain sources through HTTP outcalls include the [EVM RPC canister](/defi/chain-fusion/ethereum/evm-rpc/overview), the [exchange rate canister](/references/system-canisters/) and the [Orally dapp](https://kclew-uiaaa-aaaal-qbuiq-cai.ic0.app/sybil). ## How it works diff --git a/docs/building-apps/chain-fusion/_attachments/bitcoin-local-balance-after-send.png b/docs/defi/chain-fusion/_attachments/bitcoin-local-balance-after-send.png similarity index 100% rename from docs/building-apps/chain-fusion/_attachments/bitcoin-local-balance-after-send.png rename to docs/defi/chain-fusion/_attachments/bitcoin-local-balance-after-send.png diff --git a/docs/building-apps/chain-fusion/_attachments/bitcoin-local-check-balance.png b/docs/defi/chain-fusion/_attachments/bitcoin-local-check-balance.png similarity index 100% rename from docs/building-apps/chain-fusion/_attachments/bitcoin-local-check-balance.png rename to docs/defi/chain-fusion/_attachments/bitcoin-local-check-balance.png diff --git a/docs/building-apps/chain-fusion/_attachments/bitcoin-local-send-tx.png b/docs/defi/chain-fusion/_attachments/bitcoin-local-send-tx.png similarity index 100% rename from docs/building-apps/chain-fusion/_attachments/bitcoin-local-send-tx.png rename to docs/defi/chain-fusion/_attachments/bitcoin-local-send-tx.png diff --git a/docs/building-apps/chain-fusion/_attachments/bitcoin_architecture.png b/docs/defi/chain-fusion/_attachments/bitcoin_architecture.png similarity index 100% rename from docs/building-apps/chain-fusion/_attachments/bitcoin_architecture.png rename to docs/defi/chain-fusion/_attachments/bitcoin_architecture.png diff --git a/docs/building-apps/chain-fusion/_attachments/bitcoin_integration.png b/docs/defi/chain-fusion/_attachments/bitcoin_integration.png similarity index 100% rename from docs/building-apps/chain-fusion/_attachments/bitcoin_integration.png rename to docs/defi/chain-fusion/_attachments/bitcoin_integration.png diff --git a/docs/building-apps/chain-fusion/_attachments/generate-ecdsa-key.png b/docs/defi/chain-fusion/_attachments/generate-ecdsa-key.png similarity index 100% rename from docs/building-apps/chain-fusion/_attachments/generate-ecdsa-key.png rename to docs/defi/chain-fusion/_attachments/generate-ecdsa-key.png diff --git a/docs/building-apps/chain-fusion/dogecoin/overview.mdx b/docs/defi/chain-fusion/dogecoin/overview.mdx similarity index 100% rename from docs/building-apps/chain-fusion/dogecoin/overview.mdx rename to docs/defi/chain-fusion/dogecoin/overview.mdx diff --git a/docs/building-apps/chain-fusion/ethereum/evm-rpc/costs.mdx b/docs/defi/chain-fusion/ethereum/evm-rpc/costs.mdx similarity index 100% rename from docs/building-apps/chain-fusion/ethereum/evm-rpc/costs.mdx rename to docs/defi/chain-fusion/ethereum/evm-rpc/costs.mdx diff --git a/docs/building-apps/chain-fusion/ethereum/evm-rpc/evm-rpc-canister.mdx b/docs/defi/chain-fusion/ethereum/evm-rpc/evm-rpc-canister.mdx similarity index 99% rename from docs/building-apps/chain-fusion/ethereum/evm-rpc/evm-rpc-canister.mdx rename to docs/defi/chain-fusion/ethereum/evm-rpc/evm-rpc-canister.mdx index 1ec7953830..d79b97a792 100644 --- a/docs/building-apps/chain-fusion/ethereum/evm-rpc/evm-rpc-canister.mdx +++ b/docs/defi/chain-fusion/ethereum/evm-rpc/evm-rpc-canister.mdx @@ -763,7 +763,7 @@ dfx canister call evm_rpc eth_feeHistory "(variant {$RPC_SOURCE}, $RPC_CONFIG, r ## Send a raw transaction -The EVM RPC canister can also be used to send raw transactions to the Ethereum and other EVM-compatible chains. Examples for using the EVM RPC canister can be found below, or you can view the [documentation for sending a raw ETH transaction](/building-apps/chain-fusion/ethereum/using-eth/submit-transactions). +The EVM RPC canister can also be used to send raw transactions to the Ethereum and other EVM-compatible chains. Examples for using the EVM RPC canister can be found below, or you can view the [documentation for sending a raw ETH transaction](/defi/chain-fusion/ethereum/using-eth/submit-transactions). diff --git a/docs/building-apps/chain-fusion/ethereum/evm-rpc/how-it-works.mdx b/docs/defi/chain-fusion/ethereum/evm-rpc/how-it-works.mdx similarity index 100% rename from docs/building-apps/chain-fusion/ethereum/evm-rpc/how-it-works.mdx rename to docs/defi/chain-fusion/ethereum/evm-rpc/how-it-works.mdx diff --git a/docs/building-apps/chain-fusion/ethereum/evm-rpc/overview.mdx b/docs/defi/chain-fusion/ethereum/evm-rpc/overview.mdx similarity index 100% rename from docs/building-apps/chain-fusion/ethereum/evm-rpc/overview.mdx rename to docs/defi/chain-fusion/ethereum/evm-rpc/overview.mdx diff --git a/docs/building-apps/chain-fusion/ethereum/overview.mdx b/docs/defi/chain-fusion/ethereum/overview.mdx similarity index 97% rename from docs/building-apps/chain-fusion/ethereum/overview.mdx rename to docs/defi/chain-fusion/ethereum/overview.mdx index af2ef33804..806b1890da 100644 --- a/docs/building-apps/chain-fusion/ethereum/overview.mdx +++ b/docs/defi/chain-fusion/ethereum/overview.mdx @@ -22,7 +22,7 @@ This enables functionality similar to traditional Ethereum dapps, including quer Beyond the Ethereum blockchain, this canister also has partial support for Polygon, Avalanche, and other popular EVM networks. Check out [ChainList.org](https://chainlist.org/?testnets=true) for an extensive list of compatible networks and RPC providers. -You can [learn how to use the EVM RPC canister](/building-apps/chain-fusion/ethereum/evm-rpc/evm-rpc-canister). +You can [learn how to use the EVM RPC canister](/defi/chain-fusion/ethereum/evm-rpc/evm-rpc-canister). ## ckETH diff --git a/docs/building-apps/chain-fusion/ethereum/using-eth/eth-comparison.mdx b/docs/defi/chain-fusion/ethereum/using-eth/eth-comparison.mdx similarity index 100% rename from docs/building-apps/chain-fusion/ethereum/using-eth/eth-comparison.mdx rename to docs/defi/chain-fusion/ethereum/using-eth/eth-comparison.mdx diff --git a/docs/building-apps/chain-fusion/ethereum/using-eth/eth-dev-workflow.mdx b/docs/defi/chain-fusion/ethereum/using-eth/eth-dev-workflow.mdx similarity index 86% rename from docs/building-apps/chain-fusion/ethereum/using-eth/eth-dev-workflow.mdx rename to docs/defi/chain-fusion/ethereum/using-eth/eth-dev-workflow.mdx index 6254dcc3bc..eddc7f9793 100644 --- a/docs/building-apps/chain-fusion/ethereum/using-eth/eth-dev-workflow.mdx +++ b/docs/defi/chain-fusion/ethereum/using-eth/eth-dev-workflow.mdx @@ -23,9 +23,9 @@ To interact with the Ethereum network or another EVM-compatible network, a devel 2. [Sign a transaction](./signing-transactions.mdx): Next, a transaction must be signed before it can be submitted to the Ethereum network and executed. Transactions are signed using [threshold ECDSA](/references/t-sigs-how-it-works/), a novel protocol as part of ICP's chain-key signatures suite. -3. [Submit a transaction](./submit-transactions.mdx): Signed raw transactions can be submitted using the EVM RPC canister's RPC method `eth_sendRawTransaction`. Code examples for sending transactions can be found in the [EVM RPC canister](/building-apps/chain-fusion/ethereum/evm-rpc/evm-rpc-canister) documentation. +3. [Submit a transaction](./submit-transactions.mdx): Signed raw transactions can be submitted using the EVM RPC canister's RPC method `eth_sendRawTransaction`. Code examples for sending transactions can be found in the [EVM RPC canister](/defi/chain-fusion/ethereum/evm-rpc/evm-rpc-canister) documentation. -4. [Read information from the Ethereum network](/building-apps/chain-fusion/ethereum/evm-rpc/evm-rpc-canister): Information from the Ethereum network can be queried using RPC methods such as: +4. [Read information from the Ethereum network](/defi/chain-fusion/ethereum/evm-rpc/evm-rpc-canister): Information from the Ethereum network can be queried using RPC methods such as: - `eth_getBlockByNumber`: Returns information about a given block. @@ -37,9 +37,9 @@ To interact with the Ethereum network or another EVM-compatible network, a devel - `eth_getLogs`: Returns the logs of a specified block or transaction. -Each of these steps can be executed programmatically within a smart contract that is deployed on ICP. View the [EVM RPC canister](/building-apps/chain-fusion/ethereum/evm-rpc/evm-rpc-canister) documentation to see code examples for each RPC method. +Each of these steps can be executed programmatically within a smart contract that is deployed on ICP. View the [EVM RPC canister](/defi/chain-fusion/ethereum/evm-rpc/evm-rpc-canister) documentation to see code examples for each RPC method. -Additional sample projects can be found in the [EVM RPC](/building-apps/chain-fusion/ethereum/evm-rpc/evm-rpc-canister) canister documentation. +Additional sample projects can be found in the [EVM RPC](/defi/chain-fusion/ethereum/evm-rpc/evm-rpc-canister) canister documentation. ## Integrating with Ethereum @@ -59,7 +59,7 @@ ckERC20 tokens, such as [ckUSDC](https://dashboard.internetcomputer.org/ethereum ## Resources -- [EVM RPC canister](/building-apps/chain-fusion/ethereum/evm-rpc/evm-rpc-canister). +- [EVM RPC canister](/defi/chain-fusion/ethereum/evm-rpc/evm-rpc-canister). - [Generating addresses](./generating-addresses.mdx). diff --git a/docs/building-apps/chain-fusion/ethereum/using-eth/generating-addresses.mdx b/docs/defi/chain-fusion/ethereum/using-eth/generating-addresses.mdx similarity index 100% rename from docs/building-apps/chain-fusion/ethereum/using-eth/generating-addresses.mdx rename to docs/defi/chain-fusion/ethereum/using-eth/generating-addresses.mdx diff --git a/docs/building-apps/chain-fusion/ethereum/using-eth/signing-transactions.mdx b/docs/defi/chain-fusion/ethereum/using-eth/signing-transactions.mdx similarity index 100% rename from docs/building-apps/chain-fusion/ethereum/using-eth/signing-transactions.mdx rename to docs/defi/chain-fusion/ethereum/using-eth/signing-transactions.mdx diff --git a/docs/building-apps/chain-fusion/ethereum/using-eth/submit-transactions.mdx b/docs/defi/chain-fusion/ethereum/using-eth/submit-transactions.mdx similarity index 95% rename from docs/building-apps/chain-fusion/ethereum/using-eth/submit-transactions.mdx rename to docs/defi/chain-fusion/ethereum/using-eth/submit-transactions.mdx index bb7b39bca0..aa32940d02 100644 --- a/docs/building-apps/chain-fusion/ethereum/using-eth/submit-transactions.mdx +++ b/docs/defi/chain-fusion/ethereum/using-eth/submit-transactions.mdx @@ -41,7 +41,7 @@ RPC_CONFIG=null dfx canister call evm_rpc eth_sendRawTransaction "(variant {$RPC_SOURCE}, $RPC_CONFIG, \"0xf86c098504a817c800825208943535353535353535353535353535353535353535880de0b6b3a76400008025a028ef61340bd939bc2195fe537567866003e1a15d3c71ff63e1590620aa636276a067cbe9d8997f761aecb703304b3800ccf555c9f3dc64214b297fb1966a3b6d83\")" --with-cycles=$CYCLES --wallet=$WALLET ``` -[Learn more about the EVM RPC canister](/building-apps/chain-fusion/ethereum/evm-rpc/evm-rpc-canister). +[Learn more about the EVM RPC canister](/defi/chain-fusion/ethereum/evm-rpc/evm-rpc-canister). ## Resources diff --git a/docs/building-apps/chain-fusion/examples.mdx b/docs/defi/chain-fusion/examples.mdx similarity index 98% rename from docs/building-apps/chain-fusion/examples.mdx rename to docs/defi/chain-fusion/examples.mdx index 4b6ea363a4..cd9398f700 100644 --- a/docs/building-apps/chain-fusion/examples.mdx +++ b/docs/defi/chain-fusion/examples.mdx @@ -50,7 +50,7 @@ This page highlights both DFINITY-contributed and community-contributed tooling ## Ethereum & EVM examples -[Learn more about the Ethereum integration](/building-apps/chain-fusion/ethereum/overview). +[Learn more about the Ethereum integration](/defi/chain-fusion/ethereum/overview). - [Bitfinity EVM](https://bitfinity.network): An implementation of the Ethereum Virtual Machine (EVM) on ICP. diff --git a/docs/building-apps/chain-fusion/overview.mdx b/docs/defi/chain-fusion/overview.mdx similarity index 98% rename from docs/building-apps/chain-fusion/overview.mdx rename to docs/defi/chain-fusion/overview.mdx index a7f51bcf0b..c4db451d31 100644 --- a/docs/building-apps/chain-fusion/overview.mdx +++ b/docs/defi/chain-fusion/overview.mdx @@ -393,7 +393,7 @@ There are several building blocks available to augment non-ICP smart contracts w - **Chain-key tokens**: Using the primitives described above, DFINITY has built canisters implementing the [ICRC-2](https://github.com/dfinity/ICRC) token standard to represent native Bitcoin, Ethereum, and ERC-20 tokens on ICP: [ckBTC](/defi/chain-key-tokens/ckbtc/overview), [ckETH](/defi/chain-key-tokens/cketh/overview), and [ckERC20](/defi/chain-key-tokens/ckerc20/overview). These tokens are digital twins of their corresponding native token and are backed 1:1 by the native assets which are managed 100% onchain through a canister smart contract without any intermediaries. -- **[EVM RPC canister](/building-apps/chain-fusion/ethereum/evm-rpc/evm-rpc-canister)**: A canister smart contract providing an onchain API for communicating with [Ethereum](https://ethereum.org/en/) or any other [EVM blockchain](https://chainlist.org/?testnets=true). +- **[EVM RPC canister](/defi/chain-fusion/ethereum/evm-rpc/evm-rpc-canister)**: A canister smart contract providing an onchain API for communicating with [Ethereum](https://ethereum.org/en/) or any other [EVM blockchain](https://chainlist.org/?testnets=true). - **[Threshold signatures](/references/t-sigs-how-it-works)**: An ICP service implementing the threshold ECDSA and threshold Schnorr protocols. diff --git a/docs/building-apps/chain-fusion/solana/overview.mdx b/docs/defi/chain-fusion/solana/overview.mdx similarity index 100% rename from docs/building-apps/chain-fusion/solana/overview.mdx rename to docs/defi/chain-fusion/solana/overview.mdx diff --git a/docs/building-apps/chain-fusion/supported-chains.mdx b/docs/defi/chain-fusion/supported-chains.mdx similarity index 93% rename from docs/building-apps/chain-fusion/supported-chains.mdx rename to docs/defi/chain-fusion/supported-chains.mdx index f6d3c191e1..35f9abb19d 100644 --- a/docs/building-apps/chain-fusion/supported-chains.mdx +++ b/docs/defi/chain-fusion/supported-chains.mdx @@ -76,8 +76,8 @@ but they are supported in the same way as Ethereum through the EVM RPC canister. | Bitcoin | [ECDSA, Schnorr](/build-on-btc/btc-transactions/generate-addresses) | Direct | [ckBTC](/defi/chain-key-tokens/ckbtc/overview) | | | Cardano | ECDSA, EdDSA, Schnorr | [RPC via HTTPS outcalls](/building-apps/network-features/using-http/https-outcalls/overview) | | | Cosmos | [ECDSA, EdDSA](https://docs.cosmos.network/v0.50/learn/beginner/accounts) | [RPC via HTTPS outcalls](/building-apps/network-features/using-http/https-outcalls/overview) | | -| Dogecoin | [ECDSA](https://dfinity.github.io/dogecoin-canister) | [Direct](/building-apps/chain-fusion/dogecoin/overview) | ckDOGE (upcoming) | -| Ethereum | [ECDSA](/building-apps/chain-fusion/ethereum/using-eth/generating-addresses) | [EVM RPC](/building-apps/chain-fusion/ethereum/evm-rpc/overview.mdx), [ic-web3-rs](https://github.com/horizonx-tech/ic-web3-rs) | [ckETH](/defi/chain-key-tokens/cketh/overview), [ckERC20](/defi/chain-key-tokens/ckerc20/overview) | +| Dogecoin | [ECDSA](https://dfinity.github.io/dogecoin-canister) | [Direct](/defi/chain-fusion/dogecoin/overview) | ckDOGE (upcoming) | +| Ethereum | [ECDSA](/defi/chain-fusion/ethereum/using-eth/generating-addresses) | [EVM RPC](/defi/chain-fusion/ethereum/evm-rpc/overview.mdx), [ic-web3-rs](https://github.com/horizonx-tech/ic-web3-rs) | [ckETH](/defi/chain-key-tokens/cketh/overview), [ckERC20](/defi/chain-key-tokens/ckerc20/overview) | | Filecoin | [ECDSA](https://spec.filecoin.io/algorithms/crypto/signatures/)| [RPC via HTTPS outcalls](/building-apps/network-features/using-http/https-outcalls/overview) | | | Hedera | [ECDSA, EdDSA](https://docs.hedera.com/hedera/core-concepts/keys-and-signatures)| [RPC via HTTPS outcalls](/building-apps/network-features/using-http/https-outcalls/overview) | | | Kaspa | [ECDSA](https://github.com/kaspanet/go-secp256k1/blob/master/ecdsa_privkey.go) | [RPC via HTTPS outcalls](/building-apps/network-features/using-http/https-outcalls/overview) | | diff --git a/docs/defi/overview.mdx b/docs/defi/overview.mdx index 0fb2543303..2e1e165638 100644 --- a/docs/defi/overview.mdx +++ b/docs/defi/overview.mdx @@ -9,7 +9,7 @@ import { GlossaryTooltip } from "/src/components/Tooltip/GlossaryTooltip"; -The Internet Computer Protocol is positioned as an appealing DeFi platform thanks to its unique [chain-key signatures](https://learn.internetcomputer.org/hc/en-us/articles/34209486239252-Chain-Key-Cryptography) and [ability to communicate directly with other blockchain networks](/building-apps/chain-fusion/overview). +The Internet Computer Protocol is positioned as an appealing DeFi platform thanks to its unique [chain-key signatures](https://learn.internetcomputer.org/hc/en-us/articles/34209486239252-Chain-Key-Cryptography) and [ability to communicate directly with other blockchain networks](/defi/chain-fusion/overview). Using chain-key signatures, canisters can sign and submit transactions directly on other blockchains, hold assets, and seamlessly swap between tokens like BTC and ETH and their chain-key counterparts, ckBTC and ckETH. diff --git a/docs/defi/sidebar.js b/docs/defi/sidebar.js index 9b4b4d79f2..179a90b69f 100644 --- a/docs/defi/sidebar.js +++ b/docs/defi/sidebar.js @@ -82,6 +82,67 @@ const defiSidebar = [ }, "defi/token-indexes/index", "defi/defi-best-practices", + { + type: "category", + label: "Chain Fusion", + link: { + type: "doc", + id: "defi/chain-fusion/overview", + }, + items: [ + "defi/chain-fusion/supported-chains", + { + type: "doc", + label: "Bitcoin", + id: "build-on-btc/index", + }, + { + type: "doc", + label: "Dogecoin", + id: "defi/chain-fusion/dogecoin/overview", + }, + { + type: "category", + label: "Ethereum & EVM chains", + link: { + type: "doc", + id: "defi/chain-fusion/ethereum/overview", + }, + items: [ + "defi/chain-fusion/ethereum/using-eth/eth-comparison", + "defi/chain-fusion/ethereum/using-eth/eth-dev-workflow", + { + type: "category", + label: "Interacting with Ethereum", + items: [ + "defi/chain-fusion/ethereum/using-eth/generating-addresses", + "defi/chain-fusion/ethereum/using-eth/signing-transactions", + "defi/chain-fusion/ethereum/using-eth/submit-transactions", + ], + }, + { + type: "category", + label: "EVM RPC canister", + link: { + type: "doc", + id: "defi/chain-fusion/ethereum/evm-rpc/overview", + }, + items: [ + "defi/chain-fusion/ethereum/evm-rpc/how-it-works", + "defi/chain-fusion/ethereum/evm-rpc/evm-rpc-canister", + "defi/chain-fusion/ethereum/evm-rpc/costs", + ], + }, + ], + }, + { + type: "doc", + label: "Solana", + id: "defi/chain-fusion/solana/overview", + }, + "defi/chain-fusion/examples", + ], + }, { type: "category", label: "Chain-key tokens", diff --git a/docs/tutorials/developer-liftoff/level-5/5.2-ICP-ETH-tutorial.mdx b/docs/tutorials/developer-liftoff/level-5/5.2-ICP-ETH-tutorial.mdx index 4848eed121..da29de33d0 100644 --- a/docs/tutorials/developer-liftoff/level-5/5.2-ICP-ETH-tutorial.mdx +++ b/docs/tutorials/developer-liftoff/level-5/5.2-ICP-ETH-tutorial.mdx @@ -232,13 +232,13 @@ Some JSON-RPC APIs may only return a `NonceTooLow` status when successfully subm - [View the full Github repo for this starter project](https://github.com/rvanasa/vite-react-motoko/tree/evm-rpc). -- [How it works: EVM RPC canister](/building-apps/chain-fusion/ethereum/evm-rpc/how-it-works). +- [How it works: EVM RPC canister](/defi/chain-fusion/ethereum/evm-rpc/how-it-works). -- [Using the EVM RPC canister](/building-apps/chain-fusion/ethereum/evm-rpc/evm-rpc-canister). +- [Using the EVM RPC canister](/defi/chain-fusion/ethereum/evm-rpc/evm-rpc-canister). -- [Costs of RPC requests](/building-apps/chain-fusion/ethereum/evm-rpc/costs). +- [Costs of RPC requests](/defi/chain-fusion/ethereum/evm-rpc/costs). -- [Samples using the EVM RPC canister](/building-apps/chain-fusion/ethereum/evm-rpc/evm-rpc-canister). +- [Samples using the EVM RPC canister](/defi/chain-fusion/ethereum/evm-rpc/evm-rpc-canister). import TutorialFooter from "@site/src/components/TutorialFooter/"; diff --git a/sidebars.js b/sidebars.js index 376bb4041b..88a361b19c 100644 --- a/sidebars.js +++ b/sidebars.js @@ -384,67 +384,6 @@ const sidebars = { }, ], }, - { - type: "category", - label: "Chain Fusion", - link: { - type: "doc", - id: "building-apps/chain-fusion/overview", - }, - items: [ - "building-apps/chain-fusion/supported-chains", - { - type: "doc", - label: "Bitcoin", - id: "build-on-btc/index", - }, - { - type: "doc", - label: "Dogecoin", - id: "building-apps/chain-fusion/dogecoin/overview", - }, - { - type: "category", - label: "Ethereum & EVM chains", - link: { - type: "doc", - id: "building-apps/chain-fusion/ethereum/overview", - }, - items: [ - "building-apps/chain-fusion/ethereum/using-eth/eth-comparison", - "building-apps/chain-fusion/ethereum/using-eth/eth-dev-workflow", - { - type: "category", - label: "Interacting with Ethereum", - items: [ - "building-apps/chain-fusion/ethereum/using-eth/generating-addresses", - "building-apps/chain-fusion/ethereum/using-eth/signing-transactions", - "building-apps/chain-fusion/ethereum/using-eth/submit-transactions", - ], - }, - { - type: "category", - label: "EVM RPC canister", - link: { - type: "doc", - id: "building-apps/chain-fusion/ethereum/evm-rpc/overview", - }, - items: [ - "building-apps/chain-fusion/ethereum/evm-rpc/how-it-works", - "building-apps/chain-fusion/ethereum/evm-rpc/evm-rpc-canister", - "building-apps/chain-fusion/ethereum/evm-rpc/costs", - ], - }, - ], - }, - { - type: "doc", - label: "Solana", - id: "building-apps/chain-fusion/solana/overview", - }, - "building-apps/chain-fusion/examples", - ], - }, { type: "category", label: "Security", From 7e9e61d43117713d7e25e5e818ca384d5783d1ef Mon Sep 17 00:00:00 2001 From: Islam El-Ashi Date: Tue, 20 Jan 2026 17:09:24 +0300 Subject: [PATCH 2/2] fix redirects --- plugins/utils/redirects.js | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/utils/redirects.js b/plugins/utils/redirects.js index 4dbf11f31f..b48d44adf5 100644 --- a/plugins/utils/redirects.js +++ b/plugins/utils/redirects.js @@ -485,6 +485,7 @@ const redirects = ` /current/developer-docs/defi/nfts/overview https://internetcomputer.zendesk.com/hc/en-us /current/developer-docs/defi/overview /defi/overview /current/developer-docs/defi/token_integrations/ /defi/overview + /building-apps/chain-fusion/* /defi/chain-fusion/:splat ## Rosetta /current/developer-docs/defi/rosetta/overview /defi/rosetta/icp_rosetta/