項目簡介
github: https://github.com/EOSIO/eos
EOS其實是相當(dāng)于升級版的以太坊,支持每秒數(shù)百萬筆交易。
以太坊智能合約是收費的,而EOS免費,APP的開發(fā)者可根據(jù)擁有的EOS代幣的數(shù)量來使用系統(tǒng)的存儲資源。
使用DPOS共識機制,不需要挖礦,不易產(chǎn)生分叉;而比特幣和以太坊使用PoW挖礦,出礦就很慢。
MAC安裝
- git clone https://github.com/EOSIO/eos --recursive
- git checkout vDAWN-2018-02-14
- 安裝sh腳本安裝 或者 文檔里的流程都可以
- 安裝遇到編譯不過問題處理
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
EOS_LIBBSONCXX
linked by target "db_plugin" in directory /Users/x/x/x/eos/plugins/db_plugin
EOS_LIBMONGOCXX
linked by target "db_plugin" in directory /Users/x/x/x/eos/plugins/db_plugin在cmake命令加上參數(shù)
-DEOS_LIBBSONCXX=/usr/local/lib/libbsoncxx.dylib - DEOS_LIBMONGOCXX=/usr/local/lib/libmongocxx.dylib - 編譯成功后進入/Users/tiger/eos/build/programs/eosd
- 運行 ./eosd
- 報錯后 修改data-dir/config.ini 參考github文檔
- 再次運行./eosd 運行成功