From 8df706b90f54c5e2d22649d07a682758dbcac3b8 Mon Sep 17 00:00:00 2001 From: Alice Date: Mon, 28 Sep 2026 01:11:12 +0700 Subject: [PATCH] docs: remove orphaned content components and stale shared content BlockExplorersContentWrapper, BridgesContentWrapper and CrosschainContentWrapper are not imported by any page, and neither is _badges.mdx. Their shared content copies are stale (Sepolia-only, dead explorer/bridge/faucet links) while the live pages under src/pages/tools carry their own up-to-date content, so the dead copies are removed instead of fixed. --- .../BlockExplorersContentWrapper.tsx | 10 --- src/components/BridgesContentWrapper.tsx | 10 --- src/components/CrosschainContentWrapper.tsx | 10 --- src/content/shared/_badges.mdx | 70 ------------------- .../shared/block-explorers-content.mdx | 21 ------ src/content/shared/bridges-content.mdx | 27 ------- src/content/shared/crosschain-content.mdx | 7 -- 7 files changed, 155 deletions(-) delete mode 100644 src/components/BlockExplorersContentWrapper.tsx delete mode 100644 src/components/BridgesContentWrapper.tsx delete mode 100644 src/components/CrosschainContentWrapper.tsx delete mode 100644 src/content/shared/_badges.mdx delete mode 100644 src/content/shared/block-explorers-content.mdx delete mode 100644 src/content/shared/bridges-content.mdx delete mode 100644 src/content/shared/crosschain-content.mdx diff --git a/src/components/BlockExplorersContentWrapper.tsx b/src/components/BlockExplorersContentWrapper.tsx deleted file mode 100644 index acd04668..00000000 --- a/src/components/BlockExplorersContentWrapper.tsx +++ /dev/null @@ -1,10 +0,0 @@ -import CopyableCode from "@/components/CopyableCode"; -import BlockExplorersContent from "@/content/shared/block-explorers-content.mdx"; - -export function BlockExplorersContentWrapper() { - const components = { - CopyableCode, - }; - - return ; -} diff --git a/src/components/BridgesContentWrapper.tsx b/src/components/BridgesContentWrapper.tsx deleted file mode 100644 index 3f19d44d..00000000 --- a/src/components/BridgesContentWrapper.tsx +++ /dev/null @@ -1,10 +0,0 @@ -import CopyableCode from "@/components/CopyableCode"; -import BridgesContent from "@/content/shared/bridges-content.mdx"; - -export function BridgesContentWrapper() { - const components = { - CopyableCode, - }; - - return ; -} diff --git a/src/components/CrosschainContentWrapper.tsx b/src/components/CrosschainContentWrapper.tsx deleted file mode 100644 index 76781080..00000000 --- a/src/components/CrosschainContentWrapper.tsx +++ /dev/null @@ -1,10 +0,0 @@ -import CopyableCode from "@/components/CopyableCode"; -import CrosschainContent from "@/content/shared/crosschain-content.mdx"; - -export function CrosschainContentWrapper() { - const components = { - CopyableCode, - }; - - return ; -} diff --git a/src/content/shared/_badges.mdx b/src/content/shared/_badges.mdx deleted file mode 100644 index 6fc0edd2..00000000 --- a/src/content/shared/_badges.mdx +++ /dev/null @@ -1,70 +0,0 @@ -# Badges - -## Welcome To Ink - -> Awarded for bridging Ethereum to Ink. - -To bridge Ethereum, you can use the `L1StandardBridge` on the sepolia network crafted for Ink. - -There are two ways to do it: - -### Gelato Bridge app - -The app provides a very simple UI to deposit or withdraw SepoliaETH from and to Sepolia Ink. - -Here is the app: [https://testnet-bridge.gelato.network/bridge/ink-sepolia](https://testnet-bridge.gelato.network/bridge/ink-sepolia) - -Connect your wallet, select the amount to transfer, and that's it! - -### Directly calling the contract - -You can call the `bridgeETH` method in the contract here: [https://sepolia.etherscan.io/address/0xC0d337f71aD19a8f17a1b297cDb3a86c5EEf9Eec#writeProxyContract](https://sepolia.etherscan.io/address/0xC0d337f71aD19a8f17a1b297cDb3a86c5EEf9Eec#writeProxyContract) - -For instance, if you want to bridge 1 Sepolia ETH into 1 Sepolia "Ink" ETH: - -1. Connect your Wallet using the "Connect to Wallet" button -2. Expand the `bridgeETH` method and enter `bridgeETH: 1` -3. Enter `_minGasLimit: 1000` (or whatever suits you) -4. Enter `_extraData: 0x00` -5. Click "Write", then validate the transaction in MetaMask, then sign it to complete the transaction. - -## Wrapped ETH - -> Awarded for wrapping Ethereum into WETH. - -To create Wrapped ETH tokens (WETH), you can interact with the `deposit` method in the contract here: [https://explorer-sepolia.inkonchain.com/token/0x47d1f931eaff721549cc0ad57da81729baa8b4b2?tab=write\_contract](https://explorer-sepolia.inkonchain.com/token/0x47d1f931eaff721549cc0ad57da81729baa8b4b2?tab=write_contract) - -1. Connect your Wallet using the button -2. Expand the `deposit` method and enter `Send native ETH: 10 000 000 000 000 000`. - -* This is equivalent to 0.01 ETH, adjust as needed - -3. Click "Write", then validate the transaction in MetaMask, then sign it to complete the transaction. - -If you want the token to appear in MetaMask, click on the MetaMask button at the top of the page - -## ERC20 Interactions - -> Awarded for minting, sending, and receiving ERC20 tokens. - -*coming soon* - -## NFT Interactions - -> Awarded for minting, sending, and receiving NFTs. - -*coming soon* - -## Faucet User - -> Awarded for using the Ink faucet. - -Get here: [https://mystery-faucet.inkonchain.com/](https://mystery-faucet.inkonchain.com/) - -Enter your address, enter the captcha, that's it! - -## Smart Contract Deployer - -> Awarded for deploying a smart contract. - -*coming soon* diff --git a/src/content/shared/block-explorers-content.mdx b/src/content/shared/block-explorers-content.mdx deleted file mode 100644 index 6444d7e8..00000000 --- a/src/content/shared/block-explorers-content.mdx +++ /dev/null @@ -1,21 +0,0 @@ -## Blockscout - -Blockscout is a universal block explorer providing detailed chain information and tools for debugging smart contracts and transactions. Visit the [Blockscout Docs](https://docs.blockscout.com/) for details. - -###### Supported Networks - -* Ink Sepolia: [https://explorer-sepolia.inkonchain.com/](https://explorer-sepolia.inkonchain.com/) - * API: [https://explorer-sepolia.inkonchain.com/api](https://explorer-sepolia.inkonchain.com/api) - -###### Verifying Smart Contract Code on Blockscout - -* Please see [this tutorial](/build/tutorials/verify-smart-contract) - -## Routescan - -Routescan is a unified explorer for over 54 blockchains. - -###### Supported Networks - -* Ink Sepolia: [https://sepolia.inkonscan.xyz/](https://sepolia.inkonscan.xyz/) - * API: [https://sepolia.inkonscan.xyz/documentation/api-swagger](https://sepolia.inkonscan.xyz/documentation/api-swagger) diff --git a/src/content/shared/bridges-content.mdx b/src/content/shared/bridges-content.mdx deleted file mode 100644 index b9bd7178..00000000 --- a/src/content/shared/bridges-content.mdx +++ /dev/null @@ -1,27 +0,0 @@ -import { Callout } from 'nextra/components' - -# Bridges -These bridges provide different interfaces to the canonical smart contracts that facilitate migrating ETH from one chain to another. - - -Transaction times vary based on network congestion and gas fees. Please ensure you have enough ETH in your wallet to cover transaction fees. - - -##### How to use -1. Visit the bridge and connect your wallet. -2. Choose Sepolia as your source and Ink as the destination. -3. Input the amount of assets you want to bridge. -4. Confirm and sign the transaction with your wallet. -5. Once the bridging is complete, the assets will appear in your wallet on Ink. - -## Gelato bridge -Bridge: [https://bridge-gel-sepolia.inkonchain.com/](https://bridge-gel-sepolia.inkonchain.com/) - -## Ink Bridge -Bridge: [https://inkonchain.com/bridge](https://inkonchain.com/bridge) - -## Brid.gg -Bridge: [https://testnet.brid.gg/](https://testnet.brid.gg/) - -## Superbridge -Bridge: [https://superbridge.app/](https://superbridge.app/) (enable testnet in settings) diff --git a/src/content/shared/crosschain-content.mdx b/src/content/shared/crosschain-content.mdx deleted file mode 100644 index 7a0d2585..00000000 --- a/src/content/shared/crosschain-content.mdx +++ /dev/null @@ -1,7 +0,0 @@ -# Crosschain Infrastructure - -## Wormhole - -Wormhole is an interoperability platform powering multichain apps and bridges. - -* Wormhole currently supports Ink Mainnet and Ink Sepolia.