1
1
# Arbitrum
2
2
3
- Arbitrum 桥: https://bridge.arbitrum.io/
3
+ Arbitrum bridge: < https://bridge.arbitrum.io/ >
4
4
5
5
与 optimism 差别在于: 交互式证明挑战
6
6
@@ -27,22 +27,25 @@ AVM 与 EVM 的不同:
27
27
AVM 既支持执行交易,又支持证明(L1 合约相信某个断言是真的)
28
28
29
29
## 开发
30
+
30
31
### L1 to L2 messaging
31
- https://github.com/OffchainLabs/arbitrum-tutorials/tree/master/packages/greeter
32
+
33
+ < https://github.com/OffchainLabs/arbitrum-tutorials/tree/master/packages/greeter >
34
+
32
35
### L2 to L1 messaging
33
- https://github.com/OffchainLabs/arbitrum-tutorials/tree/master/packages/outbox-execute
36
+
37
+ < https://github.com/OffchainLabs/arbitrum-tutorials/tree/master/packages/outbox-execute >
34
38
35
39
### Gotchas
40
+
36
41
Block Numbers: Arbitrum vs. Ethereum
37
- 一个以太坊block可能包含多个arbi的多个block
38
- blocktimestamp使用的是layer1的 ;
42
+ 一个以太坊 block 可能包含多个 arbi 的多个 block
43
+ blocktimestamp 使用的是 layer1 的 ;
39
44
40
45
一些常用地址:
41
46
https://developer.offchainlabs.com/docs/useful_addresses
42
47
43
-
44
-
45
- ## 执行测试
48
+ ## Quick Start
46
49
47
50
- 安装依赖
48
51
@@ -62,23 +65,26 @@ https://developer.offchainlabs.com/docs/useful_addresses
62
65
- 执行测试脚本
63
66
64
67
``` bash
65
- ❯ npx hardhat run scripts/deploy.js --network arbitrum
66
- Deploying contracts with the account: 0xD95Be34213b53e3eC51091a0c5De07641Fc1728e
67
- Account balance: 999999998990000000
68
- Token address: 0x33d269391b364C4fe69f92176D08A5F1B2DF9462
68
+ npx hardhat run scripts/deploy.js --network arbitrum_rinkeby
69
+ ```
70
+
71
+ 命令行输出 (421611 是 Arbitrum-Rinkeby 的 chainId)
72
+
73
+ ``` bash
74
+ Network ChainId: 421611
75
+ Deploying contracts with the account: 0x....
76
+ Account balance: ...
77
+ Token address: 0x...
69
78
```
70
79
71
80
## 参考链接
72
81
73
- - https://developer.offchainlabs.com/docs/inside_arbitrum
74
- - git 代码: https://github.com/OffchainLabs
75
- - 中文文档: https://github.com/dysquard/Arbitrum_Doc_CN
76
- - 与 op 对比: https://medium.com/stakingbits/guide-to-arbitrum-and-setting-up-metamask-for-arbitrum-543e513cdd8b
77
- - 很详细的原理介绍
78
- https://new.qq.com/omn/20210709/20210709A0CL6M00.html
79
-
80
- - https://github.com/dysquard/Arbitrum_Doc_CN/blob/master/2_%E6%B7%B1%E5%85%A5%E7%90%86%E8%A7%A3%E5%8D%8F%E8%AE%AE/
81
- - https://q6rsx4wom8.feishu.cn/file/boxcnu89en45JWelsoUv8nIwdRc rollup 详细解读
82
- - https://q6rsx4wom8.feishu.cn/file/boxcnu89en45JWelsoUv8nIwdRc arbi 简介
83
- - https://mubu.com/app/edit/clb/NIhGqZda80#m 分享
84
- - [ un.Block 周报] ( https://zhuanlan.zhihu.com/p/419000613 ) 有关 Arbitrum 的介绍。介绍了 Aribtrum 和 Optimistic Rollup 的不同,以及 Arbitrum 是如何达成 Layer1 和 Layer2 之间的通信的。
82
+ - < https://developer.offchainlabs.com/docs/inside_arbitrum >
83
+ - Arbitrum github: < https://github.com/OffchainLabs >
84
+ - 中文文档: < https://github.com/dysquard/Arbitrum_Doc_CN >
85
+ - 与 op 对比: < https://medium.com/stakingbits/guide-to-arbitrum-and-setting-up-metamask-for-arbitrum-543e513cdd8b >
86
+ - 很详细的原理介绍 < https://new.qq.com/omn/20210709/20210709A0CL6M00.html >
87
+ - < https://github.com/dysquard/Arbitrum_Doc_CN/blob/master/2_%E6%B7%B1%E5%85%A5%E7%90%86%E8%A7%A3%E5%8D%8F%E8%AE%AE/ >
88
+ - rollup 详细解读: < https://q6rsx4wom8.feishu.cn/file/boxcnu89en45JWelsoUv8nIwdRc >
89
+ - arbi 简介 < https://q6rsx4wom8.feishu.cn/file/boxcnu89en45JWelsoUv8nIwdRc >
90
+ - 幕布树形图: < https://mubu.com/app/edit/clb/NIhGqZda80#m >
0 commit comments