From 73ce629f93451f8ba7f7a4be44c785f9e36e11a2 Mon Sep 17 00:00:00 2001 From: nadeemb53 Date: Fri, 7 Feb 2025 13:53:44 +0530 Subject: [PATCH] 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 | 60 ++++++++++--------- 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, 166 insertions(+), 50 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 48e09e3..5c6aa65 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 6888207..0000000 --- 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 b584d3b..0000000 --- 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 ab7d682..c7f8a65 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 ed1db2b..aec099a 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 7e1c51c..190db25 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 9207ef1..cece9a3 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 ad9a091..f927993 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 +- 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 -- 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 +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 f6262aa..0000000 --- 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 af9162d..7a222ba 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 548947c..0000000 --- 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 a56181d..0000000 --- a/docs/security/security-upgrades.md +++ /dev/null @@ -1 +0,0 @@ -# Security Upgrades diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 6cb781d..11b0a87 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,