Ethereum Blockchain
- How does Ethereum work, anyway? (中文翻譯)
- Ethereum block architecture (Source file: BlockchainIllustrations)
Smart Contract
- Ethereum Smart Contract Security Best Practices
- RBAC-SC: Role-Based Access Control Using Smart Contract
- Decentralized Application Security Project
- Reentrancy
- Access Control
- Arithmetic
- Unchecked Low Level Calls
- Denial of Services
- Bad Randomness
- Front Running
- Time Manipulation
- Short Addresses
- Unknown Unknowns
Solidity
- Learn X in Y minutes, where X=Solidity
- Truffle The most popular Ethereum development framework
- Truffle Boxes example applications and project templates
- 什麼是智能合約(Smart Contract)?
- 如何撰寫智能合約(Smart Contract)?(I)
- 如何撰寫智能合約(Smart Contract)?(II)建立加密代幣
- 如何撰寫智能合約(Smart Contract)?(III)建立標準代幣
- OpenZeppelin a framework to build secure smart contracts on Ethereum
- Ethereum 智能合約開發筆記:編譯和部署合約的第一種姿勢 - 使用 Remix
- Ethereum區塊鏈!智能合約(Smart Contract)與分散式網頁應用(dApp)入門
- 區塊鏈技術-智能合約Solidity編程語言
亂數
由於區塊高度、timestamp 等不算是真正隨機亂數,可以加上 sender address 並 hash 過來增加亂度
Struct
struct Kitty {
uint256 genes;
uint64 birthTime;
uint16 generation;
}
Modifier
modifier onlyOwner {
require (msg.sender == owner);
_;
}
Samples
- EtherTW/LogoVote2017
- EtherTW/tickets A Dapp for meetup tickets
- Taiwan Digital Token (TWDT-ETH)
- ICO-tutorial
- Binance BNB contract
- GolemToken Contract
Multi-Signature Wallet
Vyper
New experimental programming language
EIPs
ERC20 Token Standard
- GitHub Issue - ERC: Token standard #20
- GitHub Issue - ERC20 Token Standard #610
- ERC20 Token使用手冊
- Ethereum ERC20 Token Standard 以太坊代幣標準介紹
- Understanding ERC-20 token contracts
- LikeCoin 代幣付款委託
ERC165
ERC223 token standard
If the receiver is a contract, ERC223 token contract will try to call tokenFallback function on receiver contract. If there is no tokenFallback function on receiver contract transaction will fail.
會造成 false positive 的結果而未被採用。
Istanbul Byzantine Fault Tolerance #650
ERC677
Non-fungible Token Standard #721
ERC777
ERC865: Pay transfers in tokens instead of gas, in one transaction
Ability for token holders to pay transfer transactions in tokens instead of gas, in one transaction.
ERC875 for non fungible tokens and simple atomic swaps
- ERCTokenImplementation
- ERC875, a new standard for non fungible tokens and cheap atomic swaps
- ERC875 Token Factory
ERC: Crypto Item Standard #1155
A standard interface for multiple item/token definitions in a single deployed contract.
Some White Papers
- JOYSO
- Muzeum
- CryptoDT - TWDT-ETH
- CyberMiles: A Next Generation Blockchain Protocol for Business Transactions
- DEXON - zh-TW
- Like Coin
- Event Token
- HashNET: Beyond Blockchain Technology - 2018-02
- HashFuture
- Ubex: Artificial Intelligence in Advertising
- Electronic PK Chain
Decentralized Autonomous Organization (DAO)
Dapp
HD Wallet
一組主私鑰建立許多子私鑰,透過一份seed產生多組子私鑰,轉移錢包時只需要主私鑰。
- BIP32 Hierarchical Deterministic Wallets
- BIP44 Multi-Account Hierarchy for Deterministic Wallets
- 提供 5 個階層,包括多幣種
m / purpose' / coin_type' / account' / change / address_index
- HD Wallet
- 【加密貨幣錢包】從 BIP32、BIP39、BIP44 到 Ethereum HD Wallet
- So you want to build an Ethereum HD wallet?
Mnemonic code
列出錢包助記詞及產生規則。
Geth
- Geth 基礎用法及架設 Muti-Nodes 私有鏈
- 操作 macOS 的 Mist App 內的 Geth
~/Library/Application\ Support/Mist/binaries/Geth/unpacked/geth attach ~/Library/Ethereum/geth.ipc
->net.peerCount
可以顯示目前連接的 peer 數量 - Infura - Your Access to the Ethereum Network
- 除了自己用 geth 架一個以太坊節點,也可以用其他人的節點來測試或遞送交易
Other
- 從程序員角度解釋什麼是區塊鏈的智能合約
- Samson’s Blog - 區塊鏈
- Fukuball Murmur - Ethereum
- EVM架構簡析和源碼分析
- 給工程師的 ETH 2.0 指南
- 以太坊共筆
Wallet
- Blockchain private key management library on iOS - consenlabs/token-core-ios
DAICO: DAO + ICO
- Explanation of DAICOs
- DAO + ICO = DAICO by Preetam Rao
- DAO + ICO = DAICO – a new way to raise funds
- 【什麼是 DAICO ?】Vitalik Buterin 提出新的 ICO 概念,目前正在測試中
Parity
Ethereum Name System
- A beginner’s guide to buying an ENS domain
- How To Assign your Ethereum Name Service Address To Your Ethereum Wallet
Casper The Friendly Finality Gadget
Proof of stake on Ethereum.
https://vitalik.ca/files/casper_note.html
https://github.com/ethereum/research/blob/master/papers/casper-basics/casper_basics.pdf
https://github.com/ethereum/casper
Ether Cards
提供一組錢包,但預設私鑰是隱藏起來的,送禮的人可以放錢進去後,將卡片送人,收禮的人可以刮開私鑰然後將裡面的虛擬貨幣提領出來。