Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 14 additions & 16 deletions src/content/docs/en/developers/building-on-scroll.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ import ToggleElement from "../../../../components/ToggleElement.astro"

**Welcome to the Scroll developer documentation!**

Scroll is its own Layer 2 network built on Ethereum (more specifically, a “zero knowledge rollup”).
Scroll is its own Layer 2 network built on Ethereum (more specifically, a “zero-knowledge rollup”).

If you’re experienced in building on Ethereum, your code, dependencies, and tooling work with Scroll out of the box. This is possible because our network is compatible with EVM bytecode and designed to feel just like developing on Ethereum.
If you’re experienced in building on Ethereum, your code, dependencies, and tooling will work with Scroll out of the box. This is possible because our network is compatible with EVM bytecode and designed to feel just like developing on Ethereum.

<Aside type="tip" title="New to zero knowledge rollups?">
Scroll gains its security and speed by executing transactions off-chain, and also producing a cryptographic proof that
the transactions were executed correctly. This cryptographic proof is verified in a smart contract on Layer 1,
<Aside type="tip" title="New to zero-knowledge rollups?">
Scroll gains its security and speed by executing transactions off-chain and producing a cryptographic proof that
the transactions were executed correctly. This proof is verified by a smart contract on Layer 1,
ensuring that all code executed on the Scroll Layer 2 behaves just as if it were executed on Ethereum Layer 1.

[Learn more about Scroll’s architecture →](/technology)
Expand All @@ -28,19 +28,19 @@ ensuring that all code executed on the Scroll Layer 2 behaves just as if it were

## Getting Started

**Looking to build on the Scroll?**
**Looking to build on Scroll?**

- Check out our [FAQ](/developers/) for the essentials
- Follow our [guide](/developers/guides/running-a-scroll-node) to run Scroll L2geth Node
- Follow our [guide](/developers/guides/running-a-scroll-node) to run a Scroll L2geth node
- Explore our [deployed contract addresses](/developers/scroll-contracts) to build on

## Why Build on Scroll?

<ToggleElement anchor="throughput">
<div slot="title">Throughput — Scroll creates more secure blockspace for Ethereum.</div>
<p>
ZK Rollups allow for more activity on the network, minimizing congestion. By inheriting the security of Ethereum,
which verifies the behavior of the network using zero knowledge proofs, Scroll can process more transactions without
Zero-knowledge rollups (ZK rollups) allow for more activity on the network, minimizing congestion. By inheriting the security of Ethereum,
which verifies the behavior of the network using zero-knowledge proofs, Scroll can process more transactions without
compromising on decentralization.
</p>
</ToggleElement>
Expand All @@ -49,30 +49,28 @@ ensuring that all code executed on the Scroll Layer 2 behaves just as if it were
<div slot="title">Cost — Scroll saves users gas fees.</div>
<p>
On Ethereum, competition for blockspace results in higher costs per transaction, as each transaction makes a bid to
be included in the next block. Scroll leverages recent breakthroughs in zero knowledge proofs and hardware
be included in the next block. Scroll leverages recent breakthroughs in zero-knowledge proofs and hardware
acceleration to vastly increase secure blockspace and minimize transaction costs for users.
</p>
</ToggleElement>
<ToggleElement anchor="speed">
<div slot="title">Speed — Scroll delivers feedback to users, faster.</div>
<div slot="title">Speed — Scroll delivers faster feedback to users.</div>
<p>
After the merge, Ethereum blocks reliably confirm every 12 seconds. Scroll blocks are minted every 3 seconds, and
After the Merge, Ethereum blocks are confirmed every 12 seconds. Scroll blocks are minted every 3 seconds, and
for the sake of lower-risk operations, transactions can be assumed to be final once included in a block. This opens
up new possibilities for on-chain interaction in social and gaming applications.
</p>
</ToggleElement>
<ToggleElement anchor="alignment">
<div slot="title">Alignment — Scroll builds on Ethereum's vision.</div>
<p>
Scroll builds on Ethereum’s vision. Our ethos is to build Ethereum, not to splinter it. Decentralization,
permissionlessness, censorship-resistance, and community ownership are the core of what we do and the roadmap we’re
building. We believe in open-source software, and we work closely with the Ethereum Foundation’s Privacy and Scaling
Scroll builds on Ethereum’s vision. Our ethos is to build Ethereum, not to splinter it. Decentralization, permissionlessness, censorship resistance, and community ownership are core to what we do and to the roadmap we’re building. We believe in open-source software, and we work closely with the Ethereum Foundation’s Privacy and Scaling
Explorations team to support their work on a zkEVM that might someday be the heart of Ethereum.
</p>
<p>
We also work with governance DAOs and other open-source protocols to make sure that as applications are deployed,
we’re working to grow their impact — whether that be in public goods, core infrastructure, or the next generation of
zero knowledge use cases.
zero-knowledge use cases.
</p>
</ToggleElement>
<ToggleElement anchor="community">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ contract L2Token is ERC20, IScrollERC20Extension {

## 第 3 步:将代币添加到 Scroll 跨链桥

您需要联系Scroll团队,将代币添加到 Sroll 上的 `L2CustomERC20Gateway` 合约和 L1 上的 `L1CustomERC20Gateway` 合约。此外,请按照[代币列表](https://github.com/scroll-tech/token-list) 仓库内的说明将您的代币添加到 Scroll 官方跨链桥前端.
您需要联系Scroll团队,将代币添加到 Scroll 上的 `L2CustomERC20Gateway` 合约和 L1 上的 `L1CustomERC20Gateway` 合约。此外,请按照[代币列表](https://github.com/scroll-tech/token-list) 仓库内的说明将您的代币添加到 Scroll 官方跨链桥前端.


## 第 4 步: 存储代币
Expand Down Expand Up @@ -351,4 +351,4 @@ contract L2CustomERC20Gateway is L2ERC20Gateway, ScrollGatewayBase, Ownable {

### 桥接代币

我们现在可以调用 `MyL1Gateway` 合约的 `depositERC20`,`MyL2Gateway` 合约的 `withdrawERC20` ,就像Scroll官方跨链桥一样
我们现在可以调用 `MyL1Gateway` 合约的 `depositERC20`,`MyL2Gateway` 合约的 `withdrawERC20` ,就像Scroll官方跨链桥一样