From 8c3c7e621def32980dc9af5b6b594d0e287fae62 Mon Sep 17 00:00:00 2001 From: Yejin Kelly Joo Date: Tue, 16 Sep 2025 16:09:12 +0900 Subject: [PATCH 1/4] docs: update `official links` page to include WebSocket RPC contact information and format RPC Endpoint as a hyperlink in multiple languages. Signed-off-by: Yejin Kelly Joo --- Jenkinsfile | 3 +-- docs/other/official-links.md | 3 ++- .../current/other/official-links.md | 3 ++- .../current/other/official-links.md | 3 ++- .../current/other/official-links.md | 3 ++- 5 files changed, 9 insertions(+), 6 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 18e7c19..8d45cdc 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -5,7 +5,6 @@ pipeline { agent { label 'linux' } options { - disableRestartFromStage() disableConcurrentBuilds() /* manage how many builds we keep */ buildDiscarder(logRotator( @@ -62,4 +61,4 @@ pipeline { def isMasterBranch() { GIT_BRANCH ==~ /.*master/ } def deployBranch() { isMasterBranch() ? 'deploy-master' : 'deploy-develop' } -def deployDomain() { isMasterBranch() ? 'docs.status.network' : 'dev-docs.status.network' } +def deployDomain() { isMasterBranch() ? 'docs.status.network' : 'dev-docs.status.network' } \ No newline at end of file diff --git a/docs/other/official-links.md b/docs/other/official-links.md index 1980cb7..a5a03d1 100644 --- a/docs/other/official-links.md +++ b/docs/other/official-links.md @@ -16,7 +16,8 @@ This page contains all the official links for the Status Network ecosystem. ## Network Tools - **Bridge**: [bridge.status.network](https://bridge.status.network) - **Block Explorer**: [sepoliascan.status.network](https://sepoliascan.status.network) -- **RPC Endpoint**: `https://public.sepolia.rpc.status.network` +- **RPC Endpoint**: [public.sepolia.rpc.status.network](https://public.sepolia.rpc.status.network) +- **WebSocket RPC**: Get in touch with us on [Telegram](https://t.me/statusl2) to get a websocket RPC - **Faucet**: [faucet.status.network](https://faucet.status.network) ## Development Resources diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/other/official-links.md b/i18n/ja/docusaurus-plugin-content-docs/current/other/official-links.md index 6806bba..a8a8b42 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/other/official-links.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/other/official-links.md @@ -10,7 +10,8 @@ ## ネットワークツール - **ブリッジ**: [bridge.status.network](https://bridge.status.network) - **ブロックエクスプローラー**: [sepoliascan.status.network](https://sepoliascan.status.network) -- **RPCエンドポイント**: `https://public.sepolia.rpc.status.network` +- **RPCエンドポイント**: [public.sepolia.rpc.status.network](https://public.sepolia.rpc.status.network) +- **WebSocket RPC**: WebSocket RPC を取得するには [Telegram](https://t.me/statusl2) でご連絡ください - **フォーセット**: [faucet.status.network](https://faucet.status.network) ## 開発リソース diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/other/official-links.md b/i18n/ko/docusaurus-plugin-content-docs/current/other/official-links.md index 5989afe..651dc47 100644 --- a/i18n/ko/docusaurus-plugin-content-docs/current/other/official-links.md +++ b/i18n/ko/docusaurus-plugin-content-docs/current/other/official-links.md @@ -10,7 +10,8 @@ ## 네트워크 도구 - **브리지**: [bridge.status.network](https://bridge.status.network) - **블록 탐색기**: [sepoliascan.status.network](https://sepoliascan.status.network) -- **RPC 엔드포인트**: `https://public.sepolia.rpc.status.network` +- **RPC 엔드포인트**: [public.sepolia.rpc.status.network](https://public.sepolia.rpc.status.network) +- **WebSocket RPC**: WebSocket RPC가 필요하시면 [Telegram](https://t.me/statusl2)으로 문의해주세요 - **수도꼭지**: [faucet.status.network](https://faucet.status.network) ## 개발 리소스 diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/other/official-links.md b/i18n/zh/docusaurus-plugin-content-docs/current/other/official-links.md index 349f203..d9762f4 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/other/official-links.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/other/official-links.md @@ -10,7 +10,8 @@ ## 网络工具 - **跨链桥**: [bridge.status.network](https://bridge.status.network) - **区块浏览器**: [sepoliascan.status.network](https://sepoliascan.status.network) -- **RPC 端点**: `https://public.sepolia.rpc.status.network` +- **RPC 端点**: [public.sepolia.rpc.status.network](https://public.sepolia.rpc.status.network) +- **WebSocket RPC**: 如需 WebSocket RPC,请通过 [Telegram](https://t.me/statusl2) 联系我们 - **水龙头**: [faucet.status.network](https://faucet.status.network) ## 开发资源 From 348aeef3479a26440a486e6857c72de2e2bb72f7 Mon Sep 17 00:00:00 2001 From: nadeemb53 Date: Mon, 22 Sep 2025 19:24:22 +0530 Subject: [PATCH 2/4] added copycell react components, changed official links list to a table --- docs/general-info/network-details.md | 11 ++--- docs/other/official-links.md | 39 ++++++++++++------ src/components/CopyCell.tsx | 61 ++++++++++++++++++++++++++++ yarn.lock | 13 ++---- 4 files changed, 98 insertions(+), 26 deletions(-) create mode 100644 src/components/CopyCell.tsx diff --git a/docs/general-info/network-details.md b/docs/general-info/network-details.md index 52c368d..0d8d6eb 100644 --- a/docs/general-info/network-details.md +++ b/docs/general-info/network-details.md @@ -6,6 +6,7 @@ keywords: [Status Network, network details, RPC endpoint, Chain ID, testnet conf --- import AddToMetaMask from '@site/src/components/AddToMetaMask'; +import CopyCell from '@site/src/components/CopyCell'; # Network Details @@ -14,12 +15,12 @@ import AddToMetaMask from '@site/src/components/AddToMetaMask'; | Name | Value | |---------------------|-------------------------------------------| | **Network Name** | Status Network Testnet | -| **RPC Endpoint** | https://public.sepolia.rpc.status.network | -| **Chain ID** | 1660990954 | -| **Chain ID (Hex)** | 0x6300b5ea | +| **RPC Endpoint** | https://public.sepolia.rpc.status.network | +| **Chain ID** | 1660990954 | +| **Chain ID (Hex)** | 0x6300b5ea | | **Currency Symbol** | ETH | -| **Block Explorer** | https://sepoliascan.status.network | -| **Bridge** | https://bridge.status.network | +| **Block Explorer** | https://sepoliascan.status.network | +| **Bridge** | https://bridge.status.network | | **WebSocket RPC** | Get in touch with us on [Telegram](https://t.me/statusl2) to get a websocket RPC | diff --git a/docs/other/official-links.md b/docs/other/official-links.md index a5a03d1..eb3fbb9 100644 --- a/docs/other/official-links.md +++ b/docs/other/official-links.md @@ -4,28 +4,43 @@ description: Complete directory of official Status Network resources, including keywords: [Status Network links, official resources, network tools, development resources, community links, blockchain explorer, bridge, faucet] --- +import CopyCell from '@site/src/components/CopyCell'; + # Official Links This page contains all the official links for the Status Network ecosystem. ## Main Resources -- **Website**: [status.network](https://status.network) -- **Documentation**: [docs.status.network](https://docs.status.network) -- **GitHub**: [github.com/status-im](https://github.com/status-im) + +| Name | Link | +|---|---| +| Website | [status.network](https://status.network) | +| Documentation | [docs.status.network](https://docs.status.network) | +| GitHub | [github.com/status-im](https://github.com/status-im) | +| Monorepo | [github.com/status-im/status-network-monorepo](https://github.com/status-im/status-network-monorepo) | ## Network Tools -- **Bridge**: [bridge.status.network](https://bridge.status.network) -- **Block Explorer**: [sepoliascan.status.network](https://sepoliascan.status.network) -- **RPC Endpoint**: [public.sepolia.rpc.status.network](https://public.sepolia.rpc.status.network) -- **WebSocket RPC**: Get in touch with us on [Telegram](https://t.me/statusl2) to get a websocket RPC -- **Faucet**: [faucet.status.network](https://faucet.status.network) + +| Name | Link | +|---|---| +| Bridge | [bridge.status.network](https://bridge.status.network) | +| Block Explorer | [sepoliascan.status.network](https://sepoliascan.status.network) | +| RPC Endpoint | [public.sepolia.rpc.status.network](https://public.sepolia.rpc.status.network) | +| WebSocket RPC | Get in touch with us on [Telegram](https://t.me/statusl2) to get a websocket RPC | +| Faucet | [faucet.status.network](https://faucet.status.network) | ## Development Resources -- **Token List Repository**: [github.com/status-im/status-network-token-list](https://github.com/status-im/status-network-token-list) -- **Contract Verification**: [sepoliascan.status.network/verify-contract](https://sepoliascan.status.network/contract-verification) + +| Name | Link | +|---|---| +| Token List Repository | [github.com/status-im/status-network-token-list](https://github.com/status-im/status-network-token-list) | +| Contract Verification | [sepoliascan.status.network/contract-verification](https://sepoliascan.status.network/contract-verification) | ## Community & Support -- **Telegram Community**: [t.me/statusl2](https://t.me/statusl2) -- **X/twitter**: [x.com/statusL2](https://x.com/statusL2) + +| Name | Link | +|---|---| +| Telegram Community | [t.me/statusl2](https://t.me/statusl2) | +| X/twitter | [x.com/statusL2](https://x.com/statusL2) | For detailed information about adding the network to your wallet, see our [Add Network guide](/general-info/add-status-network). diff --git a/src/components/CopyCell.tsx b/src/components/CopyCell.tsx new file mode 100644 index 0000000..d462749 --- /dev/null +++ b/src/components/CopyCell.tsx @@ -0,0 +1,61 @@ +import React, { useState } from 'react'; + +type CopyCellProps = { + text: string; + ariaLabel?: string; +}; + +export default function CopyCell({ text, ariaLabel }: CopyCellProps): JSX.Element { + const [copied, setCopied] = useState(false); + + const handleCopy = async () => { + try { + if (typeof navigator !== 'undefined' && navigator.clipboard && navigator.clipboard.writeText) { + await navigator.clipboard.writeText(text); + } else { + const tempTextArea = document.createElement('textarea'); + tempTextArea.value = text; + tempTextArea.setAttribute('readonly', ''); + tempTextArea.style.position = 'absolute'; + tempTextArea.style.left = '-9999px'; + document.body.appendChild(tempTextArea); + tempTextArea.select(); + document.execCommand('copy'); + document.body.removeChild(tempTextArea); + } + setCopied(true); + window.setTimeout(() => setCopied(false), 1500); + } catch (err) { + // Swallow errors to avoid noisy UX; console for debugging + // eslint-disable-next-line no-console + console.error('Copy failed', err); + } + }; + + return ( + + ); +} + + diff --git a/yarn.lock b/yarn.lock index d33c488..3350760 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4430,15 +4430,10 @@ caniuse-api@^3.0.0: lodash.memoize "^4.1.2" lodash.uniq "^4.5.0" -caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001646, caniuse-lite@^1.0.30001669: - version "1.0.30001669" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001669.tgz#fda8f1d29a8bfdc42de0c170d7f34a9cf19ed7a3" - integrity sha512-DlWzFDJqstqtIVx1zeSpIMLjunf5SmwOw0N2Ck/QSQdS8PLS4+9HrLaYei4w8BIAL7IB/UEDu889d8vhCTPA0w== - -caniuse-lite@^1.0.30001702, caniuse-lite@^1.0.30001716: - version "1.0.30001718" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001718.tgz#dae13a9c80d517c30c6197515a96131c194d8f82" - integrity sha512-AflseV1ahcSunK53NfEs9gFWgOEmzr0f+kaMFA4xiLZlr9Hzt7HxcSpIFcnNCUkz6R6dWKa54rUz3HUmI3nVcw== +caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001646, caniuse-lite@^1.0.30001669, caniuse-lite@^1.0.30001702, caniuse-lite@^1.0.30001716: + version "1.0.30001743" + resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001743.tgz" + integrity sha512-e6Ojr7RV14Un7dz6ASD0aZDmQPT/A+eZU+nuTNfjqmRrmkmQlnTNWH0SKmqagx9PeW87UVqapSurtAXifmtdmw== ccount@^2.0.0: version "2.0.1" From dce1e6e908ba4dcd8c85f9ce878a7ce816e7ae2b Mon Sep 17 00:00:00 2001 From: yjkellyjoo Date: Wed, 22 Oct 2025 21:12:58 +0200 Subject: [PATCH 3/4] feat: add tutorial for deploying contracts using Scaffold-ETH 2 on Status Network Sepolia Signed-off-by: yjkellyjoo --- .../deploying-contracts/using-se2.md | 61 +++++++++++++++++++ sidebars.ts | 5 ++ 2 files changed, 66 insertions(+) create mode 100644 docs/tutorials/deploying-contracts/using-se2.md diff --git a/docs/tutorials/deploying-contracts/using-se2.md b/docs/tutorials/deploying-contracts/using-se2.md new file mode 100644 index 0000000..e1819fe --- /dev/null +++ b/docs/tutorials/deploying-contracts/using-se2.md @@ -0,0 +1,61 @@ +--- +title: Using Scaffold-ETH 2 with Status Network +description: Quick start guide for deploying smart contracts on Status Network using the pre-configured Scaffold-ETH 2 extension. +keywords: [Scaffold-ETH 2, smart contract deployment, Status Network development, Foundry, Hardhat, NextJS, web3 development] +--- + +# Using Scaffold-ETH 2 to Deploy Smart Contracts + +The [Status Network Scaffold-ETH 2 extension](https://github.com/status-im/status-network-scaffold-extension) provides a pre-configured setup for deploying smart contracts on Status Network with both Foundry and Hardhat support, plus a NextJS frontend. + +## Prerequisites + +- **Yarn**: Package manager for JavaScript projects +- **Foundry** (optional): If you choose the Foundry workflow +- **Ethereum Wallet** (optional): An EVM wallet private key for test, but it's okay if you don't have one + +> **Note**: Status Network supports gasless transactions, so testnet ETH is optional. If you still need testnet ETH, get it from our [Faucet](/tools/testnet-faucets). + +## Quick Start + +1. **Install the extension:** + ```bash + npx create-eth@latest -e status-im/status-network-scaffold-extension + ``` + +2. **Configure your account:** + ```bash + yarn generate + ``` + +3. **Deploy to Status Network:** + ```bash + yarn deploy --network statusSepolia + ``` + +4. **Verify your contract:** + ```bash + # Hardhat + yarn hardhat:hardhat-verify --network statusSepolia + # Foundry + yarn status:verify --network statusSepolia + ``` + +5. **Launch the frontend:** + ```bash + yarn start + ``` + +## Key Points + +- **No local chain needed**: Deploy directly to testnet +- **Always use `--network statusSepolia`** for deployments and verification +- **Blockscout verification**: Status Network uses Blockscout, not Etherscan +- **Pre-configured frontend**: NextJS automatically connects to Status Network + +## Support + +For detailed configuration options, troubleshooting, and advanced usage: +- Check the [extension README](https://github.com/status-im/status-network-scaffold-extension) for comprehensive documentation +- Join our [Telegram Community](https://t.me/statusl2) and ask for support +- View our [Network Details](/general-info/network-details) diff --git a/sidebars.ts b/sidebars.ts index da31fcc..205cf55 100644 --- a/sidebars.ts +++ b/sidebars.ts @@ -149,6 +149,11 @@ const sidebars: SidebarsConfig = { id: 'tutorials/deploying-contracts/using-remix', label: '🎛️ Using Remix', }, + { + type: 'doc', + id: 'tutorials/deploying-contracts/using-se2', + label: '🏗 Using Scaffold-ETH 2', + }, ], }, ], From fd8d1bbd8dfe457d5fe0dbbe4e740b66e7cd9501 Mon Sep 17 00:00:00 2001 From: yjkellyjoo Date: Wed, 22 Oct 2025 21:26:35 +0200 Subject: [PATCH 4/4] feat: add language support Signed-off-by: yjkellyjoo --- .../current.json | 4 ++ .../deploying-contracts/using-se2.md | 61 +++++++++++++++++++ .../current.json | 4 ++ .../deploying-contracts/using-se2.md | 61 +++++++++++++++++++ .../current.json | 4 ++ .../deploying-contracts/using-se2.md | 61 +++++++++++++++++++ 6 files changed, 195 insertions(+) create mode 100644 i18n/ja/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-se2.md create mode 100644 i18n/ko/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-se2.md create mode 100644 i18n/zh/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-se2.md diff --git a/i18n/ja/docusaurus-plugin-content-docs/current.json b/i18n/ja/docusaurus-plugin-content-docs/current.json index e7136da..0499726 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current.json +++ b/i18n/ja/docusaurus-plugin-content-docs/current.json @@ -103,6 +103,10 @@ "message": "🎛️ Remixの使用", "description": "The label for the doc item 🎛️ Using Remix in sidebar tutorialSidebar" }, + "sidebar.tutorialSidebar.doc.🏗 Using Scaffold-ETH 2": { + "message": "🏗 Scaffold-ETH 2 使用", + "description": "The label for the doc item 🏗 Using Scaffold-ETH 2 in sidebar tutorialSidebar" + }, "sidebar.tutorialSidebar.doc.🔗 Official Links": { "message": "🔗 公式リンク", "description": "The label for the doc item 🔗 Official Links in sidebar tutorialSidebar" diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-se2.md b/i18n/ja/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-se2.md new file mode 100644 index 0000000..5c34ddd --- /dev/null +++ b/i18n/ja/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-se2.md @@ -0,0 +1,61 @@ +--- +title: Status NetworkでScaffold-ETH 2を使用する +description: 事前設定されたScaffold-ETH 2拡張機能を使用してStatus Networkでスマートコントラクトをデプロイするためのクイックスタートガイド。 +keywords: [Scaffold-ETH 2, スマートコントラクトデプロイ, Status Network開発, Foundry, Hardhat, NextJS, web3開発] +--- + +# Scaffold-ETH 2を使用したスマートコントラクトのデプロイ + +[Status Network Scaffold-ETH 2拡張機能](https://github.com/status-im/status-network-scaffold-extension)は、FoundryとHardhatの両方のサポート、およびNextJSフロントエンドと共にStatus Networkでスマートコントラクトをデプロイするための事前設定されたセットアップを提供します。 + +## 前提条件 + +- **Yarn**: JavaScriptプロジェクト用のパッケージマネージャー +- **Foundry** (オプション): Foundryワークフローを選択する場合 +- **Ethereumウォレット** (オプション): テスト用のEVMウォレットの秘密鍵ですが、持っていなくても問題ありません + +> **注意**: Status Networkはガスレス取引をサポートしているため、テストネットETHはオプションです。それでもテストネットETHが必要な場合は、[Faucet](/tools/testnet-faucets)から取得してください。 + +## クイックスタート + +1. **拡張機能をインストール:** + ```bash + npx create-eth@latest -e status-im/status-network-scaffold-extension + ``` + +2. **アカウントを設定:** + ```bash + yarn generate + ``` + +3. **Status Networkにデプロイ:** + ```bash + yarn deploy --network statusSepolia + ``` + +4. **コントラクトを検証:** + ```bash + # Hardhat + yarn hardhat:hardhat-verify --network statusSepolia + # Foundry + yarn status:verify --network statusSepolia + ``` + +5. **フロントエンドを起動:** + ```bash + yarn start + ``` + +## 重要なポイント + +- **ローカルチェーンは不要**: テストネットに直接デプロイ +- **デプロイと検証には常に `--network statusSepolia` を使用** +- **Blockscout検証**: Status NetworkはEtherscanではなくBlockscoutを使用 +- **事前設定されたフロントエンド**: NextJSは自動的にStatus Networkに接続 + +## サポート + +詳細な設定オプション、トラブルシューティング、高度な使用方法については: +- 包括的なドキュメントについては[拡張機能README](https://github.com/status-im/status-network-scaffold-extension)を確認 +- [Telegramコミュニティ](https://t.me/statusl2)に参加してサポートを求める +- [ネットワーク詳細](/general-info/network-details)を表示 diff --git a/i18n/ko/docusaurus-plugin-content-docs/current.json b/i18n/ko/docusaurus-plugin-content-docs/current.json index 84c0ff9..09cd903 100644 --- a/i18n/ko/docusaurus-plugin-content-docs/current.json +++ b/i18n/ko/docusaurus-plugin-content-docs/current.json @@ -103,6 +103,10 @@ "message": "🎛️ Remix 사용하기", "description": "The label for the doc item 🎛️ Using Remix in sidebar tutorialSidebar" }, + "sidebar.tutorialSidebar.doc.🏗 Using Scaffold-ETH 2": { + "message": "🏗 Scaffold-ETH 2 사용하기", + "description": "The label for the doc item 🏗 Using Scaffold-ETH 2 in sidebar tutorialSidebar" + }, "sidebar.tutorialSidebar.doc.🔗 Official Links": { "message": "🔗 공식 링크", "description": "The label for the doc item 🔗 Official Links in sidebar tutorialSidebar" diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-se2.md b/i18n/ko/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-se2.md new file mode 100644 index 0000000..416d97c --- /dev/null +++ b/i18n/ko/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-se2.md @@ -0,0 +1,61 @@ +--- +title: Status Network에서 Scaffold-ETH 2 사용하기 +description: 사전 설정된 Scaffold-ETH 2 확장을 사용하여 Status Network에서 스마트 컨트랙트를 빠르게 배포하는 가이드입니다. +keywords: [Scaffold-ETH 2, 스마트 컨트랙트 배포, Status Network 개발, Foundry, Hardhat, NextJS, web3 개발] +--- + +# Scaffold-ETH 2를 사용한 스마트 컨트랙트 배포 + +[Status Network Scaffold-ETH 2 확장](https://github.com/status-im/status-network-scaffold-extension)은 Foundry와 Hardhat 지원, 그리고 NextJS 프론트엔드와 함께 Status Network에서 스마트 컨트랙트를 배포하기 위한 사전 구성된 설정을 제공합니다. + +## 사전 요구사항 + +- **Yarn**: JavaScript 프로젝트용 패키지 매니저 +- **Foundry** (선택사항): Foundry 워크플로우를 선택하는 경우 +- **Ethereum 지갑** (선택사항): 테스트용 EVM 지갑 개인 키, 없어도 가능 + +> **참고**: Status Network는 가스 없는 트랜잭션을 지원하므로 테스트넷 ETH는 선택사항입니다. 여전히 테스트넷 ETH가 필요하다면 [Faucet](/tools/testnet-faucets)를 참고하세요. + +## 빠른 시작 + +1. **확장 설치:** + ```bash + npx create-eth@latest -e status-im/status-network-scaffold-extension + ``` + +2. **계정 구성:** + ```bash + yarn generate + ``` + +3. **Status Network에 배포:** + ```bash + yarn deploy --network statusSepolia + ``` + +4. **컨트랙트 검증:** + ```bash + # Hardhat + yarn hardhat:hardhat-verify --network statusSepolia + # Foundry + yarn status:verify --network statusSepolia + ``` + +5. **프론트엔드 시작:** + ```bash + yarn start + ``` + +## 주요 포인트 + +- **로컬 체인 불필요**: 테스트넷에 직접 배포 +- **배포 및 검증**: 항상 `--network statusSepolia` 옵션 사용 +- **Blockscout 검증**: Status Network는 Etherscan이 아닌 Blockscout 사용 +- **사전 구성된 프론트엔드**: NextJS가 자동으로 Status Network에 연결 + +## 지원 + +자세한 구성 옵션, 문제 해결 및 사용법에 대해서는: +- 포괄적인 문서는 [확장 README](https://github.com/status-im/status-network-scaffold-extension)를 확인하세요 +- [Telegram 커뮤니티](https://t.me/statusl2)에 참여하여 지원을 요청하세요 +- [네트워크 세부사항](/general-info/network-details)을 확인하세요 diff --git a/i18n/zh/docusaurus-plugin-content-docs/current.json b/i18n/zh/docusaurus-plugin-content-docs/current.json index be0705e..007d794 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current.json +++ b/i18n/zh/docusaurus-plugin-content-docs/current.json @@ -103,6 +103,10 @@ "message": "🎛️ 使用 Remix", "description": "The label for the doc item 🎛️ Using Remix in sidebar tutorialSidebar" }, + "sidebar.tutorialSidebar.doc.🏗 Using Scaffold-ETH 2": { + "message": "🏗 Scaffold-ETH 2 使用", + "description": "The label for the doc item 🏗 Using Scaffold-ETH 2 in sidebar tutorialSidebar" + }, "sidebar.tutorialSidebar.doc.🔗 Official Links": { "message": "🔗 官方链接", "description": "The label for the doc item 🔗 Official Links in sidebar tutorialSidebar" diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-se2.md b/i18n/zh/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-se2.md new file mode 100644 index 0000000..5ada969 --- /dev/null +++ b/i18n/zh/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-se2.md @@ -0,0 +1,61 @@ +--- +title: 在Status Network上使用Scaffold-ETH 2 +description: 使用预配置的Scaffold-ETH 2扩展在Status Network上部署智能合约的快速入门指南。 +keywords: [Scaffold-ETH 2, 智能合约部署, Status Network开发, Foundry, Hardhat, NextJS, web3开发] +--- + +# 使用Scaffold-ETH 2部署智能合约 + +[Status Network Scaffold-ETH 2扩展](https://github.com/status-im/status-network-scaffold-extension)提供了预配置的设置,支持Foundry和Hardhat,以及NextJS前端,用于在Status Network上部署智能合约。 + +## 先决条件 + +- **Yarn**: JavaScript项目的包管理器 +- **Foundry** (可选): 如果选择Foundry工作流 +- **以太坊钱包** (可选): 用于测试的EVM钱包私钥,但没有也没关系 + +> **注意**: Status Network支持无gas交易,因此测试网ETH是可选的。如果您仍然需要测试网ETH,请从我们的[水龙头](/tools/testnet-faucets)获取。 + +## 快速开始 + +1. **安装扩展:** + ```bash + npx create-eth@latest -e status-im/status-network-scaffold-extension + ``` + +2. **配置您的账户:** + ```bash + yarn generate + ``` + +3. **部署到Status Network:** + ```bash + yarn deploy --network statusSepolia + ``` + +4. **验证您的合约:** + ```bash + # Hardhat + yarn hardhat:hardhat-verify --network statusSepolia + # Foundry + yarn status:verify --network statusSepolia + ``` + +5. **启动前端:** + ```bash + yarn start + ``` + +## 关键要点 + +- **无需本地链**: 直接部署到测试网 +- **部署和验证始终使用 `--network statusSepolia`** +- **Blockscout验证**: Status Network使用Blockscout,而不是Etherscan +- **预配置前端**: NextJS自动连接到Status Network + +## 支持 + +有关详细配置选项、故障排除和高级用法: +- 查看[扩展README](https://github.com/status-im/status-network-scaffold-extension)获取全面文档 +- 加入我们的[Telegram社区](https://t.me/statusl2)寻求支持 +- 查看我们的[网络详情](/general-info/network-details)