LoginSignup
0
0

More than 5 years have passed since last update.

NEO-CLI設定ファイル(PC1台で起動する場合)

Last updated at Posted at 2019-02-19

プライベート環境にNEOのブロックチェーンを構築する場合最低4ノードを立ち上げる必要があります。実機やVirtualBoxでノードを作成するのはさすがに面倒なので、localhostに4ノードを構築できる設定ファイルを作成しました。

protocol.json
{
  "ProtocolConfiguration": {
    "Magic": 1704630,
    "AddressVersion": 23,
    "StandbyValidators": [
      "03f32d62f2da4b077e3ff9255c8cd4c3fe51475fc3711480dce960000ffdc2e90e",
      "0269745d8a00af55ac17c9b54ddb52d497a44dabd6b46e10b81002d68816a1322e",
      "039100c3a54f904f1573abcf449672c69e3f00bd737a5a7a64dcb2eec8a36e4f30",
      "03498475d1a29153e2ee0e7e679f380b457a95585f190b4573f6f659479915e7de"
    ],
    "SeedList": [
      "localhost:10333",
      "localhost:20333",
      "localhost:30333",
      "localhost:40333"
    ],
    "SystemFee": {
      "EnrollmentTransaction": 0,
      "IssueTransaction": 0,
      "PublishTransaction": 0,
      "RegisterTransaction": 0
    }
  }
}
config.json
{
  "ApplicationConfiguration": {
    "Paths": {
      "Chain": "Chain_{0}",
      "ApplicationLogs": "ApplicationLogs_{0}"
    },
    "P2P": {
      "Port": 10333,
      "WsPort": 10334
    },
    "RPC": {
      "Port": 10332,
      "SslCert": "",
      "SslCertPassword": ""
    },
    "UnlockWallet": {
      "Path": "",
      "Password": "",
      "StartConsensus": false,
      "IsActive": false
    }
  }
}

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0