http://www.7klian.com

从零构建基于以太坊钱包 Parity 同盟链

"0x0000000000000000000000000000000000000001": {
"authorityRound": {
"pricing": {
port = 8181
"method":"parity_addReservedPeer",
Copyright 2015, 2016, 2017 Parity Technologies (UK) Ltd
"builtin": {
}
},
}
"0x00 Bd138aBD70e2F00903268F3Db08f2D25677C9e"
"list": [

node1.toml 修改如下:

}

五、启动 Authority node

最新版

"name": "identity",
"jsonrpc":"2.0",

"balance": "1",
"0x0000000000000000000000000000000000000001": {
base_path = "parity0"

"params":["enode://cfb3af513da3a7a8138450f0dc01fa38cb2ac837744dc645038940287f4dce3f416f0e7e17fd10619
port = 8457
"linear": {
"gasLimitBoundDivisor": "0x0400",
"name": "ripemd160",

配置账号

"linear": {
"validators": {

brew install parity --stable

--dport:指定 Parity 的 network port,可用来让其他 node 毗连

配置两个节点

"step": "0x0",
"0x0000000000000000000000000000000000000003": {
reseal_on_txs = "none"

interface = "192.168.1.5"
"name": "DemoPoA",
engine_signer = "0x00F9 B30838ca40c8A53c672840acbDec6fCDb180"
"accounts": {
"jsonrpc": "2.0",
"signature": "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000"

brew reinstall parity

port = 8180
"minGasLimit": "0x1388",
}
There is NO WARRANTY, to the extent permitted by law.

"builtin": {

如官网所示,The fastest and most secure way of interacting with the Ethereum blockchainParity 是最快最安详的钱包。

[websockets]

第二步:配置 node1 的账号,启动 parity --config node1.toml。步调沟通,毗连到 :8181 ,pass phrase 利用 node1。

},
"linear": {
}
[ui]
}

除了打一长串的指令外,Parity 也提供更为简捷的 config 档案设定方法,利用 --config 即可引用设置文件。

```

password = ["node.pwds"]
"engine": {

Authority account:0x00F9 B30838ca40c8A53c672840acbDec6fCDb180

}
再将 user account 插手 accounts,並给一些 balance,后续可以利用。
"balance": "1",
}
]

郑重声明:本文版权归原作者所有,转载文章仅为传播更多信息之目的,如作者信息标记有误,请第一时间联系我们修改或删除,多谢。

相关文章阅读