ethereum-network-automation
Advanced tools
Comparing version
{ | ||
"name": "ethereum-network-automation", | ||
"version": "1.2.11", | ||
"version": "1.2.12", | ||
"description": "Ethereum Network Automation is a toolkit for deploying and managing Ethereum PoA networks, offering authentic EVM environments and straightforward interaction with Geth and Docker", | ||
@@ -37,3 +37,3 @@ "main": "dist/main.js", | ||
"Ethereum development" | ||
], | ||
], | ||
"author": "Carlosn04", | ||
@@ -58,2 +58,2 @@ "license": "ISC", | ||
"homepage": "https://github.com/Carlosn04/peth-poa#readme" | ||
} | ||
} |
@@ -69,3 +69,3 @@ import path from 'path' | ||
'--discovery.v5', | ||
'--http', '--http.addr', params.httpIp, '--http.port', params.httpPort, '--http.corsdomain=*',// '"*"', | ||
'--http', '--http.addr', params.httpIp, '--http.port', params.httpPort, '--http.corsdomain=*', '--http.vhosts=*', | ||
'--verbosity', verbosity, | ||
@@ -72,0 +72,0 @@ ], |
@@ -86,20 +86,3 @@ import util from 'util'; | ||
async initAndDeployNetwork(chainId: number) { | ||
function drawContainer(label: string, status: string, color: (text: string) => string) { | ||
// Drawing the top of the container | ||
console.log(color('+-----------------+')); | ||
console.log(color(`| ${label.padEnd(13)}|`)); | ||
console.log(color('| |')); | ||
// Drawing the deployment status inside the container | ||
if (status === 'Deployed') { | ||
console.log(color(`| [${status}] |`)); | ||
} else { | ||
console.log(color('| |')); | ||
} | ||
// Drawing the bottom of the container | ||
console.log(color('+-----------------+\n')); | ||
} | ||
async initAndDeployNetwork(chainId: number) { | ||
console.log(chalk.blue(` | ||
@@ -106,0 +89,0 @@ ## . |
217266
-0.28%4107
-0.34%