From 73ce629f93451f8ba7f7a4be44c785f9e36e11a2 Mon Sep 17 00:00:00 2001 From: nadeemb53 Date: Fri, 7 Feb 2025 13:53:44 +0530 Subject: [PATCH 1/5] added some content --- docs/general-info/add-status-network.md | 10 +-- .../general-info/bridge/bridge-from-status.md | 1 - docs/general-info/bridge/bridge-to-status.md | 1 - docs/general-info/bridge/bridging-testnet.md | 33 +++++++++- .../contract-addresses/testnet-contracts.md | 45 +++++++++++++- .../general-info/contract-addresses/tokens.md | 13 +++- docs/general-info/network-details.md | 24 ++++--- docs/introduction/quick-start.md | 62 ++++++++++--------- docs/other/audits.md | 1 - docs/other/official-links.md | 24 +++++++ docs/security/security-model.md | 1 - docs/security/security-upgrades.md | 1 - docusaurus.config.ts | 2 +- 13 files changed, 167 insertions(+), 51 deletions(-) delete mode 100644 docs/general-info/bridge/bridge-from-status.md delete mode 100644 docs/general-info/bridge/bridge-to-status.md delete mode 100644 docs/other/audits.md delete mode 100644 docs/security/security-model.md delete mode 100644 docs/security/security-upgrades.md diff --git a/docs/general-info/add-status-network.md b/docs/general-info/add-status-network.md index 48e09e3a..5c6aa652 100644 --- a/docs/general-info/add-status-network.md +++ b/docs/general-info/add-status-network.md @@ -26,10 +26,10 @@ To add **Status Network Testnet** as a custom network to MetaMask: | Name | Value | |------------------|------------------------------------------| | **Network Name** | Status Network Testnet | - | **RPC URL** | | - | **Chain ID** | | + | **RPC URL** | https://public.sepolia.rpc.status.network | + | **Chain ID** | 1660990954 | | **Currency Symbol** | `ETH` | - | **Block Explorer URL** | | + | **Block Explorer URL** | https://sepoliascan.status.network | 5. **Save the Network**: @@ -73,11 +73,11 @@ You should now be able to connect to the Status Network Testnet by selecting it - [Status Network Website](https://status.network/) - [Status Network Documentation](https://docs.status.network/) - - [Status Network Explorer](#) + - [Status Network Testnet Explorer](https://sepoliascan.status.network) - **Need Help?** - - If you encounter any issues, please join our [Community Discord](https://discord.gg/status_im). + - If you encounter any issues, please join our [Telegram](https://t.me/+k04A_OZbhIs1Mzc9) for support. --- diff --git a/docs/general-info/bridge/bridge-from-status.md b/docs/general-info/bridge/bridge-from-status.md deleted file mode 100644 index 68882076..00000000 --- a/docs/general-info/bridge/bridge-from-status.md +++ /dev/null @@ -1 +0,0 @@ -# Bridge From Status \ No newline at end of file diff --git a/docs/general-info/bridge/bridge-to-status.md b/docs/general-info/bridge/bridge-to-status.md deleted file mode 100644 index b584d3bb..00000000 --- a/docs/general-info/bridge/bridge-to-status.md +++ /dev/null @@ -1 +0,0 @@ -# Bridge To Status \ No newline at end of file diff --git a/docs/general-info/bridge/bridging-testnet.md b/docs/general-info/bridge/bridging-testnet.md index ab7d6827..c7f8a656 100644 --- a/docs/general-info/bridge/bridging-testnet.md +++ b/docs/general-info/bridge/bridging-testnet.md @@ -1 +1,32 @@ -# Bridging Testnet \ No newline at end of file +# Bridging to Status Network Testnet + +The Status Network bridge allows you to transfer tokens between Sepolia and Status Network testnet. The bridge is deployed at [bridge.status.network](https://bridge.status.network). + +## Prerequisites + +- MetaMask or another Web3 wallet installed +- Some testnet ETH on Sepolia network +- The token you want to bridge on Sepolia network + +## Bridging Process + +1. Visit [bridge.status.network](https://bridge.status.network) + +2. Connect your wallet by clicking the "Connect Wallet" button in the top right corner + +3. Select the token you want to bridge from the dropdown menu + +4. Enter the amount you want to bridge + +5. Click "Bridge" and confirm the transaction in your wallet + +6. Wait for the bridging process to complete + - Bridging typically takes about 5-10 minutes + - You can track the status of your bridge transaction on the bridge interface + +## Important Notes + +- Always verify you're on the correct website (bridge.status.network) before initiating any transactions +- Start with a small amount to test the bridge before transferring larger amounts +- Make sure you have enough ETH in your wallet to cover gas fees +- If you encounter any issues, join our [Telegram](https://t.me/+k04A_OZbhIs1Mzc9) for support diff --git a/docs/general-info/contract-addresses/testnet-contracts.md b/docs/general-info/contract-addresses/testnet-contracts.md index ed1db2b7..aec099a2 100644 --- a/docs/general-info/contract-addresses/testnet-contracts.md +++ b/docs/general-info/contract-addresses/testnet-contracts.md @@ -1 +1,44 @@ -# Testnet Contracts \ No newline at end of file +# Testnet Contracts + +This page lists all the important contract addresses for the Status Network testnet infrastructure. + +## Layer 1 Contracts (Sepolia) + +These contracts are deployed on the Sepolia testnet. You can view them on [Sepolia Etherscan](https://sepolia.etherscan.io). + +### Bridge Contracts +- **L1 Token Bridge Proxy** + - Address: [`0x01b44C5Ea321f921D93476cf54Aa8460db17a548`](https://sepolia.etherscan.io/address/0x01b44C5Ea321f921D93476cf54Aa8460db17a548) + - Purpose: Manages token bridging operations on L1 + +### Core Infrastructure +- **L1 Postman** + - Address: [`0xB15725119b917d348FfEB365B43bCDeEbfb65C5d`](https://sepolia.etherscan.io/address/0xB15725119b917d348FfEB365B43bCDeEbfb65C5d) + - Purpose: Handles message passing between L1 and L2 + +- **L1 Data Submission** + - Address: [`0x263d8f55BAc71a42d0A822F46b1eC62Cd4183a8d`](https://sepolia.etherscan.io/address/0x263d8f55BAc71a42d0A822F46b1eC62Cd4183a8d) + - Purpose: Manages data submission from L2 to L1 + +- **L1 Finalization** + - Address: [`0xb91CB39b3b9F015b0aC88616A463B35568052AEF`](https://sepolia.etherscan.io/address/0xb91CB39b3b9F015b0aC88616A463B35568052AEF) + - Purpose: Handles finalization of L2 blocks on L1 + +## Layer 2 Contracts (Status Network Testnet) + +These contracts are deployed on the Status Network testnet. You can view them on [Status Network Explorer](https://sepoliascan.status.network). + +### Bridge Contracts +- **L2 Token Bridge Proxy** + - Address: [`0xbC7f9571152a8e21942b2aEa4831a27f1149af19`](https://sepoliascan.status.network/address/0xbC7f9571152a8e21942b2aEa4831a27f1149af19) + - Purpose: Manages token bridging operations on L2 + +### Infrastructure Contracts +- **L2 Faucet** + - Address: [`0x06338B70F1eAbc60d7A82C083e605C07F78bb878`](https://sepoliascan.status.network/address/0x06338B70F1eAbc60d7A82C083e605C07F78bb878) + - Purpose: Distributes testnet tokens to users + +- **L2 Anchoring** + - Address: [`0x24B5eD2763129D6cBDEfE32e08558D2095132560`](https://sepoliascan.status.network/address/0x24B5eD2763129D6cBDEfE32e08558D2095132560) + - Purpose: Manages state anchoring between L1 and L2 + diff --git a/docs/general-info/contract-addresses/tokens.md b/docs/general-info/contract-addresses/tokens.md index 7e1c51cd..190db257 100644 --- a/docs/general-info/contract-addresses/tokens.md +++ b/docs/general-info/contract-addresses/tokens.md @@ -1 +1,12 @@ -# Tokens \ No newline at end of file +# Tokens + +For the most up-to-date list of supported tokens and their contract addresses on Status Network, please refer to our official [Status Network Token List repository](https://github.com/status-im/status-network-token-list). + +This repository contains: +- Token addresses for both L1 (Sepolia) and L2 (Status Network) +- Token metadata (decimals, symbols, etc.) +- Bridge contract mappings +- App tokens deployed on Status Network + +The token list is maintained and updated regularly to ensure accuracy and security of token bridging operations. + diff --git a/docs/general-info/network-details.md b/docs/general-info/network-details.md index 9207ef1f..cece9a3b 100644 --- a/docs/general-info/network-details.md +++ b/docs/general-info/network-details.md @@ -2,11 +2,19 @@ ## Status Testnet -| Name | Value | -|---------------------|-------| -| **Network Name** | | -| **RPC Endpoint** | | -| **Chain ID** | | -| **Currency Symbol** | | -| **Block Explorer** | | -| **Bridge** | | \ No newline at end of file +| Name | Value | +|---------------------|-------------------------------------------| +| **Network Name** | Status Network Testnet | +| **RPC Endpoint** | https://public.sepolia.rpc.status.network | +| **Chain ID** | 1660990954 | +| **Currency Symbol** | ETH | +| **Block Explorer** | https://sepoliascan.status.network | +| **Bridge** | https://bridge.status.network | + +These are the official network details for the Status Network testnet. You can use these details to: +- Add the network to your wallet +- Configure development environments +- Connect dApps to the network +- Verify smart contracts + +For instructions on adding the network to your wallet, see our [Add Status Network guide](./add-status-network.md). \ No newline at end of file diff --git a/docs/introduction/quick-start.md b/docs/introduction/quick-start.md index ad9a0910..f927993a 100644 --- a/docs/introduction/quick-start.md +++ b/docs/introduction/quick-start.md @@ -2,37 +2,36 @@ In this section, we'll get you deploying a sample contract on **Status Network Testnet** in less than 10 minutes. -Let’s see how to deploy a smart contract on Status Network using the Remix IDE for simplicity. +Let's see how to deploy a smart contract on Status Network using the Remix IDE for simplicity. ## Get Everything Ready Before getting started: -- **Add Status Network Testnet to MetaMask**: +1. **Add Status Network Testnet to MetaMask**: - Follow the [Status Network documentation](/general-info/add-status-network) for step-by-step instructions on how to add the Status Network testnet to MetaMask. You'll need the network's RPC URL, Chain ID, and other details. + Follow the [Add Status Network guide](/general-info/add-status-network) for step-by-step instructions on how to add the Status Network testnet to MetaMask. -- **Obtain Testnet Tokens**: +2. **Get Test ETH**: - This guide assumes you have obtained testnet ETH on the Status Network. You can use the [Status Network Testnet Faucet](#) to request test tokens. + You'll need both Sepolia ETH and Status Network ETH: + - First get Sepolia ETH from [Sepolia Faucet](https://faucet.status.network) + - Then bridge some ETH to Status Network using the [Status Bridge](https://bridge.status.network) + - Alternatively, get Status Network ETH directly from our [Testnet Faucet](https://sepoliascan.status.network/address/0x06338B70F1eAbc60d7A82C083e605C07F78bb878) We are ready to get started! ## Remix & Sample Code -**Remix** is a no-setup tool for developing smart contracts. It’s easy to get started, allowing a simple deployment process, debugging, interacting with smart contracts, and more. It’s a great tool to test quick changes and interact with deployed smart contracts. +**Remix** is a no-setup tool for developing smart contracts. It's easy to get started, allowing a simple deployment process, debugging, interacting with smart contracts, and more. -For the sake of this tutorial, we will be deploying the `SimpleStorage.sol` smart contract that comes as an example in Remix, but you can use any of your code. - -Here's the sample code: +For this tutorial, we will deploy a simple `SimpleStorage.sol` contract: ```solidity // SPDX-License-Identifier: MIT - -pragma solidity ^0.8.24; +pragma solidity ^0.8.0; contract SimpleStorage { - uint256 number; function store(uint256 num) public { @@ -56,21 +55,26 @@ contract SimpleStorage { 2. **Compile the Smart Contract**: - Go to the **Solidity Compiler** tab (on the left sidebar). - - Ensure the compiler version matches the pragma statement in your contract (`0.8.24`). + - Ensure the compiler version is 0.8.0 or higher. - Click **"Compile SimpleStorage.sol"**. - You can enable **"Auto compile"** for automatic compilation whenever you change the contract code. 3. **Deploy the Smart Contract**: - Switch to the **Deploy & Run Transactions** tab. - - In the **"Environment"** dropdown menu, select **"Injected Provider - MetaMask"**. This connects Remix to your MetaMask wallet. + - In the **"Environment"** dropdown menu, select **"Injected Provider - MetaMask"**. - MetaMask may prompt you to connect to Remix. Confirm the connection. - Ensure that **Status Network Testnet** is selected in MetaMask. - Under **"Contract"**, make sure `SimpleStorage` is selected. - Click **"Deploy"**. - - MetaMask will pop up, asking you to confirm the transaction. + - MetaMask will pop up, asking you to confirm the transaction. Gas fees will be paid in ETH. - Review the transaction details and click **"Confirm"**. - - Wait for the transaction to be mined. You can track the status in Remix or MetaMask. + - Wait for the transaction to be mined. + +4. **Verify Deployment**: + + - Once deployed, copy your contract's address from Remix + - View it on [Status Network Explorer](https://sepoliascan.status.network) **CONGRATULATIONS!** You just deployed your first smart contract on Status Network. @@ -85,30 +89,30 @@ contract SimpleStorage { - Expand the deployed contract to view its functions. - In the **"store"** function input field, enter a number (e.g., `42`). - Click **"transact"**. - - MetaMask will prompt you to confirm the transaction. Click **"Confirm"**. + - MetaMask will prompt you to confirm the transaction. Gas fees will be paid in ETH. - Wait for the transaction to be confirmed. 3. **Retrieve the Number**: - Click on the **"retrieve"** function. - The stored number will display below the button. + - This is a view function, so no gas fees are required. ## Next Steps - **Get Support**: - - - If you encounter any issues or have questions, join the community channels for assistance. + - Join our [Telegram Community](https://t.me/+k04A_OZbhIs1Mzc9) for assistance + - Check our [Network Details](/general-info/network-details) for more information + - Learn about [bridging tokens](/general-info/bridge/bridging-testnet) to Status Network ## Summary You've successfully: - -- Set up your environment to interact with Status Network Testnet. -- Deployed a smart contract using Remix IDE and MetaMask. -- Interacted with your deployed contract by storing and retrieving a number. - ---- - -If you want to dive deeper, consider exploring more complex smart contracts. Checkout more tutorials [here](/tutorials/ethers-tutorial). - -**Happy Coding!** \ No newline at end of file +- Set up your environment to interact with Status Network Testnet +- Obtained testnet ETH through bridging or faucet +- Deployed a smart contract using Remix IDE and MetaMask +- Interacted with your deployed contract by storing and retrieving a number + +For more advanced development, check out our guides for deploying with: +- [Hardhat](/tutorials/deploying-contracts/using-hardhat) +- [Foundry](/tutorials/deploying-contracts/using-foundry) \ No newline at end of file diff --git a/docs/other/audits.md b/docs/other/audits.md deleted file mode 100644 index f6262aa3..00000000 --- a/docs/other/audits.md +++ /dev/null @@ -1 +0,0 @@ -# Audits diff --git a/docs/other/official-links.md b/docs/other/official-links.md index af9162d8..7a222baa 100644 --- a/docs/other/official-links.md +++ b/docs/other/official-links.md @@ -1 +1,25 @@ # 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) + +## 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` +- **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) +- **Network Status**: [status.status.network](https://health.status.network) +- **Contract Verification**: [sepoliascan.status.network/verify-contract](https://sepoliascan.status.network/contract-verification) + +## Community & Support +- **Telegram Community**: [t.me/+k04A_OZbhIs1Mzc9](https://t.me/+k04A_OZbhIs1Mzc9) +- **X/twitter**: [twitter.com/ethstatus](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/docs/security/security-model.md b/docs/security/security-model.md deleted file mode 100644 index 548947cd..00000000 --- a/docs/security/security-model.md +++ /dev/null @@ -1 +0,0 @@ -# Status Network Security Model diff --git a/docs/security/security-upgrades.md b/docs/security/security-upgrades.md deleted file mode 100644 index a56181d3..00000000 --- a/docs/security/security-upgrades.md +++ /dev/null @@ -1 +0,0 @@ -# Security Upgrades diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 6cb781d8..11b0a872 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -52,7 +52,7 @@ const config: Config = { ], themeConfig: { - image: 'https://docs.status.network/img/sn_logo.png', + image: 'https://docs.status.network/img/sn_logo.svg', colorMode: { defaultMode: 'dark', respectPrefersColorScheme: true, From da204b0737ccc601233da62506cd256fb0bf152d Mon Sep 17 00:00:00 2001 From: nadeemb53 Date: Fri, 7 Feb 2025 13:57:04 +0530 Subject: [PATCH 2/5] fixes --- docusaurus.config.ts | 23 ----------------------- sidebars.ts | 33 ++------------------------------- 2 files changed, 2 insertions(+), 54 deletions(-) diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 11b0a872..c362fe47 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -64,29 +64,6 @@ const config: Config = { src: 'img/sn_logo.svg', }, items: [ - { - type: 'dropdown', - label: 'Tools', - position: 'left', - items: [ - { - label: '🔌 RPC', - to: '/tools/rpc', - }, - { - label: '🌉 Bridge', - to: '/tools/bridge', - }, - { - label: '🚰 Testnet Faucets', - to: '/tools/testnet-faucets', - }, - { - label: '🔎 Block Explorers', - to: '/tools/block-explorers', - }, - ], - }, { type: 'localeDropdown', position: 'right', diff --git a/sidebars.ts b/sidebars.ts index 0daf63cb..e0c4cf9d 100644 --- a/sidebars.ts +++ b/sidebars.ts @@ -73,16 +73,6 @@ const sidebars: SidebarsConfig = { label: '🌉 Bridge', collapsed: false, items: [ - { - type: 'doc', - id: 'general-info/bridge/bridge-to-status', - label: '➡️ Bridge to Status', - }, - { - type: 'doc', - id: 'general-info/bridge/bridge-from-status', - label: '⬅️ Bridge from Status', - }, { type: 'doc', id: 'general-info/bridge/bridging-testnet', @@ -95,6 +85,7 @@ const sidebars: SidebarsConfig = { { type: 'category', label: 'TOOLS', + collapsed: false, items: [ { type: 'doc', @@ -173,31 +164,11 @@ const sidebars: SidebarsConfig = { }, ], }, - { - type: 'category', - label: 'SECURITY', - items: [ - { - type: 'doc', - id: 'security/security-model', - label: '🛡️ Security Model', - }, - { - type: 'doc', - id: 'security/security-upgrades', - label: '⬆️ Security Upgrades', - }, - ], - }, { type: 'category', label: 'OTHER DOCS', + collapsed: false, items: [ - { - type: 'doc', - id: 'other/audits', - label: '🔒 Audits', - }, { type: 'doc', id: 'other/official-links', From 4d5b23a7d5366d6c3db95668162cf89c9b19b194 Mon Sep 17 00:00:00 2001 From: nadeemb53 Date: Fri, 7 Feb 2025 14:35:20 +0530 Subject: [PATCH 3/5] tools docs --- docs/tools/block-explorers.md | 36 ++++++++++++- docs/tools/bridge.md | 47 +++++++++++++++- docs/tools/rpc.md | 54 ++++++++++++++++++- docs/tools/testnet-faucets.md | 36 ++++++++++++- .../deploying-contracts/using-thirdweb.md | 1 - .../verifying-contracts/using-foundry.md | 1 - .../verifying-contracts/using-hardhat.md | 1 - sidebars.ts | 21 -------- 8 files changed, 169 insertions(+), 28 deletions(-) delete mode 100644 docs/tutorials/deploying-contracts/using-thirdweb.md delete mode 100644 docs/tutorials/verifying-contracts/using-foundry.md delete mode 100644 docs/tutorials/verifying-contracts/using-hardhat.md diff --git a/docs/tools/block-explorers.md b/docs/tools/block-explorers.md index bec200a1..0feef066 100644 --- a/docs/tools/block-explorers.md +++ b/docs/tools/block-explorers.md @@ -1 +1,35 @@ -# Block Explorers \ No newline at end of file +# Status Network Testnet Explorer + +The Status Network block explorer is available at [sepoliascan.status.network](https://sepoliascan.status.network). + +### Features +- View transaction details and status +- Track token transfers and balances +- Verify smart contract source code +- Monitor gas prices and network activity +- View and interact with verified smart contracts +- Track token holdings for any address + +## Sepolia Explorer (Layer 1) + +For tracking transactions on Sepolia (Layer 1), use [Sepolia Etherscan](https://sepolia.etherscan.io). + +This is particularly useful for: +- Monitoring bridge transactions from L1 to L2 +- Tracking token deposits and withdrawals +- Verifying L1 contract interactions + +## Contract Verification + +To verify your smart contract on Status Network Explorer: + +1. Navigate to [Contract Verification](https://sepoliascan.status.network/contract-verification) +2. Enter your contract address +3. Upload your source code and provide compilation details +4. Submit for verification + +Once verified, your contract's source code will be publicly visible and users can interact with it directly through the explorer. + +## API Access + +The Status Network Explorer provides API endpoints for developers. Documentation for the API will be available soon. diff --git a/docs/tools/bridge.md b/docs/tools/bridge.md index 6df6423c..72880bda 100644 --- a/docs/tools/bridge.md +++ b/docs/tools/bridge.md @@ -1 +1,46 @@ -# Bridge \ No newline at end of file +# Status Network Testnet Bridge + +The Status Network Testnet Bridge allows users to transfer tokens between Sepolia (Layer 1) and Status Network testnet (Layer 2). The bridge interface is available at [bridge.status.network](https://bridge.status.network). + +## Overview + +The bridge serves as a crucial infrastructure component that enables: +- Token transfers from Sepolia to Status Network testnet +- Token withdrawals from Status Network testnet to Sepolia +- Message passing between L1 and L2 + +## Bridge Contracts + +### Layer 1 (Sepolia) +- **Token Bridge**: [`0x01b44C5Ea321f921D93476cf54Aa8460db17a548`](https://sepolia.etherscan.io/address/0x01b44C5Ea321f921D93476cf54Aa8460db17a548) + +### Layer 2 (Status Network) +- **Token Bridge**: [`0xbC7f9571152a8e21942b2aEa4831a27f1149af19`](https://sepoliascan.status.network/address/0xbC7f9571152a8e21942b2aEa4831a27f1149af19) + +## Features + +- **Token Bridging**: Transfer ERC-20 tokens between networks +- **ETH Bridging**: Bridge ETH between Sepolia and Status Network +- **Transaction Tracking**: Monitor the status of your bridge transactions +- **Gas Estimation**: See estimated gas costs before bridging + +## Supported Tokens + +For the most up-to-date list of supported tokens and their contract addresses, please refer to our [Token List Repository](https://github.com/status-im/status-network-token-list). + +## Using the Bridge + +For detailed instructions on how to use the bridge, including step-by-step guides and important security considerations, please refer to our [Bridging Guide](../general-info/bridge/bridging-testnet.md). + +## Monitoring Bridge Transactions + +You can monitor your bridge transactions using: +- [Status Network Explorer](https://sepoliascan.status.network) for L2 transactions +- [Sepolia Etherscan](https://sepolia.etherscan.io) for L1 transactions + +## Support + +If you encounter any issues while using the bridge: +- Check our [Bridging Guide](../general-info/bridge/bridging-testnet.md) for common solutions +- Join our [Telegram Community](https://t.me/+k04A_OZbhIs1Mzc9) for assistance +- Monitor [Network Status](https://health.status.network) for any ongoing issues \ No newline at end of file diff --git a/docs/tools/rpc.md b/docs/tools/rpc.md index 7de5b77d..ad3362cc 100644 --- a/docs/tools/rpc.md +++ b/docs/tools/rpc.md @@ -1 +1,53 @@ -# RPC \ No newline at end of file +# RPC Endpoints + +The Status Network provides public RPC (Remote Procedure Call) endpoints that allow you to interact with the network. + +## Public RPC URL + +``` +https://public.sepolia.rpc.status.network +``` + +## Using the RPC + +### Adding to MetaMask +For instructions on adding Status Network to your wallet using this RPC, see our [Add Network guide](../general-info/add-status-network.md). + +### Web3 Library Configuration + +```javascript +// Web3.js +const web3 = new Web3('https://public.sepolia.rpc.status.network'); + +// Ethers.js v5 +const provider = new ethers.providers.JsonRpcProvider('https://public.sepolia.rpc.status.network'); +``` + +## Available Methods + +The RPC endpoint supports standard Ethereum JSON-RPC methods, including: + +- `eth_blockNumber`: Get the latest block number +- `eth_getBalance`: Get account balance +- `eth_sendRawTransaction`: Send signed transactions +- `eth_call`: Execute a call without creating a transaction +- `eth_getLogs`: Get event logs +- `eth_getTransactionByHash`: Get transaction details +- `eth_getBlockByNumber`: Get block information + +For a complete list of supported RPC methods and detailed specifications, refer to the [Linea API Reference](https://docs.linea.build/api/reference), as Status Network is based on Linea technology. + +## Rate Limits + +The public RPC endpoint has rate limiting to ensure fair usage: +- 10 requests per second per IP +- 100,000 requests per day per IP + +For higher limits, get in touch with us on Telegram. + +## Support + +If you experience issues with the RPC endpoint: +- Check [Network Status](https://health.status.network) for any ongoing problems +- Join our [Telegram Community](https://t.me/+k04A_OZbhIs1Mzc9) for support +- Consider implementing a fallback RPC strategy in your application \ No newline at end of file diff --git a/docs/tools/testnet-faucets.md b/docs/tools/testnet-faucets.md index 2173daef..053bbf0d 100644 --- a/docs/tools/testnet-faucets.md +++ b/docs/tools/testnet-faucets.md @@ -1 +1,35 @@ -# Testnet Faucets \ No newline at end of file +# Testnet Faucets + +To get started on Status Network testnet, you'll need both Sepolia ETH and Status Network testnet ETH. + +## Status Network Testnet Faucet + +The Status Network testnet faucet is available at [faucet.status.network](https://faucet.status.network). + +### Details +- **Faucet Contract**: [`0x06338B70F1eAbc60d7A82C083e605C07F78bb878`](https://sepoliascan.status.network/address/0x06338B70F1eAbc60d7A82C083e605C07F78bb878) +- **Amount**: 0.1 ETH per request +- **Cooldown**: One request per address per day + +### How to Get Testnet ETH + +1. Visit [faucet.status.network](https://faucet.status.network) +2. Connect your wallet +3. Click "Request Funds" +4. Confirm the transaction in your wallet +5. Wait for the ETH to appear in your wallet (usually takes a few seconds) + +## Sepolia ETH (Required for Bridging) + +To bridge assets to Status Network testnet, you'll first need Sepolia ETH. You can get it from: + +2. [Alchemy Sepolia Faucet](https://www.alchemy.com/faucets/ethereum-sepolia) +3. [Metamask Sepolia Faucet](https://docs.metamask.io/developer-tools/faucet/) + +Once you have Sepolia ETH, you can bridge it to Status Network testnet using the [Status Network Bridge](https://bridge.status.network). + +## Support + +If you encounter any issues with the faucet: +- Check [Network Status](https://health.status.network) for any ongoing problems +- Join our [Telegram Community](https://t.me/+k04A_OZbhIs1Mzc9) for support \ No newline at end of file diff --git a/docs/tutorials/deploying-contracts/using-thirdweb.md b/docs/tutorials/deploying-contracts/using-thirdweb.md deleted file mode 100644 index 32bc2c7c..00000000 --- a/docs/tutorials/deploying-contracts/using-thirdweb.md +++ /dev/null @@ -1 +0,0 @@ -# Using Thirdweb \ No newline at end of file diff --git a/docs/tutorials/verifying-contracts/using-foundry.md b/docs/tutorials/verifying-contracts/using-foundry.md deleted file mode 100644 index f44729c0..00000000 --- a/docs/tutorials/verifying-contracts/using-foundry.md +++ /dev/null @@ -1 +0,0 @@ -# Using Foundry \ No newline at end of file diff --git a/docs/tutorials/verifying-contracts/using-hardhat.md b/docs/tutorials/verifying-contracts/using-hardhat.md deleted file mode 100644 index e8d21dc2..00000000 --- a/docs/tutorials/verifying-contracts/using-hardhat.md +++ /dev/null @@ -1 +0,0 @@ -# Using Hardhat \ No newline at end of file diff --git a/sidebars.ts b/sidebars.ts index e0c4cf9d..fe7b3beb 100644 --- a/sidebars.ts +++ b/sidebars.ts @@ -129,11 +129,6 @@ const sidebars: SidebarsConfig = { id: 'tutorials/deploying-contracts/using-hardhat', label: '🎩 Using Hardhat', }, - { - type: 'doc', - id: 'tutorials/deploying-contracts/using-thirdweb', - label: '🌐 Using Thirdweb', - }, { type: 'doc', id: 'tutorials/deploying-contracts/using-foundry', @@ -146,22 +141,6 @@ const sidebars: SidebarsConfig = { }, ], }, - { - type: 'category', - label: '🔍 Verifying Your Smart Contract', - items: [ - { - type: 'doc', - id: 'tutorials/verifying-contracts/using-hardhat', - label: '🎩 Using Hardhat', - }, - { - type: 'doc', - id: 'tutorials/verifying-contracts/using-foundry', - label: '⚒️ Using Foundry', - }, - ], - }, ], }, { From 31464fdeaec165c277b77d83cfd5a8e1a37ba83c Mon Sep 17 00:00:00 2001 From: nadeemb53 Date: Sat, 8 Feb 2025 00:08:16 +0530 Subject: [PATCH 4/5] tutorials added --- docs/index.md | 29 +- docs/other/branding-guidelines.md | 1 - docs/tokenomics/aura-token.md | 1 - docs/tokenomics/karma-token.md | 1 + docs/tokenomics/snt-token.md | 2 +- .../deploying-contracts/using-foundry.md | 210 ++++++++- .../deploying-contracts/using-hardhat.md | 279 +++--------- .../deploying-contracts/using-remix.md | 100 ++++- docs/tutorials/ethers-tutorial.md | 407 ------------------ sidebars.ts | 14 +- 10 files changed, 387 insertions(+), 657 deletions(-) delete mode 100644 docs/other/branding-guidelines.md delete mode 100644 docs/tokenomics/aura-token.md create mode 100644 docs/tokenomics/karma-token.md delete mode 100644 docs/tutorials/ethers-tutorial.md diff --git a/docs/index.md b/docs/index.md index cf8d6d4e..82b5b1ae 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,28 +1,27 @@ --- id: index -title: Introducing Status Network +title: Welcome to Status Network slug: / sidebar_position: 1 --- -# Welcome to Status Network +# Status Network: The Gasless Layer 2 Network -Welcome to **Status Network**, the crypto social playground that reimagines your blockchain experience! Built as an **EVM-equivalent Ethereum Layer 2 rollup** on [Linea's cutting-edge ZK-EVM technology](https://docs.linea.build/architecture), Status Network offers unique features that set us apart from other platforms. -## What Makes Us Unique? +## Start Building Today -### 💰 Native ETH and DAI Yield +Ready to join the future of decentralized applications? Here's how to get started: -Enjoy sustainable and attractive yields on your **ETH** and **DAI** assets! We offer native yield generation, a distinctive feature among Layer 2 solutions, allowing you to enhance your crypto holdings effortlessly while participating in the network. +1. [Add Status Network to Your Wallet](/general-info/add-status-network) +2. [Get Testnet ETH](/tools/testnet-faucets) +3. [Bridge Assets](/general-info/bridge/bridging-testnet) +4. [Deploy Your First Contract](/tutorials/deploying-contracts/using-remix) -### 🏆 Earn $AURA Tokens +## Support & Resources -Get rewarded for your engagement in **real time**! Participate in network activities and **stake $SNT** to earn **$AURA tokens**. The more you interact—be it through transactions, staking, or community involvement—the more influence you gain within our vibrant community. Your $AURA amplifies your voice in shaping the future of the network. +Connect with our community and access the resources you need: +- Join our [Telegram Builder's Community](https://t.me/+k04A_OZbhIs1Mzc9) +- View [Network Details](/general-info/network-details) +- Browse [Contract Addresses](/general-info/contract-addresses/testnet-contracts) -### 🔒 Privacy with a Playful Twist - -Experience privacy features that are both **secure and fun**! We believe that privacy is a fundamental right and should be accessible to everyone without the complexity. Our user-friendly privacy tools make secure interactions enjoyable, breaking away from traditional notions of complicated privacy tech. - ---- - -Join Status Network and be part of a unique, privacy-focused, and rewarding crypto community where **your active participation truly shapes the future**! Let's build the crypto playground together! \ No newline at end of file +Ready to build something amazing? Start your journey with Status Network today! \ No newline at end of file diff --git a/docs/other/branding-guidelines.md b/docs/other/branding-guidelines.md deleted file mode 100644 index 4ef944fa..00000000 --- a/docs/other/branding-guidelines.md +++ /dev/null @@ -1 +0,0 @@ -# Branding Guidelines diff --git a/docs/tokenomics/aura-token.md b/docs/tokenomics/aura-token.md deleted file mode 100644 index a3631d43..00000000 --- a/docs/tokenomics/aura-token.md +++ /dev/null @@ -1 +0,0 @@ -# $AURA token \ No newline at end of file diff --git a/docs/tokenomics/karma-token.md b/docs/tokenomics/karma-token.md new file mode 100644 index 00000000..f6b5ade5 --- /dev/null +++ b/docs/tokenomics/karma-token.md @@ -0,0 +1 @@ +# KARMA token \ No newline at end of file diff --git a/docs/tokenomics/snt-token.md b/docs/tokenomics/snt-token.md index f2a982f0..fe1321e3 100644 --- a/docs/tokenomics/snt-token.md +++ b/docs/tokenomics/snt-token.md @@ -1 +1 @@ -# $SNT Token \ No newline at end of file +# SNT Token \ No newline at end of file diff --git a/docs/tutorials/deploying-contracts/using-foundry.md b/docs/tutorials/deploying-contracts/using-foundry.md index f44729c0..bd6fec3a 100644 --- a/docs/tutorials/deploying-contracts/using-foundry.md +++ b/docs/tutorials/deploying-contracts/using-foundry.md @@ -1 +1,209 @@ -# Using Foundry \ No newline at end of file +# Using Foundry to Deploy Smart Contracts + +This tutorial will guide you through the process of deploying a smart contract on Status Network testnet using Foundry. + +## Prerequisites + +Before you begin, ensure you have the following: + +- **Foundry**: Install from the [official Foundry book](https://book.getfoundry.sh/getting-started/installation) +- **Ethereum Wallet**: A private key for Status Network testnet +- **Testnet ETH**: You'll need Status Network testnet ETH + - Get Status Network testnet ETH from our [Faucet](/tools/testnet-faucets) +- **Basic Knowledge**: Familiarity with Solidity and command line + +## What You'll Accomplish + +- Initialize a Foundry project +- Write a basic Ethereum smart contract +- Configure Foundry for Status Network testnet deployment +- Deploy your smart contract + +## Steps + +### 1. Initialize a Foundry Project + +First, create a new Foundry project: + +```bash +# Create a new project +forge init hello_status +cd hello_status + +# Create .env file for private key +touch .env +echo "PRIVATE_KEY=your_private_key_here" >> .env +``` + +### 2. Writing the Smart Contract + +Replace `src/Counter.sol` with our `HelloWorld.sol`: + +```solidity +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.24; + +contract HelloWorld { + string public greet = "Hello, Status Network!"; + + function setGreet(string memory _greet) public { + greet = _greet; + } + + function getGreet() public view returns (string memory) { + return greet; + } +} +``` + +### 3. Configure Foundry for Status Network + +Create or update `foundry.toml`: + +```toml +[profile.default] +src = "src" +out = "out" +libs = ["lib"] +solc = "0.8.24" + +[rpc_endpoints] +status_testnet = "https://public.sepolia.rpc.status.network" +``` + +### 4. Deploy the Contract + +Create a deployment script `script/Deploy.s.sol`: + +```solidity +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.24; + +import "forge-std/Script.sol"; +import "../src/HelloWorld.sol"; + +contract DeployScript is Script { + function run() external { + uint256 deployerPrivateKey = vm.envUint("PRIVATE_KEY"); + + vm.startBroadcast(deployerPrivateKey); + + HelloWorld hello = new HelloWorld(); + console.log("HelloWorld deployed to:", address(hello)); + + vm.stopBroadcast(); + } +} +``` + +Deploy using forge: + +```bash +# Load environment variables +source .env + +# Deploy to Status Network testnet +forge script script/Deploy.s.sol:DeployScript \ + --rpc-url https://public.sepolia.rpc.status.network \ + --broadcast \ +``` + +### 5. Interact with the Contract + +Create a script to interact with your contract `script/Interact.s.sol`: + +```solidity +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.24; + +import "forge-std/Script.sol"; +import "../src/HelloWorld.sol"; + +contract InteractScript is Script { + function run() external { + uint256 deployerPrivateKey = vm.envUint("PRIVATE_KEY"); + address contractAddress = address(0x...); // Replace with your contract address + + vm.startBroadcast(deployerPrivateKey); + + HelloWorld hello = HelloWorld(contractAddress); + + // Read current greeting + string memory currentGreeting = hello.getGreet(); + console.log("Current greeting:", currentGreeting); + + // Update greeting + hello.setGreet("Hello from Foundry!"); + + vm.stopBroadcast(); + } +} +``` + +Run the interaction script: + +```bash +forge script script/Interact.s.sol:InteractScript \ + --rpc-url https://public.sepolia.rpc.status.network \ + --broadcast +``` + +### 6. Cast Commands for Quick Interactions + +You can also use `cast` to interact with your contract: + +```bash +# Read the greeting +cast call "getGreet()" \ + --rpc-url https://public.sepolia.rpc.status.network + +# Set a new greeting +cast send "setGreet(string)" "New greeting!" \ + --private-key $PRIVATE_KEY \ + --rpc-url https://public.sepolia.rpc.status.network +``` + +### 7. Testing + +Create a test file `test/HelloWorld.t.sol`: + +```solidity +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.24; + +import "forge-std/Test.sol"; +import "../src/HelloWorld.sol"; + +contract HelloWorldTest is Test { + HelloWorld hello; + + function setUp() public { + hello = new HelloWorld(); + } + + function testGreeting() public { + assertEq(hello.getGreet(), "Hello, Status Network!"); + + hello.setGreet("New greeting"); + assertEq(hello.getGreet(), "New greeting"); + } +} +``` + +Run the tests: + +```bash +forge test +``` + +## Support + +If you encounter any issues: +- Join our [Telegram Community](https://t.me/+k04A_OZbhIs1Mzc9) +- Check [Network Status](https://health.status.network) +- View our [Network Details](/general-info/network-details) + +## Additional Resources + +- [Foundry Book](https://book.getfoundry.sh/) +- [Status Network Explorer](https://sepoliascan.status.network) \ No newline at end of file diff --git a/docs/tutorials/deploying-contracts/using-hardhat.md b/docs/tutorials/deploying-contracts/using-hardhat.md index d94620db..6b797f67 100644 --- a/docs/tutorials/deploying-contracts/using-hardhat.md +++ b/docs/tutorials/deploying-contracts/using-hardhat.md @@ -1,89 +1,52 @@ # Using Hardhat to Deploy Smart Contracts -This tutorial will guide you through the process of deploying a smart contract on **Status Network's Ethereum Layer 2** using **Hardhat** and **TypeScript**. - ---- +This tutorial will guide you through the process of deploying a smart contract on Status Network testnet using Hardhat, Hardhat Ignition, and TypeScript. ## Prerequisites Before you begin, ensure you have the following: -- **Node.js and npm**: Download and install from the [official Node.js website](https://nodejs.org/). -- **Ethereum Wallet**: A private key for the **Status Network Testnet** that has testnet ETH. - - Obtain testnet ETH from the [Status Network Testnet Faucet](/tools/testnet-faucets). - - **Important**: Use a new wallet without real funds to ensure security in case the private key gets compromised. -- **Basic Knowledge**: Familiarity with **Solidity**, **Hardhat**, and the command line is helpful but not mandatory. - ---- +- **Node.js and npm**: Download and install from the [official Node.js website](https://nodejs.org/) +- **Ethereum Wallet**: MetaMask or another wallet with a private key for Status Network testnet +- **Testnet ETH**: You'll need Status Network testnet ETH + - Get Status Network testnet ETH from our [Faucet](/tools/testnet-faucets) +- **Basic Knowledge**: Familiarity with Solidity, Hardhat, and command line ## What You'll Accomplish -- Initialize a TypeScript-based Hardhat project. -- Write a basic Ethereum smart contract. -- Configure Hardhat for Status Network Testnet deployment. -- Deploy your smart contract on Status Network. - ---- +- Initialize a TypeScript-based Hardhat project +- Write a basic Ethereum smart contract +- Configure Hardhat for Status Network testnet deployment +- Deploy your smart contract using Hardhat Ignition ## Steps ### 1. Initialize a Hardhat TypeScript Project -Open your terminal and create a new directory for your project, then navigate into it: +First, create and set up your project: ```bash mkdir my-hardhat-project && cd my-hardhat-project -``` - -Initialize an npm project: - -```bash npm init -y +npm install --save-dev hardhat @nomicfoundation/hardhat-toolbox dotenv +npx hardhat init ``` -Install the necessary packages for Hardhat and TypeScript: +When prompted, select "Create a TypeScript project" to set up a TypeScript-based Hardhat project. -```bash -npm install --save-dev hardhat ts-node typescript @nomiclabs/hardhat-ethers ethers @typechain/ethers-v5 @typechain/hardhat typechain -``` - -Start a new Hardhat project with TypeScript: +Set up your environment variables: ```bash -npx hardhat -``` +# Create a .env file +touch .env -When prompted, make the following selections: - -- Choose **"Create a TypeScript project"**. -- For the `.gitignore` prompt, select **"Yes"**. -- For installing the project's dependencies, select **"Yes"**. - -Example interaction: - -```plaintext -888 888 888 888 888 -888 888 888 888 888 -888 888 888 888 888 -8888888888 8888b. 888d888 .d88888 88888b. 8888b. 888888 -888 888 88b 888P d88 888 888 88b 88b 888 -888 888 .d888888 888 888 888 888 888 .d888888 888 -888 888 888 888 888 Y88b 888 888 888 888 888 Y88b. -888 888 Y888888 888 Y88888 888 888 Y888888 Y888 - -👷 Welcome to Hardhat v2.18.2 👷‍ - -✔ What do you want to do? · Create a TypeScript project -✔ Hardhat project root: · /Users/username/my-hardhat-project -✔ Do you want to add a .gitignore? (Y/n) · y -✔ Do you want to install this sample project's dependencies with npm (@nomicfoundation/hardhat-toolbox)? (Y/n) · y +# Add your private key (never commit this file!) +echo "PRIVATE_KEY=your_private_key_here" >> .env ``` ---- - ### 2. Writing the Smart Contract -In the `contracts` directory, delete the sample smart contract `Lock.sol` and create a new file named `HelloWorld.sol`: +Create `contracts/HelloWorld.sol`: ```solidity // SPDX-License-Identifier: MIT @@ -102,128 +65,81 @@ contract HelloWorld { } ``` ---- - ### 3. Configuring Hardhat for Status Network -Edit the `hardhat.config.ts` file to include Status Network Testnet settings: +Update `hardhat.config.ts`: ```typescript import { HardhatUserConfig } from "hardhat/config"; import "@nomicfoundation/hardhat-toolbox"; +import * as dotenv from "dotenv"; + +dotenv.config(); + +const PRIVATE_KEY = process.env.PRIVATE_KEY || ""; const config: HardhatUserConfig = { + solidity: "0.8.24", networks: { statusTestnet: { - url: "https://testnet.status.network", - chainId: 2020, - accounts: ["YOUR_PRIVATE_KEY_HERE"], // BE VERY CAREFUL, DO NOT SHARE THIS + url: "https://public.sepolia.rpc.status.network", + chainId: 1660990954, + accounts: [PRIVATE_KEY], }, }, - solidity: "0.8.24", }; export default config; ``` -- Replace `YOUR_PRIVATE_KEY_HERE` with your Status Network Testnet private key (without quotes). +### 4. Create Ignition Deployment Module -> **Important:** Do not push your `hardhat.config.ts` file to any public repository or share your private key with anyone. To prevent accidental exposure, ensure your `.gitignore` file includes `hardhat.config.ts`. - ---- - -### 4. Compilation - -Compile the smart contract: - -```bash -npx hardhat compile -``` - -You should see output indicating that the compilation was successful. - ---- - -### 5. Deployment - -In the `scripts` directory, create a new file named `deploy.ts`: +Create `ignition/modules/HelloWorld.ts`: ```typescript -import { ethers } from "hardhat"; - -async function main() { - const HelloWorld = await ethers.getContractFactory("HelloWorld"); - - const helloWorld = await HelloWorld.deploy(); +import { buildModule } from "@nomicfoundation/hardhat-ignition/modules"; - await helloWorld.deployed(); - - console.log("HelloWorld deployed to:", helloWorld.address); -} - -main().catch((error) => { - console.error(error); - process.exitCode = 1; +export default buildModule("HelloWorld", (m) => { + const helloWorld = m.contract("HelloWorld"); + + return { helloWorld }; }); ``` -> **Note:** If you encounter gas-related issues, you can specify `gasPrice` and `gasLimit` when deploying: - -```typescript -const gasPrice = ethers.utils.parseUnits('10', 'gwei'); // Adjust as needed -const gasLimit = 500000; // Adjust based on your contract - -const helloWorld = await HelloWorld.deploy({ gasPrice, gasLimit }); -``` - -#### Deploy the smart contract to the Status Network Testnet: +### 5. Deploy the Contract ```bash -npx hardhat run scripts/deploy.ts --network statusTestnet -``` - -Upon successful deployment, you should see an output similar to: - -```plaintext -HelloWorld deployed to: 0xYourContractAddressHere +npx hardhat compile +npx hardhat ignition deploy ignition/modules/HelloWorld.ts --network statusTestnet ``` ---- - -### 6. Verify Your Contract on the Block Explorer +The deployment will create a new directory `ignition/deployments` containing your deployment artifacts and history. -Visit the [Status Network Testnet Explorer](https://testnet.statusscan.io/) and search for your contract address to view its details. +### 7. Interact with Your Contract ---- - -### 7. Interacting with Your Smart Contract - -You can interact with your deployed contract using Hardhat scripts, tests, or via a frontend application. - -#### Example: Interacting via a Script - -Create a new script `interact.ts` in the `scripts` directory: +Create `scripts/interact.ts`: ```typescript import { ethers } from "hardhat"; +import { HelloWorld } from "../typechain-types"; async function main() { - const contractAddress = "0xYourContractAddressHere"; // Replace with your contract address - + const contractAddress = "0x0d8a93870494Fa21ec39602f31Aa67C9Fed5604f"; const HelloWorld = await ethers.getContractFactory("HelloWorld"); - const helloWorld = HelloWorld.attach(contractAddress); + const contract = HelloWorld.attach(contractAddress) as HelloWorld; - // Read the current greeting - const currentGreet = await helloWorld.getGreet(); - console.log("Current Greet:", currentGreet); + // Read current greeting + const greeting = await contract.getGreet(); + console.log("Current greeting:", greeting); - // Update the greeting - const tx = await helloWorld.setGreet("Hello from Hardhat!"); + // Update greeting + const tx = await contract.setGreet("Hello from Status Network!"); await tx.wait(); + console.log("Greeting updated!"); - // Read the updated greeting - const newGreet = await helloWorld.getGreet(); - console.log("Updated Greet:", newGreet); + // Read updated greeting + const newGreeting = await contract.getGreet(); + console.log("New greeting:", newGreeting); } main().catch((error) => { @@ -232,88 +148,15 @@ main().catch((error) => { }); ``` -Run the script: +Run the interaction script: ```bash npx hardhat run scripts/interact.ts --network statusTestnet ``` ---- - -## Conclusion - -Congratulations! You've successfully deployed a smart contract on the **Status Network Testnet** using **Hardhat** and **TypeScript**. - ---- - -## Next Steps - -- **Explore More Tutorials**: - - - Check out other tutorials in the [Status Network Documentation](/tutorials/ethers-tutorial). - -- **Deploy to Mainnet**: - - - Once you're comfortable with the testnet, consider deploying to the Status Network Mainnet. Update your `hardhat.config.ts` with the mainnet RPC URL and Chain ID. - -- **Secure Your Private Keys**: - - - Use environment variables to store your private keys securely. - - Install `dotenv` package: - - ```bash - npm install dotenv - ``` - - - Update your `hardhat.config.ts`: - - ```typescript - import { HardhatUserConfig } from "hardhat/config"; - import "@nomicfoundation/hardhat-toolbox"; - import * as dotenv from "dotenv"; - - dotenv.config(); - - const config: HardhatUserConfig = { - networks: { - statusTestnet: { - url: "https://testnet.status.network", - chainId: 2020, - accounts: process.env.PRIVATE_KEY !== undefined ? [process.env.PRIVATE_KEY] : [], - }, - }, - solidity: "0.8.24", - }; - - export default config; - ``` - - - Create a `.env` file in the root of your project: - - ``` - PRIVATE_KEY=your_private_key_without_quotes - ``` - - - Update your `.gitignore` to include `.env`. - ---- - -## Resources - -- [Status Network Official Website](https://status.network/) -- [Status Network Documentation](https://docs.status.network/) -- [Hardhat Documentation](https://hardhat.org/getting-started/) -- [TypeScript Documentation](https://www.typescriptlang.org/docs/) -- [Ethers.js Documentation](https://docs.ethers.io/) - ---- - -**Need Help?** - -If you encounter any issues or have questions, feel free to reach out: - -- **Community Discord**: [Join Our Discord](https://discord.gg/status_im) - ---- +## Support -**Happy Coding!** \ No newline at end of file +If you encounter any issues: +- Join our [Telegram Community](https://t.me/+k04A_OZbhIs1Mzc9) +- Check [Network Status](https://health.status.network) +- View our [Network Details](/general-info/network-details) \ No newline at end of file diff --git a/docs/tutorials/deploying-contracts/using-remix.md b/docs/tutorials/deploying-contracts/using-remix.md index 55e9fb7b..6331cd55 100644 --- a/docs/tutorials/deploying-contracts/using-remix.md +++ b/docs/tutorials/deploying-contracts/using-remix.md @@ -1 +1,99 @@ -# Using Remix \ No newline at end of file +# Using Remix to Deploy Smart Contracts + +This tutorial will guide you through deploying a smart contract on Status Network testnet using the Remix IDE. Remix is a browser-based IDE that's perfect for quick development and testing. + +## Prerequisites + +Before you begin, ensure you have: + +- **Web Browser**: A modern web browser like Chrome or Firefox +- **MetaMask**: Install the [MetaMask](https://metamask.io) browser extension +- **Testnet ETH**: You'll need Status Network testnet ETH + - Get Status Network testnet ETH from our [Faucet](/tools/testnet-faucets) +- **Network Configuration**: Add Status Network testnet to MetaMask following our [Add Network guide](/general-info/add-status-network) + +## Steps + +### 1. Open Remix IDE + +Visit [remix.ethereum.org](https://remix.ethereum.org) in your browser. + +### 2. Create a New File + +1. Click the "File Explorer" icon (first icon on the left sidebar) +2. Click the "+" button to create a new file +3. Name it `HelloWorld.sol` + +### 3. Write the Smart Contract + +Copy and paste the following code into `HelloWorld.sol`: + +```solidity +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.24; + +contract HelloWorld { + string public greet = "Hello, Status Network!"; + + function setGreet(string memory _greet) public { + greet = _greet; + } + + function getGreet() public view returns (string memory) { + return greet; + } +} +``` + +### 4. Compile the Contract + +1. Click the "Solidity Compiler" icon (second icon on the left sidebar) +2. Select compiler version "0.8.24" +3. Click "Compile HelloWorld.sol" +4. Ensure compilation succeeds (you'll see a green checkmark) + +### 5. Deploy the Contract + +1. Click the "Deploy & Run Transactions" icon (fourth icon on the left sidebar) +2. In the "Environment" dropdown, select "Injected Provider - MetaMask" +3. MetaMask will prompt you to connect - ensure Status Network testnet is selected +4. Click "Deploy" +5. Confirm the transaction in MetaMask +6. Wait for the transaction to be confirmed + +### 6. Interact with Your Contract + +Once deployed, you'll see your contract under "Deployed Contracts": + +1. Expand the contract interface +2. You can: + - Click "greet" to read the current greeting + - Enter a new greeting in the "setGreet" field and click the button to update it + - Click "getGreet" to read the greeting again + +## Troubleshooting + +### Common Issues + +1. **Transaction Failed** + - Check that you're connected to Status Network testnet + +2. **Contract Not Found** + - Wait a few minutes for the explorer to index your contract + - Double-check the contract address + +3. **Compilation Errors** + - Verify the compiler version matches the pragma statement + - Check for any syntax errors highlighted in Remix + +## Support + +If you encounter any issues: +- Join our [Telegram Community](https://t.me/+k04A_OZbhIs1Mzc9) +- Check [Network Status](https://health.status.network) +- View our [Network Details](/general-info/network-details) + +## Additional Resources + +- [Remix Documentation](https://remix-ide.readthedocs.io/) +- [Status Network Explorer](https://sepoliascan.status.network) diff --git a/docs/tutorials/ethers-tutorial.md b/docs/tutorials/ethers-tutorial.md deleted file mode 100644 index fb52d6cf..00000000 --- a/docs/tutorials/ethers-tutorial.md +++ /dev/null @@ -1,407 +0,0 @@ -# Interacting with Smart Contracts Using ethers.js - -Learn how to interact with smart contracts deployed on **Status Network** from a frontend using **ethers.js**. - -In this tutorial, we'll walk through setting up a basic web application, deploying a smart contract on the **Status Network Testnet**, and interacting with it using **ethers.js**. - ---- - -## Prerequisites - -Before you begin, ensure you have the following: - -- **MetaMask** installed in your browser. -- **Node.js** and **npm** installed on your computer. -- Basic understanding of **React.js** and how **blockchains** work. - -### Set Up Status Network Testnet - -1. **Add Status Network Testnet to MetaMask**: - - - Follow the guide [Adding Status Network to MetaMask](/general-info/add-status-network) to add the testnet network to your wallet. - -2. **Obtain Test ETH**: - - - Use the [Status Network Testnet Faucet](/tools/testnet-faucets) to get test ETH for deploying and interacting with contracts. - -3. **Bridge Assets (Optional)**: - - - If needed, bridge assets to the Status Network Testnet using the [Testnet Bridge](/general-info/bridge/bridging-testnet). - ---- - -## Smart Contract Deployment on Status Network - -We'll use a simple smart contract called **BidBoard** for this tutorial. The contract allows advertisers to bid for space on an advertising board. - -### BidBoard Smart Contract - -Here's the `BidBoard.sol` contract code: - -```solidity -// SPDX-License-Identifier: MIT -pragma solidity ^0.8.0; - -contract BidBoard { - string public currentAd; - address public advertiser; - uint256 public currentBid; - - event AdUpdated(string newAd, address newAdvertiser, uint256 newBid); - - constructor() { - currentAd = "Welcome to Status Network!"; - advertiser = msg.sender; - currentBid = 0; - } - - function updateAd(string memory newAd) public payable { - require(msg.value > currentBid, "Bid must be higher than current bid"); - currentAd = newAd; - advertiser = msg.sender; - currentBid = msg.value; - emit AdUpdated(newAd, msg.sender, msg.value); - } - - function getCurrentAd() public view returns (string memory, address, uint256) { - return (currentAd, advertiser, currentBid); - } -} -``` - -> **Note:** You can use your own smart contract if you prefer. - -### Deploying the Contract - -Follow the guide [Deploying a Smart Contract Using Remix](/tutorials/deploying-contracts/using-remix) to deploy the `BidBoard.sol` contract to the Status Network Testnet. - ---- - -## Setting Up the Frontend Application - -We'll create a React.js application to interact with the deployed smart contract. - -### Step 1: Create a React App - -Open your terminal and run: - -```bash -npx create-react-app bidboard-ui -``` - -This command creates a new React application named `bidboard-ui`. - -### Step 2: Install ethers.js - -Navigate to the project directory and install **ethers.js**: - -```bash -cd bidboard-ui -npm install ethers -``` - ---- - -## Building the Main Application Component - -Open the project in your code editor and navigate to `src/App.js`. - -### Import Required Libraries - -Replace the content of `App.js` with the following code: - -```jsx -import React, { useState, useEffect } from "react"; -import { ethers } from "ethers"; -import "./App.css"; - -const App = () => { - // Contract details - const contractAddress = "YOUR_CONTRACT_ADDRESS"; - const abi = [/* ABI JSON CODE */]; - - // State variables - const [currentAd, setCurrentAd] = useState(""); - const [currentBid, setCurrentBid] = useState(0); - const [advertiser, setAdvertiser] = useState(""); - const [newAd, setNewAd] = useState(""); - const [bidAmount, setBidAmount] = useState(""); - const [provider, setProvider] = useState(null); - const [status, setStatus] = useState(""); - - // Rest of the code... -}; - -export default App; -``` - -> **Important:** Replace `"YOUR_CONTRACT_ADDRESS"` with the address of your deployed `BidBoard` contract. Paste the ABI of your contract in the `abi` array. - -### Setting Up the Provider - -Add the following code inside the `App` component to set up the provider: - -```jsx -useEffect(() => { - if (typeof window.ethereum !== "undefined") { - const newProvider = new ethers.providers.Web3Provider(window.ethereum); - setProvider(newProvider); - } else { - console.error("Please install MetaMask!"); - } -}, []); -``` - -### Fetch Current Advertisement Data - -Add a function to fetch the current advertisement data: - -```jsx -const fetchCurrentAd = async () => { - try { - const contract = new ethers.Contract(contractAddress, abi, provider); - const adData = await contract.getCurrentAd(); - setCurrentAd(adData[0]); - setAdvertiser(adData[1]); - setCurrentBid(ethers.utils.formatEther(adData[2])); - } catch (error) { - console.error("Error fetching current ad:", error); - } -}; - -useEffect(() => { - if (provider) { - fetchCurrentAd(); - } -}, [provider]); -``` - -### Submit a New Bid - -Add a function to submit a new bid: - -```jsx -const submitBid = async () => { - if (!newAd || !bidAmount) { - setStatus("Please enter an ad message and bid amount."); - return; - } - - try { - const signer = provider.getSigner(); - const contract = new ethers.Contract(contractAddress, abi, signer); - const tx = await contract.updateAd(newAd, { - value: ethers.utils.parseEther(bidAmount), - }); - setStatus("Transaction sent, waiting for confirmation..."); - await tx.wait(); - setStatus("Transaction confirmed!"); - setNewAd(""); - setBidAmount(""); - fetchCurrentAd(); - } catch (err) { - console.error(err); - setStatus("Error: " + err.message); - } -}; -``` - -### Listen to Contract Events - -Add code to listen to the `AdUpdated` event: - -```jsx -useEffect(() => { - let contract; - - const setupEventListener = async () => { - if (provider) { - contract = new ethers.Contract(contractAddress, abi, provider); - contract.on("AdUpdated", (newAd, newAdvertiser, newBid) => { - setCurrentAd(newAd); - setAdvertiser(newAdvertiser); - setCurrentBid(ethers.utils.formatEther(newBid)); - }); - } - }; - - setupEventListener(); - - return () => { - if (contract) { - contract.removeAllListeners("AdUpdated"); - } - }; -}, [provider]); -``` - ---- - -## Creating the User Interface - -Update the `return` statement in the `App` component: - -```jsx -return ( -
- {/* Header */} -
-

BidBoard

-

Status: {status}

-
- - {/* Current Advertisement */} -
-

Current Advertisement

-

"{currentAd}"

-

- Advertiser: {advertiser} -

-

- Current Bid: {currentBid} ETH -

-
- - {/* Submit a New Bid */} -
-

Submit a New Bid

- setNewAd(e.target.value)} - placeholder="Your Ad Message" - /> - setBidAmount(e.target.value)} - placeholder="Bid Amount in ETH" - /> - -
- - {/* Footer */} - -
-); -``` - ---- - -## Styling the Application - -Create a `App.css` file in the `src` directory and add your preferred styles. Here's a basic example: - -```css -.app { - text-align: center; - font-family: Arial, sans-serif; -} - -header { - background-color: #282c34; - padding: 20px; - color: white; -} - -section { - margin: 20px; -} - -input { - margin: 5px; - padding: 10px; - width: 200px; -} - -button { - padding: 10px 20px; -} - -footer { - margin-top: 40px; -} -``` - ---- - -## Running the Application - -In your terminal, navigate to your project directory and run: - -```bash -npm start -``` - -This command starts the development server. Open [http://localhost:3000](http://localhost:3000) in your browser to view the application. - ---- - -## Testing the Application - -1. **View Current Advertisement**: - - - The application should display the current ad message, advertiser address, and current bid. - -2. **Submit a New Bid**: - - - Enter a new ad message and a bid amount higher than the current bid. - - Click **"Submit Bid"**. - - MetaMask will prompt you to confirm the transaction. - - Wait for the transaction to be confirmed. - -3. **Observe Real-Time Updates**: - - - Upon confirmation, the application should automatically update with the new ad, advertiser, and bid amount. - ---- - -## Conclusion - -You've successfully created a web application that interacts with a smart contract deployed on the Status Network Testnet using **ethers.js**. This tutorial covered: - -- Setting up a React application. -- Deploying a smart contract to the Status Network. -- Connecting the frontend to the smart contract using ethers.js. -- Handling user interactions and real-time updates via events. - ---- - -## Next Steps - -- **Explore More Tutorials**: - - - Check out other tutorials in the [Status Network Documentation](/tutorials/ethers-tutorial). - -- **Enhance the Application**: - - - Add error handling for edge cases. - - Improve the UI/UX design. - - Implement additional features like user authentication. - -- **Deploy to Production**: - - - Learn how to deploy your application for production use. - ---- - -## Resources - -- [Status Network Official Website](https://status.network/) -- [Status Network Documentation](https://docs.status.network/) -- [ethers.js Documentation](https://docs.ethers.io/) -- [React.js Documentation](https://reactjs.org/) - ---- - -**Happy Coding!** \ No newline at end of file diff --git a/sidebars.ts b/sidebars.ts index fe7b3beb..1c223830 100644 --- a/sidebars.ts +++ b/sidebars.ts @@ -31,8 +31,8 @@ const sidebars: SidebarsConfig = { }, { type: 'doc', - id: 'tokenomics/aura-token', - label: '💠 Aura Token', + id: 'tokenomics/karma-token', + label: '💠 Karma Token', }, ], }, @@ -114,11 +114,6 @@ const sidebars: SidebarsConfig = { label: 'TUTORIALS', collapsed: false, items: [ - { - type: 'doc', - id: 'tutorials/ethers-tutorial', - label: '📘 Ethers Tutorial', - }, { type: 'category', label: '🚀 Deploying a Smart Contract', @@ -153,11 +148,6 @@ const sidebars: SidebarsConfig = { id: 'other/official-links', label: '🔗 Official Links', }, - { - type: 'doc', - id: 'other/branding-guidelines', - label: '🎨 Branding Guidelines', - }, ], }, ], From d09abb23f60d6189de95051fb57bce20922befd1 Mon Sep 17 00:00:00 2001 From: nadeemb53 Date: Sat, 8 Feb 2025 01:03:50 +0530 Subject: [PATCH 5/5] added korean mandarin and japanese translations --- create_i18n.sh | 33 +++ i18n/ja/code.json | 147 +++++++++++- .../current.json | 128 +++-------- .../general-info/add-status-network.md | 85 ++++++- .../general-info/bridge/bridge-from-status.md | 1 - .../general-info/bridge/bridge-to-status.md | 1 - .../general-info/bridge/bridging-testnet.md | 33 ++- .../contract-addresses/testnet-contracts.md | 44 +++- .../general-info/contract-addresses/tokens.md | 12 +- .../current/general-info/network-details.md | 32 ++- .../current/index.md | 29 ++- .../current/introduction/quick-start.md | 116 +++++----- .../current/other/audits.md | 1 - .../current/other/branding-guidelines.md | 1 - .../current/other/official-links.md | 26 ++- .../current/security/security-model.md | 1 - .../current/security/security-upgrades.md | 1 - .../current/tokenomics/aura-token.md | 1 - .../current/tokenomics/karma-token.md | 0 .../current/tokenomics/snt-token.md | 1 - .../current/tools/block-explorers.md | 36 ++- .../current/tools/bridge.md | 47 +++- .../current/tools/data-indexers.md | 1 - .../current/tools/general-tooling.md | 1 - .../current/tools/interoperability.md | 1 - .../current/tools/multisig-wallets.md | 1 - .../current/tools/node-operators.md | 1 - .../current/tools/oracles.md | 1 - .../current/tools/randomness.md | 1 - .../current/tools/rpc.md | 54 ++++- .../current/tools/testnet-faucets.md | 36 ++- .../deploying-contracts/using-foundry.md | 210 +++++++++++++++++- .../deploying-contracts/using-hardhat.md | 163 +++++++++++++- .../deploying-contracts/using-remix.md | 100 ++++++++- .../deploying-contracts/using-thirdweb.md | 1 - .../current/tutorials/ethers-tutorial.md | 1 - .../verifying-contracts/using-foundry.md | 1 - .../verifying-contracts/using-hardhat.md | 1 - i18n/ja/docusaurus-theme-classic/navbar.json | 56 +---- i18n/ko/code.json | 147 +++++++++++- .../current.json | 128 +++-------- .../general-info/add-status-network.md | 85 ++++++- .../general-info/bridge/bridge-from-status.md | 1 - .../general-info/bridge/bridge-to-status.md | 1 - .../general-info/bridge/bridging-testnet.md | 33 ++- .../contract-addresses/testnet-contracts.md | 44 +++- .../general-info/contract-addresses/tokens.md | 12 +- .../current/general-info/network-details.md | 32 ++- .../current/index.md | 29 ++- .../current/introduction/quick-start.md | 118 +++++----- .../current/other/audits.md | 1 - .../current/other/branding-guidelines.md | 1 - .../current/other/official-links.md | 26 ++- .../current/security/security-model.md | 1 - .../current/security/security-upgrades.md | 1 - .../current/tokenomics/aura-token.md | 1 - .../current/tokenomics/karma-token.md | 0 .../current/tokenomics/snt-token.md | 1 - .../current/tools/block-explorers.md | 36 ++- .../current/tools/bridge.md | 47 +++- .../current/tools/data-indexers.md | 1 - .../current/tools/general-tooling.md | 1 - .../current/tools/interoperability.md | 1 - .../current/tools/multisig-wallets.md | 1 - .../current/tools/node-operators.md | 1 - .../current/tools/oracles.md | 1 - .../current/tools/randomness.md | 1 - .../current/tools/rpc.md | 54 ++++- .../current/tools/testnet-faucets.md | 36 ++- .../deploying-contracts/using-foundry.md | 210 +++++++++++++++++- .../deploying-contracts/using-hardhat.md | 163 +++++++++++++- .../deploying-contracts/using-remix.md | 100 ++++++++- .../deploying-contracts/using-thirdweb.md | 1 - .../current/tutorials/ethers-tutorial.md | 1 - .../verifying-contracts/using-foundry.md | 1 - .../verifying-contracts/using-hardhat.md | 1 - i18n/ko/docusaurus-theme-classic/navbar.json | 54 +---- i18n/zh/code.json | 147 +++++++++++- .../current.json | 130 +++-------- .../general-info/add-status-network.md | 85 ++++++- .../general-info/bridge/bridge-from-status.md | 1 - .../general-info/bridge/bridge-to-status.md | 1 - .../general-info/bridge/bridging-testnet.md | 33 ++- .../contract-addresses/testnet-contracts.md | 44 +++- .../general-info/contract-addresses/tokens.md | 12 +- .../current/general-info/network-details.md | 32 ++- .../current/index.md | 29 ++- .../current/introduction/quick-start.md | 106 ++++----- .../current/other/audits.md | 1 - .../current/other/branding-guidelines.md | 1 - .../current/other/official-links.md | 26 ++- .../current/security/security-model.md | 1 - .../current/security/security-upgrades.md | 1 - .../current/tokenomics/aura-token.md | 1 - .../current/tokenomics/karma-token.md | 0 .../current/tokenomics/snt-token.md | 1 - .../current/tools/block-explorers.md | 36 ++- .../current/tools/bridge.md | 47 +++- .../current/tools/data-indexers.md | 1 - .../current/tools/general-tooling.md | 1 - .../current/tools/interoperability.md | 1 - .../current/tools/multisig-wallets.md | 1 - .../current/tools/node-operators.md | 1 - .../current/tools/oracles.md | 1 - .../current/tools/randomness.md | 1 - .../current/tools/rpc.md | 54 ++++- .../current/tools/testnet-faucets.md | 36 ++- .../deploying-contracts/using-foundry.md | 210 +++++++++++++++++- .../deploying-contracts/using-hardhat.md | 163 +++++++++++++- .../deploying-contracts/using-remix.md | 100 ++++++++- .../deploying-contracts/using-thirdweb.md | 1 - .../current/tutorials/ethers-tutorial.md | 1 - .../verifying-contracts/using-foundry.md | 1 - .../verifying-contracts/using-hardhat.md | 1 - i18n/zh/docusaurus-theme-classic/navbar.json | 54 +---- 115 files changed, 3331 insertions(+), 811 deletions(-) create mode 100755 create_i18n.sh delete mode 100644 i18n/ja/docusaurus-plugin-content-docs/current/general-info/bridge/bridge-from-status.md delete mode 100644 i18n/ja/docusaurus-plugin-content-docs/current/general-info/bridge/bridge-to-status.md delete mode 100644 i18n/ja/docusaurus-plugin-content-docs/current/other/audits.md delete mode 100644 i18n/ja/docusaurus-plugin-content-docs/current/other/branding-guidelines.md delete mode 100644 i18n/ja/docusaurus-plugin-content-docs/current/security/security-model.md delete mode 100644 i18n/ja/docusaurus-plugin-content-docs/current/security/security-upgrades.md delete mode 100644 i18n/ja/docusaurus-plugin-content-docs/current/tokenomics/aura-token.md create mode 100644 i18n/ja/docusaurus-plugin-content-docs/current/tokenomics/karma-token.md delete mode 100644 i18n/ja/docusaurus-plugin-content-docs/current/tools/data-indexers.md delete mode 100644 i18n/ja/docusaurus-plugin-content-docs/current/tools/general-tooling.md delete mode 100644 i18n/ja/docusaurus-plugin-content-docs/current/tools/interoperability.md delete mode 100644 i18n/ja/docusaurus-plugin-content-docs/current/tools/multisig-wallets.md delete mode 100644 i18n/ja/docusaurus-plugin-content-docs/current/tools/node-operators.md delete mode 100644 i18n/ja/docusaurus-plugin-content-docs/current/tools/oracles.md delete mode 100644 i18n/ja/docusaurus-plugin-content-docs/current/tools/randomness.md delete mode 100644 i18n/ja/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-thirdweb.md delete mode 100644 i18n/ja/docusaurus-plugin-content-docs/current/tutorials/ethers-tutorial.md delete mode 100644 i18n/ja/docusaurus-plugin-content-docs/current/tutorials/verifying-contracts/using-foundry.md delete mode 100644 i18n/ja/docusaurus-plugin-content-docs/current/tutorials/verifying-contracts/using-hardhat.md delete mode 100644 i18n/ko/docusaurus-plugin-content-docs/current/general-info/bridge/bridge-from-status.md delete mode 100644 i18n/ko/docusaurus-plugin-content-docs/current/general-info/bridge/bridge-to-status.md delete mode 100644 i18n/ko/docusaurus-plugin-content-docs/current/other/audits.md delete mode 100644 i18n/ko/docusaurus-plugin-content-docs/current/other/branding-guidelines.md delete mode 100644 i18n/ko/docusaurus-plugin-content-docs/current/security/security-model.md delete mode 100644 i18n/ko/docusaurus-plugin-content-docs/current/security/security-upgrades.md delete mode 100644 i18n/ko/docusaurus-plugin-content-docs/current/tokenomics/aura-token.md create mode 100644 i18n/ko/docusaurus-plugin-content-docs/current/tokenomics/karma-token.md delete mode 100644 i18n/ko/docusaurus-plugin-content-docs/current/tools/data-indexers.md delete mode 100644 i18n/ko/docusaurus-plugin-content-docs/current/tools/general-tooling.md delete mode 100644 i18n/ko/docusaurus-plugin-content-docs/current/tools/interoperability.md delete mode 100644 i18n/ko/docusaurus-plugin-content-docs/current/tools/multisig-wallets.md delete mode 100644 i18n/ko/docusaurus-plugin-content-docs/current/tools/node-operators.md delete mode 100644 i18n/ko/docusaurus-plugin-content-docs/current/tools/oracles.md delete mode 100644 i18n/ko/docusaurus-plugin-content-docs/current/tools/randomness.md delete mode 100644 i18n/ko/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-thirdweb.md delete mode 100644 i18n/ko/docusaurus-plugin-content-docs/current/tutorials/ethers-tutorial.md delete mode 100644 i18n/ko/docusaurus-plugin-content-docs/current/tutorials/verifying-contracts/using-foundry.md delete mode 100644 i18n/ko/docusaurus-plugin-content-docs/current/tutorials/verifying-contracts/using-hardhat.md delete mode 100644 i18n/zh/docusaurus-plugin-content-docs/current/general-info/bridge/bridge-from-status.md delete mode 100644 i18n/zh/docusaurus-plugin-content-docs/current/general-info/bridge/bridge-to-status.md delete mode 100644 i18n/zh/docusaurus-plugin-content-docs/current/other/audits.md delete mode 100644 i18n/zh/docusaurus-plugin-content-docs/current/other/branding-guidelines.md delete mode 100644 i18n/zh/docusaurus-plugin-content-docs/current/security/security-model.md delete mode 100644 i18n/zh/docusaurus-plugin-content-docs/current/security/security-upgrades.md delete mode 100644 i18n/zh/docusaurus-plugin-content-docs/current/tokenomics/aura-token.md create mode 100644 i18n/zh/docusaurus-plugin-content-docs/current/tokenomics/karma-token.md delete mode 100644 i18n/zh/docusaurus-plugin-content-docs/current/tools/data-indexers.md delete mode 100644 i18n/zh/docusaurus-plugin-content-docs/current/tools/general-tooling.md delete mode 100644 i18n/zh/docusaurus-plugin-content-docs/current/tools/interoperability.md delete mode 100644 i18n/zh/docusaurus-plugin-content-docs/current/tools/multisig-wallets.md delete mode 100644 i18n/zh/docusaurus-plugin-content-docs/current/tools/node-operators.md delete mode 100644 i18n/zh/docusaurus-plugin-content-docs/current/tools/oracles.md delete mode 100644 i18n/zh/docusaurus-plugin-content-docs/current/tools/randomness.md delete mode 100644 i18n/zh/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-thirdweb.md delete mode 100644 i18n/zh/docusaurus-plugin-content-docs/current/tutorials/ethers-tutorial.md delete mode 100644 i18n/zh/docusaurus-plugin-content-docs/current/tutorials/verifying-contracts/using-foundry.md delete mode 100644 i18n/zh/docusaurus-plugin-content-docs/current/tutorials/verifying-contracts/using-hardhat.md diff --git a/create_i18n.sh b/create_i18n.sh new file mode 100755 index 00000000..161ed7c1 --- /dev/null +++ b/create_i18n.sh @@ -0,0 +1,33 @@ +#!/bin/bash + +# Define languages +langs=("ko" "zh" "ja") + +# Define the file structure +files=( + "docs/i18n/LANG/docusaurus-plugin-content-docs/current/general-info/bridge/bridging-testnet.md" + "docs/i18n/LANG/docusaurus-plugin-content-docs/current/general-info/contract-addresses/testnet-contracts.md" + "docs/i18n/LANG/docusaurus-plugin-content-docs/current/general-info/contract-addresses/tokens.md" + "docs/i18n/LANG/docusaurus-plugin-content-docs/current/add-status-network.md" + "docs/i18n/LANG/docusaurus-plugin-content-docs/current/network-details.md" + "docs/i18n/LANG/docusaurus-plugin-content-docs/current/introduction/quick-start.md" + "docs/i18n/LANG/docusaurus-plugin-content-docs/current/other/official-links.md" + "docs/i18n/LANG/docusaurus-plugin-content-docs/current/tokenomics/karma-token.md" + "docs/i18n/LANG/docusaurus-plugin-content-docs/current/tokenomics/snt-token.md" + "docs/i18n/LANG/docusaurus-plugin-content-docs/current/tools/block-explorers.md" + "docs/i18n/LANG/docusaurus-plugin-content-docs/current/tools/bridge.md" + "docs/i18n/LANG/docusaurus-plugin-content-docs/current/tools/rpc.md" + "docs/i18n/LANG/docusaurus-plugin-content-docs/current/tools/testnet-faucets.md" + "docs/i18n/LANG/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-foundry.md" + "docs/i18n/LANG/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-hardhat.md" + "docs/i18n/LANG/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-remix.md" + "docs/i18n/LANG/docusaurus-plugin-content-docs/current/index.md" +) + +for lang in "${langs[@]}"; do + for file in "${files[@]}"; do + path=${file/LANG/$lang} + mkdir -p "$(dirname "$path")" + touch "$path" + done +done \ No newline at end of file diff --git a/i18n/ja/code.json b/i18n/ja/code.json index d1f63eb2..a8bd1f7d 100644 --- a/i18n/ja/code.json +++ b/i18n/ja/code.json @@ -122,14 +122,14 @@ "message": "{atDate}{byUser}最終更新", "description": "The sentence used to display when a page has been last updated, and by who" }, - "theme.NotFound.title": { - "message": "ページが見つかりません", - "description": "The title of the 404 page" - }, "theme.navbar.mobileVersionsDropdown.label": { "message": "他のバージョン", "description": "The label for the navbar versions dropdown on mobile view" }, + "theme.NotFound.title": { + "message": "ページが見つかりません", + "description": "The title of the 404 page" + }, "theme.tags.tagsListLabel": { "message": "タグ:", "description": "The label alongside a tag list" @@ -194,6 +194,10 @@ "message": "ナビゲーション", "description": "The ARIA label for the main navigation" }, + "theme.navbar.mobileLanguageDropdown.label": { + "message": "他の言語", + "description": "The label for the mobile language switcher dropdown" + }, "theme.NotFound.p1": { "message": "お探しのページが見つかりませんでした", "description": "The first paragraph of the 404 page" @@ -202,10 +206,6 @@ "message": "このページにリンクしているサイトの所有者にリンクが壊れていることを伝えてください", "description": "The 2nd paragraph of the 404 page" }, - "theme.navbar.mobileLanguageDropdown.label": { - "message": "他の言語", - "description": "The label for the mobile language switcher dropdown" - }, "theme.TOCCollapsible.toggleButtonLabel": { "message": "このページの見出し", "description": "The label used by the button on the collapsible TOC component" @@ -258,6 +258,137 @@ "message": "サイドバーを開く", "description": "The ARIA label and title attribute for expand button of doc sidebar" }, + "theme.SearchBar.seeAll": { + "message": "検索結果{count}件をすべて見る" + }, + "theme.SearchPage.documentsFound.plurals": { + "message": "{count}件のドキュメントが見つかりました", + "description": "Pluralized label for \"{count} documents found\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)" + }, + "theme.SearchPage.existingResultsTitle": { + "message": "『{query}』の検索結果", + "description": "The search page title for non-empty query" + }, + "theme.SearchPage.emptyResultsTitle": { + "message": "ドキュメントを検索", + "description": "The search page title for empty query" + }, + "theme.SearchPage.inputPlaceholder": { + "message": "検索するキーワードを入力してください", + "description": "The placeholder for search page input" + }, + "theme.SearchPage.inputLabel": { + "message": "検索", + "description": "The ARIA label for search page input" + }, + "theme.SearchPage.algoliaLabel": { + "message": "Algoliaで検索", + "description": "The ARIA label for Algolia mention" + }, + "theme.SearchPage.noResultsText": { + "message": "検索結果が見つかりませんでした", + "description": "The paragraph for empty search result" + }, + "theme.SearchPage.fetchingNewResults": { + "message": "新しい検索結果を取得しています...", + "description": "The paragraph for fetching new search results" + }, + "theme.SearchBar.label": { + "message": "検索", + "description": "The ARIA label and placeholder for search button" + }, + "theme.SearchModal.searchBox.resetButtonTitle": { + "message": "クリア", + "description": "The label and ARIA label for search box reset button" + }, + "theme.SearchModal.searchBox.cancelButtonText": { + "message": "キャンセル", + "description": "The label and ARIA label for search box cancel button" + }, + "theme.SearchModal.startScreen.recentSearchesTitle": { + "message": "最近の検索", + "description": "The title for recent searches" + }, + "theme.SearchModal.startScreen.noRecentSearchesText": { + "message": "最近の検索履歴はありません", + "description": "The text when no recent searches" + }, + "theme.SearchModal.startScreen.saveRecentSearchButtonTitle": { + "message": "この検索をお気に入りに追加", + "description": "The label for save recent search button" + }, + "theme.SearchModal.startScreen.removeRecentSearchButtonTitle": { + "message": "この検索を履歴から削除", + "description": "The label for remove recent search button" + }, + "theme.SearchModal.startScreen.favoriteSearchesTitle": { + "message": "お気に入り", + "description": "The title for favorite searches" + }, + "theme.SearchModal.startScreen.removeFavoriteSearchButtonTitle": { + "message": "この検索をお気に入りから削除", + "description": "The label for remove favorite search button" + }, + "theme.SearchModal.errorScreen.titleText": { + "message": "検索結果の取得に失敗しました", + "description": "The title for error screen of search modal" + }, + "theme.SearchModal.errorScreen.helpText": { + "message": "ネットワーク接続を確認してください", + "description": "The help text for error screen of search modal" + }, + "theme.SearchModal.footer.selectText": { + "message": "選ぶ", + "description": "The explanatory text of the action for the enter key" + }, + "theme.SearchModal.footer.selectKeyAriaLabel": { + "message": "エンターキー", + "description": "The ARIA label for the Enter key button that makes the selection" + }, + "theme.SearchModal.footer.navigateText": { + "message": "移動", + "description": "The explanatory text of the action for the Arrow up and Arrow down key" + }, + "theme.SearchModal.footer.navigateUpKeyAriaLabel": { + "message": "上矢印キー", + "description": "The ARIA label for the Arrow up key button that makes the navigation" + }, + "theme.SearchModal.footer.navigateDownKeyAriaLabel": { + "message": "下矢印キー", + "description": "The ARIA label for the Arrow down key button that makes the navigation" + }, + "theme.SearchModal.footer.closeText": { + "message": "閉じる", + "description": "The explanatory text of the action for Escape key" + }, + "theme.SearchModal.footer.closeKeyAriaLabel": { + "message": "エスケープキー", + "description": "The ARIA label for the Escape key button that close the modal" + }, + "theme.SearchModal.footer.searchByText": { + "message": "検索", + "description": "The text explain that the search is making by Algolia" + }, + "theme.SearchModal.noResultsScreen.noResultsText": { + "message": "見つかりませんでした", + "description": "The text explains that there are no results for the following search" + }, + "theme.SearchModal.noResultsScreen.suggestedQueryText": { + "message": "次の検索を試す:", + "description": "The text for the suggested query when no results are found for the following search" + }, + "theme.SearchModal.noResultsScreen.reportMissingResultsText": { + "message": "よりよい検索結果がありますか?", + "description": "The text for the question where the user thinks there are missing results" + }, + "theme.SearchModal.noResultsScreen.reportMissingResultsLinkText": { + "message": "報告する", + "description": "The text for the link to report missing results" + }, + "theme.SearchModal.placeholder": { + "message": "ドキュメントを検索", + "description": "The placeholder of the input of the DocSearch pop-up modal" + }, "theme.blog.post.plurals": { "message": "{count}件", "description": "Pluralized label for \"{count} posts\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)" diff --git a/i18n/ja/docusaurus-plugin-content-docs/current.json b/i18n/ja/docusaurus-plugin-content-docs/current.json index 41397529..1772963b 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current.json +++ b/i18n/ja/docusaurus-plugin-content-docs/current.json @@ -1,178 +1,110 @@ { "version.label": { - "message": "次へ", + "message": "Next", "description": "The label for version current" }, "sidebar.tutorialSidebar.category.INTRODUCTION": { - "message": "イントロダクション", + "message": "INTRODUCTION", "description": "The label for category INTRODUCTION in sidebar tutorialSidebar" }, "sidebar.tutorialSidebar.category.TOKENOMICS": { - "message": "トークノミクス", + "message": "TOKENOMICS", "description": "The label for category TOKENOMICS in sidebar tutorialSidebar" }, "sidebar.tutorialSidebar.category.GENERAL INFO": { - "message": "一般情報", + "message": "GENERAL INFO", "description": "The label for category GENERAL INFO in sidebar tutorialSidebar" }, "sidebar.tutorialSidebar.category.🏡 Contract Addresses": { - "message": "🏡 コントラクトアドレス", + "message": "🏡 Contract Addresses", "description": "The label for category 🏡 Contract Addresses in sidebar tutorialSidebar" }, "sidebar.tutorialSidebar.category.🌉 Bridge": { - "message": "🌉 ブリッジ", + "message": "🌉 Bridge", "description": "The label for category 🌉 Bridge in sidebar tutorialSidebar" }, "sidebar.tutorialSidebar.category.TOOLS": { - "message": "ツール", + "message": "TOOLS", "description": "The label for category TOOLS in sidebar tutorialSidebar" }, "sidebar.tutorialSidebar.category.TUTORIALS": { - "message": "チュートリアル", + "message": "TUTORIALS", "description": "The label for category TUTORIALS in sidebar tutorialSidebar" }, "sidebar.tutorialSidebar.category.🚀 Deploying a Smart Contract": { - "message": "🚀 スマートコントラクトのデプロイ", + "message": "🚀 Deploying a Smart Contract", "description": "The label for category 🚀 Deploying a Smart Contract in sidebar tutorialSidebar" }, - "sidebar.tutorialSidebar.category.🔍 Verifying Your Smart Contract": { - "message": "🔍 スマートコントラクトの検証", - "description": "The label for category 🔍 Verifying Your Smart Contract in sidebar tutorialSidebar" - }, - "sidebar.tutorialSidebar.category.SECURITY": { - "message": "セキュリティ", - "description": "The label for category SECURITY in sidebar tutorialSidebar" - }, "sidebar.tutorialSidebar.category.OTHER DOCS": { - "message": "その他のドキュメント", + "message": "OTHER DOCS", "description": "The label for category OTHER DOCS in sidebar tutorialSidebar" }, "sidebar.tutorialSidebar.doc.🏠 Home": { - "message": "🏠 ホーム", + "message": "🏠 Home", "description": "The label for the doc item 🏠 Home in sidebar tutorialSidebar, linking to the doc index" }, "sidebar.tutorialSidebar.doc.⚡ Quick Start": { - "message": "⚡ クイックスタート", + "message": "⚡ Quick Start", "description": "The label for the doc item ⚡ Quick Start in sidebar tutorialSidebar, linking to the doc introduction/quick-start" }, "sidebar.tutorialSidebar.doc.💎 SNT Token": { - "message": "💎 SNTトークン", + "message": "💎 SNT Token", "description": "The label for the doc item 💎 SNT Token in sidebar tutorialSidebar, linking to the doc tokenomics/snt-token" }, - "sidebar.tutorialSidebar.doc.💠 Aura Token": { - "message": "💠 オーラトークン", - "description": "The label for the doc item 💠 Aura Token in sidebar tutorialSidebar, linking to the doc tokenomics/aura-token" + "sidebar.tutorialSidebar.doc.💠 Karma Token": { + "message": "💠 Karma Token", + "description": "The label for the doc item 💠 Karma Token in sidebar tutorialSidebar, linking to the doc tokenomics/karma-token" }, "sidebar.tutorialSidebar.doc.🌐 Network Details": { - "message": "🌐 ネットワーク詳細", + "message": "🌐 Network Details", "description": "The label for the doc item 🌐 Network Details in sidebar tutorialSidebar, linking to the doc general-info/network-details" }, "sidebar.tutorialSidebar.doc.➕ Add Status Network": { - "message": "➕ ステータスネットワークを追加", + "message": "➕ Add Status Network", "description": "The label for the doc item ➕ Add Status Network in sidebar tutorialSidebar, linking to the doc general-info/add-status-network" }, "sidebar.tutorialSidebar.doc.💰 Tokens": { - "message": "💰 トークン", + "message": "💰 Tokens", "description": "The label for the doc item 💰 Tokens in sidebar tutorialSidebar, linking to the doc general-info/contract-addresses/tokens" }, "sidebar.tutorialSidebar.doc.🧪 Testnet Contracts": { - "message": "🧪 テストネットコントラクト", + "message": "🧪 Testnet Contracts", "description": "The label for the doc item 🧪 Testnet Contracts in sidebar tutorialSidebar, linking to the doc general-info/contract-addresses/testnet-contracts" }, - "sidebar.tutorialSidebar.doc.➡️ Bridge to Status": { - "message": "➡️ ステータスへのブリッジ", - "description": "The label for the doc item ➡️ Bridge to Status in sidebar tutorialSidebar, linking to the doc general-info/bridge/bridge-to-status" - }, - "sidebar.tutorialSidebar.doc.⬅️ Bridge from Status": { - "message": "⬅️ ステータスからのブリッジ", - "description": "The label for the doc item ⬅️ Bridge from Status in sidebar tutorialSidebar, linking to the doc general-info/bridge/bridge-from-status" - }, "sidebar.tutorialSidebar.doc.🧪 Bridging Testnet": { - "message": "🧪 テストネットのブリッジ", + "message": "🧪 Bridging Testnet", "description": "The label for the doc item 🧪 Bridging Testnet in sidebar tutorialSidebar, linking to the doc general-info/bridge/bridging-testnet" }, "sidebar.tutorialSidebar.doc.🔌 RPC": { "message": "🔌 RPC", "description": "The label for the doc item 🔌 RPC in sidebar tutorialSidebar, linking to the doc tools/rpc" }, - "sidebar.tutorialSidebar.doc.👥 Multisig Wallets": { - "message": "👥 マルチシグウォレット", - "description": "The label for the doc item 👥 Multisig Wallets in sidebar tutorialSidebar, linking to the doc tools/multisig-wallets" - }, "sidebar.tutorialSidebar.doc.🌉 Bridge": { - "message": "🌉 ブリッジ", + "message": "🌉 Bridge", "description": "The label for the doc item 🌉 Bridge in sidebar tutorialSidebar, linking to the doc tools/bridge" }, "sidebar.tutorialSidebar.doc.🚰 Testnet Faucets": { - "message": "🚰 テストネットファウセット", + "message": "🚰 Testnet Faucets", "description": "The label for the doc item 🚰 Testnet Faucets in sidebar tutorialSidebar, linking to the doc tools/testnet-faucets" }, "sidebar.tutorialSidebar.doc.🔎 Block Explorers": { - "message": "🔎 ブロックエクスプローラー", + "message": "🔎 Block Explorers", "description": "The label for the doc item 🔎 Block Explorers in sidebar tutorialSidebar, linking to the doc tools/block-explorers" }, - "sidebar.tutorialSidebar.doc.📊 Data Indexers": { - "message": "📊 データインデクサー", - "description": "The label for the doc item 📊 Data Indexers in sidebar tutorialSidebar, linking to the doc tools/data-indexers" - }, - "sidebar.tutorialSidebar.doc.🔮 Oracles": { - "message": "🔮 オラクル", - "description": "The label for the doc item 🔮 Oracles in sidebar tutorialSidebar, linking to the doc tools/oracles" - }, - "sidebar.tutorialSidebar.doc.🔗 Interoperability": { - "message": "🔗 相互運用性", - "description": "The label for the doc item 🔗 Interoperability in sidebar tutorialSidebar, linking to the doc tools/interoperability" - }, - "sidebar.tutorialSidebar.doc.🎲 Randomness": { - "message": "🎲 ランダムネス", - "description": "The label for the doc item 🎲 Randomness in sidebar tutorialSidebar, linking to the doc tools/randomness" - }, - "sidebar.tutorialSidebar.doc.🛠️ General Tooling": { - "message": "🛠️ 一般的なツール", - "description": "The label for the doc item 🛠️ General Tooling in sidebar tutorialSidebar, linking to the doc tools/general-tooling" - }, - "sidebar.tutorialSidebar.doc.🖥️ Node Operators": { - "message": "🖥️ ノードオペレーター", - "description": "The label for the doc item 🖥️ Node Operators in sidebar tutorialSidebar, linking to the doc tools/node-operators" - }, - "sidebar.tutorialSidebar.doc.📘 Ethers Tutorial": { - "message": "📘 Ethersチュートリアル", - "description": "The label for the doc item 📘 Ethers Tutorial in sidebar tutorialSidebar, linking to the doc tutorials/ethers-tutorial" - }, "sidebar.tutorialSidebar.doc.🎩 Using Hardhat": { - "message": "🎩 Hardhatの使用", - "description": "The label for the doc item 🎩 Using Hardhat in sidebar tutorialSidebar, linking to the doc tutorials/verifying-contracts/using-hardhat" - }, - "sidebar.tutorialSidebar.doc.🌐 Using Thirdweb": { - "message": "🌐 Thirdwebの使用", - "description": "The label for the doc item 🌐 Using Thirdweb in sidebar tutorialSidebar, linking to the doc tutorials/deploying-contracts/using-thirdweb" + "message": "🎩 Using Hardhat", + "description": "The label for the doc item 🎩 Using Hardhat in sidebar tutorialSidebar, linking to the doc tutorials/deploying-contracts/using-hardhat" }, "sidebar.tutorialSidebar.doc.⚒️ Using Foundry": { - "message": "⚒️ Foundryの使用", - "description": "The label for the doc item ⚒️ Using Foundry in sidebar tutorialSidebar, linking to the doc tutorials/verifying-contracts/using-foundry" + "message": "⚒️ Using Foundry", + "description": "The label for the doc item ⚒️ Using Foundry in sidebar tutorialSidebar, linking to the doc tutorials/deploying-contracts/using-foundry" }, "sidebar.tutorialSidebar.doc.🎛️ Using Remix": { - "message": "🎛️ Remixの使用", + "message": "🎛️ Using Remix", "description": "The label for the doc item 🎛️ Using Remix in sidebar tutorialSidebar, linking to the doc tutorials/deploying-contracts/using-remix" }, - "sidebar.tutorialSidebar.doc.🛡️ Security Model": { - "message": "🛡️ セキュリティモデル", - "description": "The label for the doc item 🛡️ Security Model in sidebar tutorialSidebar, linking to the doc security/security-model" - }, - "sidebar.tutorialSidebar.doc.⬆️ Security Upgrades": { - "message": "⬆️ セキュリティアップグレード", - "description": "The label for the doc item ⬆️ Security Upgrades in sidebar tutorialSidebar, linking to the doc security/security-upgrades" - }, - "sidebar.tutorialSidebar.doc.🔒 Audits": { - "message": "🔒 監査", - "description": "The label for the doc item 🔒 Audits in sidebar tutorialSidebar, linking to the doc other/audits" - }, "sidebar.tutorialSidebar.doc.🔗 Official Links": { - "message": "🔗 公式リンク", + "message": "🔗 Official Links", "description": "The label for the doc item 🔗 Official Links in sidebar tutorialSidebar, linking to the doc other/official-links" - }, - "sidebar.tutorialSidebar.doc.🎨 Branding Guidelines": { - "message": "🎨 ブランディングガイドライン", - "description": "The label for the doc item 🎨 Branding Guidelines in sidebar tutorialSidebar, linking to the doc other/branding-guidelines" } } diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/general-info/add-status-network.md b/i18n/ja/docusaurus-plugin-content-docs/current/general-info/add-status-network.md index 5c0f5962..af6f99e9 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/general-info/add-status-network.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/general-info/add-status-network.md @@ -1 +1,84 @@ -# Add Status Network \ No newline at end of file +# Status Networkの追加 + +このガイドでは、ウォレットに**Status Network**を追加する方法を説明します。 + +## テストネット + +MetaMaskにカスタムネットワークとして**Status Networkテストネット**を追加するには: + +1. **MetaMaskを開く**: + + - ブラウザでMetaMask拡張機能のアイコンをクリックして開きます。 + +2. **ネットワーク設定にアクセス**: + + - MetaMaskウィンドウ上部のネットワーク選択ドロップダウンをクリックします。 + +3. **新しいネットワークを追加**: + + - **「ネットワークを追加」**をクリックします。 + - 新しいウィンドウで**「ネットワークを手動で追加」**をクリックします。 + +4. **ネットワークの詳細を入力**: + + - 以下の情報を入力します: + + | 名前 | 値 | + |------------------|------------------------------------------| + | **ネットワーク名** | Status Network Testnet | + | **RPC URL** | https://public.sepolia.rpc.status.network | + | **チェーンID** | 1660990954 | + | **通貨シンボル** | `ETH` | + | **ブロックエクスプローラーURL** | https://sepoliascan.status.network | + +5. **ネットワークを保存**: + + - **「保存」**をクリックしてStatus NetworkテストネットをMetaMaskウォレットに追加します。 + +これで、ネットワークドロップダウンメニューからStatus Networkテストネットを選択して接続できるようになりました。 + +--- + +## モバイルウォレット + +### MetaMaskモバイルにStatus Networkを追加する + +1. **MetaMaskモバイルアプリを開く**: + + - モバイルデバイスでMetaMaskアプリを起動します。 + +2. **設定にアクセス**: + + - 左上のハンバーガーメニュー(三本の横線)をタップします。 + - **「設定」**を選択します。 + +3. **新しいネットワークを追加**: + + - **「ネットワーク」**をタップします。 + - **「ネットワークを追加」**をタップします。 + +4. **ネットワークの詳細を入力**: + + - 上記のテストネットと同じネットワーク詳細を入力します。 + +5. **ネットワークを保存**: + + - **「追加」**をタップして新しいネットワークを保存します。 + +--- + +## 追加情報 + +- **公式リンク**: + + - [Status Networkウェブサイト](https://status.network/) + - [Status Networkドキュメント](https://docs.status.network/) + - [Status Networkテストネットエクスプローラー](https://sepoliascan.status.network) + +- **サポートが必要な場合**: + + - 問題が発生した場合は、サポート用の[Telegram](https://t.me/+k04A_OZbhIs1Mzc9)にご参加ください。 + +--- + +このガイドに従うことで、MetaMaskウォレットにStatus Networkを正常に追加できました! diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/general-info/bridge/bridge-from-status.md b/i18n/ja/docusaurus-plugin-content-docs/current/general-info/bridge/bridge-from-status.md deleted file mode 100644 index 68882076..00000000 --- a/i18n/ja/docusaurus-plugin-content-docs/current/general-info/bridge/bridge-from-status.md +++ /dev/null @@ -1 +0,0 @@ -# Bridge From Status \ No newline at end of file diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/general-info/bridge/bridge-to-status.md b/i18n/ja/docusaurus-plugin-content-docs/current/general-info/bridge/bridge-to-status.md deleted file mode 100644 index b584d3bb..00000000 --- a/i18n/ja/docusaurus-plugin-content-docs/current/general-info/bridge/bridge-to-status.md +++ /dev/null @@ -1 +0,0 @@ -# Bridge To Status \ No newline at end of file diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/general-info/bridge/bridging-testnet.md b/i18n/ja/docusaurus-plugin-content-docs/current/general-info/bridge/bridging-testnet.md index ab7d6827..f2bc04ae 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/general-info/bridge/bridging-testnet.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/general-info/bridge/bridging-testnet.md @@ -1 +1,32 @@ -# Bridging Testnet \ No newline at end of file +# Status Network テストネットへのブリッジング + +Status Network ブリッジを使用すると、SepoliaとStatus Networkテストネット間でトークンを転送することができます。ブリッジは[bridge.status.network](https://bridge.status.network)にデプロイされています。 + +## 前提条件 + +- MetaMaskまたは他のWeb3ウォレットがインストールされていること +- Sepoliaネットワーク上にテストネットETHを保有していること +- Sepoliaネットワーク上でブリッジしたいトークンを保有していること + +## ブリッジの手順 + +1. [bridge.status.network](https://bridge.status.network)にアクセス + +2. 右上の「ウォレットを接続」ボタンをクリックしてウォレットを接続 + +3. ドロップダウンメニューからブリッジしたいトークンを選択 + +4. ブリッジしたい金額を入力 + +5. 「ブリッジ」をクリックし、ウォレットで取引を承認 + +6. ブリッジングプロセスが完了するまで待機 + - ブリッジングには通常5-10分程度かかります + - ブリッジインターフェース上で取引状況を確認できます + +## 重要な注意事項 + +- 取引を開始する前に、正しいウェブサイト(bridge.status.network)にアクセスしていることを必ず確認してください +- 大きな金額を転送する前に、少額でテストすることをお勧めします +- ガス代を支払うのに十分なETHをウォレットに保有していることを確認してください +- 問題が発生した場合は、サポート用の[Telegram](https://t.me/+k04A_OZbhIs1Mzc9)にご参加ください diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/general-info/contract-addresses/testnet-contracts.md b/i18n/ja/docusaurus-plugin-content-docs/current/general-info/contract-addresses/testnet-contracts.md index ed1db2b7..a572cbae 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/general-info/contract-addresses/testnet-contracts.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/general-info/contract-addresses/testnet-contracts.md @@ -1 +1,43 @@ -# Testnet Contracts \ No newline at end of file +# テストネットのコントラクト + +このページでは、Status Networkテストネットインフラストラクチャの重要なコントラクトアドレスを全て掲載しています。 + +## レイヤー1コントラクト(Sepolia) + +これらのコントラクトはSepoliaテストネットにデプロイされています。[Sepolia Etherscan](https://sepolia.etherscan.io)で確認できます。 + +### ブリッジコントラクト +- **L1トークンブリッジプロキシ** + - アドレス: [`0x01b44C5Ea321f921D93476cf54Aa8460db17a548`](https://sepolia.etherscan.io/address/0x01b44C5Ea321f921D93476cf54Aa8460db17a548) + - 目的: L1上のトークンブリッジング操作を管理 + +### コアインフラストラクチャ +- **L1ポストマン** + - アドレス: [`0xB15725119b917d348FfEB365B43bCDeEbfb65C5d`](https://sepolia.etherscan.io/address/0xB15725119b917d348FfEB365B43bCDeEbfb65C5d) + - 目的: L1とL2間のメッセージ受け渡しを処理 + +- **L1データ送信** + - アドレス: [`0x263d8f55BAc71a42d0A822F46b1eC62Cd4183a8d`](https://sepolia.etherscan.io/address/0x263d8f55BAc71a42d0A822F46b1eC62Cd4183a8d) + - 目的: L2からL1へのデータ送信を管理 + +- **L1ファイナライゼーション** + - アドレス: [`0xb91CB39b3b9F015b0aC88616A463B35568052AEF`](https://sepolia.etherscan.io/address/0xb91CB39b3b9F015b0aC88616A463B35568052AEF) + - 目的: L1上のL2ブロックのファイナライゼーションを処理 + +## レイヤー2コントラクト(Status Networkテストネット) + +これらのコントラクトはStatus Networkテストネットにデプロイされています。[Status Network Explorer](https://sepoliascan.status.network)で確認できます。 + +### ブリッジコントラクト +- **L2トークンブリッジプロキシ** + - アドレス: [`0xbC7f9571152a8e21942b2aEa4831a27f1149af19`](https://sepoliascan.status.network/address/0xbC7f9571152a8e21942b2aEa4831a27f1149af19) + - 目的: L2上のトークンブリッジング操作を管理 + +### インフラストラクチャコントラクト +- **L2フォーセット** + - アドレス: [`0x06338B70F1eAbc60d7A82C083e605C07F78bb878`](https://sepoliascan.status.network/address/0x06338B70F1eAbc60d7A82C083e605C07F78bb878) + - 目的: ユーザーにテストネットトークンを配布 + +- **L2アンカリング** + - アドレス: [`0x24B5eD2763129D6cBDEfE32e08558D2095132560`](https://sepoliascan.status.network/address/0x24B5eD2763129D6cBDEfE32e08558D2095132560) + - 目的: L1とL2間の状態アンカリングを管理 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/general-info/contract-addresses/tokens.md b/i18n/ja/docusaurus-plugin-content-docs/current/general-info/contract-addresses/tokens.md index 7e1c51cd..87e6d2de 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/general-info/contract-addresses/tokens.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/general-info/contract-addresses/tokens.md @@ -1 +1,11 @@ -# Tokens \ No newline at end of file +# トークン + +Status Network上でサポートされているトークンとそのコントラクトアドレスの最新リストについては、公式の[Status Networkトークンリストリポジトリ](https://github.com/status-im/status-network-token-list)をご参照ください。 + +このリポジトリには以下が含まれています: +- L1(Sepolia)とL2(Status Network)両方のトークンアドレス +- トークンのメタデータ(小数点以下の桁数、シンボルなど) +- ブリッジコントラクトのマッピング +- Status Networkにデプロイされているアプリケーショントークン + +トークンリストは、トークンブリッジング操作の正確性とセキュリティを確保するため、定期的に維持・更新されています。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/general-info/network-details.md b/i18n/ja/docusaurus-plugin-content-docs/current/general-info/network-details.md index 9207ef1f..d3b043ab 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/general-info/network-details.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/general-info/network-details.md @@ -1,12 +1,20 @@ -# Network Details - -## Status Testnet - -| Name | Value | -|---------------------|-------| -| **Network Name** | | -| **RPC Endpoint** | | -| **Chain ID** | | -| **Currency Symbol** | | -| **Block Explorer** | | -| **Bridge** | | \ No newline at end of file +# ネットワークの詳細 + +## Status テストネット + +| 名前 | 値 | +|---------------------|------------------------------------------| +| **ネットワーク名** | Status Network Testnet | +| **RPC エンドポイント** | https://public.sepolia.rpc.status.network | +| **チェーンID** | 1660990954 | +| **通貨シンボル** | ETH | +| **ブロックエクスプローラー** | https://sepoliascan.status.network | +| **ブリッジ** | https://bridge.status.network | + +これらはStatus Networkテストネットの公式ネットワーク詳細です。これらの詳細は以下の用途に使用できます: +- ウォレットへのネットワークの追加 +- 開発環境の設定 +- ネットワークへのdAppsの接続 +- スマートコントラクトの検証 + +ウォレットへのネットワークの追加方法については、[Status Network追加ガイド](./add-status-network.md)をご参照ください。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/index.md b/i18n/ja/docusaurus-plugin-content-docs/current/index.md index db9d4473..0c746b82 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/index.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/index.md @@ -1,28 +1,27 @@ --- id: index -title: ステータスネットワークの紹介 +title: Status Networkへようこそ slug: / sidebar_position: 1 --- -# ステータスネットワークへようこそ +# Status Network: ガスレスなレイヤー2ネットワーク -ブロックチェーン体験を再構築する暗号ソーシャルプレイグラウンド、**ステータスネットワーク**へようこそ!最先端の[LineaのZK-EVM技術](https://docs.linea.build/architecture)上に構築された**EVMと同等のイーサリアムレイヤー2ロールアップ**として、ステータスネットワークは他のプラットフォームとは一線を画すユニークな機能を提供します。 -## 私たちのユニークな点は? +## 今すぐ開発を始めましょう -### 💰 ネイティブなETHとDAIのイールド +分散型アプリケーションの未来に参加する準備はできていますか?以下が始め方です: -あなたの**ETH**と**DAI**資産で持続的で魅力的なイールドをお楽しみください!私たちはレイヤー2ソリューションの中でも独特な機能であるネイティブなイールド生成を提供しており、ネットワークに参加しながら暗号資産を手軽に増やすことができます。 +1. [Status NetworkをウォレットへAdd](/general-info/add-status-network) +2. [テストネットETHを入手](/tools/testnet-faucets) +3. [アセットをブリッジ](/general-info/bridge/bridging-testnet) +4. [最初のコントラクトをデプロイ](/tutorials/deploying-contracts/using-remix) -### 🏆 $AURAトークンを獲得 +## サポート&リソース -**リアルタイム**でのエンゲージメントに対して報酬を獲得しましょう!ネットワーク活動に参加し、**$SNTをステーキング**して**$AURAトークン**を獲得できます。取引、ステーキング、コミュニティへの関与を通じて、より多くの相互作用をするほど、活気あるコミュニティ内での影響力が増します。あなたの$AURAは、ネットワークの未来を形作る上であなたの声を強めます。 +コミュニティに参加し、必要なリソースにアクセスしましょう: +- [Telegramビルダーズコミュニティ](https://t.me/+k04A_OZbhIs1Mzc9)に参加 +- [ネットワーク詳細](/general-info/network-details)を確認 +- [コントラクトアドレス](/general-info/contract-addresses/testnet-contracts)を閲覧 -### 🔒 遊び心あるプライバシー - -**安全で楽しい**プライバシー機能を体験してください!私たちはプライバシーは基本的な権利であり、複雑さなしに誰もがアクセスできるべきだと信じています。使いやすいプライバシーツールにより、安全なやり取りを楽しくし、従来の複雑なプライバシー技術の概念から脱却します。 - ---- - -ステータスネットワークに参加して、**あなたの積極的な参加が本当に未来を形作る**、ユニークでプライバシー重視のやりがいのある暗号コミュニティの一員になりましょう!一緒に暗号の遊び場を作りましょう! \ No newline at end of file +素晴らしいものを作る準備はできていますか?今すぐStatus Networkでの旅を始めましょう! diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/introduction/quick-start.md b/i18n/ja/docusaurus-plugin-content-docs/current/introduction/quick-start.md index 95887538..c81f2e3f 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/introduction/quick-start.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/introduction/quick-start.md @@ -1,38 +1,37 @@ # クイックスタート -このセクションでは、**Status Network テストネット**で10分以内にサンプルコントラクトをデプロイする方法を紹介します。 +このセクションでは、10分以内に**Status Networkテストネット**にサンプルコントラクトをデプロイする方法を説明します。 -シンプルさのために、Remix IDEを使用してStatus Network上でスマートコントラクトをデプロイする方法を見てみましょう。 +簡単のため、Remix IDEを使用してStatus Networkにスマートコントラクトをデプロイする方法を見ていきましょう。 -## 準備を整える +## 準備 始める前に: -- **MetaMaskにStatus Network テストネットを追加する**: +1. **Status NetworkテストネットをMetaMaskに追加**: - MetaMaskにStatus Network テストネットを追加する手順については、[Status Network ドキュメント](/general-info/add-status-network)をご覧ください。ネットワークのRPC URL、チェーンID、その他の詳細が必要です。 + MetaMaskにStatus Networkテストネットを追加する方法については、[Status Network追加ガイド](/general-info/add-status-network)の手順に従ってください。 -- **テストネットトークンを取得する**: +2. **テストETHを入手**: - このガイドでは、Status NetworkでテストネットETHを取得していることを前提としています。テストトークンをリクエストするには、[Status Network テストネットファウセット](#)を使用できます。 + SepoliaのETHとStatus NetworkのETHの両方が必要です: + - まず[Sepoliaフォーセット](https://faucet.status.network)からSepolia ETHを入手 + - 次に[Statusブリッジ](https://bridge.status.network)を使用してETHをStatus Networkにブリッジ + - または、[テストネットフォーセット](https://sepoliascan.status.network/address/0x06338B70F1eAbc60d7A82C083e605C07F78bb878)から直接Status Network ETHを入手 -準備ができました! +これで準備完了です! ## Remixとサンプルコード -**Remix**は、スマートコントラクトを開発するためのセットアップ不要のツールです。簡単に始められ、シンプルなデプロイプロセス、デバッグ、スマートコントラクトとのやり取りなどが可能です。デプロイされたスマートコントラクトと対話し、迅速な変更をテストするのに最適なツールです。 +**Remix**は、セットアップ不要のスマートコントラクト開発ツールです。簡単に始められ、シンプルなデプロイプロセス、デバッグ、スマートコントラクトとの対話などが可能です。 -このチュートリアルでは、Remixのサンプルとして提供されている`SimpleStorage.sol`スマートコントラクトをデプロイしますが、ご自身のコードを使用することもできます。 - -サンプルコードはこちらです: +このチュートリアルでは、シンプルな`SimpleStorage.sol`コントラクトをデプロイします: ```solidity -// SPDX-License-Identifier: GPL-3.0 - -pragma solidity ^0.8.24; +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.0; contract SimpleStorage { - uint256 number; function store(uint256 num) public { @@ -45,70 +44,75 @@ contract SimpleStorage { } ``` -> **注意:** このコントラクトは、数値を保存し、その数値を読み取ることができます。 +> **注意:** このコントラクトは数値を保存し、その数値を読み取ることができます。 ## デプロイの手順 -1. **サンプルコードをコピーする**: +1. **サンプルコードをコピー**: - サンプルコードをコピーし、Remixで`SimpleStorage.sol`という新しいファイルに貼り付けます。 -2. **スマートコントラクトをコンパイルする**: +2. **スマートコントラクトをコンパイル**: + + - 左サイドバーの**Solidityコンパイラー**タブに移動。 + - コンパイラーバージョンが0.8.0以上であることを確認。 + - **「SimpleStorage.solをコンパイル」**をクリック。 + - コントラクトコードを変更するたびに自動コンパイルするには**「自動コンパイル」**を有効にできます。 - - **Solidity Compiler**タブ(左のサイドバー)に移動します。 - - コンパイラのバージョンがコントラクトのプラグマ文(`0.8.24`)と一致していることを確認します。 - - **「Compile SimpleStorage.sol」**をクリックします。 - - コントラクトコードを変更するたびに自動的にコンパイルするには、**「Auto compile」**を有効にできます。 +3. **スマートコントラクトをデプロイ**: -3. **スマートコントラクトをデプロイする**: + - **デプロイ&実行トランザクション**タブに切り替え。 + - **「環境」**ドロップダウンメニューで**「Injected Provider - MetaMask」**を選択。 + - MetaMaskがRemixへの接続を求めることがあります。接続を確認してください。 + - MetaMaskで**Status Networkテストネット**が選択されていることを確認。 + - **「コントラクト」**で`SimpleStorage`が選択されていることを確認。 + - **「デプロイ」**をクリック。 + - MetaMaskがポップアップし、トランザクションの確認を求めます。ガス代はETHで支払われます。 + - トランザクションの詳細を確認し、**「確認」**をクリック。 + - トランザクションがマイニングされるのを待ちます。 - - **Deploy & Run Transactions**タブに切り替えます。 - - **「Environment」**ドロップダウンメニューで、**「Injected Provider - MetaMask」**を選択します。これにより、RemixがMetaMaskウォレットに接続されます。 - - MetaMaskがRemixへの接続を求める場合があります。接続を確認してください。 - - MetaMaskで**Status Network テストネット**が選択されていることを確認します。 - - **「Contract」**の下で、`SimpleStorage`が選択されていることを確認します。 - - **「Deploy」**をクリックします。 - - MetaMaskがポップアップし、トランザクションの確認を求めます。 - - トランザクションの詳細を確認し、**「Confirm」**をクリックします。 - - トランザクションがマイニングされるのを待ちます。RemixやMetaMaskでステータスを追跡できます。 +4. **デプロイを確認**: + + - デプロイ後、Remixからコントラクトのアドレスをコピー + - [Status Networkエクスプローラー](https://sepoliascan.status.network)で確認 -**おめでとうございます!** Status Network上で初めてのスマートコントラクトをデプロイしました。 +**おめでとうございます!** Status Networkに最初のスマートコントラクトをデプロイしました。 ## デプロイしたスマートコントラクトと対話する -1. **デプロイされたコントラクトにアクセスする**: +1. **デプロイしたコントラクトにアクセス**: - - Remixで、**「Deployed Contracts」**セクションの下に、デプロイされた`SimpleStorage`コントラクトが表示されます。 + - Remixの**「デプロイされたコントラクト」**セクションで、デプロイした`SimpleStorage`コントラクトが表示されます。 -2. **数値を保存する**: +2. **数値を保存**: - - デプロイされたコントラクトを展開し、その関数を表示します。 - - **「store」**関数の入力フィールドに、数値(例:`42`)を入力します。 - - **「transact」**をクリックします。 - - MetaMaskがトランザクションの確認を求めます。**「Confirm」**をクリックします。 + - デプロイされたコントラクトを展開して関数を表示。 + - **「store」**関数の入力フィールドに数値(例:`42`)を入力。 + - **「transact」**をクリック。 + - MetaMaskがトランザクションの確認を求めます。ガス代はETHで支払われます。 - トランザクションが確認されるのを待ちます。 -3. **数値を取得する**: +3. **数値を取得**: - - **「retrieve」**関数をクリックします。 - - 保存された数値がボタンの下に表示されます。 + - **「retrieve」**関数をクリック。 + - ボタンの下に保存された数値が表示されます。 + - これはview関数なので、ガス代は不要です。 ## 次のステップ - **サポートを受ける**: - - - 問題が発生したり質問がある場合は、[Status Network サポート](https://status.app)を訪れるか、コミュニティチャンネルに参加して支援を受けてください。 + - サポートが必要な場合は[Telegramコミュニティ](https://t.me/+k04A_OZbhIs1Mzc9)に参加 + - 詳細については[ネットワークの詳細](/general-info/network-details)をチェック + - Status Networkへの[トークンのブリッジ](/general-info/bridge/bridging-testnet)について学ぶ ## まとめ -あなたは次のことに成功しました: - -- Status Network テストネットと対話するための環境を設定しました。 -- Remix IDEとMetaMaskを使用してスマートコントラクトをデプロイしました。 -- 数値の保存と取得によって、デプロイしたコントラクトと対話しました。 - ---- - -もっと深く学びたい場合は、より複雑なスマートコントラクトを探求してみてください。追加のチュートリアルは[こちら](/tutorials/ethers-tutorial)からご覧いただけます。 +以下のことを達成しました: +- Status Networkテストネットと対話するための環境設定 +- ブリッジまたはフォーセットを通じてテストネットETHを入手 +- Remix IDEとMetaMaskを使用してスマートコントラクトをデプロイ +- 数値の保存と取得によってデプロイしたコントラクトと対話 -**楽しいコーディングを!** \ No newline at end of file +より高度な開発については、以下を使用したデプロイのガイドをチェックしてください: +- [Hardhat](/tutorials/deploying-contracts/using-hardhat) +- [Foundry](/tutorials/deploying-contracts/using-foundry) diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/other/audits.md b/i18n/ja/docusaurus-plugin-content-docs/current/other/audits.md deleted file mode 100644 index f6262aa3..00000000 --- a/i18n/ja/docusaurus-plugin-content-docs/current/other/audits.md +++ /dev/null @@ -1 +0,0 @@ -# Audits diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/other/branding-guidelines.md b/i18n/ja/docusaurus-plugin-content-docs/current/other/branding-guidelines.md deleted file mode 100644 index 4ef944fa..00000000 --- a/i18n/ja/docusaurus-plugin-content-docs/current/other/branding-guidelines.md +++ /dev/null @@ -1 +0,0 @@ -# Branding Guidelines 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 af9162d8..de1748fe 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 @@ -1 +1,25 @@ -# Official Links +# 公式リンク + +このページにはStatus Networkエコシステムの全ての公式リンクが掲載されています。 + +## 主要リソース +- **ウェブサイト**: [status.network](https://status.network) +- **ドキュメント**: [docs.status.network](https://docs.status.network) +- **GitHub**: [github.com/status-im](https://github.com/status-im) + +## ネットワークツール +- **ブリッジ**: [bridge.status.network](https://bridge.status.network) +- **ブロックエクスプローラー**: [sepoliascan.status.network](https://sepoliascan.status.network) +- **RPCエンドポイント**: `https://public.sepolia.rpc.status.network` +- **フォーセット**: [faucet.status.network](https://faucet.status.network) + +## 開発リソース +- **トークンリストリポジトリ**: [github.com/status-im/status-network-token-list](https://github.com/status-im/status-network-token-list) +- **ネットワークステータス**: [status.status.network](https://health.status.network) +- **コントラクト検証**: [sepoliascan.status.network/verify-contract](https://sepoliascan.status.network/contract-verification) + +## コミュニティ&サポート +- **Telegramコミュニティ**: [t.me/+k04A_OZbhIs1Mzc9](https://t.me/+k04A_OZbhIs1Mzc9) +- **X/twitter**: [twitter.com/ethstatus](https://x.com/statusL2) + +ウォレットへのネットワークの追加方法については、[ネットワーク追加ガイド](/general-info/add-status-network)をご参照ください。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/security/security-model.md b/i18n/ja/docusaurus-plugin-content-docs/current/security/security-model.md deleted file mode 100644 index 548947cd..00000000 --- a/i18n/ja/docusaurus-plugin-content-docs/current/security/security-model.md +++ /dev/null @@ -1 +0,0 @@ -# Status Network Security Model diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/security/security-upgrades.md b/i18n/ja/docusaurus-plugin-content-docs/current/security/security-upgrades.md deleted file mode 100644 index a56181d3..00000000 --- a/i18n/ja/docusaurus-plugin-content-docs/current/security/security-upgrades.md +++ /dev/null @@ -1 +0,0 @@ -# Security Upgrades diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/tokenomics/aura-token.md b/i18n/ja/docusaurus-plugin-content-docs/current/tokenomics/aura-token.md deleted file mode 100644 index a3631d43..00000000 --- a/i18n/ja/docusaurus-plugin-content-docs/current/tokenomics/aura-token.md +++ /dev/null @@ -1 +0,0 @@ -# $AURA token \ No newline at end of file diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/tokenomics/karma-token.md b/i18n/ja/docusaurus-plugin-content-docs/current/tokenomics/karma-token.md new file mode 100644 index 00000000..e69de29b diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/tokenomics/snt-token.md b/i18n/ja/docusaurus-plugin-content-docs/current/tokenomics/snt-token.md index f2a982f0..e69de29b 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/tokenomics/snt-token.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/tokenomics/snt-token.md @@ -1 +0,0 @@ -# $SNT Token \ No newline at end of file diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/tools/block-explorers.md b/i18n/ja/docusaurus-plugin-content-docs/current/tools/block-explorers.md index bec200a1..97929659 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/tools/block-explorers.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/tools/block-explorers.md @@ -1 +1,35 @@ -# Block Explorers \ No newline at end of file +# Status Networkテストネットエクスプローラー + +Status Networkブロックエクスプローラーは[sepoliascan.status.network](https://sepoliascan.status.network)で利用できます。 + +### 機能 +- トランザクションの詳細とステータスの確認 +- トークンの転送と残高の追跡 +- スマートコントラクトのソースコード検証 +- ガス価格とネットワークアクティビティの監視 +- 検証済みスマートコントラクトの表示と対話 +- 任意のアドレスのトークン保有状況の追跡 + +## Sepoliaエクスプローラー(レイヤー1) + +Sepolia(レイヤー1)上のトランザクションを追跡するには、[Sepolia Etherscan](https://sepolia.etherscan.io)を使用します。 + +これは特に以下の用途に便利です: +- L1からL2へのブリッジトランザクションの監視 +- トークンの入出金の追跡 +- L1コントラクトの対話の確認 + +## コントラクト検証 + +Status Networkエクスプローラーでスマートコントラクトを検証するには: + +1. [コントラクト検証](https://sepoliascan.status.network/contract-verification)に移動 +2. コントラクトアドレスを入力 +3. ソースコードをアップロードしコンパイル詳細を提供 +4. 検証のために送信 + +検証が完了すると、コントラクトのソースコードが公開され、ユーザーはエクスプローラーを通じて直接対話できるようになります。 + +## API アクセス + +Status Networkエクスプローラーは開発者向けにAPIエンドポイントを提供しています。APIのドキュメントは近日公開予定です。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/tools/bridge.md b/i18n/ja/docusaurus-plugin-content-docs/current/tools/bridge.md index 6df6423c..b7a1c110 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/tools/bridge.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/tools/bridge.md @@ -1 +1,46 @@ -# Bridge \ No newline at end of file +# Status Networkテストネットブリッジ + +Status Networkテストネットブリッジを使用すると、Sepolia(レイヤー1)とStatus Networkテストネット(レイヤー2)間でトークンを転送できます。ブリッジインターフェースは[bridge.status.network](https://bridge.status.network)で利用できます。 + +## 概要 + +ブリッジは以下を可能にする重要なインフラストラクチャコンポーネントとして機能します: +- SepoliaからStatus Networkテストネットへのトークン転送 +- Status NetworkテストネットからSepoliaへのトークン引き出し +- L1とL2間のメッセージ受け渡し + +## ブリッジコントラクト + +### レイヤー1(Sepolia) +- **トークンブリッジ**: [`0x01b44C5Ea321f921D93476cf54Aa8460db17a548`](https://sepolia.etherscan.io/address/0x01b44C5Ea321f921D93476cf54Aa8460db17a548) + +### レイヤー2(Status Network) +- **トークンブリッジ**: [`0xbC7f9571152a8e21942b2aEa4831a27f1149af19`](https://sepoliascan.status.network/address/0xbC7f9571152a8e21942b2aEa4831a27f1149af19) + +## 機能 + +- **トークンブリッジング**: ネットワーク間でERC-20トークンを転送 +- **ETHブリッジング**: SepoliaとStatus Network間でETHをブリッジ +- **トランザクション追跡**: ブリッジトランザクションのステータスを監視 +- **ガス見積もり**: ブリッジ前に推定ガスコストを確認 + +## サポートされているトークン + +サポートされているトークンとそのコントラクトアドレスの最新リストについては、[トークンリストリポジトリ](https://github.com/status-im/status-network-token-list)をご参照ください。 + +## ブリッジの使用 + +ブリッジの使用方法の詳細な手順や重要なセキュリティ上の考慮事項については、[ブリッジングガイド](../general-info/bridge/bridging-testnet.md)をご参照ください。 + +## ブリッジトランザクションの監視 + +以下を使用してブリッジトランザクションを監視できます: +- L2トランザクションには[Status Networkエクスプローラー](https://sepoliascan.status.network) +- L1トランザクションには[Sepolia Etherscan](https://sepolia.etherscan.io) + +## サポート + +ブリッジ使用中に問題が発生した場合: +- 一般的な解決策については[ブリッジングガイド](../general-info/bridge/bridging-testnet.md)をチェック +- サポートについては[Telegramコミュニティ](https://t.me/+k04A_OZbhIs1Mzc9)に参加 +- 進行中の問題については[ネットワークステータス](https://health.status.network)を確認 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/tools/data-indexers.md b/i18n/ja/docusaurus-plugin-content-docs/current/tools/data-indexers.md deleted file mode 100644 index 229b8957..00000000 --- a/i18n/ja/docusaurus-plugin-content-docs/current/tools/data-indexers.md +++ /dev/null @@ -1 +0,0 @@ -# Data Indexers \ No newline at end of file diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/tools/general-tooling.md b/i18n/ja/docusaurus-plugin-content-docs/current/tools/general-tooling.md deleted file mode 100644 index 9734bec5..00000000 --- a/i18n/ja/docusaurus-plugin-content-docs/current/tools/general-tooling.md +++ /dev/null @@ -1 +0,0 @@ -# General Tooling \ No newline at end of file diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/tools/interoperability.md b/i18n/ja/docusaurus-plugin-content-docs/current/tools/interoperability.md deleted file mode 100644 index d36e7a61..00000000 --- a/i18n/ja/docusaurus-plugin-content-docs/current/tools/interoperability.md +++ /dev/null @@ -1 +0,0 @@ -# Interoperability \ No newline at end of file diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/tools/multisig-wallets.md b/i18n/ja/docusaurus-plugin-content-docs/current/tools/multisig-wallets.md deleted file mode 100644 index 14d8b789..00000000 --- a/i18n/ja/docusaurus-plugin-content-docs/current/tools/multisig-wallets.md +++ /dev/null @@ -1 +0,0 @@ -# Multisig Wallets \ No newline at end of file diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/tools/node-operators.md b/i18n/ja/docusaurus-plugin-content-docs/current/tools/node-operators.md deleted file mode 100644 index fd5aff76..00000000 --- a/i18n/ja/docusaurus-plugin-content-docs/current/tools/node-operators.md +++ /dev/null @@ -1 +0,0 @@ -# Node Operators \ No newline at end of file diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/tools/oracles.md b/i18n/ja/docusaurus-plugin-content-docs/current/tools/oracles.md deleted file mode 100644 index c4b094ab..00000000 --- a/i18n/ja/docusaurus-plugin-content-docs/current/tools/oracles.md +++ /dev/null @@ -1 +0,0 @@ -# Oracles \ No newline at end of file diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/tools/randomness.md b/i18n/ja/docusaurus-plugin-content-docs/current/tools/randomness.md deleted file mode 100644 index 83f1176a..00000000 --- a/i18n/ja/docusaurus-plugin-content-docs/current/tools/randomness.md +++ /dev/null @@ -1 +0,0 @@ -# Randomness \ No newline at end of file diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/tools/rpc.md b/i18n/ja/docusaurus-plugin-content-docs/current/tools/rpc.md index 36d693aa..8565407e 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/tools/rpc.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/tools/rpc.md @@ -1 +1,53 @@ -# RPCs \ No newline at end of file +# RPCエンドポイント + +Status Networkは、ネットワークとの対話を可能にする公開RPC(Remote Procedure Call)エンドポイントを提供しています。 + +## 公開RPC URL + +``` +https://public.sepolia.rpc.status.network +``` + +## RPCの使用 + +### MetaMaskへの追加 +このRPCを使用してStatus Networkをウォレットに追加する方法については、[ネットワーク追加ガイド](../general-info/add-status-network.md)をご参照ください。 + +### Web3ライブラリの設定 + +```javascript +// Web3.js +const web3 = new Web3('https://public.sepolia.rpc.status.network'); + +// Ethers.js v5 +const provider = new ethers.providers.JsonRpcProvider('https://public.sepolia.rpc.status.network'); +``` + +## 利用可能なメソッド + +RPCエンドポイントは、以下を含む標準的なEthereum JSON-RPCメソッドをサポートしています: + +- `eth_blockNumber`: 最新のブロック番号を取得 +- `eth_getBalance`: アカウント残高を取得 +- `eth_sendRawTransaction`: 署名済みトランザクションを送信 +- `eth_call`: トランザクションを作成せずにコールを実行 +- `eth_getLogs`: イベントログを取得 +- `eth_getTransactionByHash`: トランザクションの詳細を取得 +- `eth_getBlockByNumber`: ブロック情報を取得 + +サポートされているRPCメソッドの完全なリストと詳細な仕様については、Status NetworkがLinea技術をベースにしているため、[Linea APIリファレンス](https://docs.linea.build/api/reference)を参照してください。 + +## レート制限 + +公開RPCエンドポイントには、公平な使用を確保するためのレート制限があります: +- IPあたり1秒間に10リクエスト +- IPあたり1日100,000リクエスト + +より高い制限が必要な場合は、Telegramでお問い合わせください。 + +## サポート + +RPCエンドポイントに問題が発生した場合: +- 進行中の問題については[ネットワークステータス](https://health.status.network)をチェック +- サポートについては[Telegramコミュニティ](https://t.me/+k04A_OZbhIs1Mzc9)に参加 +- アプリケーションにフォールバックRPC戦略の実装を検討 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/tools/testnet-faucets.md b/i18n/ja/docusaurus-plugin-content-docs/current/tools/testnet-faucets.md index 2173daef..ce1409c6 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/tools/testnet-faucets.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/tools/testnet-faucets.md @@ -1 +1,35 @@ -# Testnet Faucets \ No newline at end of file +# テストネットフォーセット + +Status Networkテストネットを始めるには、SepoliaのETHとStatus Networkテストネットの両方のETHが必要です。 + +## Status Networkテストネットフォーセット + +Status Networkテストネットフォーセットは[faucet.status.network](https://faucet.status.network)で利用できます。 + +### 詳細 +- **フォーセットコントラクト**: [`0x06338B70F1eAbc60d7A82C083e605C07F78bb878`](https://sepoliascan.status.network/address/0x06338B70F1eAbc60d7A82C083e605C07F78bb878) +- **配布量**: リクエストあたり0.1 ETH +- **クールダウン**: アドレスあたり1日1回のリクエスト + +### テストネットETHの入手方法 + +1. [faucet.status.network](https://faucet.status.network)にアクセス +2. ウォレットを接続 +3. 「資金をリクエスト」をクリック +4. ウォレットでトランザクションを確認 +5. ETHがウォレットに表示されるのを待つ(通常数秒かかります) + +## Sepolia ETH(ブリッジに必要) + +Status Networkテストネットにアセットをブリッジするには、まずSepolia ETHが必要です。以下から入手できます: + +2. [Alchemy Sepoliaフォーセット](https://www.alchemy.com/faucets/ethereum-sepolia) +3. [Metamask Sepoliaフォーセット](https://docs.metamask.io/developer-tools/faucet/) + +Sepolia ETHを入手したら、[Status Networkブリッジ](https://bridge.status.network)を使用してStatus Networkテストネットにブリッジできます。 + +## サポート + +フォーセットに問題が発生した場合: +- 進行中の問題については[ネットワークステータス](https://health.status.network)をチェック +- サポートについては[Telegramコミュニティ](https://t.me/+k04A_OZbhIs1Mzc9)に参加 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-foundry.md b/i18n/ja/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-foundry.md index f44729c0..c73e77f3 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-foundry.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-foundry.md @@ -1 +1,209 @@ -# Using Foundry \ No newline at end of file +# Foundryを使用したスマートコントラクトのデプロイ + +このチュートリアルでは、Foundryを使用してStatus Networkテストネットにスマートコントラクトをデプロイする手順を説明します。 + +## 前提条件 + +開始する前に、以下が必要です: + +- **Foundry**: [公式Foundryブック](https://book.getfoundry.sh/getting-started/installation)からインストール +- **Ethereumウォレット**: Status Networkテストネット用のプライベートキー +- **テストネットETH**: Status NetworkテストネットのETHが必要です + - Status NetworkテストネットのETHは[フォーセット](/tools/testnet-faucets)から入手できます +- **基本知識**: Solidityとコマンドラインの基礎知識 + +## 達成目標 + +- Foundryプロジェクトの初期化 +- 基本的なEthereumスマートコントラクトの作成 +- Status Networkテストネットデプロイ用のFoundryの設定 +- スマートコントラクトのデプロイ + +## 手順 + +### 1. Foundryプロジェクトの初期化 + +まず、新しいFoundryプロジェクトを作成します: + +```bash +# 新規プロジェクトの作成 +forge init hello_status +cd hello_status + +# プライベートキー用の.envファイルを作成 +touch .env +echo "PRIVATE_KEY=your_private_key_here" >> .env +``` + +### 2. スマートコントラクトの作成 + +`src/Counter.sol`を`HelloWorld.sol`に置き換えます: + +```solidity +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.24; + +contract HelloWorld { + string public greet = "Hello, Status Network!"; + + function setGreet(string memory _greet) public { + greet = _greet; + } + + function getGreet() public view returns (string memory) { + return greet; + } +} +``` + +### 3. Status Network用のFoundryの設定 + +`foundry.toml`を作成または更新します: + +```toml +[profile.default] +src = "src" +out = "out" +libs = ["lib"] +solc = "0.8.24" + +[rpc_endpoints] +status_testnet = "https://public.sepolia.rpc.status.network" +``` + +### 4. コントラクトのデプロイ + +デプロイメントスクリプト`script/Deploy.s.sol`を作成します: + +```solidity +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.24; + +import "forge-std/Script.sol"; +import "../src/HelloWorld.sol"; + +contract DeployScript is Script { + function run() external { + uint256 deployerPrivateKey = vm.envUint("PRIVATE_KEY"); + + vm.startBroadcast(deployerPrivateKey); + + HelloWorld hello = new HelloWorld(); + console.log("HelloWorld deployed to:", address(hello)); + + vm.stopBroadcast(); + } +} +``` + +forgeを使用してデプロイします: + +```bash +# 環境変数の読み込み +source .env + +# Status Networkテストネットにデプロイ +forge script script/Deploy.s.sol:DeployScript \ + --rpc-url https://public.sepolia.rpc.status.network \ + --broadcast \ +``` + +### 5. コントラクトとの対話 + +コントラクトと対話するスクリプト`script/Interact.s.sol`を作成します: + +```solidity +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.24; + +import "forge-std/Script.sol"; +import "../src/HelloWorld.sol"; + +contract InteractScript is Script { + function run() external { + uint256 deployerPrivateKey = vm.envUint("PRIVATE_KEY"); + address contractAddress = address(0x...); // コントラクトアドレスに置き換えてください + + vm.startBroadcast(deployerPrivateKey); + + HelloWorld hello = HelloWorld(contractAddress); + + // 現在の挨拶を読み取り + string memory currentGreeting = hello.getGreet(); + console.log("Current greeting:", currentGreeting); + + // 挨拶を更新 + hello.setGreet("Hello from Foundry!"); + + vm.stopBroadcast(); + } +} +``` + +対話スクリプトを実行します: + +```bash +forge script script/Interact.s.sol:InteractScript \ + --rpc-url https://public.sepolia.rpc.status.network \ + --broadcast +``` + +### 6. 簡単な対話のためのCastコマンド + +`cast`を使用してコントラクトと対話することもできます: + +```bash +# 挨拶を読み取り +cast call "getGreet()" \ + --rpc-url https://public.sepolia.rpc.status.network + +# 新しい挨拶を設定 +cast send "setGreet(string)" "New greeting!" \ + --private-key $PRIVATE_KEY \ + --rpc-url https://public.sepolia.rpc.status.network +``` + +### 7. テスト + +テストファイル`test/HelloWorld.t.sol`を作成します: + +```solidity +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.24; + +import "forge-std/Test.sol"; +import "../src/HelloWorld.sol"; + +contract HelloWorldTest is Test { + HelloWorld hello; + + function setUp() public { + hello = new HelloWorld(); + } + + function testGreeting() public { + assertEq(hello.getGreet(), "Hello, Status Network!"); + + hello.setGreet("New greeting"); + assertEq(hello.getGreet(), "New greeting"); + } +} +``` + +テストを実行します: + +```bash +forge test +``` + +## サポート + +問題が発生した場合: +- [Telegramコミュニティ](https://t.me/+k04A_OZbhIs1Mzc9)に参加 +- [ネットワークステータス](https://health.status.network)を確認 +- [ネットワーク詳細](/general-info/network-details)を参照 + +## 追加リソース + +- [Foundryブック](https://book.getfoundry.sh/) +- [Status Networkエクスプローラー](https://sepoliascan.status.network) diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-hardhat.md b/i18n/ja/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-hardhat.md index e8d21dc2..55ffafa9 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-hardhat.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-hardhat.md @@ -1 +1,162 @@ -# Using Hardhat \ No newline at end of file +# Hardhatを使用したスマートコントラクトのデプロイ + +このチュートリアルでは、Hardhat、Hardhat Ignition、およびTypeScriptを使用してStatus Networkテストネットにスマートコントラクトをデプロイする手順を説明します。 + +## 前提条件 + +開始する前に、以下が必要です: + +- **Node.jsとnpm**: [公式Node.jsウェブサイト](https://nodejs.org/)からダウンロードしてインストール +- **Ethereumウォレット**: Status Networkテストネット用のプライベートキーを持つMetaMaskまたは他のウォレット +- **テストネットETH**: Status NetworkテストネットのETHが必要です + - Status NetworkテストネットのETHは[フォーセット](/tools/testnet-faucets)から入手できます +- **基本知識**: Solidity、Hardhat、コマンドラインの基礎知識 + +## 達成目標 + +- TypeScriptベースのHardhatプロジェクトの初期化 +- 基本的なEthereumスマートコントラクトの作成 +- Status Networkテストネットデプロイ用のHardhatの設定 +- Hardhat Ignitionを使用したスマートコントラクトのデプロイ + +## 手順 + +### 1. HardhatのTypeScriptプロジェクトの初期化 + +まず、プロジェクトを作成し設定します: + +```bash +mkdir my-hardhat-project && cd my-hardhat-project +npm init -y +npm install --save-dev hardhat @nomicfoundation/hardhat-toolbox dotenv +npx hardhat init +``` + +プロンプトが表示されたら、「Create a TypeScript project」を選択してTypeScriptベースのHardhatプロジェクトを設定します。 + +環境変数を設定します: + +```bash +# .envファイルを作成 +touch .env + +# プライベートキーを追加(このファイルは絶対にコミットしないでください!) +echo "PRIVATE_KEY=your_private_key_here" >> .env +``` + +### 2. スマートコントラクトの作成 + +`contracts/HelloWorld.sol`を作成します: + +```solidity +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.24; + +contract HelloWorld { + string public greet = "Hello, Status Network!"; + + function setGreet(string memory _greet) public { + greet = _greet; + } + + function getGreet() public view returns (string memory) { + return greet; + } +} +``` + +### 3. Status Network用のHardhatの設定 + +`hardhat.config.ts`を更新します: + +```typescript +import { HardhatUserConfig } from "hardhat/config"; +import "@nomicfoundation/hardhat-toolbox"; +import * as dotenv from "dotenv"; + +dotenv.config(); + +const PRIVATE_KEY = process.env.PRIVATE_KEY || ""; + +const config: HardhatUserConfig = { + solidity: "0.8.24", + networks: { + statusTestnet: { + url: "https://public.sepolia.rpc.status.network", + chainId: 1660990954, + accounts: [PRIVATE_KEY], + }, + }, +}; + +export default config; +``` + +### 4. Ignitionデプロイメントモジュールの作成 + +`ignition/modules/HelloWorld.ts`を作成します: + +```typescript +import { buildModule } from "@nomicfoundation/hardhat-ignition/modules"; + +export default buildModule("HelloWorld", (m) => { + const helloWorld = m.contract("HelloWorld"); + + return { helloWorld }; +}); +``` + +### 5. コントラクトのデプロイ + +```bash +npx hardhat compile +npx hardhat ignition deploy ignition/modules/HelloWorld.ts --network statusTestnet +``` + +デプロイメントにより、デプロイメントの成果物と履歴を含む新しいディレクトリ`ignition/deployments`が作成されます。 + +### 7. コントラクトとの対話 + +`scripts/interact.ts`を作成します: + +```typescript +import { ethers } from "hardhat"; +import { HelloWorld } from "../typechain-types"; + +async function main() { + const contractAddress = "0x0d8a93870494Fa21ec39602f31Aa67C9Fed5604f"; + const HelloWorld = await ethers.getContractFactory("HelloWorld"); + const contract = HelloWorld.attach(contractAddress) as HelloWorld; + + // 現在の挨拶を読み取り + const greeting = await contract.getGreet(); + console.log("Current greeting:", greeting); + + // 挨拶を更新 + const tx = await contract.setGreet("Hello from Status Network!"); + await tx.wait(); + console.log("Greeting updated!"); + + // 更新された挨拶を読み取り + const newGreeting = await contract.getGreet(); + console.log("New greeting:", newGreeting); +} + +main().catch((error) => { + console.error(error); + process.exitCode = 1; +}); +``` + +対話スクリプトを実行します: + +```bash +npx hardhat run scripts/interact.ts --network statusTestnet +``` + +## サポート + +問題が発生した場合: +- [Telegramコミュニティ](https://t.me/+k04A_OZbhIs1Mzc9)に参加 +- [ネットワークステータス](https://health.status.network)を確認 +- [ネットワーク詳細](/general-info/network-details)を参照 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-remix.md b/i18n/ja/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-remix.md index 55e9fb7b..d3d4008c 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-remix.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-remix.md @@ -1 +1,99 @@ -# Using Remix \ No newline at end of file +# Remixを使用したスマートコントラクトのデプロイ + +このチュートリアルでは、Remix IDEを使用してStatus Networkテストネットにスマートコントラクトをデプロイする手順を説明します。Remixは、迅速な開発とテストに最適なブラウザベースのIDEです。 + +## 前提条件 + +開始する前に、以下が必要です: + +- **Webブラウザ**: ChromeやFirefoxなどの最新のブラウザ +- **MetaMask**: [MetaMask](https://metamask.io)ブラウザ拡張機能をインストール +- **テストネットETH**: Status NetworkテストネットのETHが必要です + - Status NetworkテストネットのETHは[フォーセット](/tools/testnet-faucets)から入手できます +- **ネットワーク設定**: [ネットワーク追加ガイド](/general-info/add-status-network)に従ってMetaMaskにStatus Networkテストネットを追加 + +## 手順 + +### 1. Remix IDEを開く + +ブラウザで[remix.ethereum.org](https://remix.ethereum.org)にアクセスします。 + +### 2. 新規ファイルの作成 + +1. 「File Explorer」アイコン(左サイドバーの最初のアイコン)をクリック +2. 「+」ボタンをクリックして新規ファイルを作成 +3. `HelloWorld.sol`という名前を付ける + +### 3. スマートコントラクトの作成 + +以下のコードを`HelloWorld.sol`にコピー&ペーストします: + +```solidity +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.24; + +contract HelloWorld { + string public greet = "Hello, Status Network!"; + + function setGreet(string memory _greet) public { + greet = _greet; + } + + function getGreet() public view returns (string memory) { + return greet; + } +} +``` + +### 4. コントラクトのコンパイル + +1. 「Solidity Compiler」アイコン(左サイドバーの2番目のアイコン)をクリック +2. コンパイラバージョン「0.8.24」を選択 +3. 「Compile HelloWorld.sol」をクリック +4. コンパイルが成功することを確認(緑のチェックマークが表示されます) + +### 5. コントラクトのデプロイ + +1. 「Deploy & Run Transactions」アイコン(左サイドバーの4番目のアイコン)をクリック +2. 「Environment」ドロップダウンで「Injected Provider - MetaMask」を選択 +3. MetaMaskが接続を要求 - Status Networkテストネットが選択されていることを確認 +4. 「Deploy」をクリック +5. MetaMaskでトランザクションを確認 +6. トランザクションが確認されるのを待つ + +### 6. コントラクトとの対話 + +デプロイ後、「Deployed Contracts」の下にコントラクトが表示されます: + +1. コントラクトインターフェースを展開 +2. 以下の操作が可能です: + - 「greet」をクリックして現在の挨拶を読み取り + - 「setGreet」フィールドに新しい挨拶を入力してボタンをクリックして更新 + - 「getGreet」をクリックして挨拶を再度読み取り + +## トラブルシューティング + +### よくある問題 + +1. **トランザクションの失敗** + - Status Networkテストネットに接続されていることを確認 + +2. **コントラクトが見つからない** + - エクスプローラーがコントラクトをインデックスするまで数分待つ + - コントラクトアドレスを再確認 + +3. **コンパイルエラー** + - コンパイラーバージョンがpragma文と一致することを確認 + - Remixで強調表示された構文エラーを確認 + +## サポート + +問題が発生した場合: +- [Telegramコミュニティ](https://t.me/+k04A_OZbhIs1Mzc9)に参加 +- [ネットワークステータス](https://health.status.network)を確認 +- [ネットワーク詳細](/general-info/network-details)を参照 + +## 追加リソース + +- [Remixドキュメント](https://remix-ide.readthedocs.io/) +- [Status Networkエクスプローラー](https://sepoliascan.status.network) diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-thirdweb.md b/i18n/ja/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-thirdweb.md deleted file mode 100644 index 32bc2c7c..00000000 --- a/i18n/ja/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-thirdweb.md +++ /dev/null @@ -1 +0,0 @@ -# Using Thirdweb \ No newline at end of file diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/tutorials/ethers-tutorial.md b/i18n/ja/docusaurus-plugin-content-docs/current/tutorials/ethers-tutorial.md deleted file mode 100644 index 463fbe90..00000000 --- a/i18n/ja/docusaurus-plugin-content-docs/current/tutorials/ethers-tutorial.md +++ /dev/null @@ -1 +0,0 @@ -# Interacting with Smart Contracts using ethers.js \ No newline at end of file diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/tutorials/verifying-contracts/using-foundry.md b/i18n/ja/docusaurus-plugin-content-docs/current/tutorials/verifying-contracts/using-foundry.md deleted file mode 100644 index f44729c0..00000000 --- a/i18n/ja/docusaurus-plugin-content-docs/current/tutorials/verifying-contracts/using-foundry.md +++ /dev/null @@ -1 +0,0 @@ -# Using Foundry \ No newline at end of file diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/tutorials/verifying-contracts/using-hardhat.md b/i18n/ja/docusaurus-plugin-content-docs/current/tutorials/verifying-contracts/using-hardhat.md deleted file mode 100644 index e8d21dc2..00000000 --- a/i18n/ja/docusaurus-plugin-content-docs/current/tutorials/verifying-contracts/using-hardhat.md +++ /dev/null @@ -1 +0,0 @@ -# Using Hardhat \ No newline at end of file diff --git a/i18n/ja/docusaurus-theme-classic/navbar.json b/i18n/ja/docusaurus-theme-classic/navbar.json index e81dfc16..8064df51 100644 --- a/i18n/ja/docusaurus-theme-classic/navbar.json +++ b/i18n/ja/docusaurus-theme-classic/navbar.json @@ -1,62 +1,14 @@ { "title": { - "message": "ステータスネットワークドキュメント", + "message": "Status Network Docs", "description": "The title in the navbar" }, "logo.alt": { - "message": "ステータスネットワークロゴ", + "message": "Status Network Logo", "description": "The alt text of navbar logo" }, - "item.label.Tools": { - "message": "ツール", - "description": "Navbar item with label Tools" - }, "item.label.Hub": { - "message": "ハブ", + "message": "Hub", "description": "Navbar item with label Hub" - }, - "item.label.🔌 RPC": { - "message": "🔌 RPC", - "description": "Navbar item with label 🔌 RPC" - }, - "item.label.👥 Multisig Wallets": { - "message": "👥 マルチシグウォレット", - "description": "Navbar item with label 👥 Multisig Wallets" - }, - "item.label.🌉 Bridge": { - "message": "🌉 ブリッジ", - "description": "Navbar item with label 🌉 Bridge" - }, - "item.label.🚰 Testnet Faucets": { - "message": "🚰 テストネットファウセット", - "description": "Navbar item with label 🚰 Testnet Faucets" - }, - "item.label.🔎 Block Explorers": { - "message": "🔎 ブロックエクスプローラー", - "description": "Navbar item with label 🔎 Block Explorers" - }, - "item.label.📊 Data Indexers": { - "message": "📊 データインデクサー", - "description": "Navbar item with label 📊 Data Indexers" - }, - "item.label.🔮 Oracles": { - "message": "🔮 オラクル", - "description": "Navbar item with label 🔮 Oracles" - }, - "item.label.🔗 Interoperability": { - "message": "🔗 相互運用性", - "description": "Navbar item with label 🔗 Interoperability" - }, - "item.label.🎲 Randomness": { - "message": "🎲 ランダムネス", - "description": "Navbar item with label 🎲 Randomness" - }, - "item.label.🛠️ General Tooling": { - "message": "🛠️ 一般的なツール", - "description": "Navbar item with label 🛠️ General Tooling" - }, - "item.label.🖥️ Node Operators": { - "message": "🖥️ ノードオペレーター", - "description": "Navbar item with label 🖥️ Node Operators" } -} \ No newline at end of file +} diff --git a/i18n/ko/code.json b/i18n/ko/code.json index 3440eef5..e91247a3 100644 --- a/i18n/ko/code.json +++ b/i18n/ko/code.json @@ -43,6 +43,10 @@ "message": "모든 태그 보기", "description": "The label of the link targeting the tag list page" }, + "theme.docs.DocCard.categoryDescription.plurals": { + "message": "{count} 항목", + "description": "The default description for a category card in the generated index about how many items this category includes" + }, "theme.colorToggle.ariaLabel": { "message": "어두운 모드와 밝은 모드 전환하기 (현재 {mode})", "description": "The ARIA label for the navbar color mode toggle" @@ -59,10 +63,6 @@ "message": "Breadcrumbs", "description": "The ARIA label for the breadcrumbs" }, - "theme.docs.DocCard.categoryDescription.plurals": { - "message": "{count} 항목", - "description": "The default description for a category card in the generated index about how many items this category includes" - }, "theme.docs.paginator.navAriaLabel": { "message": "문서 페이지", "description": "The ARIA label for the docs pagination" @@ -222,10 +222,6 @@ "message": "약 {readingTime}분", "description": "Pluralized label for \"{readingTime} min read\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)" }, - "theme.docs.breadcrumbs.home": { - "message": "홈", - "description": "The ARIA label for the home page in the breadcrumbs" - }, "theme.docs.sidebar.collapseButtonTitle": { "message": "사이드바 숨기기", "description": "The title attribute for collapse button of doc sidebar" @@ -238,6 +234,10 @@ "message": "문서 사이드바", "description": "The ARIA label for the sidebar navigation" }, + "theme.docs.breadcrumbs.home": { + "message": "홈", + "description": "The ARIA label for the home page in the breadcrumbs" + }, "theme.docs.sidebar.closeSidebarButtonAriaLabel": { "message": "사이드바 닫기", "description": "The ARIA label for close button of mobile sidebar" @@ -258,6 +258,137 @@ "message": "사이드바 열기", "description": "The ARIA label and title attribute for expand button of doc sidebar" }, + "theme.SearchBar.seeAll": { + "message": "{count}개의 결과 확인하기" + }, + "theme.SearchBar.label": { + "message": "검색", + "description": "The ARIA label and placeholder for search button" + }, + "theme.SearchModal.searchBox.resetButtonTitle": { + "message": "검색어 초기화", + "description": "The label and ARIA label for search box reset button" + }, + "theme.SearchModal.searchBox.cancelButtonText": { + "message": "취소", + "description": "The label and ARIA label for search box cancel button" + }, + "theme.SearchModal.startScreen.recentSearchesTitle": { + "message": "최근", + "description": "The title for recent searches" + }, + "theme.SearchModal.startScreen.noRecentSearchesText": { + "message": "최근 검색어 없음", + "description": "The text when no recent searches" + }, + "theme.SearchModal.startScreen.saveRecentSearchButtonTitle": { + "message": "이 검색어를 저장", + "description": "The label for save recent search button" + }, + "theme.SearchModal.startScreen.removeRecentSearchButtonTitle": { + "message": "이 검색어를 최근 검색어에서 삭제", + "description": "The label for remove recent search button" + }, + "theme.SearchModal.startScreen.favoriteSearchesTitle": { + "message": "즐겨찾기", + "description": "The title for favorite searches" + }, + "theme.SearchModal.startScreen.removeFavoriteSearchButtonTitle": { + "message": "이 검색어를 즐겨찾기에서 삭제", + "description": "The label for remove favorite search button" + }, + "theme.SearchModal.errorScreen.titleText": { + "message": "결과를 불러올 수 없음", + "description": "The title for error screen of search modal" + }, + "theme.SearchModal.errorScreen.helpText": { + "message": "인터넷 연결을 다시 확인하시기 바랍니다.", + "description": "The help text for error screen of search modal" + }, + "theme.SearchModal.footer.selectText": { + "message": "로 선택", + "description": "The explanatory text of the action for the enter key" + }, + "theme.SearchModal.footer.selectKeyAriaLabel": { + "message": "엔터 키", + "description": "The ARIA label for the Enter key button that makes the selection" + }, + "theme.SearchModal.footer.navigateText": { + "message": "로 이동", + "description": "The explanatory text of the action for the Arrow up and Arrow down key" + }, + "theme.SearchModal.footer.navigateUpKeyAriaLabel": { + "message": "화살표 위 키", + "description": "The ARIA label for the Arrow up key button that makes the navigation" + }, + "theme.SearchModal.footer.navigateDownKeyAriaLabel": { + "message": "화살표 아래 키", + "description": "The ARIA label for the Arrow down key button that makes the navigation" + }, + "theme.SearchModal.footer.closeText": { + "message": "로 종료", + "description": "The explanatory text of the action for Escape key" + }, + "theme.SearchModal.footer.closeKeyAriaLabel": { + "message": "Esc 키", + "description": "The ARIA label for the Escape key button that close the modal" + }, + "theme.SearchModal.footer.searchByText": { + "message": "검색 제공", + "description": "The text explain that the search is making by Algolia" + }, + "theme.SearchModal.noResultsScreen.noResultsText": { + "message": "검색 결과 없음", + "description": "The text explains that there are no results for the following search" + }, + "theme.SearchModal.noResultsScreen.suggestedQueryText": { + "message": "다른 추천 검색어", + "description": "The text for the suggested query when no results are found for the following search" + }, + "theme.SearchModal.noResultsScreen.reportMissingResultsText": { + "message": "검색 결과가 없는 것이 오류라고 생각되십니까?", + "description": "The text for the question where the user thinks there are missing results" + }, + "theme.SearchModal.noResultsScreen.reportMissingResultsLinkText": { + "message": "알려주시기 바랍니다.", + "description": "The text for the link to report missing results" + }, + "theme.SearchModal.placeholder": { + "message": "문서 검색", + "description": "The placeholder of the input of the DocSearch pop-up modal" + }, + "theme.SearchPage.documentsFound.plurals": { + "message": "{count}개의 문서를 찾았습니다.", + "description": "Pluralized label for \"{count} documents found\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)" + }, + "theme.SearchPage.existingResultsTitle": { + "message": "\"{query}\" 검색 결과", + "description": "The search page title for non-empty query" + }, + "theme.SearchPage.emptyResultsTitle": { + "message": "문서를 검색합니다.", + "description": "The search page title for empty query" + }, + "theme.SearchPage.inputPlaceholder": { + "message": "검색어를 입력하세요.", + "description": "The placeholder for search page input" + }, + "theme.SearchPage.inputLabel": { + "message": "검색", + "description": "The ARIA label for search page input" + }, + "theme.SearchPage.algoliaLabel": { + "message": "Algolia로 검색", + "description": "The ARIA label for Algolia mention" + }, + "theme.SearchPage.noResultsText": { + "message": "검색 결과가 없습니다.", + "description": "The paragraph for empty search result" + }, + "theme.SearchPage.fetchingNewResults": { + "message": "새로운 검색 결과를 불러오는 중입니다.", + "description": "The paragraph for fetching new search results" + }, "theme.blog.post.plurals": { "message": "{count}개 게시물", "description": "Pluralized label for \"{count} posts\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)" diff --git a/i18n/ko/docusaurus-plugin-content-docs/current.json b/i18n/ko/docusaurus-plugin-content-docs/current.json index 18c5946e..1772963b 100644 --- a/i18n/ko/docusaurus-plugin-content-docs/current.json +++ b/i18n/ko/docusaurus-plugin-content-docs/current.json @@ -1,178 +1,110 @@ { "version.label": { - "message": "다음", + "message": "Next", "description": "The label for version current" }, "sidebar.tutorialSidebar.category.INTRODUCTION": { - "message": "소개", + "message": "INTRODUCTION", "description": "The label for category INTRODUCTION in sidebar tutorialSidebar" }, "sidebar.tutorialSidebar.category.TOKENOMICS": { - "message": "토크노믹스", + "message": "TOKENOMICS", "description": "The label for category TOKENOMICS in sidebar tutorialSidebar" }, "sidebar.tutorialSidebar.category.GENERAL INFO": { - "message": "일반 정보", + "message": "GENERAL INFO", "description": "The label for category GENERAL INFO in sidebar tutorialSidebar" }, "sidebar.tutorialSidebar.category.🏡 Contract Addresses": { - "message": "🏡 컨트랙트 주소", + "message": "🏡 Contract Addresses", "description": "The label for category 🏡 Contract Addresses in sidebar tutorialSidebar" }, "sidebar.tutorialSidebar.category.🌉 Bridge": { - "message": "🌉 브리지", + "message": "🌉 Bridge", "description": "The label for category 🌉 Bridge in sidebar tutorialSidebar" }, "sidebar.tutorialSidebar.category.TOOLS": { - "message": "도구", + "message": "TOOLS", "description": "The label for category TOOLS in sidebar tutorialSidebar" }, "sidebar.tutorialSidebar.category.TUTORIALS": { - "message": "튜토리얼", + "message": "TUTORIALS", "description": "The label for category TUTORIALS in sidebar tutorialSidebar" }, "sidebar.tutorialSidebar.category.🚀 Deploying a Smart Contract": { - "message": "🚀 스마트 컨트랙트 배포", + "message": "🚀 Deploying a Smart Contract", "description": "The label for category 🚀 Deploying a Smart Contract in sidebar tutorialSidebar" }, - "sidebar.tutorialSidebar.category.🔍 Verifying Your Smart Contract": { - "message": "🔍 스마트 컨트랙트 검증", - "description": "The label for category 🔍 Verifying Your Smart Contract in sidebar tutorialSidebar" - }, - "sidebar.tutorialSidebar.category.SECURITY": { - "message": "보안", - "description": "The label for category SECURITY in sidebar tutorialSidebar" - }, "sidebar.tutorialSidebar.category.OTHER DOCS": { - "message": "기타 문서", + "message": "OTHER DOCS", "description": "The label for category OTHER DOCS in sidebar tutorialSidebar" }, "sidebar.tutorialSidebar.doc.🏠 Home": { - "message": "🏠 홈", + "message": "🏠 Home", "description": "The label for the doc item 🏠 Home in sidebar tutorialSidebar, linking to the doc index" }, "sidebar.tutorialSidebar.doc.⚡ Quick Start": { - "message": "⚡ 빠른 시작", + "message": "⚡ Quick Start", "description": "The label for the doc item ⚡ Quick Start in sidebar tutorialSidebar, linking to the doc introduction/quick-start" }, "sidebar.tutorialSidebar.doc.💎 SNT Token": { - "message": "💎 SNT 토큰", + "message": "💎 SNT Token", "description": "The label for the doc item 💎 SNT Token in sidebar tutorialSidebar, linking to the doc tokenomics/snt-token" }, - "sidebar.tutorialSidebar.doc.💠 Aura Token": { - "message": "💠 아우라 토큰", - "description": "The label for the doc item 💠 Aura Token in sidebar tutorialSidebar, linking to the doc tokenomics/aura-token" + "sidebar.tutorialSidebar.doc.💠 Karma Token": { + "message": "💠 Karma Token", + "description": "The label for the doc item 💠 Karma Token in sidebar tutorialSidebar, linking to the doc tokenomics/karma-token" }, "sidebar.tutorialSidebar.doc.🌐 Network Details": { - "message": "🌐 네트워크 세부사항", + "message": "🌐 Network Details", "description": "The label for the doc item 🌐 Network Details in sidebar tutorialSidebar, linking to the doc general-info/network-details" }, "sidebar.tutorialSidebar.doc.➕ Add Status Network": { - "message": "➕ 스테이터스 네트워크 추가", + "message": "➕ Add Status Network", "description": "The label for the doc item ➕ Add Status Network in sidebar tutorialSidebar, linking to the doc general-info/add-status-network" }, "sidebar.tutorialSidebar.doc.💰 Tokens": { - "message": "💰 토큰", + "message": "💰 Tokens", "description": "The label for the doc item 💰 Tokens in sidebar tutorialSidebar, linking to the doc general-info/contract-addresses/tokens" }, "sidebar.tutorialSidebar.doc.🧪 Testnet Contracts": { - "message": "🧪 테스트넷 컨트랙트", + "message": "🧪 Testnet Contracts", "description": "The label for the doc item 🧪 Testnet Contracts in sidebar tutorialSidebar, linking to the doc general-info/contract-addresses/testnet-contracts" }, - "sidebar.tutorialSidebar.doc.➡️ Bridge to Status": { - "message": "➡️ 스테이터스로 브리지", - "description": "The label for the doc item ➡️ Bridge to Status in sidebar tutorialSidebar, linking to the doc general-info/bridge/bridge-to-status" - }, - "sidebar.tutorialSidebar.doc.⬅️ Bridge from Status": { - "message": "⬅️ 스테이터스에서 브리지", - "description": "The label for the doc item ⬅️ Bridge from Status in sidebar tutorialSidebar, linking to the doc general-info/bridge/bridge-from-status" - }, "sidebar.tutorialSidebar.doc.🧪 Bridging Testnet": { - "message": "🧪 테스트넷 브리지", + "message": "🧪 Bridging Testnet", "description": "The label for the doc item 🧪 Bridging Testnet in sidebar tutorialSidebar, linking to the doc general-info/bridge/bridging-testnet" }, "sidebar.tutorialSidebar.doc.🔌 RPC": { "message": "🔌 RPC", "description": "The label for the doc item 🔌 RPC in sidebar tutorialSidebar, linking to the doc tools/rpc" }, - "sidebar.tutorialSidebar.doc.👥 Multisig Wallets": { - "message": "👥 다중서명 지갑", - "description": "The label for the doc item 👥 Multisig Wallets in sidebar tutorialSidebar, linking to the doc tools/multisig-wallets" - }, "sidebar.tutorialSidebar.doc.🌉 Bridge": { - "message": "🌉 브리지", + "message": "🌉 Bridge", "description": "The label for the doc item 🌉 Bridge in sidebar tutorialSidebar, linking to the doc tools/bridge" }, "sidebar.tutorialSidebar.doc.🚰 Testnet Faucets": { - "message": "🚰 테스트넷 파우셋", + "message": "🚰 Testnet Faucets", "description": "The label for the doc item 🚰 Testnet Faucets in sidebar tutorialSidebar, linking to the doc tools/testnet-faucets" }, "sidebar.tutorialSidebar.doc.🔎 Block Explorers": { - "message": "🔎 블록 익스플로러", + "message": "🔎 Block Explorers", "description": "The label for the doc item 🔎 Block Explorers in sidebar tutorialSidebar, linking to the doc tools/block-explorers" }, - "sidebar.tutorialSidebar.doc.📊 Data Indexers": { - "message": "📊 데이터 인덱서", - "description": "The label for the doc item 📊 Data Indexers in sidebar tutorialSidebar, linking to the doc tools/data-indexers" - }, - "sidebar.tutorialSidebar.doc.🔮 Oracles": { - "message": "🔮 오라클", - "description": "The label for the doc item 🔮 Oracles in sidebar tutorialSidebar, linking to the doc tools/oracles" - }, - "sidebar.tutorialSidebar.doc.🔗 Interoperability": { - "message": "🔗 상호운용성", - "description": "The label for the doc item 🔗 Interoperability in sidebar tutorialSidebar, linking to the doc tools/interoperability" - }, - "sidebar.tutorialSidebar.doc.🎲 Randomness": { - "message": "🎲 무작위성", - "description": "The label for the doc item 🎲 Randomness in sidebar tutorialSidebar, linking to the doc tools/randomness" - }, - "sidebar.tutorialSidebar.doc.🛠️ General Tooling": { - "message": "🛠️ 일반 도구", - "description": "The label for the doc item 🛠️ General Tooling in sidebar tutorialSidebar, linking to the doc tools/general-tooling" - }, - "sidebar.tutorialSidebar.doc.🖥️ Node Operators": { - "message": "🖥️ 노드 운영자", - "description": "The label for the doc item 🖥️ Node Operators in sidebar tutorialSidebar, linking to the doc tools/node-operators" - }, - "sidebar.tutorialSidebar.doc.📘 Ethers Tutorial": { - "message": "📘 Ethers 튜토리얼", - "description": "The label for the doc item 📘 Ethers Tutorial in sidebar tutorialSidebar, linking to the doc tutorials/ethers-tutorial" - }, "sidebar.tutorialSidebar.doc.🎩 Using Hardhat": { - "message": "🎩 하드햇 사용", - "description": "The label for the doc item 🎩 Using Hardhat in sidebar tutorialSidebar, linking to the doc tutorials/verifying-contracts/using-hardhat" - }, - "sidebar.tutorialSidebar.doc.🌐 Using Thirdweb": { - "message": "🌐 서드웹 사용", - "description": "The label for the doc item 🌐 Using Thirdweb in sidebar tutorialSidebar, linking to the doc tutorials/deploying-contracts/using-thirdweb" + "message": "🎩 Using Hardhat", + "description": "The label for the doc item 🎩 Using Hardhat in sidebar tutorialSidebar, linking to the doc tutorials/deploying-contracts/using-hardhat" }, "sidebar.tutorialSidebar.doc.⚒️ Using Foundry": { - "message": "⚒️ 파운드리 사용", - "description": "The label for the doc item ⚒️ Using Foundry in sidebar tutorialSidebar, linking to the doc tutorials/verifying-contracts/using-foundry" + "message": "⚒️ Using Foundry", + "description": "The label for the doc item ⚒️ Using Foundry in sidebar tutorialSidebar, linking to the doc tutorials/deploying-contracts/using-foundry" }, "sidebar.tutorialSidebar.doc.🎛️ Using Remix": { - "message": "🎛️ 리믹스 사용", + "message": "🎛️ Using Remix", "description": "The label for the doc item 🎛️ Using Remix in sidebar tutorialSidebar, linking to the doc tutorials/deploying-contracts/using-remix" }, - "sidebar.tutorialSidebar.doc.🛡️ Security Model": { - "message": "🛡️ 보안 모델", - "description": "The label for the doc item 🛡️ Security Model in sidebar tutorialSidebar, linking to the doc security/security-model" - }, - "sidebar.tutorialSidebar.doc.⬆️ Security Upgrades": { - "message": "⬆️ 보안 업그레이드", - "description": "The label for the doc item ⬆️ Security Upgrades in sidebar tutorialSidebar, linking to the doc security/security-upgrades" - }, - "sidebar.tutorialSidebar.doc.🔒 Audits": { - "message": "🔒 감사", - "description": "The label for the doc item 🔒 Audits in sidebar tutorialSidebar, linking to the doc other/audits" - }, "sidebar.tutorialSidebar.doc.🔗 Official Links": { - "message": "🔗 공식 링크", + "message": "🔗 Official Links", "description": "The label for the doc item 🔗 Official Links in sidebar tutorialSidebar, linking to the doc other/official-links" - }, - "sidebar.tutorialSidebar.doc.🎨 Branding Guidelines": { - "message": "🎨 브랜딩 가이드라인", - "description": "The label for the doc item 🎨 Branding Guidelines in sidebar tutorialSidebar, linking to the doc other/branding-guidelines" } } diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/general-info/add-status-network.md b/i18n/ko/docusaurus-plugin-content-docs/current/general-info/add-status-network.md index 5c0f5962..709d7919 100644 --- a/i18n/ko/docusaurus-plugin-content-docs/current/general-info/add-status-network.md +++ b/i18n/ko/docusaurus-plugin-content-docs/current/general-info/add-status-network.md @@ -1 +1,84 @@ -# Add Status Network \ No newline at end of file +# Status Network 추가하기 + +이 가이드는 지갑에 **Status Network**를 추가하는 방법을 보여줍니다. + +## 테스트넷 + +MetaMask에 커스텀 네트워크로 **Status Network 테스트넷**을 추가하는 방법: + +1. **MetaMask 열기**: + + - 브라우저에서 MetaMask 확장 프로그램 아이콘을 클릭하여 엽니다. + +2. **네트워크 설정 접근**: + + - MetaMask 창 상단의 네트워크 선택 드롭다운을 클릭합니다. + +3. **새 네트워크 추가**: + + - **"네트워크 추가"**를 클릭합니다. + - 새 창에서 **"수동으로 네트워크 추가"**를 클릭합니다. + +4. **네트워크 세부 정보 입력**: + + - 다음 정보를 입력합니다: + + | 이름 | 값 | + |------------------|------------------------------------------| + | **네트워크 이름** | Status Network Testnet | + | **RPC URL** | https://public.sepolia.rpc.status.network | + | **체인 ID** | 1660990954 | + | **통화 기호** | `ETH` | + | **블록 탐색기 URL** | https://sepoliascan.status.network | + +5. **네트워크 저장**: + + - **"저장"**을 클릭하여 Status Network 테스트넷을 MetaMask 지갑에 추가합니다. + +이제 네트워크 드롭다운 메뉴에서 Status Network 테스트넷을 선택하여 연결할 수 있습니다. + +--- + +## 모바일 지갑 + +### MetaMask 모바일에 Status Network 추가하기 + +1. **MetaMask 모바일 앱 열기**: + + - 모바일 기기에서 MetaMask 앱을 실행합니다. + +2. **설정 접근**: + + - 좌측 상단의 햄버거 메뉴(세 개의 가로선)를 탭합니다. + - **"설정"**을 선택합니다. + +3. **새 네트워크 추가**: + + - **"네트워크"**를 탭합니다. + - **"네트워크 추가"**를 탭합니다. + +4. **네트워크 세부 정보 입력**: + + - 위의 테스트넷과 동일한 네트워크 세부 정보를 입력합니다. + +5. **네트워크 저장**: + + - **"추가"**를 탭하여 새 네트워크를 저장합니다. + +--- + +## 추가 정보 + +- **공식 링크**: + + - [Status Network 웹사이트](https://status.network/) + - [Status Network 문서](https://docs.status.network/) + - [Status Network 테스트넷 탐색기](https://sepoliascan.status.network) + +- **도움이 필요하신가요?** + + - 문제가 발생한 경우, 지원을 받으시려면 [텔레그램](https://t.me/+k04A_OZbhIs1Mzc9)에 참여하세요. + +--- + +이 가이드를 따라하시면 MetaMask 지갑에 Status Network를 성공적으로 추가하실 수 있습니다! diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/general-info/bridge/bridge-from-status.md b/i18n/ko/docusaurus-plugin-content-docs/current/general-info/bridge/bridge-from-status.md deleted file mode 100644 index 68882076..00000000 --- a/i18n/ko/docusaurus-plugin-content-docs/current/general-info/bridge/bridge-from-status.md +++ /dev/null @@ -1 +0,0 @@ -# Bridge From Status \ No newline at end of file diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/general-info/bridge/bridge-to-status.md b/i18n/ko/docusaurus-plugin-content-docs/current/general-info/bridge/bridge-to-status.md deleted file mode 100644 index b584d3bb..00000000 --- a/i18n/ko/docusaurus-plugin-content-docs/current/general-info/bridge/bridge-to-status.md +++ /dev/null @@ -1 +0,0 @@ -# Bridge To Status \ No newline at end of file diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/general-info/bridge/bridging-testnet.md b/i18n/ko/docusaurus-plugin-content-docs/current/general-info/bridge/bridging-testnet.md index ab7d6827..d7ac78c6 100644 --- a/i18n/ko/docusaurus-plugin-content-docs/current/general-info/bridge/bridging-testnet.md +++ b/i18n/ko/docusaurus-plugin-content-docs/current/general-info/bridge/bridging-testnet.md @@ -1 +1,32 @@ -# Bridging Testnet \ No newline at end of file +# Status Network 테스트넷으로 브리징하기 + +Status Network 브리지를 사용하면 Sepolia와 Status Network 테스트넷 간에 토큰을 전송할 수 있습니다. 브리지는 [bridge.status.network](https://bridge.status.network)에 배포되어 있습니다. + +## 사전 준비사항 + +- MetaMask 또는 다른 Web3 지갑이 설치되어 있어야 함 +- Sepolia 네트워크에 테스트넷 ETH 보유 +- Sepolia 네트워크에 브리징하고자 하는 토큰 보유 + +## 브리징 과정 + +1. [bridge.status.network](https://bridge.status.network) 방문 + +2. 우측 상단의 "지갑 연결" 버튼을 클릭하여 지갑 연결 + +3. 드롭다운 메뉴에서 브리징할 토큰 선택 + +4. 브리징할 금액 입력 + +5. "브리지" 버튼을 클릭하고 지갑에서 거래 승인 + +6. 브리징 과정이 완료될 때까지 대기 + - 브리징은 보통 5-10분 정도 소요됩니다 + - 브리지 인터페이스에서 거래 상태를 확인할 수 있습니다 + +## 주요 참고사항 + +- 거래를 시작하기 전에 올바른 웹사이트(bridge.status.network)에 접속했는지 반드시 확인하세요 +- 큰 금액을 전송하기 전에 먼저 소액으로 테스트해보세요 +- 가스비를 지불할 충분한 ETH가 지갑에 있는지 확인하세요 +- 문제가 발생한 경우, 지원을 받으시려면 [텔레그램](https://t.me/+k04A_OZbhIs1Mzc9)에 참여하세요 diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/general-info/contract-addresses/testnet-contracts.md b/i18n/ko/docusaurus-plugin-content-docs/current/general-info/contract-addresses/testnet-contracts.md index ed1db2b7..db2b5593 100644 --- a/i18n/ko/docusaurus-plugin-content-docs/current/general-info/contract-addresses/testnet-contracts.md +++ b/i18n/ko/docusaurus-plugin-content-docs/current/general-info/contract-addresses/testnet-contracts.md @@ -1 +1,43 @@ -# Testnet Contracts \ No newline at end of file +# 테스트넷 컨트랙트 + +이 페이지는 Status Network 테스트넷 인프라의 모든 중요한 컨트랙트 주소를 나열합니다. + +## 레이어 1 컨트랙트 (Sepolia) + +이 컨트랙트들은 Sepolia 테스트넷에 배포되어 있습니다. [Sepolia Etherscan](https://sepolia.etherscan.io)에서 확인할 수 있습니다. + +### 브리지 컨트랙트 +- **L1 토큰 브리지 프록시** + - 주소: [`0x01b44C5Ea321f921D93476cf54Aa8460db17a548`](https://sepolia.etherscan.io/address/0x01b44C5Ea321f921D93476cf54Aa8460db17a548) + - 목적: L1에서의 토큰 브리징 작업 관리 + +### 코어 인프라 +- **L1 포스트맨** + - 주소: [`0xB15725119b917d348FfEB365B43bCDeEbfb65C5d`](https://sepolia.etherscan.io/address/0xB15725119b917d348FfEB365B43bCDeEbfb65C5d) + - 목적: L1과 L2 사이의 메시지 전달 처리 + +- **L1 데이터 제출** + - 주소: [`0x263d8f55BAc71a42d0A822F46b1eC62Cd4183a8d`](https://sepolia.etherscan.io/address/0x263d8f55BAc71a42d0A822F46b1eC62Cd4183a8d) + - 목적: L2에서 L1로의 데이터 제출 관리 + +- **L1 최종화** + - 주소: [`0xb91CB39b3b9F015b0aC88616A463B35568052AEF`](https://sepolia.etherscan.io/address/0xb91CB39b3b9F015b0aC88616A463B35568052AEF) + - 목적: L1에서 L2 블록의 최종화 처리 + +## 레이어 2 컨트랙트 (Status Network 테스트넷) + +이 컨트랙트들은 Status Network 테스트넷에 배포되어 있습니다. [Status Network Explorer](https://sepoliascan.status.network)에서 확인할 수 있습니다. + +### 브리지 컨트랙트 +- **L2 토큰 브리지 프록시** + - 주소: [`0xbC7f9571152a8e21942b2aEa4831a27f1149af19`](https://sepoliascan.status.network/address/0xbC7f9571152a8e21942b2aEa4831a27f1149af19) + - 목적: L2에서의 토큰 브리징 작업 관리 + +### 인프라 컨트랙트 +- **L2 수도꼭지** + - 주소: [`0x06338B70F1eAbc60d7A82C083e605C07F78bb878`](https://sepoliascan.status.network/address/0x06338B70F1eAbc60d7A82C083e605C07F78bb878) + - 목적: 사용자들에게 테스트넷 토큰 배포 + +- **L2 앵커링** + - 주소: [`0x24B5eD2763129D6cBDEfE32e08558D2095132560`](https://sepoliascan.status.network/address/0x24B5eD2763129D6cBDEfE32e08558D2095132560) + - 목적: L1과 L2 사이의 상태 앵커링 관리 diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/general-info/contract-addresses/tokens.md b/i18n/ko/docusaurus-plugin-content-docs/current/general-info/contract-addresses/tokens.md index 7e1c51cd..e7eb51d3 100644 --- a/i18n/ko/docusaurus-plugin-content-docs/current/general-info/contract-addresses/tokens.md +++ b/i18n/ko/docusaurus-plugin-content-docs/current/general-info/contract-addresses/tokens.md @@ -1 +1,11 @@ -# Tokens \ No newline at end of file +# 토큰 + +Status Network에서 지원되는 토큰과 해당 컨트랙트 주소의 최신 목록은 공식 [Status Network 토큰 목록 저장소](https://github.com/status-im/status-network-token-list)를 참조하시기 바랍니다. + +이 저장소에는 다음 내용이 포함되어 있습니다: +- L1(Sepolia)과 L2(Status Network) 양쪽의 토큰 주소 +- 토큰 메타데이터(소수점, 심볼 등) +- 브리지 컨트랙트 매핑 +- Status Network에 배포된 앱 토큰 + +토큰 목록은 토큰 브리징 작업의 정확성과 보안을 보장하기 위해 정기적으로 유지 관리되고 업데이트됩니다. diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/general-info/network-details.md b/i18n/ko/docusaurus-plugin-content-docs/current/general-info/network-details.md index 9207ef1f..a1e0a102 100644 --- a/i18n/ko/docusaurus-plugin-content-docs/current/general-info/network-details.md +++ b/i18n/ko/docusaurus-plugin-content-docs/current/general-info/network-details.md @@ -1,12 +1,20 @@ -# Network Details - -## Status Testnet - -| Name | Value | -|---------------------|-------| -| **Network Name** | | -| **RPC Endpoint** | | -| **Chain ID** | | -| **Currency Symbol** | | -| **Block Explorer** | | -| **Bridge** | | \ No newline at end of file +# 네트워크 세부정보 + +## Status 테스트넷 + +| 이름 | 값 | +|---------------------|------------------------------------------| +| **네트워크 이름** | Status Network Testnet | +| **RPC 엔드포인트** | https://public.sepolia.rpc.status.network | +| **체인 ID** | 1660990954 | +| **통화 기호** | ETH | +| **블록 탐색기** | https://sepoliascan.status.network | +| **브리지** | https://bridge.status.network | + +이것은 Status Network 테스트넷의 공식 네트워크 세부정보입니다. 이 세부정보는 다음과 같은 용도로 사용할 수 있습니다: +- 지갑에 네트워크 추가 +- 개발 환경 구성 +- 네트워크에 dApp 연결 +- 스마트 컨트랙트 검증 + +지갑에 네트워크를 추가하는 방법은 [Status Network 추가 가이드](./add-status-network.md)를 참조하세요. diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/index.md b/i18n/ko/docusaurus-plugin-content-docs/current/index.md index cd39f50b..49de0903 100644 --- a/i18n/ko/docusaurus-plugin-content-docs/current/index.md +++ b/i18n/ko/docusaurus-plugin-content-docs/current/index.md @@ -1,28 +1,27 @@ --- id: index -title: 스테이터스 네트워크 소개 +title: Status Network에 오신 것을 환영합니다 slug: / sidebar_position: 1 --- -# 스테이터스 네트워크에 오신 것을 환영합니다 +# Status Network: 가스리스 레이어 2 네트워크 -블록체인 경험을 재구성하는 크립토 소셜 놀이터 **스테이터스 네트워크**에 오신 것을 환영합니다! [Linea의 최첨단 ZK-EVM 기술](https://docs.linea.build/architecture)을 기반으로 한 **EVM과 동등한 이더리움 레이어 2 롤업**으로 구축된 스테이터스 네트워크는 다른 플랫폼과 차별화되는 독특한 기능을 제공합니다. -## 우리의 특별함은 무엇인가요? +## 지금 바로 구축을 시작하세요 -### 💰 네이티브 ETH 및 DAI 수익 +탈중앙화 애플리케이션의 미래에 동참할 준비가 되셨나요? 시작하는 방법은 다음과 같습니다: -당신의 **ETH** 및 **DAI** 자산에 대한 지속적이고 매력적인 수익을 즐기세요! 우리는 레이어 2 솔루션 중에서도 독특한 기능인 네이티브 수익 생성을 제공하여, 네트워크에 참여하면서 손쉽게 암호화폐 자산을 늘릴 수 있습니다. +1. [Status Network를 지갑에 추가](/general-info/add-status-network) +2. [테스트넷 ETH 받기](/tools/testnet-faucets) +3. [자산 브리징하기](/general-info/bridge/bridging-testnet) +4. [첫 번째 컨트랙트 배포하기](/tutorials/deploying-contracts/using-remix) -### 🏆 $AURA 토큰 획득 +## 지원 및 리소스 -**실시간**으로 참여에 대한 보상을 받으세요! 네트워크 활동에 참여하고 **$SNT를 스테이킹**하여 **$AURA 토큰**을 획득하세요. 거래, 스테이킹 또는 커뮤니티 참여를 통해 더 많이 상호작용할수록 우리 활기찬 커뮤니티 내에서 더 큰 영향력을 얻습니다. 당신의 $AURA는 네트워크의 미래를 형성하는 데 있어 당신의 목소리를 강화합니다. +커뮤니티에 참여하고 필요한 리소스에 접근하세요: +- [텔레그램 빌더 커뮤니티](https://t.me/+k04A_OZbhIs1Mzc9)에 참여 +- [네트워크 세부정보](/general-info/network-details) 확인 +- [컨트랙트 주소](/general-info/contract-addresses/testnet-contracts) 탐색 -### 🔒 재미있는 프라이버시 - -**안전하고 재미있는** 프라이버시 기능을 경험하세요! 우리는 프라이버시가 근본적인 권리이며 복잡하지 않아도 모두에게 접근 가능해야 한다고 믿습니다. 사용자 친화적인 프라이버시 도구로 안전한 상호작용을 즐겁게 만들어, 복잡한 프라이버시 기술의 전통적인 개념에서 벗어납니다. - ---- - -스테이터스 네트워크에 참여하여 **당신의 적극적인 참여가 진정으로 미래를 형성하는** 독특하고 프라이버시 중심의 보람 있는 크립토 커뮤니티의 일원이 되세요! 함께 크립토 놀이터를 만들어 봅시다! \ No newline at end of file +멋진 것을 만들 준비가 되셨나요? 지금 바로 Status Network와 함께 여정을 시작하세요! diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/introduction/quick-start.md b/i18n/ko/docusaurus-plugin-content-docs/current/introduction/quick-start.md index 9395307a..dc1f97c0 100644 --- a/i18n/ko/docusaurus-plugin-content-docs/current/introduction/quick-start.md +++ b/i18n/ko/docusaurus-plugin-content-docs/current/introduction/quick-start.md @@ -1,38 +1,37 @@ # 빠른 시작 -이 섹션에서는 **Status Network 테스트넷**에서 10분 이내에 샘플 컨트랙트를 배포해 보겠습니다. +이 섹션에서는 10분 이내에 **Status Network 테스트넷**에 샘플 컨트랙트를 배포하는 방법을 알아보겠습니다. -간단하게 하기 위해 Remix IDE를 사용하여 Status Network에서 스마트 컨트랙트를 배포하는 방법을 살펴보겠습니다. +간단하게 Remix IDE를 사용하여 Status Network에 스마트 컨트랙트를 배포하는 방법을 살펴보겠습니다. ## 준비하기 시작하기 전에: -- **MetaMask에 Status Network 테스트넷 추가하기**: +1. **Status Network 테스트넷을 MetaMask에 추가**: - MetaMask에 Status Network 테스트넷을 추가하는 단계별 지침은 [Status Network 문서](/general-info/add-status-network)를 참고하세요. 네트워크의 RPC URL, 체인 ID 및 기타 세부 정보가 필요합니다. + [Status Network 추가 가이드](/general-info/add-status-network)의 단계별 지침에 따라 Status Network 테스트넷을 MetaMask에 추가하세요. -- **테스트넷 토큰 받기**: +2. **테스트 ETH 받기**: - 이 가이드는 Status Network에서 테스트넷 ETH를 얻었다고 가정합니다. 테스트 토큰을 요청하려면 [Status Network 테스트넷 파우셋](#)을 사용할 수 있습니다. + Sepolia ETH와 Status Network ETH 모두 필요합니다: + - 먼저 [Sepolia 수도꼭지](https://faucet.status.network)에서 Sepolia ETH를 받으세요 + - 그런 다음 [Status 브리지](https://bridge.status.network)를 사용하여 ETH를 Status Network로 브리징하세요 + - 또는 [테스트넷 수도꼭지](https://sepoliascan.status.network/address/0x06338B70F1eAbc60d7A82C083e605C07F78bb878)에서 직접 Status Network ETH를 받으세요 -시작할 준비가 되었습니다! +이제 시작할 준비가 되었습니다! -## Remix 및 샘플 코드 +## Remix와 샘플 코드 -**Remix**는 스마트 컨트랙트 개발을 위한 별도의 설정이 필요 없는 도구입니다. 간단한 배포 프로세스, 디버깅, 스마트 컨트랙트와의 상호 작용 등을 가능하게 하여 쉽게 시작할 수 있습니다. 빠른 변경 사항을 테스트하고 배포된 스마트 컨트랙트와 상호 작용하기에 훌륭한 도구입니다. +**Remix**는 설정이 필요 없는 스마트 컨트랙트 개발 도구입니다. 쉽게 시작할 수 있으며, 간단한 배포 프로세스, 디버깅, 스마트 컨트랙트와의 상호작용 등이 가능합니다. -이 튜토리얼에서는 Remix에 예제로 제공되는 `SimpleStorage.sol` 스마트 컨트랙트를 배포하겠지만, 원하는 코드를 사용할 수 있습니다. - -여기 샘플 코드가 있습니다: +이 튜토리얼에서는 간단한 `SimpleStorage.sol` 컨트랙트를 배포할 것입니다: ```solidity -// SPDX-License-Identifier: GPL-3.0 - -pragma solidity ^0.8.24; +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.0; contract SimpleStorage { - uint256 number; function store(uint256 num) public { @@ -49,66 +48,71 @@ contract SimpleStorage { ## 배포 단계 -1. **샘플 코드 복사하기**: +1. **샘플 코드 복사**: + + - 샘플 코드를 복사하여 Remix에서 `SimpleStorage.sol`이라는 새 파일에 붙여넣기 하세요. - - 샘플 코드를 복사하여 Remix에서 `SimpleStorage.sol`이라는 새 파일에 붙여넣습니다. +2. **스마트 컨트랙트 컴파일**: -2. **스마트 컨트랙트 컴파일하기**: + - **Solidity 컴파일러** 탭(왼쪽 사이드바)으로 이동하세요. + - 컴파일러 버전이 0.8.0 이상인지 확인하세요. + - **"SimpleStorage.sol 컴파일"**을 클릭하세요. + - 컨트랙트 코드를 변경할 때마다 자동 컴파일을 원하면 **"자동 컴파일"**을 활성화할 수 있습니다. - - **Solidity Compiler** 탭으로 이동합니다 (왼쪽 사이드바). - - 컴파일러 버전이 컨트랙트의 pragma 문(`0.8.24`)과 일치하는지 확인합니다. - - **"Compile SimpleStorage.sol"**을 클릭합니다. - - 컨트랙트 코드를 변경할 때마다 자동으로 컴파일되도록 **"Auto compile"**을 활성화할 수 있습니다. +3. **스마트 컨트랙트 배포**: -3. **스마트 컨트랙트 배포하기**: + - **배포 & 실행 트랜잭션** 탭으로 전환하세요. + - **"환경"** 드롭다운 메뉴에서 **"Injected Provider - MetaMask"**를 선택하세요. + - MetaMask가 Remix에 연결을 요청할 수 있습니다. 연결을 확인하세요. + - MetaMask에서 **Status Network 테스트넷**이 선택되어 있는지 확인하세요. + - **"컨트랙트"**에서 `SimpleStorage`가 선택되어 있는지 확인하세요. + - **"배포"**를 클릭하세요. + - MetaMask가 팝업되어 트랜잭션 확인을 요청합니다. 가스비는 ETH로 지불됩니다. + - 트랜잭션 세부사항을 검토하고 **"확인"**을 클릭하세요. + - 트랜잭션이 채굴될 때까지 기다리세요. - - **Deploy & Run Transactions** 탭으로 전환합니다. - - **"Environment"** 드롭다운 메뉴에서 **"Injected Provider - MetaMask"**를 선택합니다. 이것은 Remix를 MetaMask 지갑에 연결합니다. - - MetaMask에서 Remix에 연결하라는 메시지가 표시될 수 있습니다. 연결을 확인하세요. - - MetaMask에서 **Status Network 테스트넷**이 선택되어 있는지 확인합니다. - - **"Contract"** 아래에서 `SimpleStorage`가 선택되어 있는지 확인합니다. - - **"Deploy"**를 클릭합니다. - - MetaMask가 나타나 트랜잭션 확인을 요청합니다. - - 트랜잭션 세부 정보를 검토하고 **"Confirm"**을 클릭합니다. - - 트랜잭션이 채굴될 때까지 기다립니다. Remix 또는 MetaMask에서 상태를 추적할 수 있습니다. +4. **배포 확인**: + + - 배포가 완료되면 Remix에서 컨트랙트 주소를 복사하세요 + - [Status Network 탐색기](https://sepoliascan.status.network)에서 확인하세요 -**축하합니다!** Status Network에 첫 스마트 컨트랙트를 배포하셨습니다. +**축하합니다!** Status Network에 첫 번째 스마트 컨트랙트를 배포하셨습니다. -## 배포한 스마트 컨트랙트와 상호 작용하기 +## 배포된 스마트 컨트랙트와 상호작용하기 -1. **배포된 컨트랙트 접근하기**: +1. **배포된 컨트랙트 접근**: - - Remix에서 **"Deployed Contracts"** 섹션 아래에 배포된 `SimpleStorage` 컨트랙트가 표시됩니다. + - Remix의 **"배포된 컨트랙트"** 섹션에서 배포된 `SimpleStorage` 컨트랙트를 확인할 수 있습니다. 2. **숫자 저장하기**: - - 배포된 컨트랙트를 확장하여 함수들을 확인합니다. - - **"store"** 함수 입력 필드에 숫자(예: `42`)를 입력합니다. - - **"transact"**를 클릭합니다. - - MetaMask에서 트랜잭션 확인을 요청합니다. **"Confirm"**을 클릭합니다. - - 트랜잭션이 확인될 때까지 기다립니다. + - 배포된 컨트랙트를 확장하여 함수들을 확인하세요. + - **"store"** 함수 입력 필드에 숫자(예: `42`)를 입력하세요. + - **"transact"**를 클릭하세요. + - MetaMask가 트랜잭션 확인을 요청합니다. 가스비는 ETH로 지불됩니다. + - 트랜잭션이 확인될 때까지 기다리세요. -3. **숫자 가져오기**: +3. **숫자 조회하기**: - - **"retrieve"** 함수를 클릭합니다. - - 저장된 숫자가 버튼 아래에 표시됩니다. + - **"retrieve"** 함수를 클릭하세요. + - 버튼 아래에 저장된 숫자가 표시됩니다. + - 이는 view 함수이므로 가스비가 필요하지 않습니다. ## 다음 단계 - **지원 받기**: - - - 문제가 발생하거나 질문이 있으시면, [Status Network 지원](https://status.app)을 방문하거나 커뮤니티 채널에 참여하여 도움을 받으세요. + - [텔레그램 커뮤니티](https://t.me/+k04A_OZbhIs1Mzc9)에 참여하여 도움을 받으세요 + - [네트워크 세부정보](/general-info/network-details)에서 자세한 정보를 확인하세요 + - Status Network로의 [토큰 브리징](/general-info/bridge/bridging-testnet)에 대해 알아보세요 ## 요약 -여러분은 성공적으로 다음을 수행하셨습니다: - -- Status Network 테스트넷과 상호 작용하기 위한 환경을 설정했습니다. -- Remix IDE와 MetaMask를 사용하여 스마트 컨트랙트를 배포했습니다. -- 숫자를 저장하고 가져옴으로써 배포한 컨트랙트와 상호 작용했습니다. - ---- - -더 깊이 들어가고 싶다면, 더 복잡한 스마트 컨트랙트를 탐구해 보세요. 추가 튜토리얼은 [여기](/tutorials/ethers-tutorial)에서 확인하세요. +성공적으로 다음을 수행하셨습니다: +- Status Network 테스트넷과 상호작용하기 위한 환경 설정 +- 브리징 또는 수도꼭지를 통해 테스트넷 ETH 획득 +- Remix IDE와 MetaMask를 사용하여 스마트 컨트랙트 배포 +- 숫자 저장 및 조회를 통해 배포된 컨트랙트와 상호작용 -**즐거운 코딩 되세요!** \ No newline at end of file +더 고급 개발을 위해 다음 도구를 사용한 배포 가이드를 확인하세요: +- [Hardhat](/tutorials/deploying-contracts/using-hardhat) +- [Foundry](/tutorials/deploying-contracts/using-foundry) diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/other/audits.md b/i18n/ko/docusaurus-plugin-content-docs/current/other/audits.md deleted file mode 100644 index f6262aa3..00000000 --- a/i18n/ko/docusaurus-plugin-content-docs/current/other/audits.md +++ /dev/null @@ -1 +0,0 @@ -# Audits diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/other/branding-guidelines.md b/i18n/ko/docusaurus-plugin-content-docs/current/other/branding-guidelines.md deleted file mode 100644 index 4ef944fa..00000000 --- a/i18n/ko/docusaurus-plugin-content-docs/current/other/branding-guidelines.md +++ /dev/null @@ -1 +0,0 @@ -# Branding Guidelines 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 af9162d8..f66ec09f 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 @@ -1 +1,25 @@ -# Official Links +# 공식 링크 + +이 페이지는 Status Network 생태계의 모든 공식 링크를 포함하고 있습니다. + +## 주요 리소스 +- **웹사이트**: [status.network](https://status.network) +- **문서**: [docs.status.network](https://docs.status.network) +- **GitHub**: [github.com/status-im](https://github.com/status-im) + +## 네트워크 도구 +- **브리지**: [bridge.status.network](https://bridge.status.network) +- **블록 탐색기**: [sepoliascan.status.network](https://sepoliascan.status.network) +- **RPC 엔드포인트**: `https://public.sepolia.rpc.status.network` +- **수도꼭지**: [faucet.status.network](https://faucet.status.network) + +## 개발 리소스 +- **토큰 목록 저장소**: [github.com/status-im/status-network-token-list](https://github.com/status-im/status-network-token-list) +- **네트워크 상태**: [status.status.network](https://health.status.network) +- **컨트랙트 검증**: [sepoliascan.status.network/verify-contract](https://sepoliascan.status.network/contract-verification) + +## 커뮤니티 & 지원 +- **텔레그램 커뮤니티**: [t.me/+k04A_OZbhIs1Mzc9](https://t.me/+k04A_OZbhIs1Mzc9) +- **X/트위터**: [twitter.com/ethstatus](https://x.com/statusL2) + +지갑에 네트워크를 추가하는 방법에 대해서는 [네트워크 추가 가이드](/general-info/add-status-network)를 참조하세요. diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/security/security-model.md b/i18n/ko/docusaurus-plugin-content-docs/current/security/security-model.md deleted file mode 100644 index 548947cd..00000000 --- a/i18n/ko/docusaurus-plugin-content-docs/current/security/security-model.md +++ /dev/null @@ -1 +0,0 @@ -# Status Network Security Model diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/security/security-upgrades.md b/i18n/ko/docusaurus-plugin-content-docs/current/security/security-upgrades.md deleted file mode 100644 index a56181d3..00000000 --- a/i18n/ko/docusaurus-plugin-content-docs/current/security/security-upgrades.md +++ /dev/null @@ -1 +0,0 @@ -# Security Upgrades diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/tokenomics/aura-token.md b/i18n/ko/docusaurus-plugin-content-docs/current/tokenomics/aura-token.md deleted file mode 100644 index a3631d43..00000000 --- a/i18n/ko/docusaurus-plugin-content-docs/current/tokenomics/aura-token.md +++ /dev/null @@ -1 +0,0 @@ -# $AURA token \ No newline at end of file diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/tokenomics/karma-token.md b/i18n/ko/docusaurus-plugin-content-docs/current/tokenomics/karma-token.md new file mode 100644 index 00000000..e69de29b diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/tokenomics/snt-token.md b/i18n/ko/docusaurus-plugin-content-docs/current/tokenomics/snt-token.md index f2a982f0..e69de29b 100644 --- a/i18n/ko/docusaurus-plugin-content-docs/current/tokenomics/snt-token.md +++ b/i18n/ko/docusaurus-plugin-content-docs/current/tokenomics/snt-token.md @@ -1 +0,0 @@ -# $SNT Token \ No newline at end of file diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/tools/block-explorers.md b/i18n/ko/docusaurus-plugin-content-docs/current/tools/block-explorers.md index bec200a1..26230bb3 100644 --- a/i18n/ko/docusaurus-plugin-content-docs/current/tools/block-explorers.md +++ b/i18n/ko/docusaurus-plugin-content-docs/current/tools/block-explorers.md @@ -1 +1,35 @@ -# Block Explorers \ No newline at end of file +# Status Network 테스트넷 탐색기 + +Status Network 블록 탐색기는 [sepoliascan.status.network](https://sepoliascan.status.network)에서 이용할 수 있습니다. + +### 기능 +- 트랜잭션 세부정보 및 상태 확인 +- 토큰 전송 및 잔액 추적 +- 스마트 컨트랙트 소스 코드 검증 +- 가스 가격 및 네트워크 활동 모니터링 +- 검증된 스마트 컨트랙트 확인 및 상호작용 +- 모든 주소의 토큰 보유 현황 추적 + +## Sepolia 탐색기 (레이어 1) + +Sepolia (레이어 1)의 트랜잭션을 추적하려면 [Sepolia Etherscan](https://sepolia.etherscan.io)을 사용하세요. + +이는 특히 다음과 같은 용도에 유용합니다: +- L1에서 L2로의 브리지 트랜잭션 모니터링 +- 토큰 입출금 추적 +- L1 컨트랙트 상호작용 확인 + +## 컨트랙트 검증 + +Status Network 탐색기에서 스마트 컨트랙트를 검증하는 방법: + +1. [컨트랙트 검증](https://sepoliascan.status.network/contract-verification)으로 이동 +2. 컨트랙트 주소 입력 +3. 소스 코드 업로드 및 컴파일 세부정보 제공 +4. 검증을 위해 제출 + +검증이 완료되면 컨트랙트의 소스 코드가 공개되며, 사용자들은 탐색기를 통해 직접 상호작용할 수 있습니다. + +## API 접근 + +Status Network 탐색기는 개발자를 위한 API 엔드포인트를 제공합니다. API 문서는 곧 제공될 예정입니다. diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/tools/bridge.md b/i18n/ko/docusaurus-plugin-content-docs/current/tools/bridge.md index 6df6423c..4de80b47 100644 --- a/i18n/ko/docusaurus-plugin-content-docs/current/tools/bridge.md +++ b/i18n/ko/docusaurus-plugin-content-docs/current/tools/bridge.md @@ -1 +1,46 @@ -# Bridge \ No newline at end of file +# Status Network 테스트넷 브리지 + +Status Network 테스트넷 브리지를 사용하면 Sepolia (레이어 1)와 Status Network 테스트넷 (레이어 2) 간에 토큰을 전송할 수 있습니다. 브리지 인터페이스는 [bridge.status.network](https://bridge.status.network)에서 이용할 수 있습니다. + +## 개요 + +브리지는 다음을 가능하게 하는 중요한 인프라 구성 요소로 작동합니다: +- Sepolia에서 Status Network 테스트넷으로 토큰 전송 +- Status Network 테스트넷에서 Sepolia로 토큰 인출 +- L1과 L2 사이의 메시지 전달 + +## 브리지 컨트랙트 + +### 레이어 1 (Sepolia) +- **토큰 브리지**: [`0x01b44C5Ea321f921D93476cf54Aa8460db17a548`](https://sepolia.etherscan.io/address/0x01b44C5Ea321f921D93476cf54Aa8460db17a548) + +### 레이어 2 (Status Network) +- **토큰 브리지**: [`0xbC7f9571152a8e21942b2aEa4831a27f1149af19`](https://sepoliascan.status.network/address/0xbC7f9571152a8e21942b2aEa4831a27f1149af19) + +## 기능 + +- **토큰 브리징**: 네트워크 간 ERC-20 토큰 전송 +- **ETH 브리징**: Sepolia와 Status Network 간 ETH 브리징 +- **트랜잭션 추적**: 브리지 트랜잭션 상태 모니터링 +- **가스 예상**: 브리징 전 예상 가스 비용 확인 + +## 지원되는 토큰 + +지원되는 토큰과 해당 컨트랙트 주소의 최신 목록은 [토큰 목록 저장소](https://github.com/status-im/status-network-token-list)를 참조하세요. + +## 브리지 사용하기 + +단계별 가이드와 중요한 보안 고려사항을 포함한 브리지 사용 방법에 대한 자세한 내용은 [브리징 가이드](../general-info/bridge/bridging-testnet.md)를 참조하세요. + +## 브리지 트랜잭션 모니터링 + +브리지 트랜잭션은 다음을 통해 모니터링할 수 있습니다: +- L2 트랜잭션은 [Status Network 탐색기](https://sepoliascan.status.network) +- L1 트랜잭션은 [Sepolia Etherscan](https://sepolia.etherscan.io) + +## 지원 + +브리지 사용 중 문제가 발생한 경우: +- 일반적인 해결책은 [브리징 가이드](../general-info/bridge/bridging-testnet.md) 확인 +- 도움이 필요하면 [텔레그램 커뮤니티](https://t.me/+k04A_OZbhIs1Mzc9)에 참여 +- 진행 중인 문제는 [네트워크 상태](https://health.status.network) 모니터링 diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/tools/data-indexers.md b/i18n/ko/docusaurus-plugin-content-docs/current/tools/data-indexers.md deleted file mode 100644 index 229b8957..00000000 --- a/i18n/ko/docusaurus-plugin-content-docs/current/tools/data-indexers.md +++ /dev/null @@ -1 +0,0 @@ -# Data Indexers \ No newline at end of file diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/tools/general-tooling.md b/i18n/ko/docusaurus-plugin-content-docs/current/tools/general-tooling.md deleted file mode 100644 index 9734bec5..00000000 --- a/i18n/ko/docusaurus-plugin-content-docs/current/tools/general-tooling.md +++ /dev/null @@ -1 +0,0 @@ -# General Tooling \ No newline at end of file diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/tools/interoperability.md b/i18n/ko/docusaurus-plugin-content-docs/current/tools/interoperability.md deleted file mode 100644 index d36e7a61..00000000 --- a/i18n/ko/docusaurus-plugin-content-docs/current/tools/interoperability.md +++ /dev/null @@ -1 +0,0 @@ -# Interoperability \ No newline at end of file diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/tools/multisig-wallets.md b/i18n/ko/docusaurus-plugin-content-docs/current/tools/multisig-wallets.md deleted file mode 100644 index 14d8b789..00000000 --- a/i18n/ko/docusaurus-plugin-content-docs/current/tools/multisig-wallets.md +++ /dev/null @@ -1 +0,0 @@ -# Multisig Wallets \ No newline at end of file diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/tools/node-operators.md b/i18n/ko/docusaurus-plugin-content-docs/current/tools/node-operators.md deleted file mode 100644 index fd5aff76..00000000 --- a/i18n/ko/docusaurus-plugin-content-docs/current/tools/node-operators.md +++ /dev/null @@ -1 +0,0 @@ -# Node Operators \ No newline at end of file diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/tools/oracles.md b/i18n/ko/docusaurus-plugin-content-docs/current/tools/oracles.md deleted file mode 100644 index c4b094ab..00000000 --- a/i18n/ko/docusaurus-plugin-content-docs/current/tools/oracles.md +++ /dev/null @@ -1 +0,0 @@ -# Oracles \ No newline at end of file diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/tools/randomness.md b/i18n/ko/docusaurus-plugin-content-docs/current/tools/randomness.md deleted file mode 100644 index 83f1176a..00000000 --- a/i18n/ko/docusaurus-plugin-content-docs/current/tools/randomness.md +++ /dev/null @@ -1 +0,0 @@ -# Randomness \ No newline at end of file diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/tools/rpc.md b/i18n/ko/docusaurus-plugin-content-docs/current/tools/rpc.md index 36d693aa..ac5cec6f 100644 --- a/i18n/ko/docusaurus-plugin-content-docs/current/tools/rpc.md +++ b/i18n/ko/docusaurus-plugin-content-docs/current/tools/rpc.md @@ -1 +1,53 @@ -# RPCs \ No newline at end of file +# RPC 엔드포인트 + +Status Network는 네트워크와 상호작용할 수 있는 공개 RPC(Remote Procedure Call) 엔드포인트를 제공합니다. + +## 공개 RPC URL + +``` +https://public.sepolia.rpc.status.network +``` + +## RPC 사용하기 + +### MetaMask에 추가하기 +이 RPC를 사용하여 Status Network를 지갑에 추가하는 방법은 [네트워크 추가 가이드](../general-info/add-status-network.md)를 참조하세요. + +### Web3 라이브러리 설정 + +```javascript +// Web3.js +const web3 = new Web3('https://public.sepolia.rpc.status.network'); + +// Ethers.js v5 +const provider = new ethers.providers.JsonRpcProvider('https://public.sepolia.rpc.status.network'); +``` + +## 사용 가능한 메소드 + +RPC 엔드포인트는 다음을 포함한 표준 Ethereum JSON-RPC 메소드를 지원합니다: + +- `eth_blockNumber`: 최신 블록 번호 가져오기 +- `eth_getBalance`: 계정 잔액 가져오기 +- `eth_sendRawTransaction`: 서명된 트랜잭션 전송 +- `eth_call`: 트랜잭션을 생성하지 않고 호출 실행 +- `eth_getLogs`: 이벤트 로그 가져오기 +- `eth_getTransactionByHash`: 트랜잭션 세부정보 가져오기 +- `eth_getBlockByNumber`: 블록 정보 가져오기 + +지원되는 RPC 메소드의 전체 목록과 자세한 사양은 Status Network가 Linea 기술을 기반으로 하므로 [Linea API 참조](https://docs.linea.build/api/reference)를 참조하세요. + +## 속도 제한 + +공개 RPC 엔드포인트는 공정한 사용을 위해 다음과 같은 속도 제한이 있습니다: +- IP당 초당 10개의 요청 +- IP당 하루 100,000개의 요청 + +더 높은 제한이 필요한 경우 텔레그램으로 문의하세요. + +## 지원 + +RPC 엔드포인트에 문제가 발생한 경우: +- [네트워크 상태](https://health.status.network)에서 진행 중인 문제 확인 +- 지원을 받으려면 [텔레그램 커뮤니티](https://t.me/+k04A_OZbhIs1Mzc9)에 참여 +- 애플리케이션에 대체 RPC 전략 구현 고려 diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/tools/testnet-faucets.md b/i18n/ko/docusaurus-plugin-content-docs/current/tools/testnet-faucets.md index 2173daef..3723d77c 100644 --- a/i18n/ko/docusaurus-plugin-content-docs/current/tools/testnet-faucets.md +++ b/i18n/ko/docusaurus-plugin-content-docs/current/tools/testnet-faucets.md @@ -1 +1,35 @@ -# Testnet Faucets \ No newline at end of file +# 테스트넷 수도꼭지 + +Status Network 테스트넷을 시작하려면 Sepolia ETH와 Status Network 테스트넷 ETH 모두가 필요합니다. + +## Status Network 테스트넷 수도꼭지 + +Status Network 테스트넷 수도꼭지는 [faucet.status.network](https://faucet.status.network)에서 이용할 수 있습니다. + +### 세부사항 +- **수도꼭지 컨트랙트**: [`0x06338B70F1eAbc60d7A82C083e605C07F78bb878`](https://sepoliascan.status.network/address/0x06338B70F1eAbc60d7A82C083e605C07F78bb878) +- **지급량**: 요청당 0.1 ETH +- **대기 시간**: 주소당 하루 1회 요청 + +### 테스트넷 ETH 받는 방법 + +1. [faucet.status.network](https://faucet.status.network) 방문 +2. 지갑 연결 +3. "자금 요청" 클릭 +4. 지갑에서 트랜잭션 확인 +5. ETH가 지갑에 표시될 때까지 대기 (보통 몇 초 소요) + +## Sepolia ETH (브리징에 필요) + +Status Network 테스트넷에 자산을 브리징하려면 먼저 Sepolia ETH가 필요합니다. 다음에서 받을 수 있습니다: + +2. [Alchemy Sepolia 수도꼭지](https://www.alchemy.com/faucets/ethereum-sepolia) +3. [Metamask Sepolia 수도꼭지](https://docs.metamask.io/developer-tools/faucet/) + +Sepolia ETH를 받은 후, [Status Network 브리지](https://bridge.status.network)를 사용하여 Status Network 테스트넷으로 브리징할 수 있습니다. + +## 지원 + +수도꼭지 사용 중 문제가 발생한 경우: +- [네트워크 상태](https://health.status.network)에서 진행 중인 문제 확인 +- 지원을 받으려면 [텔레그램 커뮤니티](https://t.me/+k04A_OZbhIs1Mzc9)에 참여 diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-foundry.md b/i18n/ko/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-foundry.md index f44729c0..a1c46b97 100644 --- a/i18n/ko/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-foundry.md +++ b/i18n/ko/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-foundry.md @@ -1 +1,209 @@ -# Using Foundry \ No newline at end of file +# Foundry를 사용하여 스마트 컨트랙트 배포하기 + +이 튜토리얼에서는 Foundry를 사용하여 Status Network 테스트넷에 스마트 컨트랙트를 배포하는 과정을 안내합니다. + +## 사전 요구사항 + +시작하기 전에 다음이 필요합니다: + +- **Foundry**: [공식 Foundry 문서](https://book.getfoundry.sh/getting-started/installation)에서 설치 +- **이더리움 지갑**: Status Network 테스트넷용 개인키 +- **테스트넷 ETH**: Status Network 테스트넷 ETH가 필요합니다 + - Status Network 테스트넷 ETH는 [수도꼭지](/tools/testnet-faucets)에서 받을 수 있습니다 +- **기본 지식**: Solidity와 명령줄 사용 경험 + +## 달성 목표 + +- Foundry 프로젝트 초기화 +- 기본 이더리움 스마트 컨트랙트 작성 +- Status Network 테스트넷 배포를 위한 Foundry 구성 +- 스마트 컨트랙트 배포 + +## 단계 + +### 1. Foundry 프로젝트 초기화 + +먼저 새로운 Foundry 프로젝트를 생성합니다: + +```bash +# 새 프로젝트 생성 +forge init hello_status +cd hello_status + +# 개인키를 위한 .env 파일 생성 +touch .env +echo "PRIVATE_KEY=your_private_key_here" >> .env +``` + +### 2. 스마트 컨트랙트 작성 + +`src/Counter.sol`을 `HelloWorld.sol`로 대체합니다: + +```solidity +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.24; + +contract HelloWorld { + string public greet = "Hello, Status Network!"; + + function setGreet(string memory _greet) public { + greet = _greet; + } + + function getGreet() public view returns (string memory) { + return greet; + } +} +``` + +### 3. Status Network를 위한 Foundry 구성 + +`foundry.toml`을 생성하거나 업데이트합니다: + +```toml +[profile.default] +src = "src" +out = "out" +libs = ["lib"] +solc = "0.8.24" + +[rpc_endpoints] +status_testnet = "https://public.sepolia.rpc.status.network" +``` + +### 4. 컨트랙트 배포 + +배포 스크립트 `script/Deploy.s.sol`을 생성합니다: + +```solidity +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.24; + +import "forge-std/Script.sol"; +import "../src/HelloWorld.sol"; + +contract DeployScript is Script { + function run() external { + uint256 deployerPrivateKey = vm.envUint("PRIVATE_KEY"); + + vm.startBroadcast(deployerPrivateKey); + + HelloWorld hello = new HelloWorld(); + console.log("HelloWorld deployed to:", address(hello)); + + vm.stopBroadcast(); + } +} +``` + +forge를 사용하여 배포합니다: + +```bash +# 환경 변수 로드 +source .env + +# Status Network 테스트넷에 배포 +forge script script/Deploy.s.sol:DeployScript \ + --rpc-url https://public.sepolia.rpc.status.network \ + --broadcast \ +``` + +### 5. 컨트랙트와 상호작용 + +컨트랙트와 상호작용하는 스크립트 `script/Interact.s.sol`을 생성합니다: + +```solidity +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.24; + +import "forge-std/Script.sol"; +import "../src/HelloWorld.sol"; + +contract InteractScript is Script { + function run() external { + uint256 deployerPrivateKey = vm.envUint("PRIVATE_KEY"); + address contractAddress = address(0x...); // 컨트랙트 주소로 교체하세요 + + vm.startBroadcast(deployerPrivateKey); + + HelloWorld hello = HelloWorld(contractAddress); + + // 현재 인사말 읽기 + string memory currentGreeting = hello.getGreet(); + console.log("Current greeting:", currentGreeting); + + // 인사말 업데이트 + hello.setGreet("Hello from Foundry!"); + + vm.stopBroadcast(); + } +} +``` + +상호작용 스크립트를 실행합니다: + +```bash +forge script script/Interact.s.sol:InteractScript \ + --rpc-url https://public.sepolia.rpc.status.network \ + --broadcast +``` + +### 6. 빠른 상호작용을 위한 Cast 명령어 + +`cast`를 사용하여 컨트랙트와 상호작용할 수도 있습니다: + +```bash +# 인사말 읽기 +cast call "getGreet()" \ + --rpc-url https://public.sepolia.rpc.status.network + +# 새 인사말 설정 +cast send "setGreet(string)" "New greeting!" \ + --private-key $PRIVATE_KEY \ + --rpc-url https://public.sepolia.rpc.status.network +``` + +### 7. 테스트 + +테스트 파일 `test/HelloWorld.t.sol`을 생성합니다: + +```solidity +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.24; + +import "forge-std/Test.sol"; +import "../src/HelloWorld.sol"; + +contract HelloWorldTest is Test { + HelloWorld hello; + + function setUp() public { + hello = new HelloWorld(); + } + + function testGreeting() public { + assertEq(hello.getGreet(), "Hello, Status Network!"); + + hello.setGreet("New greeting"); + assertEq(hello.getGreet(), "New greeting"); + } +} +``` + +테스트를 실행합니다: + +```bash +forge test +``` + +## 지원 + +문제가 발생한 경우: +- [텔레그램 커뮤니티](https://t.me/+k04A_OZbhIs1Mzc9)에 참여 +- [네트워크 상태](https://health.status.network) 확인 +- [네트워크 세부정보](/general-info/network-details) 참조 + +## 추가 리소스 + +- [Foundry 문서](https://book.getfoundry.sh/) +- [Status Network 탐색기](https://sepoliascan.status.network) diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-hardhat.md b/i18n/ko/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-hardhat.md index e8d21dc2..ba67b5d4 100644 --- a/i18n/ko/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-hardhat.md +++ b/i18n/ko/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-hardhat.md @@ -1 +1,162 @@ -# Using Hardhat \ No newline at end of file +# Hardhat을 사용하여 스마트 컨트랙트 배포하기 + +이 튜토리얼에서는 Hardhat, Hardhat Ignition 및 TypeScript를 사용하여 Status Network 테스트넷에 스마트 컨트랙트를 배포하는 과정을 안내합니다. + +## 사전 요구사항 + +시작하기 전에 다음이 필요합니다: + +- **Node.js와 npm**: [공식 Node.js 웹사이트](https://nodejs.org/)에서 다운로드 및 설치 +- **이더리움 지갑**: Status Network 테스트넷용 개인키가 있는 MetaMask 또는 다른 지갑 +- **테스트넷 ETH**: Status Network 테스트넷 ETH가 필요합니다 + - Status Network 테스트넷 ETH는 [수도꼭지](/tools/testnet-faucets)에서 받을 수 있습니다 +- **기본 지식**: Solidity, Hardhat, 명령줄 사용 경험 + +## 달성 목표 + +- TypeScript 기반 Hardhat 프로젝트 초기화 +- 기본 이더리움 스마트 컨트랙트 작성 +- Status Network 테스트넷 배포를 위한 Hardhat 구성 +- Hardhat Ignition을 사용하여 스마트 컨트랙트 배포 + +## 단계 + +### 1. Hardhat TypeScript 프로젝트 초기화 + +먼저 프로젝트를 생성하고 설정합니다: + +```bash +mkdir my-hardhat-project && cd my-hardhat-project +npm init -y +npm install --save-dev hardhat @nomicfoundation/hardhat-toolbox dotenv +npx hardhat init +``` + +프롬프트가 표시되면 "Create a TypeScript project"를 선택하여 TypeScript 기반 Hardhat 프로젝트를 설정합니다. + +환경 변수를 설정합니다: + +```bash +# .env 파일 생성 +touch .env + +# 개인키 추가 (이 파일은 절대 커밋하지 마세요!) +echo "PRIVATE_KEY=your_private_key_here" >> .env +``` + +### 2. 스마트 컨트랙트 작성 + +`contracts/HelloWorld.sol`을 생성합니다: + +```solidity +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.24; + +contract HelloWorld { + string public greet = "Hello, Status Network!"; + + function setGreet(string memory _greet) public { + greet = _greet; + } + + function getGreet() public view returns (string memory) { + return greet; + } +} +``` + +### 3. Status Network를 위한 Hardhat 구성 + +`hardhat.config.ts`를 업데이트합니다: + +```typescript +import { HardhatUserConfig } from "hardhat/config"; +import "@nomicfoundation/hardhat-toolbox"; +import * as dotenv from "dotenv"; + +dotenv.config(); + +const PRIVATE_KEY = process.env.PRIVATE_KEY || ""; + +const config: HardhatUserConfig = { + solidity: "0.8.24", + networks: { + statusTestnet: { + url: "https://public.sepolia.rpc.status.network", + chainId: 1660990954, + accounts: [PRIVATE_KEY], + }, + }, +}; + +export default config; +``` + +### 4. Ignition 배포 모듈 생성 + +`ignition/modules/HelloWorld.ts`를 생성합니다: + +```typescript +import { buildModule } from "@nomicfoundation/hardhat-ignition/modules"; + +export default buildModule("HelloWorld", (m) => { + const helloWorld = m.contract("HelloWorld"); + + return { helloWorld }; +}); +``` + +### 5. 컨트랙트 배포 + +```bash +npx hardhat compile +npx hardhat ignition deploy ignition/modules/HelloWorld.ts --network statusTestnet +``` + +배포는 `ignition/deployments` 디렉토리에 배포 결과물과 이력을 생성합니다. + +### 7. 컨트랙트와 상호작용 + +`scripts/interact.ts`를 생성합니다: + +```typescript +import { ethers } from "hardhat"; +import { HelloWorld } from "../typechain-types"; + +async function main() { + const contractAddress = "0x0d8a93870494Fa21ec39602f31Aa67C9Fed5604f"; + const HelloWorld = await ethers.getContractFactory("HelloWorld"); + const contract = HelloWorld.attach(contractAddress) as HelloWorld; + + // 현재 인사말 읽기 + const greeting = await contract.getGreet(); + console.log("Current greeting:", greeting); + + // 인사말 업데이트 + const tx = await contract.setGreet("Hello from Status Network!"); + await tx.wait(); + console.log("Greeting updated!"); + + // 업데이트된 인사말 읽기 + const newGreeting = await contract.getGreet(); + console.log("New greeting:", newGreeting); +} + +main().catch((error) => { + console.error(error); + process.exitCode = 1; +}); +``` + +상호작용 스크립트를 실행합니다: + +```bash +npx hardhat run scripts/interact.ts --network statusTestnet +``` + +## 지원 + +문제가 발생한 경우: +- [텔레그램 커뮤니티](https://t.me/+k04A_OZbhIs1Mzc9)에 참여 +- [네트워크 상태](https://health.status.network) 확인 +- [네트워크 세부정보](/general-info/network-details) 참조 diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-remix.md b/i18n/ko/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-remix.md index 55e9fb7b..908dc73c 100644 --- a/i18n/ko/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-remix.md +++ b/i18n/ko/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-remix.md @@ -1 +1,99 @@ -# Using Remix \ No newline at end of file +# Remix를 사용하여 스마트 컨트랙트 배포하기 + +이 튜토리얼에서는 Remix IDE를 사용하여 Status Network 테스트넷에 스마트 컨트랙트를 배포하는 과정을 안내합니다. Remix는 빠른 개발과 테스트에 적합한 브라우저 기반 IDE입니다. + +## 사전 요구사항 + +시작하기 전에 다음이 필요합니다: + +- **웹 브라우저**: Chrome이나 Firefox와 같은 최신 브라우저 +- **MetaMask**: [MetaMask](https://metamask.io) 브라우저 확장 프로그램 설치 +- **테스트넷 ETH**: Status Network 테스트넷 ETH가 필요합니다 + - Status Network 테스트넷 ETH는 [수도꼭지](/tools/testnet-faucets)에서 받을 수 있습니다 +- **네트워크 구성**: [네트워크 추가 가이드](/general-info/add-status-network)에 따라 MetaMask에 Status Network 테스트넷 추가 + +## 단계 + +### 1. Remix IDE 열기 + +브라우저에서 [remix.ethereum.org](https://remix.ethereum.org)에 접속합니다. + +### 2. 새 파일 만들기 + +1. "File Explorer" 아이콘(왼쪽 사이드바의 첫 번째 아이콘) 클릭 +2. "+" 버튼을 클릭하여 새 파일 생성 +3. `HelloWorld.sol`로 이름 지정 + +### 3. 스마트 컨트랙트 작성 + +다음 코드를 `HelloWorld.sol`에 복사하여 붙여넣기: + +```solidity +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.24; + +contract HelloWorld { + string public greet = "Hello, Status Network!"; + + function setGreet(string memory _greet) public { + greet = _greet; + } + + function getGreet() public view returns (string memory) { + return greet; + } +} +``` + +### 4. 컨트랙트 컴파일 + +1. "Solidity Compiler" 아이콘(왼쪽 사이드바의 두 번째 아이콘) 클릭 +2. 컴파일러 버전 "0.8.24" 선택 +3. "Compile HelloWorld.sol" 클릭 +4. 컴파일이 성공했는지 확인(녹색 체크마크가 표시됨) + +### 5. 컨트랙트 배포 + +1. "Deploy & Run Transactions" 아이콘(왼쪽 사이드바의 네 번째 아이콘) 클릭 +2. "Environment" 드롭다운에서 "Injected Provider - MetaMask" 선택 +3. MetaMask가 연결을 요청 - Status Network 테스트넷이 선택되어 있는지 확인 +4. "Deploy" 클릭 +5. MetaMask에서 트랜잭션 확인 +6. 트랜잭션이 확인될 때까지 대기 + +### 6. 컨트랙트와 상호작용 + +배포가 완료되면 "Deployed Contracts" 아래에서 컨트랙트를 확인할 수 있습니다: + +1. 컨트랙트 인터페이스 펼치기 +2. 다음과 같은 작업이 가능합니다: + - "greet"를 클릭하여 현재 인사말 읽기 + - "setGreet" 필드에 새로운 인사말을 입력하고 버튼을 클릭하여 업데이트 + - "getGreet"를 클릭하여 인사말 다시 읽기 + +## 문제 해결 + +### 일반적인 문제 + +1. **트랜잭션 실패** + - Status Network 테스트넷에 연결되어 있는지 확인 + +2. **컨트랙트를 찾을 수 없음** + - 탐색기가 컨트랙트를 인덱싱할 때까지 몇 분 대기 + - 컨트랙트 주소 다시 확인 + +3. **컴파일 오류** + - 컴파일러 버전이 pragma 문과 일치하는지 확인 + - Remix에서 강조 표시된 구문 오류 확인 + +## 지원 + +문제가 발생한 경우: +- [텔레그램 커뮤니티](https://t.me/+k04A_OZbhIs1Mzc9)에 참여 +- [네트워크 상태](https://health.status.network) 확인 +- [네트워크 세부정보](/general-info/network-details) 참조 + +## 추가 리소스 + +- [Remix 문서](https://remix-ide.readthedocs.io/) +- [Status Network 탐색기](https://sepoliascan.status.network) diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-thirdweb.md b/i18n/ko/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-thirdweb.md deleted file mode 100644 index 32bc2c7c..00000000 --- a/i18n/ko/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-thirdweb.md +++ /dev/null @@ -1 +0,0 @@ -# Using Thirdweb \ No newline at end of file diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/tutorials/ethers-tutorial.md b/i18n/ko/docusaurus-plugin-content-docs/current/tutorials/ethers-tutorial.md deleted file mode 100644 index 463fbe90..00000000 --- a/i18n/ko/docusaurus-plugin-content-docs/current/tutorials/ethers-tutorial.md +++ /dev/null @@ -1 +0,0 @@ -# Interacting with Smart Contracts using ethers.js \ No newline at end of file diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/tutorials/verifying-contracts/using-foundry.md b/i18n/ko/docusaurus-plugin-content-docs/current/tutorials/verifying-contracts/using-foundry.md deleted file mode 100644 index f44729c0..00000000 --- a/i18n/ko/docusaurus-plugin-content-docs/current/tutorials/verifying-contracts/using-foundry.md +++ /dev/null @@ -1 +0,0 @@ -# Using Foundry \ No newline at end of file diff --git a/i18n/ko/docusaurus-plugin-content-docs/current/tutorials/verifying-contracts/using-hardhat.md b/i18n/ko/docusaurus-plugin-content-docs/current/tutorials/verifying-contracts/using-hardhat.md deleted file mode 100644 index e8d21dc2..00000000 --- a/i18n/ko/docusaurus-plugin-content-docs/current/tutorials/verifying-contracts/using-hardhat.md +++ /dev/null @@ -1 +0,0 @@ -# Using Hardhat \ No newline at end of file diff --git a/i18n/ko/docusaurus-theme-classic/navbar.json b/i18n/ko/docusaurus-theme-classic/navbar.json index 507eb7fa..8064df51 100644 --- a/i18n/ko/docusaurus-theme-classic/navbar.json +++ b/i18n/ko/docusaurus-theme-classic/navbar.json @@ -1,62 +1,14 @@ { "title": { - "message": "스테이터스 네트워크 문서", + "message": "Status Network Docs", "description": "The title in the navbar" }, "logo.alt": { - "message": "스테이터스 네트워크 로고", + "message": "Status Network Logo", "description": "The alt text of navbar logo" }, - "item.label.Tools": { - "message": "도구", - "description": "Navbar item with label Tools" - }, "item.label.Hub": { - "message": "허브", + "message": "Hub", "description": "Navbar item with label Hub" - }, - "item.label.🔌 RPC": { - "message": "🔌 RPC", - "description": "Navbar item with label 🔌 RPC" - }, - "item.label.👥 Multisig Wallets": { - "message": "👥 다중서명 지갑", - "description": "Navbar item with label 👥 Multisig Wallets" - }, - "item.label.🌉 Bridge": { - "message": "🌉 브리지", - "description": "Navbar item with label 🌉 Bridge" - }, - "item.label.🚰 Testnet Faucets": { - "message": "🚰 테스트넷 파우셋", - "description": "Navbar item with label 🚰 Testnet Faucets" - }, - "item.label.🔎 Block Explorers": { - "message": "🔎 블록 익스플로러", - "description": "Navbar item with label 🔎 Block Explorers" - }, - "item.label.📊 Data Indexers": { - "message": "📊 데이터 인덱서", - "description": "Navbar item with label 📊 Data Indexers" - }, - "item.label.🔮 Oracles": { - "message": "🔮 오라클", - "description": "Navbar item with label 🔮 Oracles" - }, - "item.label.🔗 Interoperability": { - "message": "🔗 상호운용성", - "description": "Navbar item with label 🔗 Interoperability" - }, - "item.label.🎲 Randomness": { - "message": "🎲 난수성", - "description": "Navbar item with label 🎲 Randomness" - }, - "item.label.🛠️ General Tooling": { - "message": "🛠️ 일반 도구", - "description": "Navbar item with label 🛠️ General Tooling" - }, - "item.label.🖥️ Node Operators": { - "message": "🖥️ 노드 운영자", - "description": "Navbar item with label 🖥️ Node Operators" } } diff --git a/i18n/zh/code.json b/i18n/zh/code.json index 77cc39c4..5472836a 100644 --- a/i18n/zh/code.json +++ b/i18n/zh/code.json @@ -122,14 +122,14 @@ "message": "最后{byUser}{atDate}更新", "description": "The sentence used to display when a page has been last updated, and by who" }, - "theme.NotFound.title": { - "message": "找不到页面", - "description": "The title of the 404 page" - }, "theme.navbar.mobileVersionsDropdown.label": { "message": "选择版本", "description": "The label for the navbar versions dropdown on mobile view" }, + "theme.NotFound.title": { + "message": "找不到页面", + "description": "The title of the 404 page" + }, "theme.tags.tagsListLabel": { "message": "标签:", "description": "The label alongside a tag list" @@ -194,6 +194,10 @@ "message": "主导航", "description": "The ARIA label for the main navigation" }, + "theme.navbar.mobileLanguageDropdown.label": { + "message": "选择语言", + "description": "The label for the mobile language switcher dropdown" + }, "theme.NotFound.p1": { "message": "我们找不到您要找的页面。", "description": "The first paragraph of the 404 page" @@ -202,10 +206,6 @@ "message": "请联系原始链接来源网站的所有者,并告知他们链接已损坏。", "description": "The 2nd paragraph of the 404 page" }, - "theme.navbar.mobileLanguageDropdown.label": { - "message": "选择语言", - "description": "The label for the mobile language switcher dropdown" - }, "theme.TOCCollapsible.toggleButtonLabel": { "message": "本页总览", "description": "The label used by the button on the collapsible TOC component" @@ -258,6 +258,137 @@ "message": "展开侧边栏", "description": "The ARIA label and title attribute for expand button of doc sidebar" }, + "theme.SearchBar.seeAll": { + "message": "查看全部 {count} 个结果" + }, + "theme.SearchPage.documentsFound.plurals": { + "message": "找到 {count} 份文件", + "description": "Pluralized label for \"{count} documents found\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)" + }, + "theme.SearchPage.existingResultsTitle": { + "message": "「{query}」的搜索结果", + "description": "The search page title for non-empty query" + }, + "theme.SearchPage.emptyResultsTitle": { + "message": "在文档中搜索", + "description": "The search page title for empty query" + }, + "theme.SearchPage.inputPlaceholder": { + "message": "在此输入搜索字词", + "description": "The placeholder for search page input" + }, + "theme.SearchPage.inputLabel": { + "message": "搜索", + "description": "The ARIA label for search page input" + }, + "theme.SearchPage.algoliaLabel": { + "message": "通过 Algolia 搜索", + "description": "The ARIA label for Algolia mention" + }, + "theme.SearchPage.noResultsText": { + "message": "未找到任何结果", + "description": "The paragraph for empty search result" + }, + "theme.SearchPage.fetchingNewResults": { + "message": "正在获取新的搜索结果...", + "description": "The paragraph for fetching new search results" + }, + "theme.SearchBar.label": { + "message": "搜索", + "description": "The ARIA label and placeholder for search button" + }, + "theme.SearchModal.searchBox.resetButtonTitle": { + "message": "清除查询", + "description": "The label and ARIA label for search box reset button" + }, + "theme.SearchModal.searchBox.cancelButtonText": { + "message": "取消", + "description": "The label and ARIA label for search box cancel button" + }, + "theme.SearchModal.startScreen.recentSearchesTitle": { + "message": "最近搜索", + "description": "The title for recent searches" + }, + "theme.SearchModal.startScreen.noRecentSearchesText": { + "message": "没有最近搜索", + "description": "The text when no recent searches" + }, + "theme.SearchModal.startScreen.saveRecentSearchButtonTitle": { + "message": "保存这个搜索", + "description": "The label for save recent search button" + }, + "theme.SearchModal.startScreen.removeRecentSearchButtonTitle": { + "message": "从历史记录中删除这个搜索", + "description": "The label for remove recent search button" + }, + "theme.SearchModal.startScreen.favoriteSearchesTitle": { + "message": "收藏", + "description": "The title for favorite searches" + }, + "theme.SearchModal.startScreen.removeFavoriteSearchButtonTitle": { + "message": "从收藏列表中删除这个搜索", + "description": "The label for remove favorite search button" + }, + "theme.SearchModal.errorScreen.titleText": { + "message": "无法获取结果", + "description": "The title for error screen of search modal" + }, + "theme.SearchModal.errorScreen.helpText": { + "message": "你可能需要检查网络连接。", + "description": "The help text for error screen of search modal" + }, + "theme.SearchModal.footer.selectText": { + "message": "选中", + "description": "The explanatory text of the action for the enter key" + }, + "theme.SearchModal.footer.selectKeyAriaLabel": { + "message": "Enter 键", + "description": "The ARIA label for the Enter key button that makes the selection" + }, + "theme.SearchModal.footer.navigateText": { + "message": "导航", + "description": "The explanatory text of the action for the Arrow up and Arrow down key" + }, + "theme.SearchModal.footer.navigateUpKeyAriaLabel": { + "message": "向上键", + "description": "The ARIA label for the Arrow up key button that makes the navigation" + }, + "theme.SearchModal.footer.navigateDownKeyAriaLabel": { + "message": "向下键", + "description": "The ARIA label for the Arrow down key button that makes the navigation" + }, + "theme.SearchModal.footer.closeText": { + "message": "关闭", + "description": "The explanatory text of the action for Escape key" + }, + "theme.SearchModal.footer.closeKeyAriaLabel": { + "message": "Esc 键", + "description": "The ARIA label for the Escape key button that close the modal" + }, + "theme.SearchModal.footer.searchByText": { + "message": "搜索提供", + "description": "The text explain that the search is making by Algolia" + }, + "theme.SearchModal.noResultsScreen.noResultsText": { + "message": "没有结果:", + "description": "The text explains that there are no results for the following search" + }, + "theme.SearchModal.noResultsScreen.suggestedQueryText": { + "message": "试试搜索", + "description": "The text for the suggested query when no results are found for the following search" + }, + "theme.SearchModal.noResultsScreen.reportMissingResultsText": { + "message": "认为这个查询应该有结果?", + "description": "The text for the question where the user thinks there are missing results" + }, + "theme.SearchModal.noResultsScreen.reportMissingResultsLinkText": { + "message": "请告知我们。", + "description": "The text for the link to report missing results" + }, + "theme.SearchModal.placeholder": { + "message": "搜索文档", + "description": "The placeholder of the input of the DocSearch pop-up modal" + }, "theme.blog.post.plurals": { "message": "{count} 篇博文", "description": "Pluralized label for \"{count} posts\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)" diff --git a/i18n/zh/docusaurus-plugin-content-docs/current.json b/i18n/zh/docusaurus-plugin-content-docs/current.json index ba92ee92..1772963b 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current.json +++ b/i18n/zh/docusaurus-plugin-content-docs/current.json @@ -1,178 +1,110 @@ { "version.label": { - "message": "下一个", + "message": "Next", "description": "The label for version current" }, "sidebar.tutorialSidebar.category.INTRODUCTION": { - "message": "介绍", + "message": "INTRODUCTION", "description": "The label for category INTRODUCTION in sidebar tutorialSidebar" }, "sidebar.tutorialSidebar.category.TOKENOMICS": { - "message": "代币经济学", + "message": "TOKENOMICS", "description": "The label for category TOKENOMICS in sidebar tutorialSidebar" }, "sidebar.tutorialSidebar.category.GENERAL INFO": { - "message": "一般信息", + "message": "GENERAL INFO", "description": "The label for category GENERAL INFO in sidebar tutorialSidebar" }, "sidebar.tutorialSidebar.category.🏡 Contract Addresses": { - "message": "🏡 合约地址", + "message": "🏡 Contract Addresses", "description": "The label for category 🏡 Contract Addresses in sidebar tutorialSidebar" }, "sidebar.tutorialSidebar.category.🌉 Bridge": { - "message": "🌉 桥接", + "message": "🌉 Bridge", "description": "The label for category 🌉 Bridge in sidebar tutorialSidebar" }, "sidebar.tutorialSidebar.category.TOOLS": { - "message": "工具", + "message": "TOOLS", "description": "The label for category TOOLS in sidebar tutorialSidebar" }, "sidebar.tutorialSidebar.category.TUTORIALS": { - "message": "教程", + "message": "TUTORIALS", "description": "The label for category TUTORIALS in sidebar tutorialSidebar" }, "sidebar.tutorialSidebar.category.🚀 Deploying a Smart Contract": { - "message": "🚀 部署智能合约", + "message": "🚀 Deploying a Smart Contract", "description": "The label for category 🚀 Deploying a Smart Contract in sidebar tutorialSidebar" }, - "sidebar.tutorialSidebar.category.🔍 Verifying Your Smart Contract": { - "message": "🔍 验证您的智能合约", - "description": "The label for category 🔍 Verifying Your Smart Contract in sidebar tutorialSidebar" - }, - "sidebar.tutorialSidebar.category.SECURITY": { - "message": "安全", - "description": "The label for category SECURITY in sidebar tutorialSidebar" - }, "sidebar.tutorialSidebar.category.OTHER DOCS": { - "message": "其他文档", + "message": "OTHER DOCS", "description": "The label for category OTHER DOCS in sidebar tutorialSidebar" }, "sidebar.tutorialSidebar.doc.🏠 Home": { - "message": "🏠 主页", + "message": "🏠 Home", "description": "The label for the doc item 🏠 Home in sidebar tutorialSidebar, linking to the doc index" }, "sidebar.tutorialSidebar.doc.⚡ Quick Start": { - "message": "⚡ 快速开始", + "message": "⚡ Quick Start", "description": "The label for the doc item ⚡ Quick Start in sidebar tutorialSidebar, linking to the doc introduction/quick-start" }, "sidebar.tutorialSidebar.doc.💎 SNT Token": { - "message": "💎 SNT 代币", + "message": "💎 SNT Token", "description": "The label for the doc item 💎 SNT Token in sidebar tutorialSidebar, linking to the doc tokenomics/snt-token" }, - "sidebar.tutorialSidebar.doc.💠 Aura Token": { - "message": "💠 Aura 代币", - "description": "The label for the doc item 💠 Aura Token in sidebar tutorialSidebar, linking to the doc tokenomics/aura-token" + "sidebar.tutorialSidebar.doc.💠 Karma Token": { + "message": "💠 Karma Token", + "description": "The label for the doc item 💠 Karma Token in sidebar tutorialSidebar, linking to the doc tokenomics/karma-token" }, "sidebar.tutorialSidebar.doc.🌐 Network Details": { - "message": "🌐 网络详情", + "message": "🌐 Network Details", "description": "The label for the doc item 🌐 Network Details in sidebar tutorialSidebar, linking to the doc general-info/network-details" }, "sidebar.tutorialSidebar.doc.➕ Add Status Network": { - "message": "➕ 添加 Status Network", + "message": "➕ Add Status Network", "description": "The label for the doc item ➕ Add Status Network in sidebar tutorialSidebar, linking to the doc general-info/add-status-network" }, "sidebar.tutorialSidebar.doc.💰 Tokens": { - "message": "💰 代币", + "message": "💰 Tokens", "description": "The label for the doc item 💰 Tokens in sidebar tutorialSidebar, linking to the doc general-info/contract-addresses/tokens" }, "sidebar.tutorialSidebar.doc.🧪 Testnet Contracts": { - "message": "🧪 测试网合约", + "message": "🧪 Testnet Contracts", "description": "The label for the doc item 🧪 Testnet Contracts in sidebar tutorialSidebar, linking to the doc general-info/contract-addresses/testnet-contracts" }, - "sidebar.tutorialSidebar.doc.➡️ Bridge to Status": { - "message": "➡️ 桥接到 Status", - "description": "The label for the doc item ➡️ Bridge to Status in sidebar tutorialSidebar, linking to the doc general-info/bridge/bridge-to-status" - }, - "sidebar.tutorialSidebar.doc.⬅️ Bridge from Status": { - "message": "⬅️ 从 Status 桥接", - "description": "The label for the doc item ⬅️ Bridge from Status in sidebar tutorialSidebar, linking to the doc general-info/bridge/bridge-from-status" - }, "sidebar.tutorialSidebar.doc.🧪 Bridging Testnet": { - "message": "🧪 测试网桥接", + "message": "🧪 Bridging Testnet", "description": "The label for the doc item 🧪 Bridging Testnet in sidebar tutorialSidebar, linking to the doc general-info/bridge/bridging-testnet" }, "sidebar.tutorialSidebar.doc.🔌 RPC": { "message": "🔌 RPC", "description": "The label for the doc item 🔌 RPC in sidebar tutorialSidebar, linking to the doc tools/rpc" }, - "sidebar.tutorialSidebar.doc.👥 Multisig Wallets": { - "message": "👥 多签钱包", - "description": "The label for the doc item 👥 Multisig Wallets in sidebar tutorialSidebar, linking to the doc tools/multisig-wallets" - }, "sidebar.tutorialSidebar.doc.🌉 Bridge": { - "message": "🌉 桥接", + "message": "🌉 Bridge", "description": "The label for the doc item 🌉 Bridge in sidebar tutorialSidebar, linking to the doc tools/bridge" }, "sidebar.tutorialSidebar.doc.🚰 Testnet Faucets": { - "message": "🚰 测试网水龙头", - "description": "The label for the doc item 🚰 测试网水龙头 in sidebar tutorialSidebar, linking to the doc tools/testnet-faucets" + "message": "🚰 Testnet Faucets", + "description": "The label for the doc item 🚰 Testnet Faucets in sidebar tutorialSidebar, linking to the doc tools/testnet-faucets" }, "sidebar.tutorialSidebar.doc.🔎 Block Explorers": { - "message": "🔎 区块浏览器", + "message": "🔎 Block Explorers", "description": "The label for the doc item 🔎 Block Explorers in sidebar tutorialSidebar, linking to the doc tools/block-explorers" }, - "sidebar.tutorialSidebar.doc.📊 Data Indexers": { - "message": "📊 数据索引器", - "description": "The label for the doc item 📊 Data Indexers in sidebar tutorialSidebar, linking to the doc tools/data-indexers" - }, - "sidebar.tutorialSidebar.doc.🔮 Oracles": { - "message": "🔮 预言机", - "description": "The label for the doc item 🔮 Oracles in sidebar tutorialSidebar, linking to the doc tools/oracles" - }, - "sidebar.tutorialSidebar.doc.🔗 Interoperability": { - "message": "🔗 互操作性", - "description": "The label for the doc item 🔗 Interoperability in sidebar tutorialSidebar, linking to the doc tools/interoperability" - }, - "sidebar.tutorialSidebar.doc.🎲 Randomness": { - "message": "🎲 随机性", - "description": "The label for the doc item 🎲 Randomness in sidebar tutorialSidebar, linking to the doc tools/randomness" - }, - "sidebar.tutorialSidebar.doc.🛠️ General Tooling": { - "message": "🛠️ 通用工具", - "description": "The label for the doc item 🛠️ General Tooling in sidebar tutorialSidebar, linking to the doc tools/general-tooling" - }, - "sidebar.tutorialSidebar.doc.🖥️ Node Operators": { - "message": "🖥️ 节点运营商", - "description": "The label for the doc item 🖥️ Node Operators in sidebar tutorialSidebar, linking to the doc tools/node-operators" - }, - "sidebar.tutorialSidebar.doc.📘 Ethers Tutorial": { - "message": "📘 Ethers 教程", - "description": "The label for the doc item 📘 Ethers Tutorial in sidebar tutorialSidebar, linking to the doc tutorials/ethers-tutorial" - }, "sidebar.tutorialSidebar.doc.🎩 Using Hardhat": { - "message": "🎩 使用 Hardhat", - "description": "The label for the doc item 🎩 Using Hardhat in sidebar tutorialSidebar, linking to the doc tutorials/verifying-contracts/using-hardhat" - }, - "sidebar.tutorialSidebar.doc.🌐 Using Thirdweb": { - "message": "🌐 使用 Thirdweb", - "description": "The label for the doc item 🌐 Using Thirdweb in sidebar tutorialSidebar, linking to the doc tutorials/deploying-contracts/using-thirdweb" + "message": "🎩 Using Hardhat", + "description": "The label for the doc item 🎩 Using Hardhat in sidebar tutorialSidebar, linking to the doc tutorials/deploying-contracts/using-hardhat" }, "sidebar.tutorialSidebar.doc.⚒️ Using Foundry": { - "message": "⚒️ 使用 Foundry", - "description": "The label for the doc item ⚒️ Using Foundry in sidebar tutorialSidebar, linking to the doc tutorials/verifying-contracts/using-foundry" + "message": "⚒️ Using Foundry", + "description": "The label for the doc item ⚒️ Using Foundry in sidebar tutorialSidebar, linking to the doc tutorials/deploying-contracts/using-foundry" }, "sidebar.tutorialSidebar.doc.🎛️ Using Remix": { - "message": "🎛️ 使用 Remix", + "message": "🎛️ Using Remix", "description": "The label for the doc item 🎛️ Using Remix in sidebar tutorialSidebar, linking to the doc tutorials/deploying-contracts/using-remix" }, - "sidebar.tutorialSidebar.doc.🛡️ Security Model": { - "message": "🛡️ 安全模型", - "description": "The label for the doc item 🛡️ Security Model in sidebar tutorialSidebar, linking to the doc security/security-model" - }, - "sidebar.tutorialSidebar.doc.⬆️ Security Upgrades": { - "message": "⬆️ 安全升级", - "description": "The label for the doc item ⬆️ Security Upgrades in sidebar tutorialSidebar, linking to the doc security/security-upgrades" - }, - "sidebar.tutorialSidebar.doc.🔒 Audits": { - "message": "🔒 审计", - "description": "The label for the doc item 🔒 Audits in sidebar tutorialSidebar, linking to the doc other/audits" - }, "sidebar.tutorialSidebar.doc.🔗 Official Links": { - "message": "🔗 官方链接", + "message": "🔗 Official Links", "description": "The label for the doc item 🔗 Official Links in sidebar tutorialSidebar, linking to the doc other/official-links" - }, - "sidebar.tutorialSidebar.doc.🎨 Branding Guidelines": { - "message": "🎨 品牌指南", - "description": "The label for the doc item 🎨 Branding Guidelines in sidebar tutorialSidebar, linking to the doc other/branding-guidelines" } } diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/general-info/add-status-network.md b/i18n/zh/docusaurus-plugin-content-docs/current/general-info/add-status-network.md index 5c0f5962..4c617571 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/general-info/add-status-network.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/general-info/add-status-network.md @@ -1 +1,84 @@ -# Add Status Network \ No newline at end of file +# 添加 Status Network + +本指南展示如何将 **Status Network** 添加到您的钱包中。 + +## 测试网 + +将 **Status Network 测试网**作为自定义网络添加到 MetaMask 的步骤: + +1. **打开 MetaMask**: + + - 点击浏览器中的 MetaMask 扩展图标将其打开。 + +2. **访问网络设置**: + + - 点击 MetaMask 窗口顶部的网络选择下拉菜单。 + +3. **添加新网络**: + + - 点击**"添加网络"**。 + - 在新窗口中,点击**"手动添加网络"**。 + +4. **输入网络详情**: + + - 填写以下信息: + + | 名称 | 值 | + |------------------|------------------------------------------| + | **网络名称** | Status Network Testnet | + | **RPC URL** | https://public.sepolia.rpc.status.network | + | **链 ID** | 1660990954 | + | **货币符号** | `ETH` | + | **区块浏览器 URL** | https://sepoliascan.status.network | + +5. **保存网络**: + + - 点击**"保存"**将 Status Network 测试网添加到您的 MetaMask 钱包。 + +现在您应该可以从网络下拉菜单中选择 Status Network 测试网并连接了。 + +--- + +## 移动端钱包 + +### 在 MetaMask 移动端添加 Status Network + +1. **打开 MetaMask 移动应用**: + + - 在您的移动设备上启动 MetaMask 应用。 + +2. **访问设置**: + + - 点击左上角的菜单按钮(三条横线)。 + - 选择**"设置"**。 + +3. **添加新网络**: + + - 点击**"网络"**。 + - 点击**"添加网络"**。 + +4. **输入网络详情**: + + - 输入与上述测试网相同的网络详情。 + +5. **保存网络**: + + - 点击**"添加"**保存新网络。 + +--- + +## 附加信息 + +- **官方链接**: + + - [Status Network 网站](https://status.network/) + - [Status Network 文档](https://docs.status.network/) + - [Status Network 测试网浏览器](https://sepoliascan.status.network) + +- **需要帮助?** + + - 如果遇到任何问题,请加入我们的 [Telegram](https://t.me/+k04A_OZbhIs1Mzc9) 获取支持。 + +--- + +按照本指南操作,您已成功将 Status Network 添加到您的 MetaMask 钱包中! diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/general-info/bridge/bridge-from-status.md b/i18n/zh/docusaurus-plugin-content-docs/current/general-info/bridge/bridge-from-status.md deleted file mode 100644 index 68882076..00000000 --- a/i18n/zh/docusaurus-plugin-content-docs/current/general-info/bridge/bridge-from-status.md +++ /dev/null @@ -1 +0,0 @@ -# Bridge From Status \ No newline at end of file diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/general-info/bridge/bridge-to-status.md b/i18n/zh/docusaurus-plugin-content-docs/current/general-info/bridge/bridge-to-status.md deleted file mode 100644 index b584d3bb..00000000 --- a/i18n/zh/docusaurus-plugin-content-docs/current/general-info/bridge/bridge-to-status.md +++ /dev/null @@ -1 +0,0 @@ -# Bridge To Status \ No newline at end of file diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/general-info/bridge/bridging-testnet.md b/i18n/zh/docusaurus-plugin-content-docs/current/general-info/bridge/bridging-testnet.md index ab7d6827..05e6fb36 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/general-info/bridge/bridging-testnet.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/general-info/bridge/bridging-testnet.md @@ -1 +1,32 @@ -# Bridging Testnet \ No newline at end of file +# 连接到 Status Network 测试网 + +Status Network 跨链桥允许您在 Sepolia 和 Status Network 测试网之间转移代币。跨链桥部署在 [bridge.status.network](https://bridge.status.network)。 + +## 前置要求 + +- 已安装 MetaMask 或其他 Web3 钱包 +- Sepolia 网络上有一些测试网 ETH +- 在 Sepolia 网络上持有您想要跨链的代币 + +## 跨链流程 + +1. 访问 [bridge.status.network](https://bridge.status.network) + +2. 点击右上角的"连接钱包"按钮来连接您的钱包 + +3. 从下拉菜单中选择您要跨链的代币 + +4. 输入您要跨链的数量 + +5. 点击"跨链"并在钱包中确认交易 + +6. 等待跨链过程完成 + - 跨链通常需要约 5-10 分钟 + - 您可以在跨链界面上追踪交易状态 + +## 重要提示 + +- 在进行任何交易之前,请务必验证您是否在正确的网站(bridge.status.network)上 +- 建议先用小额进行测试,然后再转移大额资金 +- 确保您的钱包中有足够的 ETH 支付燃料费 +- 如果遇到任何问题,请加入我们的 [Telegram](https://t.me/+k04A_OZbhIs1Mzc9) 获取支持 diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/general-info/contract-addresses/testnet-contracts.md b/i18n/zh/docusaurus-plugin-content-docs/current/general-info/contract-addresses/testnet-contracts.md index ed1db2b7..93b2a4d0 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/general-info/contract-addresses/testnet-contracts.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/general-info/contract-addresses/testnet-contracts.md @@ -1 +1,43 @@ -# Testnet Contracts \ No newline at end of file +# 测试网合约 + +本页列出了 Status Network 测试网基础设施的所有重要合约地址。 + +## 第一层合约 (Sepolia) + +这些合约部署在 Sepolia 测试网上。您可以在 [Sepolia Etherscan](https://sepolia.etherscan.io) 上查看它们。 + +### 跨链桥合约 +- **L1 代币跨链桥代理** + - 地址: [`0x01b44C5Ea321f921D93476cf54Aa8460db17a548`](https://sepolia.etherscan.io/address/0x01b44C5Ea321f921D93476cf54Aa8460db17a548) + - 用途: 管理 L1 上的代币跨链操作 + +### 核心基础设施 +- **L1 信使** + - 地址: [`0xB15725119b917d348FfEB365B43bCDeEbfb65C5d`](https://sepolia.etherscan.io/address/0xB15725119b917d348FfEB365B43bCDeEbfb65C5d) + - 用途: 处理 L1 和 L2 之间的消息传递 + +- **L1 数据提交** + - 地址: [`0x263d8f55BAc71a42d0A822F46b1eC62Cd4183a8d`](https://sepolia.etherscan.io/address/0x263d8f55BAc71a42d0A822F46b1eC62Cd4183a8d) + - 用途: 管理从 L2 到 L1 的数据提交 + +- **L1 最终确认** + - 地址: [`0xb91CB39b3b9F015b0aC88616A463B35568052AEF`](https://sepolia.etherscan.io/address/0xb91CB39b3b9F015b0aC88616A463B35568052AEF) + - 用途: 处理 L1 上 L2 区块的最终确认 + +## 第二层合约 (Status Network 测试网) + +这些合约部署在 Status Network 测试网上。您可以在 [Status Network Explorer](https://sepoliascan.status.network) 上查看它们。 + +### 跨链桥合约 +- **L2 代币跨链桥代理** + - 地址: [`0xbC7f9571152a8e21942b2aEa4831a27f1149af19`](https://sepoliascan.status.network/address/0xbC7f9571152a8e21942b2aEa4831a27f1149af19) + - 用途: 管理 L2 上的代币跨链操作 + +### 基础设施合约 +- **L2 水龙头** + - 地址: [`0x06338B70F1eAbc60d7A82C083e605C07F78bb878`](https://sepoliascan.status.network/address/0x06338B70F1eAbc60d7A82C083e605C07F78bb878) + - 用途: 向用户分发测试网代币 + +- **L2 锚定** + - 地址: [`0x24B5eD2763129D6cBDEfE32e08558D2095132560`](https://sepoliascan.status.network/address/0x24B5eD2763129D6cBDEfE32e08558D2095132560) + - 用途: 管理 L1 和 L2 之间的状态锚定 diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/general-info/contract-addresses/tokens.md b/i18n/zh/docusaurus-plugin-content-docs/current/general-info/contract-addresses/tokens.md index 7e1c51cd..4f531249 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/general-info/contract-addresses/tokens.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/general-info/contract-addresses/tokens.md @@ -1 +1,11 @@ -# Tokens \ No newline at end of file +# 代币 + +有关 Status Network 上支持的代币及其合约地址的最新列表,请参考我们的官方 [Status Network 代币列表仓库](https://github.com/status-im/status-network-token-list)。 + +该仓库包含: +- L1(Sepolia)和 L2(Status Network)的代币地址 +- 代币元数据(小数位数、符号等) +- 跨链桥合约映射 +- 部署在 Status Network 上的应用代币 + +代币列表会定期维护和更新,以确保代币跨链操作的准确性和安全性。 diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/general-info/network-details.md b/i18n/zh/docusaurus-plugin-content-docs/current/general-info/network-details.md index 9207ef1f..f407635c 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/general-info/network-details.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/general-info/network-details.md @@ -1,12 +1,20 @@ -# Network Details - -## Status Testnet - -| Name | Value | -|---------------------|-------| -| **Network Name** | | -| **RPC Endpoint** | | -| **Chain ID** | | -| **Currency Symbol** | | -| **Block Explorer** | | -| **Bridge** | | \ No newline at end of file +# 网络详情 + +## Status 测试网 + +| 名称 | 值 | +|---------------------|------------------------------------------| +| **网络名称** | Status Network Testnet | +| **RPC 端点** | https://public.sepolia.rpc.status.network | +| **链 ID** | 1660990954 | +| **货币符号** | ETH | +| **区块浏览器** | https://sepoliascan.status.network | +| **跨链桥** | https://bridge.status.network | + +这些是 Status Network 测试网的官方网络详情。您可以使用这些详情来: +- 将网络添加到您的钱包 +- 配置开发环境 +- 将 dApp 连接到网络 +- 验证智能合约 + +关于如何将网络添加到您的钱包,请参阅我们的 [Status Network 添加指南](./add-status-network.md)。 diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/index.md b/i18n/zh/docusaurus-plugin-content-docs/current/index.md index d22b1fcb..6ff37e25 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/index.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/index.md @@ -1,28 +1,27 @@ --- id: index -title: 介绍 Status Network +title: 欢迎来到 Status Network slug: / sidebar_position: 1 --- -# 欢迎来到 Status Network +# Status Network: 无 Gas 费的第二层网络 -欢迎来到 **Status Network**,这是一个重新构想您区块链体验的加密社交游乐场!作为一个基于 [Linea 的尖端 ZK-EVM 技术](https://docs.linea.build/architecture) 构建的 **与 EVM 等效的以太坊 Layer 2 Rollup**,Status Network 提供了使我们与其他平台区别开来的独特功能。 -## 我们的独特之处是什么? +## 立即开始构建 -### 💰 原生 ETH 和 DAI 收益 +准备好加入去中心化应用程序的未来了吗?以下是开始的方法: -在您的 **ETH** 和 **DAI** 资产上享受可持续且有吸引力的收益!我们提供原生收益生成,这是 Layer 2 解决方案中的一项独特功能,让您在参与网络的同时轻松提升您的加密持有量。 +1. [将 Status Network 添加到您的钱包](/general-info/add-status-network) +2. [获取测试网 ETH](/tools/testnet-faucets) +3. [跨链资产](/general-info/bridge/bridging-testnet) +4. [部署您的第一个合约](/tutorials/deploying-contracts/using-remix) -### 🏆 赚取 $AURA 代币 +## 支持与资源 -**实时**获得您的参与奖励!参与网络活动并 **质押 $SNT** 以赚取 **$AURA 代币**。您互动得越多——无论是通过交易、质押还是社区参与——您在我们充满活力的社区中获得的影响力就越大。您的 $AURA 会增强您在塑造网络未来方面的声音。 +加入我们的社区并访问所需资源: +- 加入我们的 [Telegram 开发者社区](https://t.me/+k04A_OZbhIs1Mzc9) +- 查看[网络详情](/general-info/network-details) +- 浏览[合约地址](/general-info/contract-addresses/testnet-contracts) -### 🔒 有趣的隐私保护 - -体验既**安全又有趣**的隐私功能!我们相信隐私是一项基本权利,应该在不复杂的情况下人人都能访问。我们用户友好的隐私工具使安全的交互变得愉快,打破了传统的复杂隐私技术概念。 - ---- - -加入 Status Network,成为一个独特的、专注于隐私并有回报的加密社区的一员,在这里,**您的积极参与真正塑造未来**!让我们一起建立加密游乐场! \ No newline at end of file +准备好构建令人惊叹的应用了吗?今天就开始您的 Status Network 之旅! diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/introduction/quick-start.md b/i18n/zh/docusaurus-plugin-content-docs/current/introduction/quick-start.md index bfad9863..b798f79d 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/introduction/quick-start.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/introduction/quick-start.md @@ -1,38 +1,37 @@ # 快速开始 -在本节中,我们将在不到 10 分钟的时间内指导您在 **Status Network 测试网** 上部署一个示例合约。 +在本节中,我们将帮助您在 10 分钟内在 **Status Network 测试网**上部署一个示例合约。 -为了简单起见,我们将使用 Remix IDE 来在 Status Network 上部署智能合约。 +让我们看看如何使用 Remix IDE 在 Status Network 上部署智能合约,这是最简单的方式。 ## 准备工作 在开始之前: -- **将 Status Network 测试网添加到 MetaMask**: +1. **将 Status Network 测试网添加到 MetaMask**: - 请按照 [Status Network 文档](/general-info/add-status-network) 中的分步说明,将 Status Network 测试网添加到 MetaMask。您将需要网络的 RPC URL、链 ID 和其他详细信息。 + 按照 [Status Network 添加指南](/general-info/add-status-network) 的步骤说明将 Status Network 测试网添加到 MetaMask。 -- **获取测试网代币**: +2. **获取测试 ETH**: - 本指南假设您已经在 Status Network 上获得了测试网 ETH。您可以使用 [Status Network 测试网水龙头](#) 来请求测试代币。 + 您需要 Sepolia ETH 和 Status Network ETH: + - 首先从 [Sepolia 水龙头](https://faucet.status.network) 获取 Sepolia ETH + - 然后使用 [Status 跨链桥](https://bridge.status.network) 将一些 ETH 跨链到 Status Network + - 或者直接从我们的 [测试网水龙头](https://sepoliascan.status.network/address/0x06338B70F1eAbc60d7A82C083e605C07F78bb878) 获取 Status Network ETH -我们已经准备好开始了! +现在我们准备开始了! -## Remix 与示例代码 +## Remix 和示例代码 -**Remix** 是一个无需设置的智能合约开发工具。它易于上手,允许简单的部署过程、调试、与智能合约交互等。它是测试快速更改和与已部署智能合约交互的绝佳工具。 +**Remix** 是一个无需设置的智能合约开发工具。它易于上手,提供简单的部署流程、调试功能、智能合约交互等功能。 -在本教程中,我们将部署 Remix 中作为示例提供的 `SimpleStorage.sol` 智能合约,但您可以使用自己的任何代码。 - -以下是示例代码: +在本教程中,我们将部署一个简单的 `SimpleStorage.sol` 合约: ```solidity -// SPDX-License-Identifier: GPL-3.0 - -pragma solidity ^0.8.24; +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.0; contract SimpleStorage { - uint256 number; function store(uint256 num) public { @@ -45,70 +44,75 @@ contract SimpleStorage { } ``` -> **注意:** 这个合约允许您存储一个数字,然后读取该数字。 +> **注意:** 这个合约允许您存储一个数字并读取该数字。 ## 部署步骤 1. **复制示例代码**: - - 复制上述示例代码,并将其粘贴到 Remix 中名为 `SimpleStorage.sol` 的新文件中。 + - 复制示例代码并在 Remix 中粘贴到一个名为 `SimpleStorage.sol` 的新文件中。 2. **编译智能合约**: - - 转到 **Solidity Compiler** 选项卡(在左侧边栏)。 - - 确保编译器版本与合约中的 pragma 声明(`0.8.24`)匹配。 - - 点击 **“Compile SimpleStorage.sol”**。 - - 您可以启用 **“Auto compile”**,以便在更改合约代码时自动编译。 + - 转到 **Solidity 编译器**标签页(在左侧边栏)。 + - 确保编译器版本为 0.8.0 或更高。 + - 点击 **"编译 SimpleStorage.sol"**。 + - 您可以启用 **"自动编译"** 以在更改合约代码时自动编译。 3. **部署智能合约**: - - 切换到 **Deploy & Run Transactions** 选项卡。 - - 在 **“Environment”** 下拉菜单中,选择 **“Injected Provider - MetaMask”**。这会将 Remix 连接到您的 MetaMask 钱包。 - - MetaMask 可能会提示您连接到 Remix。请确认连接。 + - 切换到 **部署 & 运行交易**标签页。 + - 在 **"环境"** 下拉菜单中,选择 **"Injected Provider - MetaMask"**。 + - MetaMask 可能会提示您连接到 Remix。确认连接。 - 确保在 MetaMask 中选择了 **Status Network 测试网**。 - - 在 **“Contract”** 下,确保选择了 `SimpleStorage`。 - - 点击 **“Deploy”**。 - - MetaMask 将弹出,要求您确认交易。 - - 查看交易详情并点击 **“Confirm”**。 - - 等待交易被挖矿。您可以在 Remix 或 MetaMask 中跟踪状态。 + - 在 **"合约"** 下,确保选择了 `SimpleStorage`。 + - 点击 **"部署"**。 + - MetaMask 将弹出窗口,要求您确认交易。gas 费用将以 ETH 支付。 + - 检查交易详情并点击 **"确认"**。 + - 等待交易被打包。 + +4. **验证部署**: + + - 部署完成后,从 Remix 复制您的合约地址 + - 在 [Status Network 浏览器](https://sepoliascan.status.network) 上查看 -**恭喜您!** 您刚刚在 Status Network 上部署了您的第一个智能合约。 +**恭喜!** 您刚刚在 Status Network 上部署了您的第一个智能合约。 -## 与已部署的智能合约交互 +## 与您部署的智能合约交互 1. **访问已部署的合约**: - - 在 Remix 中的 **“Deployed Contracts”** 部分下,您将看到已部署的 `SimpleStorage` 合约。 + - 在 Remix 的 **"已部署的合约"** 部分,您将看到您部署的 `SimpleStorage` 合约。 -2. **存储一个数字**: +2. **存储数字**: - 展开已部署的合约以查看其函数。 - - 在 **“store”** 函数的输入字段中,输入一个数字(例如 `42`)。 - - 点击 **“transact”**。 - - MetaMask 会提示您确认交易。点击 **“Confirm”**。 - - 等待交易被确认。 + - 在 **"store"** 函数输入字段中,输入一个数字(例如:`42`)。 + - 点击 **"transact"**。 + - MetaMask 将提示您确认交易。gas 费用将以 ETH 支付。 + - 等待交易确认。 3. **检索数字**: - - 点击 **“retrieve”** 函数。 + - 点击 **"retrieve"** 函数。 - 存储的数字将显示在按钮下方。 + - 这是一个 view 函数,所以不需要支付 gas 费用。 ## 下一步 - **获取支持**: - - - 如果您遇到任何问题或有疑问,请访问 [Status Network 支持](https://status.app) 或加入社区频道寻求帮助。 + - 加入我们的 [Telegram 社区](https://t.me/+k04A_OZbhIs1Mzc9) 获取帮助 + - 查看我们的 [网络详情](/general-info/network-details) 了解更多信息 + - 了解如何 [跨链代币](/general-info/bridge/bridging-testnet) 到 Status Network ## 总结 -您已成功完成: - -- 设置与 Status Network 测试网交互的环境。 -- 使用 Remix IDE 和 MetaMask 部署了智能合约。 -- 通过存储和检索数字,与已部署的合约进行了交互。 - ---- - -如果您想更深入地学习,可以考虑探索更复杂的智能合约。查看更多教程请点击[这里](/tutorials/ethers-tutorial)。 +您已经成功: +- 设置环境以与 Status Network 测试网交互 +- 通过跨链或水龙头获取测试网 ETH +- 使用 Remix IDE 和 MetaMask 部署智能合约 +- 通过存储和检索数字与您部署的合约进行交互 -**祝您编程愉快!** \ No newline at end of file +对于更高级的开发,请查看我们使用以下工具的部署指南: +- [Hardhat](/tutorials/deploying-contracts/using-hardhat) +- [Foundry](/tutorials/deploying-contracts/using-foundry) diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/other/audits.md b/i18n/zh/docusaurus-plugin-content-docs/current/other/audits.md deleted file mode 100644 index f6262aa3..00000000 --- a/i18n/zh/docusaurus-plugin-content-docs/current/other/audits.md +++ /dev/null @@ -1 +0,0 @@ -# Audits diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/other/branding-guidelines.md b/i18n/zh/docusaurus-plugin-content-docs/current/other/branding-guidelines.md deleted file mode 100644 index 4ef944fa..00000000 --- a/i18n/zh/docusaurus-plugin-content-docs/current/other/branding-guidelines.md +++ /dev/null @@ -1 +0,0 @@ -# Branding Guidelines 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 af9162d8..b78d2b40 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 @@ -1 +1,25 @@ -# Official Links +# 官方链接 + +本页面包含 Status Network 生态系统的所有官方链接。 + +## 主要资源 +- **网站**: [status.network](https://status.network) +- **文档**: [docs.status.network](https://docs.status.network) +- **GitHub**: [github.com/status-im](https://github.com/status-im) + +## 网络工具 +- **跨链桥**: [bridge.status.network](https://bridge.status.network) +- **区块浏览器**: [sepoliascan.status.network](https://sepoliascan.status.network) +- **RPC 端点**: `https://public.sepolia.rpc.status.network` +- **水龙头**: [faucet.status.network](https://faucet.status.network) + +## 开发资源 +- **代币列表仓库**: [github.com/status-im/status-network-token-list](https://github.com/status-im/status-network-token-list) +- **网络状态**: [status.status.network](https://health.status.network) +- **合约验证**: [sepoliascan.status.network/verify-contract](https://sepoliascan.status.network/contract-verification) + +## 社区与支持 +- **Telegram 社区**: [t.me/+k04A_OZbhIs1Mzc9](https://t.me/+k04A_OZbhIs1Mzc9) +- **X/推特**: [twitter.com/ethstatus](https://x.com/statusL2) + +关于如何将网络添加到您的钱包,请参阅我们的[添加网络指南](/general-info/add-status-network)。 diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/security/security-model.md b/i18n/zh/docusaurus-plugin-content-docs/current/security/security-model.md deleted file mode 100644 index 548947cd..00000000 --- a/i18n/zh/docusaurus-plugin-content-docs/current/security/security-model.md +++ /dev/null @@ -1 +0,0 @@ -# Status Network Security Model diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/security/security-upgrades.md b/i18n/zh/docusaurus-plugin-content-docs/current/security/security-upgrades.md deleted file mode 100644 index a56181d3..00000000 --- a/i18n/zh/docusaurus-plugin-content-docs/current/security/security-upgrades.md +++ /dev/null @@ -1 +0,0 @@ -# Security Upgrades diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/tokenomics/aura-token.md b/i18n/zh/docusaurus-plugin-content-docs/current/tokenomics/aura-token.md deleted file mode 100644 index a3631d43..00000000 --- a/i18n/zh/docusaurus-plugin-content-docs/current/tokenomics/aura-token.md +++ /dev/null @@ -1 +0,0 @@ -# $AURA token \ No newline at end of file diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/tokenomics/karma-token.md b/i18n/zh/docusaurus-plugin-content-docs/current/tokenomics/karma-token.md new file mode 100644 index 00000000..e69de29b diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/tokenomics/snt-token.md b/i18n/zh/docusaurus-plugin-content-docs/current/tokenomics/snt-token.md index f2a982f0..e69de29b 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/tokenomics/snt-token.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/tokenomics/snt-token.md @@ -1 +0,0 @@ -# $SNT Token \ No newline at end of file diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/tools/block-explorers.md b/i18n/zh/docusaurus-plugin-content-docs/current/tools/block-explorers.md index bec200a1..dc8dbb55 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/tools/block-explorers.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/tools/block-explorers.md @@ -1 +1,35 @@ -# Block Explorers \ No newline at end of file +# Status Network 测试网浏览器 + +Status Network 区块浏览器可在 [sepoliascan.status.network](https://sepoliascan.status.network) 访问。 + +### 功能 +- 查看交易详情和状态 +- 追踪代币转账和余额 +- 验证智能合约源代码 +- 监控 gas 价格和网络活动 +- 查看并与已验证的智能合约交互 +- 追踪任意地址的代币持有情况 + +## Sepolia 浏览器(第一层) + +要追踪 Sepolia(第一层)上的交易,请使用 [Sepolia Etherscan](https://sepolia.etherscan.io)。 + +这对以下情况特别有用: +- 监控从 L1 到 L2 的跨链交易 +- 追踪代币存取 +- 验证 L1 合约交互 + +## 合约验证 + +要在 Status Network 浏览器上验证您的智能合约: + +1. 访问[合约验证](https://sepoliascan.status.network/contract-verification) +2. 输入您的合约地址 +3. 上传源代码并提供编译详情 +4. 提交验证 + +验证完成后,您的合约源代码将公开可见,用户可以通过浏览器直接与之交互。 + +## API 访问 + +Status Network 浏览器为开发者提供 API 端点。API 文档将很快提供。 diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/tools/bridge.md b/i18n/zh/docusaurus-plugin-content-docs/current/tools/bridge.md index 6df6423c..2de8cb7c 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/tools/bridge.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/tools/bridge.md @@ -1 +1,46 @@ -# Bridge \ No newline at end of file +# Status Network 测试网跨链桥 + +Status Network 测试网跨链桥允许用户在 Sepolia(第一层)和 Status Network 测试网(第二层)之间转移代币。跨链桥界面可在 [bridge.status.network](https://bridge.status.network) 访问。 + +## 概述 + +跨链桥作为关键基础设施组件,支持以下功能: +- 从 Sepolia 向 Status Network 测试网转移代币 +- 从 Status Network 测试网向 Sepolia 提取代币 +- L1 和 L2 之间的消息传递 + +## 跨链桥合约 + +### 第一层 (Sepolia) +- **代币跨链桥**: [`0x01b44C5Ea321f921D93476cf54Aa8460db17a548`](https://sepolia.etherscan.io/address/0x01b44C5Ea321f921D93476cf54Aa8460db17a548) + +### 第二层 (Status Network) +- **代币跨链桥**: [`0xbC7f9571152a8e21942b2aEa4831a27f1149af19`](https://sepoliascan.status.network/address/0xbC7f9571152a8e21942b2aEa4831a27f1149af19) + +## 功能 + +- **代币跨链**: 在网络间转移 ERC-20 代币 +- **ETH 跨链**: 在 Sepolia 和 Status Network 之间跨链 ETH +- **交易追踪**: 监控您的跨链交易状态 +- **gas 估算**: 跨链前查看预估 gas 费用 + +## 支持的代币 + +有关支持的代币及其合约地址的最新列表,请参考我们的[代币列表仓库](https://github.com/status-im/status-network-token-list)。 + +## 使用跨链桥 + +关于如何使用跨链桥的详细说明,包括分步指南和重要的安全考虑事项,请参考我们的[跨链指南](../general-info/bridge/bridging-testnet.md)。 + +## 监控跨链交易 + +您可以使用以下工具监控跨链交易: +- [Status Network 浏览器](https://sepoliascan.status.network) 用于 L2 交易 +- [Sepolia Etherscan](https://sepolia.etherscan.io) 用于 L1 交易 + +## 支持 + +如果您在使用跨链桥时遇到任何问题: +- 查看[跨链指南](../general-info/bridge/bridging-testnet.md)了解常见解决方案 +- 加入我们的 [Telegram 社区](https://t.me/+k04A_OZbhIs1Mzc9)获取帮助 +- 通过[网络状态](https://health.status.network)监控任何正在进行的问题 diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/tools/data-indexers.md b/i18n/zh/docusaurus-plugin-content-docs/current/tools/data-indexers.md deleted file mode 100644 index 229b8957..00000000 --- a/i18n/zh/docusaurus-plugin-content-docs/current/tools/data-indexers.md +++ /dev/null @@ -1 +0,0 @@ -# Data Indexers \ No newline at end of file diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/tools/general-tooling.md b/i18n/zh/docusaurus-plugin-content-docs/current/tools/general-tooling.md deleted file mode 100644 index 9734bec5..00000000 --- a/i18n/zh/docusaurus-plugin-content-docs/current/tools/general-tooling.md +++ /dev/null @@ -1 +0,0 @@ -# General Tooling \ No newline at end of file diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/tools/interoperability.md b/i18n/zh/docusaurus-plugin-content-docs/current/tools/interoperability.md deleted file mode 100644 index d36e7a61..00000000 --- a/i18n/zh/docusaurus-plugin-content-docs/current/tools/interoperability.md +++ /dev/null @@ -1 +0,0 @@ -# Interoperability \ No newline at end of file diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/tools/multisig-wallets.md b/i18n/zh/docusaurus-plugin-content-docs/current/tools/multisig-wallets.md deleted file mode 100644 index 14d8b789..00000000 --- a/i18n/zh/docusaurus-plugin-content-docs/current/tools/multisig-wallets.md +++ /dev/null @@ -1 +0,0 @@ -# Multisig Wallets \ No newline at end of file diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/tools/node-operators.md b/i18n/zh/docusaurus-plugin-content-docs/current/tools/node-operators.md deleted file mode 100644 index fd5aff76..00000000 --- a/i18n/zh/docusaurus-plugin-content-docs/current/tools/node-operators.md +++ /dev/null @@ -1 +0,0 @@ -# Node Operators \ No newline at end of file diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/tools/oracles.md b/i18n/zh/docusaurus-plugin-content-docs/current/tools/oracles.md deleted file mode 100644 index c4b094ab..00000000 --- a/i18n/zh/docusaurus-plugin-content-docs/current/tools/oracles.md +++ /dev/null @@ -1 +0,0 @@ -# Oracles \ No newline at end of file diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/tools/randomness.md b/i18n/zh/docusaurus-plugin-content-docs/current/tools/randomness.md deleted file mode 100644 index 83f1176a..00000000 --- a/i18n/zh/docusaurus-plugin-content-docs/current/tools/randomness.md +++ /dev/null @@ -1 +0,0 @@ -# Randomness \ No newline at end of file diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/tools/rpc.md b/i18n/zh/docusaurus-plugin-content-docs/current/tools/rpc.md index 36d693aa..d44d1088 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/tools/rpc.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/tools/rpc.md @@ -1 +1,53 @@ -# RPCs \ No newline at end of file +# RPC 端点 + +Status Network 提供公共 RPC(远程过程调用)端点,允许您与网络进行交互。 + +## 公共 RPC URL + +``` +https://public.sepolia.rpc.status.network +``` + +## 使用 RPC + +### 添加到 MetaMask +有关使用此 RPC 将 Status Network 添加到您钱包的说明,请参阅我们的[添加网络指南](../general-info/add-status-network.md)。 + +### Web3 库配置 + +```javascript +// Web3.js +const web3 = new Web3('https://public.sepolia.rpc.status.network'); + +// Ethers.js v5 +const provider = new ethers.providers.JsonRpcProvider('https://public.sepolia.rpc.status.network'); +``` + +## 可用方法 + +RPC 端点支持标准的以太坊 JSON-RPC 方法,包括: + +- `eth_blockNumber`: 获取最新区块号 +- `eth_getBalance`: 获取账户余额 +- `eth_sendRawTransaction`: 发送已签名的交易 +- `eth_call`: 执行调用而不创建交易 +- `eth_getLogs`: 获取事件日志 +- `eth_getTransactionByHash`: 获取交易详情 +- `eth_getBlockByNumber`: 获取区块信息 + +有关支持的 RPC 方法的完整列表和详细规范,请参考 [Linea API 参考](https://docs.linea.build/api/reference),因为 Status Network 基于 Linea 技术。 + +## 速率限制 + +公共 RPC 端点有速率限制以确保公平使用: +- 每个 IP 每秒 10 个请求 +- 每个 IP 每天 100,000 个请求 + +如需更高限制,请通过 Telegram 与我们联系。 + +## 支持 + +如果您在使用 RPC 端点时遇到问题: +- 查看[网络状态](https://health.status.network)了解任何正在进行的问题 +- 加入我们的 [Telegram 社区](https://t.me/+k04A_OZbhIs1Mzc9)获取支持 +- 考虑在您的应用程序中实现备用 RPC 策略 diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/tools/testnet-faucets.md b/i18n/zh/docusaurus-plugin-content-docs/current/tools/testnet-faucets.md index 2173daef..a0f01c55 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/tools/testnet-faucets.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/tools/testnet-faucets.md @@ -1 +1,35 @@ -# Testnet Faucets \ No newline at end of file +# 测试网水龙头 + +要开始使用 Status Network 测试网,您需要同时拥有 Sepolia ETH 和 Status Network 测试网 ETH。 + +## Status Network 测试网水龙头 + +Status Network 测试网水龙头可在 [faucet.status.network](https://faucet.status.network) 访问。 + +### 详情 +- **水龙头合约**: [`0x06338B70F1eAbc60d7A82C083e605C07F78bb878`](https://sepoliascan.status.network/address/0x06338B70F1eAbc60d7A82C083e605C07F78bb878) +- **数量**: 每次请求 0.1 ETH +- **冷却时间**: 每个地址每天一次请求 + +### 如何获取测试网 ETH + +1. 访问 [faucet.status.network](https://faucet.status.network) +2. 连接您的钱包 +3. 点击"请求资金" +4. 在钱包中确认交易 +5. 等待 ETH 出现在您的钱包中(通常需要几秒钟) + +## Sepolia ETH(跨链所需) + +要将资产跨链到 Status Network 测试网,您首先需要 Sepolia ETH。您可以从以下地方获取: + +2. [Alchemy Sepolia 水龙头](https://www.alchemy.com/faucets/ethereum-sepolia) +3. [Metamask Sepolia 水龙头](https://docs.metamask.io/developer-tools/faucet/) + +获得 Sepolia ETH 后,您可以使用 [Status Network 跨链桥](https://bridge.status.network) 将其跨链到 Status Network 测试网。 + +## 支持 + +如果您在使用水龙头时遇到任何问题: +- 查看[网络状态](https://health.status.network)了解任何正在进行的问题 +- 加入我们的 [Telegram 社区](https://t.me/+k04A_OZbhIs1Mzc9)获取支持 diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-foundry.md b/i18n/zh/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-foundry.md index f44729c0..caf30a69 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-foundry.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-foundry.md @@ -1 +1,209 @@ -# Using Foundry \ No newline at end of file +# 使用 Foundry 部署智能合约 + +本教程将指导您使用 Foundry 在 Status Network 测试网上部署智能合约。 + +## 前提条件 + +开始之前,请确保您具备以下条件: + +- **Foundry**: 从[官方 Foundry 文档](https://book.getfoundry.sh/getting-started/installation)安装 +- **以太坊钱包**: Status Network 测试网的私钥 +- **测试网 ETH**: 您需要 Status Network 测试网 ETH + - 从我们的[水龙头](/tools/testnet-faucets)获取 Status Network 测试网 ETH +- **基础知识**: 熟悉 Solidity 和命令行 + +## 您将完成 + +- 初始化 Foundry 项目 +- 编写基本的以太坊智能合约 +- 配置 Foundry 以部署到 Status Network 测试网 +- 部署您的智能合约 + +## 步骤 + +### 1. 初始化 Foundry 项目 + +首先,创建一个新的 Foundry 项目: + +```bash +# 创建新项目 +forge init hello_status +cd hello_status + +# 创建 .env 文件存储私钥 +touch .env +echo "PRIVATE_KEY=your_private_key_here" >> .env +``` + +### 2. 编写智能合约 + +将 `src/Counter.sol` 替换为 `HelloWorld.sol`: + +```solidity +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.24; + +contract HelloWorld { + string public greet = "Hello, Status Network!"; + + function setGreet(string memory _greet) public { + greet = _greet; + } + + function getGreet() public view returns (string memory) { + return greet; + } +} +``` + +### 3. 为 Status Network 配置 Foundry + +创建或更新 `foundry.toml`: + +```toml +[profile.default] +src = "src" +out = "out" +libs = ["lib"] +solc = "0.8.24" + +[rpc_endpoints] +status_testnet = "https://public.sepolia.rpc.status.network" +``` + +### 4. 部署合约 + +创建部署脚本 `script/Deploy.s.sol`: + +```solidity +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.24; + +import "forge-std/Script.sol"; +import "../src/HelloWorld.sol"; + +contract DeployScript is Script { + function run() external { + uint256 deployerPrivateKey = vm.envUint("PRIVATE_KEY"); + + vm.startBroadcast(deployerPrivateKey); + + HelloWorld hello = new HelloWorld(); + console.log("HelloWorld deployed to:", address(hello)); + + vm.stopBroadcast(); + } +} +``` + +使用 forge 部署: + +```bash +# 加载环境变量 +source .env + +# 部署到 Status Network 测试网 +forge script script/Deploy.s.sol:DeployScript \ + --rpc-url https://public.sepolia.rpc.status.network \ + --broadcast \ +``` + +### 5. 与合约交互 + +创建交互脚本 `script/Interact.s.sol`: + +```solidity +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.24; + +import "forge-std/Script.sol"; +import "../src/HelloWorld.sol"; + +contract InteractScript is Script { + function run() external { + uint256 deployerPrivateKey = vm.envUint("PRIVATE_KEY"); + address contractAddress = address(0x...); // 替换为您的合约地址 + + vm.startBroadcast(deployerPrivateKey); + + HelloWorld hello = HelloWorld(contractAddress); + + // 读取当前问候语 + string memory currentGreeting = hello.getGreet(); + console.log("Current greeting:", currentGreeting); + + // 更新问候语 + hello.setGreet("Hello from Foundry!"); + + vm.stopBroadcast(); + } +} +``` + +运行交互脚本: + +```bash +forge script script/Interact.s.sol:InteractScript \ + --rpc-url https://public.sepolia.rpc.status.network \ + --broadcast +``` + +### 6. 使用 Cast 命令快速交互 + +您也可以使用 `cast` 与合约交互: + +```bash +# 读取问候语 +cast call "getGreet()" \ + --rpc-url https://public.sepolia.rpc.status.network + +# 设置新问候语 +cast send "setGreet(string)" "New greeting!" \ + --private-key $PRIVATE_KEY \ + --rpc-url https://public.sepolia.rpc.status.network +``` + +### 7. 测试 + +创建测试文件 `test/HelloWorld.t.sol`: + +```solidity +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.24; + +import "forge-std/Test.sol"; +import "../src/HelloWorld.sol"; + +contract HelloWorldTest is Test { + HelloWorld hello; + + function setUp() public { + hello = new HelloWorld(); + } + + function testGreeting() public { + assertEq(hello.getGreet(), "Hello, Status Network!"); + + hello.setGreet("New greeting"); + assertEq(hello.getGreet(), "New greeting"); + } +} +``` + +运行测试: + +```bash +forge test +``` + +## 支持 + +如果遇到问题: +- 加入我们的 [Telegram 社区](https://t.me/+k04A_OZbhIs1Mzc9) +- 查看[网络状态](https://health.status.network) +- 查看[网络详情](/general-info/network-details) + +## 其他资源 + +- [Foundry 文档](https://book.getfoundry.sh/) +- [Status Network 浏览器](https://sepoliascan.status.network) diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-hardhat.md b/i18n/zh/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-hardhat.md index e8d21dc2..9aef7e3e 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-hardhat.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-hardhat.md @@ -1 +1,162 @@ -# Using Hardhat \ No newline at end of file +# 使用 Hardhat 部署智能合约 + +本教程将指导您使用 Hardhat、Hardhat Ignition 和 TypeScript 在 Status Network 测试网上部署智能合约。 + +## 前提条件 + +开始之前,请确保您具备以下条件: + +- **Node.js 和 npm**: 从[官方 Node.js 网站](https://nodejs.org/)下载并安装 +- **以太坊钱包**: MetaMask 或其他具有 Status Network 测试网私钥的钱包 +- **测试网 ETH**: 您需要 Status Network 测试网 ETH + - 从我们的[水龙头](/tools/testnet-faucets)获取 Status Network 测试网 ETH +- **基础知识**: 熟悉 Solidity、Hardhat 和命令行 + +## 您将完成 + +- 初始化基于 TypeScript 的 Hardhat 项目 +- 编写基本的以太坊智能合约 +- 配置 Hardhat 以部署到 Status Network 测试网 +- 使用 Hardhat Ignition 部署您的智能合约 + +## 步骤 + +### 1. 初始化 Hardhat TypeScript 项目 + +首先,创建并设置您的项目: + +```bash +mkdir my-hardhat-project && cd my-hardhat-project +npm init -y +npm install --save-dev hardhat @nomicfoundation/hardhat-toolbox dotenv +npx hardhat init +``` + +当提示时,选择"Create a TypeScript project"以设置基于 TypeScript 的 Hardhat 项目。 + +设置环境变量: + +```bash +# 创建 .env 文件 +touch .env + +# 添加您的私钥(永远不要提交此文件!) +echo "PRIVATE_KEY=your_private_key_here" >> .env +``` + +### 2. 编写智能合约 + +创建 `contracts/HelloWorld.sol`: + +```solidity +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.24; + +contract HelloWorld { + string public greet = "Hello, Status Network!"; + + function setGreet(string memory _greet) public { + greet = _greet; + } + + function getGreet() public view returns (string memory) { + return greet; + } +} +``` + +### 3. 为 Status Network 配置 Hardhat + +更新 `hardhat.config.ts`: + +```typescript +import { HardhatUserConfig } from "hardhat/config"; +import "@nomicfoundation/hardhat-toolbox"; +import * as dotenv from "dotenv"; + +dotenv.config(); + +const PRIVATE_KEY = process.env.PRIVATE_KEY || ""; + +const config: HardhatUserConfig = { + solidity: "0.8.24", + networks: { + statusTestnet: { + url: "https://public.sepolia.rpc.status.network", + chainId: 1660990954, + accounts: [PRIVATE_KEY], + }, + }, +}; + +export default config; +``` + +### 4. 创建 Ignition 部署模块 + +创建 `ignition/modules/HelloWorld.ts`: + +```typescript +import { buildModule } from "@nomicfoundation/hardhat-ignition/modules"; + +export default buildModule("HelloWorld", (m) => { + const helloWorld = m.contract("HelloWorld"); + + return { helloWorld }; +}); +``` + +### 5. 部署合约 + +```bash +npx hardhat compile +npx hardhat ignition deploy ignition/modules/HelloWorld.ts --network statusTestnet +``` + +部署将创建一个新的目录 `ignition/deployments`,其中包含您的部署产物和历史记录。 + +### 7. 与合约交互 + +创建 `scripts/interact.ts`: + +```typescript +import { ethers } from "hardhat"; +import { HelloWorld } from "../typechain-types"; + +async function main() { + const contractAddress = "0x0d8a93870494Fa21ec39602f31Aa67C9Fed5604f"; + const HelloWorld = await ethers.getContractFactory("HelloWorld"); + const contract = HelloWorld.attach(contractAddress) as HelloWorld; + + // 读取当前问候语 + const greeting = await contract.getGreet(); + console.log("Current greeting:", greeting); + + // 更新问候语 + const tx = await contract.setGreet("Hello from Status Network!"); + await tx.wait(); + console.log("Greeting updated!"); + + // 读取更新后的问候语 + const newGreeting = await contract.getGreet(); + console.log("New greeting:", newGreeting); +} + +main().catch((error) => { + console.error(error); + process.exitCode = 1; +}); +``` + +运行交互脚本: + +```bash +npx hardhat run scripts/interact.ts --network statusTestnet +``` + +## 支持 + +如果遇到问题: +- 加入我们的 [Telegram 社区](https://t.me/+k04A_OZbhIs1Mzc9) +- 查看[网络状态](https://health.status.network) +- 查看[网络详情](/general-info/network-details) diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-remix.md b/i18n/zh/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-remix.md index 55e9fb7b..9b8eba4e 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-remix.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-remix.md @@ -1 +1,99 @@ -# Using Remix \ No newline at end of file +# 使用 Remix 部署智能合约 + +本教程将指导您使用 Remix IDE 在 Status Network 测试网上部署智能合约。Remix 是一个基于浏览器的 IDE,非常适合快速开发和测试。 + +## 前提条件 + +开始之前,请确保您具备: + +- **网络浏览器**: Chrome 或 Firefox 等现代浏览器 +- **MetaMask**: 安装 [MetaMask](https://metamask.io) 浏览器扩展 +- **测试网 ETH**: 您需要 Status Network 测试网 ETH + - 从我们的[水龙头](/tools/testnet-faucets)获取 Status Network 测试网 ETH +- **网络配置**: 按照我们的[添加网络指南](/general-info/add-status-network)将 Status Network 测试网添加到 MetaMask + +## 步骤 + +### 1. 打开 Remix IDE + +在浏览器中访问 [remix.ethereum.org](https://remix.ethereum.org)。 + +### 2. 创建新文件 + +1. 点击"File Explorer"图标(左侧边栏的第一个图标) +2. 点击"+"按钮创建新文件 +3. 命名为 `HelloWorld.sol` + +### 3. 编写智能合约 + +将以下代码复制粘贴到 `HelloWorld.sol` 中: + +```solidity +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.24; + +contract HelloWorld { + string public greet = "Hello, Status Network!"; + + function setGreet(string memory _greet) public { + greet = _greet; + } + + function getGreet() public view returns (string memory) { + return greet; + } +} +``` + +### 4. 编译合约 + +1. 点击"Solidity Compiler"图标(左侧边栏的第二个图标) +2. 选择编译器版本"0.8.24" +3. 点击"Compile HelloWorld.sol" +4. 确保编译成功(会看到绿色对勾) + +### 5. 部署合约 + +1. 点击"Deploy & Run Transactions"图标(左侧边栏的第四个图标) +2. 在"Environment"下拉菜单中选择"Injected Provider - MetaMask" +3. MetaMask 会提示连接 - 确保选择了 Status Network 测试网 +4. 点击"Deploy" +5. 在 MetaMask 中确认交易 +6. 等待交易确认 + +### 6. 与合约交互 + +部署后,您将在"Deployed Contracts"下看到您的合约: + +1. 展开合约界面 +2. 您可以: + - 点击"greet"读取当前问候语 + - 在"setGreet"字段中输入新问候语并点击按钮更新 + - 点击"getGreet"再次读取问候语 + +## 故障排除 + +### 常见问题 + +1. **交易失败** + - 检查是否已连接到 Status Network 测试网 + +2. **找不到合约** + - 等待几分钟让浏览器索引您的合约 + - 仔细检查合约地址 + +3. **编译错误** + - 验证编译器版本是否与 pragma 语句匹配 + - 检查 Remix 中突出显示的任何语法错误 + +## 支持 + +如果遇到问题: +- 加入我们的 [Telegram 社区](https://t.me/+k04A_OZbhIs1Mzc9) +- 查看[网络状态](https://health.status.network) +- 查看[网络详情](/general-info/network-details) + +## 其他资源 + +- [Remix 文档](https://remix-ide.readthedocs.io/) +- [Status Network 浏览器](https://sepoliascan.status.network) diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-thirdweb.md b/i18n/zh/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-thirdweb.md deleted file mode 100644 index 32bc2c7c..00000000 --- a/i18n/zh/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-thirdweb.md +++ /dev/null @@ -1 +0,0 @@ -# Using Thirdweb \ No newline at end of file diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/tutorials/ethers-tutorial.md b/i18n/zh/docusaurus-plugin-content-docs/current/tutorials/ethers-tutorial.md deleted file mode 100644 index 463fbe90..00000000 --- a/i18n/zh/docusaurus-plugin-content-docs/current/tutorials/ethers-tutorial.md +++ /dev/null @@ -1 +0,0 @@ -# Interacting with Smart Contracts using ethers.js \ No newline at end of file diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/tutorials/verifying-contracts/using-foundry.md b/i18n/zh/docusaurus-plugin-content-docs/current/tutorials/verifying-contracts/using-foundry.md deleted file mode 100644 index f44729c0..00000000 --- a/i18n/zh/docusaurus-plugin-content-docs/current/tutorials/verifying-contracts/using-foundry.md +++ /dev/null @@ -1 +0,0 @@ -# Using Foundry \ No newline at end of file diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/tutorials/verifying-contracts/using-hardhat.md b/i18n/zh/docusaurus-plugin-content-docs/current/tutorials/verifying-contracts/using-hardhat.md deleted file mode 100644 index e8d21dc2..00000000 --- a/i18n/zh/docusaurus-plugin-content-docs/current/tutorials/verifying-contracts/using-hardhat.md +++ /dev/null @@ -1 +0,0 @@ -# Using Hardhat \ No newline at end of file diff --git a/i18n/zh/docusaurus-theme-classic/navbar.json b/i18n/zh/docusaurus-theme-classic/navbar.json index 918cd605..8064df51 100644 --- a/i18n/zh/docusaurus-theme-classic/navbar.json +++ b/i18n/zh/docusaurus-theme-classic/navbar.json @@ -1,62 +1,14 @@ { "title": { - "message": "Status Network 文档", + "message": "Status Network Docs", "description": "The title in the navbar" }, "logo.alt": { - "message": "Status Network 标志", + "message": "Status Network Logo", "description": "The alt text of navbar logo" }, - "item.label.Tools": { - "message": "工具", - "description": "Navbar item with label Tools" - }, "item.label.Hub": { - "message": "中心", + "message": "Hub", "description": "Navbar item with label Hub" - }, - "item.label.🔌 RPC": { - "message": "🔌 RPC", - "description": "Navbar item with label 🔌 RPC" - }, - "item.label.👥 Multisig Wallets": { - "message": "👥 多签钱包", - "description": "Navbar item with label 👥 Multisig Wallets" - }, - "item.label.🌉 Bridge": { - "message": "🌉 桥接", - "description": "Navbar item with label 🌉 Bridge" - }, - "item.label.🚰 Testnet Faucets": { - "message": "🚰 测试网水龙头", - "description": "Navbar item with label 🚰 Testnet Faucets" - }, - "item.label.🔎 Block Explorers": { - "message": "🔎 区块浏览器", - "description": "Navbar item with label 🔎 Block Explorers" - }, - "item.label.📊 Data Indexers": { - "message": "📊 数据索引器", - "description": "Navbar item with label 📊 Data Indexers" - }, - "item.label.🔮 Oracles": { - "message": "🔮 预言机", - "description": "Navbar item with label 🔮 Oracles" - }, - "item.label.🔗 Interoperability": { - "message": "🔗 互操作性", - "description": "Navbar item with label 🔗 Interoperability" - }, - "item.label.🎲 Randomness": { - "message": "🎲 随机性", - "description": "Navbar item with label 🎲 Randomness" - }, - "item.label.🛠️ General Tooling": { - "message": "🛠️ 通用工具", - "description": "Navbar item with label 🛠️ General Tooling" - }, - "item.label.🖥️ Node Operators": { - "message": "🖥️ 节点运营商", - "description": "Navbar item with label 🖥️ Node Operators" } }