以太坊Parity錢包安裝和配置

ubuntu安裝parity

方法一

git clone https://github.com/paritytech/parity

cd parity

cargo build --release(假如未安裝cargo,需要執(zhí)行 sudo apt install cargo)

方法二

Beta版:

bash <(curl https://get.parity.io -L)

穩(wěn)定版:

bash <(curl https://get.parity.io -L) -r stable

配置parity

# This config should be placed in following path:

# ~/.local/share/io.parity.ethereum/config.toml

[footprint]

# Compute and Store tracing data. (Enables trace_* APIs).

tracing = "on"

# Prune old state data. Maintains journal overlay - fast but extra 50MB of memory used.

pruning = "fast" # fast只會保存最新的狀態(tài),不會保存歷史狀態(tài),比如eth_getTransactionCount中第二個參數(shù)如果是需要獲取latest(最新的余額),就只需要fast模式就可以,如果要獲取最早的,earliest,或者任意歷史區(qū)塊狀態(tài)下的余額,就需要archive模式才可以獲取到

# Enables Fat DB

fat_db = "on"

[parity]

# Parity continously syncs the chain

mode = "active"

# Ethereum Classic

# chain = "classic" #(如果是以太坊經(jīng)典,需配置該項)

[rpc]

# Allows Cross-Origin Requests from domain '192.168.0.126'.

cors = ["192.168.0.126"]

# JSON-RPC will be listening for connections on IP 0.0.0.0.

interface = "0.0.0.0"

啟動parity

nohup parity>parity.log 2>&1 &

默認(rèn)數(shù)據(jù)目錄

~/.local/share/io.parity.ethereum

相關(guān)資料

配置文件

https://wiki.parity.io/Configuring-Parity

https://paritytech.github.io/parity-config-generator/

JSONRPC

https://wiki.parity.io/JSONRPC

parity錢包github地址

https://github.com/paritytech/parity/

引介 | 以太坊區(qū)塊鏈的大小不會在短時間內(nèi)超過1TB

https://ethfans.org/posts/the-ethereum-blockchain-size-will-not-exceed-1tb-anytime-soon

https://dev.to/5chdn/the-ethereum-blockchain-size-will-not-exceed-1tb-anytime-soon-58a

?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點,簡書系信息發(fā)布平臺,僅提供信息存儲服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容