You are viewing a single comment's thread from:

RE: Truffle实战指南

in #starnote4 years ago

在geth私有节点的基础上,另起一个节点,使用同样的创世区块设置。

  1. 新建目录:private2
  2. init.json //创世区块要一致
  3. geth init init.json --datadir .
  4. geth --datadir . --port 30302 --nodiscover --ipcdisable console
  5. net.peerCount //查看相连的节点
    admin.nodeInfo.enode //查看节点信息
    "enode://[email protected]:30302?discport=0"

Coin Marketplace

STEEM 0.16
TRX 0.13
JST 0.027
BTC 59601.30
ETH 2583.48
USDT 1.00
SBD 2.48