UNPKG

deth

Version:

Ethereum node focused on Developer Experience

47 lines (46 loc) 2.11 kB
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const bn_js_1 = __importDefault(require("bn.js")); const Path_1 = require("../fs/Path"); const lodash_1 = require("lodash"); exports.DEFAULT_NODE_CONFIG = { accounts: { privateKeys: [ // mnemonic: sunset setup guard source about taste volume clown method shield height butter '0x7045641ca116966a2bd5cd118bc001873ef025e5be60de68237e036fb5be1a58', '0x549eb2b0ccc7470fa3055fe08174485cd6f08cbf624cc1763721c598dfc517f8', '0x055d98781b373754affd58588759d3232c79512b454a02c2c680ccf90c8f735c', '0x5eb5c55ca38bf026083d7f6ac0c02f7315394f2564e5277ca48a5b1ebd182e54', '0x5db7ebd2ec315268b67966a2f67263b0299e584190f9ffae11f70ef24fbf27c7', '0xa2f4c1f521723baa3512df7fcfa4acc04cf9e4357f89413ca425047cc5832a73', '0x8af7a8dae4d9a1f5bea17f028cfa4fd435170ebe290c80c5b94de9cc77b26a85', '0xca07932c66f6600fc326e6c3845743a5e3b1c224f4b0d43d48004490de6d9a4d', '0x12a4fd3f2d9ad98ede42228b5a885c8adc95daf8c36eadb9aafe40cb3bbeb02e', '0x7492f9da2b92d144da51bdfda426645f3af0f7388b2bd47ae9bf91cae111519a', ], initialBalance: new bn_js_1.default(10).pow(new bn_js_1.default(20)), }, blockchain: { hardfork: 'petersburg', blockGasLimit: new bn_js_1.default(10000000), defaultGasPrice: new bn_js_1.default(1000000000), coinbaseAddress: '0xdEadBeEf00000000DeADBeef00000000dEAdBeeF', chainId: 1337, chainName: 'deth/0.0.1', autoMining: true, clockSkew: 0, skipNonceCheck: true, skipBalanceCheck: false, }, debugger: { abiFilesGlob: undefined, }, cwd: Path_1.makePath(process.cwd()), }; function getConfigWithDefaults(options = {}) { return lodash_1.merge({}, exports.DEFAULT_NODE_CONFIG, options); } exports.getConfigWithDefaults = getConfigWithDefaults;