天天看點

EOS節點搭建

EOS節點搭建

前言

github 位址:

https://github.com/EOSIO/eos

安裝包下載下傳位址:

https://github.com/EOSIO/eos/releases

文檔位址:

https://developers.eos.io/eosio-home/docs

下載下傳與安裝

源碼安裝

tar.gz 安裝

下載下傳并解壓

tar -zxvf eosio-1.8.2.mojave.bottle.tar.gz      

rpm 安裝

sudo yum install ./eosio-1.8.2-1.el7.x86_64.rpm      

啟動 keosd

keosd &      

啟動 nodeos

nodeos -e -p eosio \
--plugin eosio::producer_plugin \
--plugin eosio::chain_api_plugin \
--plugin eosio::http_plugin \
--plugin eosio::history_plugin \
--plugin eosio::history_api_plugin \
--access-control-allow-origin='*' \
--contracts-console \
--http-validate-host=false \
--verbose-http-errors >> nodeos.log 2>&1 &      

檢測 nodeos 是否生成塊

tail -f nodeos.log      

檢測錢包

cleos wallet list      

檢測 nodeos 端點

curl http://localhost:8888/v1/chain/get_info      

rpm 解除安裝

sudo yum remove eosio      

繼續閱讀