/ config / blockchain.js
blockchain.js
 1  module.exports = {
 2    development: {
 3      enabled: true,
 4      networkType: "custom",
 5      networkId: "1337",
 6      isDev: true,
 7      genesisBlock: "config/development/genesis.json",
 8      datadir: ".embark/development/datadir",
 9      mineWhenNeeded: true,
10      nodiscover: true,
11      maxpeers: 0,
12      rpcHost: "localhost",
13      rpcPort: 8545,
14      rpcCorsDomain: "auto",
15      rpcApi: ['eth', 'web3', 'net', 'debug', 'personal'],
16      proxy: true,
17      account: {
18        password: "config/development/password",
19        numAccounts: 3,
20        balance: "5 ether"
21      },
22      targetGasLimit: 10000000000,
23      wsOrigins: "auto",
24      wsRPC: true,
25      wsHost: "localhost",
26      wsPort: 8546,
27      wsApi: ['eth', 'web3', 'net', 'shh', 'debug', 'personal'],
28      simulatorMnemonic: "example exile argue silk regular smile grass bomb merge arm assist farm",
29      simulatorBlocktime: 0
30    },
31    testnet: {
32      enabled: true,
33      networkType: "testnet",
34      light: true,
35      rpcHost: "localhost",
36      rpcPort: 8545,
37      rpcCorsDomain: "http://localhost:8000",
38      account: {
39        password: "config/testnet/password"
40      }
41    },
42    livenet: {
43      enabled: true,
44      networkType: "livenet",
45      light: true,
46      rpcHost: "localhost",
47      rpcPort: 8545,
48      rpcCorsDomain: "http://localhost:8000",
49      account: {
50        password: "config/livenet/password"
51      }
52    },
53    privatenet: {
54      enabled: true,
55      networkType: "custom",
56      rpcHost: "localhost",
57      rpcPort: 8545,
58      rpcCorsDomain: "http://localhost:8000",
59      datadir: "yourdatadir",
60      networkId: "123",
61      bootnodes: ""
62    }
63  }