Skip to content

Commit 04af35d

Browse files
committed
rename README
1 parent 3f7afe2 commit 04af35d

File tree

3 files changed

+25
-9
lines changed

3 files changed

+25
-9
lines changed

basic/28-optimism-layer2/OptimismBedrock.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Advantages of this change include:
6161
- Reduced overhead for storing the blockchain.
6262
- No need to update the state trie root after each transaction.
6363

64-
#### Epochs and the Sequencing Window
64+
### Epochs and the Sequencing Window
6565

6666
The rollup chain is subdivided into epochs. There is a 1:1 correspondence between L1 block numbers and epoch numbers.
6767

basic/28-optimism-layer2/README-CN.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
11
# Optimism
22

3+
中文 / [English](https://github.com/Dapp-Learning-DAO/Dapp-Learning/blob/main/basic/28-optimism-layer2/README.md)
4+
35
## 简介
46

57
Optimistic Rollups(OR)是一种第二层解决方案,也就是说不直接在以太坊基础层中构建,而是基于以太坊进行构建。好处在于可以规模化运行智能合约,同时还能受到共享以太坊的安全性。其构造类似于 Plasma,虽然无法达到 Plasma 几近无限的扩容能力,OR 选择使用与 EVM 兼容的 OVM(Optimistic 虚拟机),使其能够像以太坊一样运作。
68

79
其名称“Opmistic Rollup”源自于这个解决方案本身的特征。之所以采用“Optimistic”(乐观),是因为聚合者仅发布最少量的所需信息,而无需提供任何证明,前提是聚合者没有实施欺诈行为,且仅在发生欺诈时提供证明。之所以使用“Rollups”,是因为交易以捆绑形式提交到主链(也即,交易被 rolled-up)
810

11+
## Bedrock
12+
13+
- [OptimismBedrock.md](./OptimismBedrock.md)
14+
15+
Bedrock 是 Optimism 网络的下一个主要版本,计划于 2023 年第一季度发布(需经 Optimism 治理批准)。它将进一步减少 Optimism 和 L1 Ethereum (opens new window) 之间的差异。
16+
917
## 测试步骤
1018

1119
- URI ETH 跨链

basic/28-optimism-layer2/readme copy.md renamed to basic/28-optimism-layer2/README.md

+16-8
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
11
# Optimism
22

3+
[中文](https://github.com/Dapp-Learning-DAO/Dapp-Learning/blob/main/basic/28-optimism-layer2/README-CN.md) / English
4+
35
## Abstract
46

57
Optimistic Rollups(OR)is a Layer2 solution,which means it's not an independent chain,but relys on Ethereum mainnet。The benefits of such construction are that it can not only run smart contracts at scale,but also enjoys the benefit of Ethereum security,just similar to Plasma,but have less capacity of transactions。OR chooses to use OVM(Optimistic Virtual Machine)compatible with EVM,allowing contracts to have same behavior on both sides.
68

79
The name "Opmistic Rollup" comes from the characteristics of the solution itself。 Optimistic means less infomation for aggregator to publish ,and no need to provide any proof。 Rollup means transactions are submitted to L1 in bundles。
810

11+
## Bedrock
12+
13+
- [OptimismBedrock.md](./OptimismBedrock.md)
14+
15+
Bedrock is the next major release of the Optimism network, planned for the first quarter of 2023 (subject to approval by Optimism governance). It will further reduce the differences between Optimism and L1 Ethereum.
16+
917
## Test steps
1018

1119
### ETH cross-chain with Optimism gateway
@@ -44,7 +52,7 @@ Token address: 0x0d29e73F0b1AE67e28495880636e2407e41480F2
4452
In addition to do cross-chain through UI,we can also do it with script。
4553
In the following script,by calling cross-chain contract on Goerli side, ETH will be deposited to Optimism。
4654

47-
```
55+
```sh
4856
npx hardhat run scripts/deposit-eth.js --network goerli
4957

5058
## It will takes about 5 minuts to finish the deposite,then it will add 0.0001 ETH to your account on Optimism side
@@ -54,17 +62,17 @@ npx hardhat run scripts/deposit-eth.js --network goerli
5462
After deposite ETH to Optimism,we can also withdraw it back to Goerli.
5563
Similar to deposite,we just call cross-chain contract on Optimism side,ETH will be withdrawed to Goerli.
5664

57-
```
65+
```sh
5866
npx hardhat run scripts/withdraw-eth.js --network optimism
5967

6068
## It will takes about 5 minuts to finish the withdraw,then it will add 0.0001 ETH to your account on Goerli side
6169
```
6270

6371
## References
6472

65-
optimism github: https://github.com/ethereum-optimism/optimism-tutorial
66-
Optimistic Rollup contracts: https://medium.com/plasma-group/ethereum-smart-contracts-in-l2-optimistic-rollup-2c1cef2ec537
67-
Optimism Rollup Principle Explanation : https://zhuanlan.zhihu.com/p/350541979
68-
Optimism Cross Bridge : https://gateway.optimism.io/
69-
Optimism Goerli deposite proxy contract : https://goerli.etherscan.io/address/0x636af16bf2f682dd3109e60102b8e1a089fedaa8#code
70-
Optimism Goerli withdraw proxy contract : https://goerli-optimism.etherscan.io/address/0x4200000000000000000000000000000000000010
73+
- optimism github: <https://github.com/ethereum-optimism/optimism-tutorial>
74+
- Optimistic Rollup contracts: <https://medium.com/plasma-group/-ethereum-smart-contracts-in-l2-optimistic-rollup-2c1cef2ec537>
75+
- Optimism Rollup Principle Explanation : <https://zhuanlan.zhihu.com/p/350541979>
76+
- Optimism Cross Bridge : <https://gateway.optimism.io/>
77+
- Optimism Goerli deposite proxy contract : <https://goerli.etherscan.io/address/-0x636af16bf2f682dd3109e60102b8e1a089fedaa8#code>
78+
- Optimism Goerli withdraw proxy contract : <https://goerli-optimism.etherscan.io/-address/0x4200000000000000000000000000000000000010>

0 commit comments

Comments
 (0)