You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

ethereum-network-automation

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ethereum-network-automation - npm Package Compare versions

Comparing version

to
1.2.12

6

package.json
{
"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 @@ ## .