Ethereum 基礎介紹
王銘德
ming@log4analytics.com
4/27/2016
聽眾調查
- 手上有 Bitcoin 的人 <-> 手上有 Ether 幣的人
- 會寫程式的人 <-> 不會寫的人
- 知道 blockchain 是什麼的人 <-> 想知道的人
- 想寫 smart contracts 程式的人 <-> ...
今天演講内容
- Why Ethereum?
- What's the Difference Between Bitcoin and Ethereum Networks?
- What is BlockChains?
- How to create an Ethereum Account?
為何要用 Ethereum?
- Same reasons as why 悠遊卡, 支付寶, or PayPal, but more than that
- Not just another 3rd party (p2p) payment
- Open Source, more secure!
- 没人可以搞鬼, 所有 blocks 公開
- 没有人可以主導, 卻又有公信力
- Why not just to use Bitcoin?
- 它多了 Smart Contracts
- and more...
- 為何銀行會怕? (why banks scare?)
銀行電匯
台灣的銀行
- 手續費 NTD$ 100
- 郵電費 NTD$ 220
100 + 220 = 320 台幣 +
美國的銀行 USD18 = 594 台幣
Ethereum
Tx Cost
- Gas Price: 2e-8 Ether
- Gas Used: 21,000
- Tx Price: 0.00042 Ether
0.00042 * 10 * 33 = 0.14 台幣
6528 倍
*還有, PayPal 也是過氣, 2.9% 手續費 + 30 cents, 瘋了!跟信用卡 (Visa, MasterCard) 一樣貴了
The Cost of Remit Some Money to US
Bitcoin
10 mins per block
1 BTC ~= 417 USD
Adam Back hashcash
HR: 1,201,761,024 GH/s
Diff: 165,496,835,118
Block Reward: 25 BTC
Reward: 12.50 (in 2017)
BTC
0.0000968 US$ (R7 240 card)
Ethereum
15 sec per block
1 ETH ~= 10 USD
Ethash (a modified version of Dagger-Hashimoto )
HashRate (1,443 GH/s)
Diff: 21.04 TH/s (from 8)
Block Reward: 5.00588 ETH
Smart Contracts ready
Ether, Gas, Uncle?, Wei
12.5 US$/ 月 (R7 240 card)
不同在哪裡?
Blockchains
區塊鏈
- 所有的 miners 去算下一個 block 的 hash 值, 前面最多個零小過一個數, 就赢得該次獎金!
- 每個 block 包含上一個 block 的 hash 值, 再去做 hash
- 每個 block 裡有這次所有交易資料或 smart contracts 的程式譯碼
- 這些獎金哪裡來?
Blockchains
Blockchain上面就可以做很多事情了:
https://agenda.weforum.org/wp-content/uploads/2015/11/151103-blockchain-bitcoin-technology-banking-fintech-FT.png
- 電子錢包
- p2p 支付
- Nasdaq
- 荷蘭央行 (DNBcoin)
- 英國央行
- IBM HyperLedger
- 微軟收 bitcoin
但荷蘭中央銀行將不會用來取代歐元貨幣,或是成為比特幣的替代品。荷蘭中央銀行的主要目的是用來進一步了解區塊鏈技術,因此希望可以用來說明這個技術的未來發展是否可以用來節省金融世界的時間與運作成本的。
"[Blockchain technologies] can affect the revenue models [of] banking systems, they can also benefit with new ways to generate revenue and [reduce] costs."
問題是: Any Bitcoin Mining Pool > 50%
Create Your Account!
Check Your Balance:
https://etherscan.io/address/0x1BdCF987Bf8488E2Cb35d507330C7936399c103B
MyEtherWallet
https://www.myetherwallet.com/
or
docker pull mingderwang/docker-ether-wallet/
What's Next?
- 用 Slack 跟 HackPad 來線上討論
- 等大家都有帳號跟一點點錢在"口袋裡"
- 下次才能開始教大家寫 smart contracts
歡迎參加
Taipei Ethereum Meetup #2 5/6/2016
Copy of EtherTW
By Ming-der Wang
Copy of EtherTW
- 1,343