-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
314 lines (270 loc) · 21.8 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
<!DOCTYPE HTML>
<html lang="zh-CN" class="sidebar-visible no-js light">
<head>
<!-- Book generated using mdBook -->
<meta charset="UTF-8">
<title>👽互联网计算机漫游指南🛸 - 互联网计算机漫游指南</title>
<!-- Custom HTML head -->
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta name="description" content="The constellation book for you.">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#ffffff" />
<link rel="icon" href="favicon.png">
<link rel="shortcut icon" href="favicon.png">
<link rel="stylesheet" href="css/variables.css">
<link rel="stylesheet" href="css/general.css">
<link rel="stylesheet" href="css/chrome.css">
<link rel="stylesheet" href="css/print.css" media="print">
<!-- Fonts -->
<link rel="stylesheet" href="FontAwesome/css/font-awesome.css">
<link rel="stylesheet" href="fonts/fonts.css">
<!-- Highlight.js Stylesheets -->
<link rel="stylesheet" href="highlight.css">
<link rel="stylesheet" href="tomorrow-night.css">
<link rel="stylesheet" href="ayu-highlight.css">
<!-- Custom theme stylesheets -->
<link rel="stylesheet" href="theme/style.css">
<!-- MathJax -->
<script async type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
<script type="text/javascript" async
src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.9/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
</head>
<body>
<!-- Provide site root to javascript -->
<script type="text/javascript">
var path_to_root = "";
var default_theme = window.matchMedia("(prefers-color-scheme: dark)").matches ? "navy" : "light";
</script>
<!-- Work around some values being stored in localStorage wrapped in quotes -->
<script type="text/javascript">
try {
var theme = localStorage.getItem('mdbook-theme');
var sidebar = localStorage.getItem('mdbook-sidebar');
if (theme.startsWith('"') && theme.endsWith('"')) {
localStorage.setItem('mdbook-theme', theme.slice(1, theme.length - 1));
}
if (sidebar.startsWith('"') && sidebar.endsWith('"')) {
localStorage.setItem('mdbook-sidebar', sidebar.slice(1, sidebar.length - 1));
}
} catch (e) { }
</script>
<!-- Set the theme before any content is loaded, prevents flash -->
<script type="text/javascript">
var theme;
try { theme = localStorage.getItem('mdbook-theme'); } catch(e) { }
if (theme === null || theme === undefined) { theme = default_theme; }
var html = document.querySelector('html');
html.classList.remove('no-js')
html.classList.remove('light')
html.classList.add(theme);
html.classList.add('js');
</script>
<!-- Hide / unhide sidebar before it is displayed -->
<script type="text/javascript">
var html = document.querySelector('html');
var sidebar = 'hidden';
if (document.body.clientWidth >= 1080) {
try { sidebar = localStorage.getItem('mdbook-sidebar'); } catch(e) { }
sidebar = sidebar || 'visible';
}
html.classList.remove('sidebar-visible');
html.classList.add("sidebar-" + sidebar);
</script>
<nav id="sidebar" class="sidebar" aria-label="Table of contents">
<div class="sidebar-scrollbox">
<ol class="chapter"><li class="chapter-item affix "><a href="about.html" class="active">👽互联网计算机漫游指南🛸</a></li><li class="chapter-item affix "><li class="part-title">去中心化之旅🔍</li><li class="chapter-item "><a href="0.去中心化之旅/造梦家的冒险之旅.html">造梦家的冒险之旅</a><a class="toggle"><div>❱</div></a></li><li><ol class="section"><li class="chapter-item "><a href="0.去中心化之旅/未来已来.html">未来已来</a></li><li class="chapter-item "><a href="0.去中心化之旅/加密朋克的那些事.html">加密朋克的那些事</a></li><li class="chapter-item "><a href="0.去中心化之旅/区块链是啥?.html">区块链是啥?</a></li><li class="chapter-item "><a href="0.去中心化之旅/什么是以太坊?.html">什么是以太坊?</a></li><li class="chapter-item "><a href="0.去中心化之旅/我的网络隐私呢?.html">我的网络隐私呢?</a></li><li class="chapter-item "><a href="0.去中心化之旅/比特币.html">比特币</a></li></ol></li><li class="chapter-item "><li class="part-title">了解IC📡</li><li class="chapter-item "><a href="1.了解IC/1.了解IC.html">了解IC</a></li><li class="chapter-item "><a href="1.了解IC/ICP=Web3.0.html">ICP = Web 3.0</a></li><li class="chapter-item affix "><li class="part-title">核心协议⭐</li><li class="chapter-item "><a href="2.核心协议/1.P2P层.html">P2P层</a></li><li class="chapter-item "><a href="2.核心协议/2.共识层.html">共识层</a></li><li class="chapter-item "><a href="2.核心协议/3.消息路由层.html">消息路由层</a></li><li class="chapter-item "><a href="2.核心协议/4.执行层.html">执行层</a></li><li class="chapter-item "><a href="2.核心协议/相关概念介绍/简介.html">相关概念</a><a class="toggle"><div>❱</div></a></li><li><ol class="section"><li class="chapter-item "><a href="2.核心协议/相关概念介绍/共识委员会数量如何确定?.html">共识委员会数量如何确定?</a></li><li class="chapter-item "><a href="2.核心协议/相关概念介绍/P2P层是如何降低恶意攻击的?.html">P2P层是如何降低恶意攻击的?</a></li></ol></li><li class="chapter-item "><li class="part-title">链钥密码学🪄</li><li class="chapter-item "><a href="3.链钥密码学(ChainKey)/1.ChainKey.html">Chain Key</a></li><li class="chapter-item "><a href="3.链钥密码学(ChainKey)/VetKeys.html">VETKeys</a></li><li class="chapter-item affix "><li class="part-title">容器🧰</li><li class="chapter-item "><a href="4.容器(Canister)/1.Canister.html">Canister</a></li><li class="chapter-item "><a href="4.容器(Canister)/2.Motoko.html">Motoko</a></li><li class="chapter-item "><a href="4.容器(Canister)/3.部署自己的Canister.html">部署Canister</a></li><li class="chapter-item "><a href="4.容器(Canister)/4.XRC.html">XRC</a></li><li class="chapter-item affix "><li class="part-title">网络神经系统(NNS)⚙️</li><li class="chapter-item "><a href="5.网络神经系统(NNS)/1.NNS.html">NNS</a></li><li class="chapter-item "><a href="5.网络神经系统(NNS)/2.DAO.html">DAO</a></li><li class="chapter-item "><a href="5.网络神经系统(NNS)/3.经济模型.html">经济模型</a></li><li class="chapter-item affix "><li class="part-title">区块链网络服务🎯</li><li class="chapter-item "><a href="6.区块链网络服务/5.可信执行环境.html">可信执行环境</a></li><li class="chapter-item "><a href="6.区块链网络服务/6.链上随机数.html">链上随机数</a></li><li class="chapter-item affix "><li class="part-title">互联网身份🔑</li><li class="chapter-item "><a href="7.互联网身份/1.ii.html">互联网身份</a></li><li class="chapter-item "><a href="7.互联网身份/3.pid.html">pid</a></li><li class="chapter-item affix "><li class="part-title">IC里的密码学🔒</li><li class="chapter-item "><a href="8.IC里的密码学/基础密码学知识.html">基础密码学介绍</a></li><li class="chapter-item "><a href="8.IC里的密码学/BLS签名.html">BLS</a></li><li class="chapter-item "><a href="8.IC里的密码学/秘密共享.html">秘密共享</a></li><li class="chapter-item "><a href="8.IC里的密码学/哈希算法.html">哈希算法</a></li><li class="chapter-item affix "><li class="part-title">开发DApp🌟</li><li class="chapter-item "><a href="9.Dapp开发/安装开发环境.html">安装开发环境</a></li><li class="chapter-item "><a href="9.Dapp开发/dfx常用命令.html">dfx常用命令</a></li><li class="chapter-item "><a href="9.Dapp开发/Motoko.html">Motoko</a></li><li class="chapter-item "><a href="9.Dapp开发/1.入门DApp.html">入门DApp</a></li><li class="chapter-item "><a href="9.Dapp开发/2.设计DApp.html">设计DApp</a></li><li class="chapter-item "><a href="9.Dapp开发/3.开发Proton.html">开发Proton</a></li><li class="chapter-item "><a href="9.Dapp开发/4.User模块.html">User模块</a></li><li class="chapter-item "><a href="9.Dapp开发/5.Post模块.html">Post模块</a></li><li class="chapter-item "><a href="9.Dapp开发/6.Feed模块.html">Feed模块</a></li><li class="chapter-item "><a href="9.Dapp开发/7.Fetch模块.html">Fetch模块</a></li><li class="chapter-item "><a href="9.Dapp开发/8.共享类型.html">共享类型</a></li><li class="chapter-item "><a href="9.Dapp开发/9.完成.html">完成</a></li><li class="spacer"></li><li class="chapter-item affix "><a href="词汇表.html">词汇表</a></li><li class="chapter-item affix "><a href="贡献者名单.html">贡献者名单</a></li><li class="chapter-item affix "><a href="参考资料.html">参考资料</a></li></ol>
</div>
<div id="sidebar-resize-handle" class="sidebar-resize-handle"></div>
</nav>
<div id="page-wrapper" class="page-wrapper">
<div class="page">
<div id="menu-bar-hover-placeholder"></div>
<div id="menu-bar" class="menu-bar sticky bordered">
<div class="left-buttons">
<button id="sidebar-toggle" class="icon-button" type="button" title="Toggle Table of Contents" aria-label="Toggle Table of Contents" aria-controls="sidebar">
<i class="fa fa-bars"></i>
</button>
<button id="theme-toggle" class="icon-button" type="button" title="Change theme" aria-label="Change theme" aria-haspopup="true" aria-expanded="false" aria-controls="theme-list">
<i class="fa fa-paint-brush"></i>
</button>
<ul id="theme-list" class="theme-popup" aria-label="Themes" role="menu">
<li role="none"><button role="menuitem" class="theme" id="light">Light (default)</button></li>
<li role="none"><button role="menuitem" class="theme" id="rust">Rust</button></li>
<li role="none"><button role="menuitem" class="theme" id="coal">Coal</button></li>
<li role="none"><button role="menuitem" class="theme" id="navy">Navy</button></li>
<li role="none"><button role="menuitem" class="theme" id="ayu">Ayu</button></li>
</ul>
<button id="search-toggle" class="icon-button" type="button" title="Search. (Shortkey: s)" aria-label="Toggle Searchbar" aria-expanded="false" aria-keyshortcuts="S" aria-controls="searchbar">
<i class="fa fa-search"></i>
</button>
</div>
<h1 class="menu-title">互联网计算机漫游指南</h1>
<div class="right-buttons">
<a href="print.html" title="Print this book" aria-label="Print this book">
<i id="print-button" class="fa fa-print"></i>
</a>
<a href="https://github.com/NeutronStarDAO/ConstellationBook-Chinese" title="Git repository" aria-label="Git repository">
<i id="git-repository-button" class="fa fa-github"></i>
</a>
</div>
</div>
<div id="search-wrapper" class="hidden">
<form id="searchbar-outer" class="searchbar-outer">
<input type="search" id="searchbar" name="searchbar" placeholder="Search this book ..." aria-controls="searchresults-outer" aria-describedby="searchresults-header">
</form>
<div id="searchresults-outer" class="searchresults-outer hidden">
<div id="searchresults-header" class="searchresults-header"></div>
<ul id="searchresults">
</ul>
</div>
</div>
<!-- Apply ARIA attributes after the sidebar and the sidebar toggle button are added to the DOM -->
<script type="text/javascript">
document.getElementById('sidebar-toggle').setAttribute('aria-expanded', sidebar === 'visible');
document.getElementById('sidebar').setAttribute('aria-hidden', sidebar !== 'visible');
// Get viewed page store
var viewed_key = 'mdbook-viewed';
var viewed_map = {};
try {
var viewed_storage = localStorage.getItem(viewed_key);
if (viewed_storage) {
viewed_map = JSON.parse(viewed_storage)
}
} catch (e) { }
Array.from(document.querySelectorAll('#sidebar a')).forEach(function(link) {
link.setAttribute('tabIndex', sidebar === 'visible' ? 0 : -1);
// Apply viewed style
if (viewed_map[link.pathname]) {
link.classList.add('md-viewed')
}
});
// Mark viewed after 30s
setTimeout(function() {
viewed_map[location.pathname] = 1;
localStorage.setItem(viewed_key, JSON.stringify(viewed_map));
}, 30000)
</script>
<div id="content" class="content">
<!-- Page table of contents -->
<div class="sidetoc"><nav class="pagetoc"></nav></div>
<main>
<div class="center-image">
<h1 id="互联网计算机漫游指南" class="home-h1"><a class="header" href="#互联网计算机漫游指南">👽互联网计算机漫游指南🛸</a></h1>
</div>
<p>(。・∀・)ノ゙嗨!欢迎登录中子星~🫡 来了就是中子星人!🎉 </p>
<p>1️⃣如果你还不了解 区块链、比特币、IC ,没关系。听我向你<a href="0.%E5%8E%BB%E4%B8%AD%E5%BF%83%E5%8C%96%E4%B9%8B%E6%97%85/%E5%8C%BA%E5%9D%97%E9%93%BE%E6%98%AF%E5%95%A5%EF%BC%9F.html">娓娓道来</a>加密发展史!</p>
<p>2️⃣如果你只听说过 IC ,还没有详细了解 IC ,那你来对地方啦,在<a href="1.%E4%BA%86%E8%A7%A3IC/1.%E4%BA%86%E8%A7%A3IC.html">这里</a>了解更多相关信息!</p>
<p>3️⃣想知道关于多米尼克的故事嘛?他在<a href="0.%E5%8E%BB%E4%B8%AD%E5%BF%83%E5%8C%96%E4%B9%8B%E6%97%85/%E9%80%A0%E6%A2%A6%E5%AE%B6%E7%9A%84%E5%86%92%E9%99%A9%E4%B9%8B%E6%97%85.html">这里</a>!</p>
<div class="home-box">
<div class="box box1">1️⃣📖
<div>
加密往事
</div>
<div>
从零开始入门 web3
</div>
</div>
<div class="box box2">2️⃣📡
<div>
快速了解
</div>
<div>
IC 的 web3 解决方案
</div>
</div>
<div class="box box3">3️⃣🔍
<div>
背后故事
</div>
<div>
多米尼克的冒险之旅
</div>
</div>
</div>
<div class="zoom-font hover-window">
2015 2018
2021 现在
10 年后
<br>
—〦———〦———〦———〦—————〦———→ ∞ 💥 区块链奇点
</div>
<img src="assets/README/logo.png" width="30%" style="float: right; margin-left: 35px;" class="zoom-img"/>
<p>有时候,我真的为生活在这个充满奇迹的时代而感到震撼。仅仅几年前,我们还在嘲笑比特币,而现在,去中心化金融、以太坊和加密货币已经深入人心。而在这个飞速发展的新世界中,有一堆新技术,正以其独特的方式,为我们的生活增添色彩:互联网计算机,是新一代通用计算区块链。</p>
<p>起源于多米尼克 2015 年的想法:一个可以横向扩展的去中心化的世界计算机。 2018 年完成了雏形。并在深度优化底层协议后,于 2021 年上线。经过几年发展,它旨在成为一个去中心化的云服务,
<span class="hover-win0">
<span class="hover-win2">
底层的去中心化保证了上层的 Dapp 不会被别人强制关掉。上层应用可以由 DAO 控制,社区共同治理。可以自己部署一个自己用的私人 Canister 存储数据。
</span>
<span class="hover-win1">
底层做成了去中心化的云,上层应用则通过 DAO 控制权限,达到去中心化的目的。
</span>
</span>
,全栈上链,无需使用其他中心化服务。</p>
<div class="center-image">
<img src="assets/README/0.jpg">
</div>
<p>《互联网计算机漫游指南》的结构:</p>
<ul>
<li>
<p>前半部分生动有趣,后半部分言简意赅</p>
</li>
<li>
<p>前半部分谈 IC 原理,后半部分论开发实战</p>
</li>
</ul>
<h3 id="为什么写这本书"><a class="header" href="#为什么写这本书">为什么写这本书?</a></h3>
<p>最初我了解 IC 后,收集整理了 IC 白皮书、Medium 、ICPL 论坛、IC Developer Forum 里的资料。给朋友讲了 IC 的架构以后,还跟她说正在整理关于 IC 资料的笔记,整理好就分享出来,没想到这一整理就是一年。在经历了天荒地老、沧海桑田、时过境迁的漫长岁月(拖延)后,加上自己后来学到的东西,终于凑出了笔记的初代版本。又经过一段时间的深入学习,我觉得把这些笔记分享出来比较好。做成一本开源书帮大家学习 IC 。也是为 IC 开发者社区做一点贡献。</p>
<p>零门槛学习区块链,抹平学习 IC 门槛。</p>
<img src="assets/README/1.jpg">
<h3 id="为什么开源"><a class="header" href="#为什么开源">为什么开源?</a></h3>
<p>我很喜欢 Rust 开源社区,Rust 社区里有很多开源书、开源优质项目,给了我很大帮助。我从 Rust 开源社区学到了很多东西。像比特币、以太坊以及相关的项目也都有浓厚的开源氛围,我希望 IC 社区也涌现出越来越多的开源项目。供大家互相学习。</p>
<p>另外,IC 的内容更新迭代很快,开源大家一起贡献,内容保持新鲜不过时。</p>
<br>
<br>
<p>加入本书的开发者讨论群,勘误、修改、提出建议、共同为开源书贡献力量!</p>
<p>🌎
<a href="https://oc.app/4jwox-pyaaa-aaaar-amjbq-cai/?ref=3bmc2-5aaaa-aaaaf-agfiq-cai&code=1ab38ffae620366f">OpenChat</a>, <a href="https://t.me/neutronstardaoic">Telegram</a>, <a href="https://discord.gg/5Y8QPHvR">Discord</a>, <a href="https://github.com/NeutronStarDAO/ConstellationBook-Chinese">Github</a> </p>
<img src="assets/README/2.jpg">
<div id="giscus-container"></div>
</main>
<nav class="nav-wrapper" aria-label="Page navigation">
<!-- Mobile navigation buttons -->
<a rel="next" href="0.去中心化之旅/造梦家的冒险之旅.html" class="mobile-nav-chapters next" title="Next chapter" aria-label="Next chapter" aria-keyshortcuts="Right">
<i class="fa fa-angle-right"></i>
</a>
<div style="clear: both"></div>
</nav>
</div>
</div>
<nav class="nav-wide-wrapper" aria-label="Page navigation">
<a rel="next" href="0.去中心化之旅/造梦家的冒险之旅.html" class="nav-chapters next" title="Next chapter" aria-label="Next chapter" aria-keyshortcuts="Right">
<i class="fa fa-angle-right"></i>
</a>
</nav>
</div>
<script type="text/javascript">
window.playground_line_numbers = true;
</script>
<script type="text/javascript">
window.playground_copyable = true;
</script>
<script src="ace.js" type="text/javascript" charset="utf-8"></script>
<script src="editor.js" type="text/javascript" charset="utf-8"></script>
<script src="mode-rust.js" type="text/javascript" charset="utf-8"></script>
<script src="theme-dawn.js" type="text/javascript" charset="utf-8"></script>
<script src="theme-tomorrow_night.js" type="text/javascript" charset="utf-8"></script>
<script src="elasticlunr.min.js" type="text/javascript" charset="utf-8"></script>
<script src="mark.min.js" type="text/javascript" charset="utf-8"></script>
<script src="searcher.js" type="text/javascript" charset="utf-8"></script>
<script src="clipboard.min.js" type="text/javascript" charset="utf-8"></script>
<script src="highlight.js" type="text/javascript" charset="utf-8"></script>
<script src="book.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" charset="utf-8">
var pagePath = "index.md"
</script>
<!-- Custom JS scripts -->
<script type="text/javascript" src="assets/custom.js"></script>
<script type="text/javascript" src="assets/bigPicture.js"></script>
</body>
</html>