From 9a07a2d1bfd523c4c9e1fc7792e2163a8803707b Mon Sep 17 00:00:00 2001 From: Fionna Chan Date: Tue, 17 Oct 2023 15:23:46 +0800 Subject: [PATCH] clean up table --- .../for-devs/quickstart-solidity-hardhat.md | 43 ++++++++++++++++--- 1 file changed, 36 insertions(+), 7 deletions(-) diff --git a/arbitrum-docs/for-devs/quickstart-solidity-hardhat.md b/arbitrum-docs/for-devs/quickstart-solidity-hardhat.md index 52cf1b626..921e29956 100644 --- a/arbitrum-docs/for-devs/quickstart-solidity-hardhat.md +++ b/arbitrum-docs/for-devs/quickstart-solidity-hardhat.md @@ -302,13 +302,42 @@ The `WEB3-LOCALHOST` architecture is similar to the `WEB2` architecture, with on Let's take a closer look at the differences between our `VendingMachine` implementations: - -| | `WEB2` (the first one) | `WEB3-LOCALHOST` (the latest one) | `WEB3-ARB-GOERLI` (the next one) | `WEB3-ARB-MAINNET` (the final one) | -| --------------------- | --------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | -| **Data** (cupcakes) | Stored only in your **browser**. (Usually, stored by centralized infrastructure.) | Stored on your **device** in an **emulated Ethereum network** (via smart contract). | Stored on Ethereum's **decentralized test network** (via smart contract). | Stored on Ethereum's **decentralized mainnet network** (via smart contract). | -| **Logic** (vending) | Served from **Offchain's servers**. Executed by your **browser**. | Stored and executed by your **locally emulated Ethereum network** (via smart contract). | Stored and executed by Arbitrum's **decentralized test network** (via smart contract). | Stored and executed by Arbitrum's **decentralized mainnet network** (via smart contract). | -| **Presentation** (UI) | Served from **Offchain's servers**. Rendered and executed by your **browser**. | <- same | <- same | <- same | -| **Money** | Devs and users pay centralized service providers for server access using fiat currency. | <- same, but only for the presentation-layer concerns (code that supports frontend UI/UX). | <- same, but devs and users pay **testnet $ETH** to testnet validators. | <- same, but instead of testnet $ETH, they use **mainnet $ETH**. | + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
WEB2
(the first one)
WEB3-LOCALHOST
(the latest one)
WEB3-ARB-GOERLI
(the next one)
WEB3-ARB-MAINNET
(the final one)
Data (cupcakes)Stored only in your browser. (Usually, stored by centralized infrastructure.)Stored on your device in an emulated Ethereum network (via smart contract).Stored on Ethereum's decentralized test network (via smart contract).Stored on Ethereum's decentralized mainnet network (via smart contract).
Logic (vending)Served from Offchain's servers. Executed by your browser.Stored and executed by your locally emulated Ethereum network (via smart contract).Stored and executed by Arbitrum's decentralized test network (via smart contract).Stored and executed by Arbitrum's decentralized mainnet network (via smart contract).
Presentation (UI)Served from Offchain's servers. Rendered and executed by your browser.
MoneyDevs and users pay centralized service providers for server access using fiat currency.← same, but only for the presentation-layer concerns (code that supports frontend UI/UX).← same, but devs and users pay testnet $ETH to testnet validators.← same, but instead of testnet $ETH, they use mainnet $ETH.
Next, we'll deploy our smart contract to a network of real nodes: Arbitrum's Goerli testnet.