1. 程式人生 > >centos 7 parity 安裝方法

centos 7 parity 安裝方法

1.選擇parity 安裝包  

2.建立一個parity目錄 直接右鍵複製連結地址 使用linux  wget下載

3. 安裝parity rpm -ivh parity_1.8.11_centos_x86_64.rpm

4.先執行一下parity錢包 命令 parity  在ctrl+c 終止 這樣就生成了 parity 目錄  目錄在 /root/.local/share/io.parity.ethereum

5.設定配置檔案 進入/root/.local/share/io.parity.ethereum 目錄  建立配置檔案 vim config.toml

base_path="/parity/Ethereum" 配置主目錄 db_path = "/parity/Ethereum/chains" 區塊資料 keys_path ="/parity/Ethereum/keys" 賬戶

下面是配置檔案

[parity] mode = "last" mode_timeout = 300 mode_alarm = 3600 auto_update = "critical" release_track = "current" public_node = false no_download = false no_consensus = false no_persistent_txqueue = false

base_path="/parity/Ethereum" db_path = "/parity/Ethereum/chains" keys_path ="/parity/Ethereum/keys" [rpc] disable = false port = 8545 interface = "local" apis = ["web3", "eth", "net", "parity", "traces", "rpc", "secretstore", "personal"]

[ui] interface = "all" port = 8180

[websockets] disable = false port = 8546 interface = "all" apis = ["web3", "eth", "pubsub", "net", "parity", "parity_pubsub", "traces", "rpc", "shh", "shh_pubsub"]

6.在 執行 parity  1M網路2個小時左右就同步完成了