cypherpunks-core / ethereumbook_zh Goto Github PK
View Code? Open in Web Editor NEWThis project forked from inoutcode/ethereum_book
:book: Mastering Ethereum - 繁中
Home Page: https://cypherpunks-core.github.io/ethereumbook_zh/
This project forked from inoutcode/ethereum_book
:book: Mastering Ethereum - 繁中
Home Page: https://cypherpunks-core.github.io/ethereumbook_zh/
- 網站的發布依賴
gitbook
指令,他是來自npm
。- 因為本書自帶latex code 所以要安裝
mathjax
套件,這會在book.json
看見
gitbook build
生成網頁的文件都在_book
檢查是否有 gh-pages
分支,有的話砍掉,沒的話做一個,預防衝突。
gh-pages
分支,所以就git push origin :gh-pages
製造分枝
不過新版的可在repo>>setting 裡面設定要用哪個branch 呈現網頁
gh-pages
分支 刪除所有 _book
之外的檔案。
git rm --cached -r .
git clean -df
執行該行指令之所以不會刪除
_book
文件,是因為在.gitignore
已經加入了忽略的文件格式。
_book
東西複製出來cp -r _book/* .
gh-pages
分支gh-pages
分支會一直被砍掉master
設定成網頁發布,直接把_book
裡面的程式碼搬到主目錄,缺點就是代碼超亂問題:檔案為中文字,檔案排序非常亂
提案:
編譯不通過,需要debug
目前的第四章
https://github.com/cypherpunks-core/ethereumbook_zh/blob/master/%E7%AC%AC%E5%9B%9B%E7%AB%A0.asciidoc
在原文中似乎已經不存在,但第四章的內容其實也不錯。
之後可以再看看怎麼處理 ...
目前中文的第八章講智能合約
https://github.com/cypherpunks-core/ethereumbook_zh/blob/master/%E7%AC%AC%E5%85%AB%E7%AB%A0.asciidoc
內容與原文第七章(https://github.com/ethereumbook/ethereumbook/blob/develop/07smart-contracts-solidity.asciidoc)近似,
不過這之間不完全一樣。有多一點少一點的狀況。
另外,原文 第8章及第9章也是講Smart Contract , 目前是翻譯文沒有的章節。
原文第8章介紹 Vyper
https://github.com/ethereumbook/ethereumbook/blob/develop/08smart-contracts-vyper.asciidoc
原文第9章介紹 Smart Contract 的安全性,介紹了許多相關攻擊手法
https://github.com/ethereumbook/ethereumbook/blob/develop/09smart-contracts-security.asciidoc
第7章的部份,可以比對一下差別,有一些原文有的但翻譯文有的,也許可以保留下來,大概是變成額外的topic 。供未來的人可閱讀用.
目前的想法是,原文的 8,9 章是比較全新的東西,可以等之後較有空再來翻譯
在英文书 Mastering Ethereum 里,是使用 Data structures 而不是 Blockchain
Data structures
Ethereum's state is stored locally on each node as a database (usually Google's LevelDB), which contains the transactions and system state in a serialized hashed data structure called a Merkle Patricia Tree.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.