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.7

29

dist/cli.js

@@ -29,2 +29,3 @@ #!/usr/bin/env node

const child_process_1 = require("child_process");
const main_1 = require("./main");
// Utility function to check for command presence

@@ -57,4 +58,4 @@ function hasCommand(params) {

if (!isNaN(chainId)) {
// pethPoa.docker.initAndDeployNetwork(chainId)
console.log('network', chainId);
main_1.pethPoa.docker.initAndDeployNetwork(chainId);
// console.log('network', chainId)
}

@@ -103,2 +104,26 @@ else {

}
// else if (hasCommand({ command: 'nodes', options: ['get'] })) {
// '- **Bootstrap**:
// - **`"0xCeB5ca48b5DE1839379FAEDD0572F7D59B279749"`**
// - **`"0x3DACb6190a02bB8762b769fA3805A53ced2daecD"`**
// - **`"0xeA9c0401958De72D6ccED22dA3134e296282fc1b"`**
// - **Signer**:
// - **`"0x64fB496Bbfd447Dba254aFe4E28a325cb19ec25f"`**
// - **`"0x6D327167519f708706CaA82c22A51f9170E3dE0F"`**
// - **`"0x593137Db85160Ae8E9047f539141DD04d5251381"`**
// - **RPC**:
// - **`"0x46198b00f237407133da9CcFb2D567dF159284D4"`**
// - **`"0xec326126b342dbEa16FFe17c401bE6560B524d69"`**
// - **`"0xEEA50912a99B1F8D4E94565f9e44c30A1a961caa"`**
// - **Member**:
// - **`"0xBa551f402cfC912482cB15466641E6FC3B2D63f2"`**
// - **`"0x8D9711f5793A1122dB151568FA67DacCC16B2326"`**
// - **`"0x46B7954f9FA8992bE5B27c3de46A87F83314Bb25"`**'
// if (chainId && nodeType && address) {
// // Example: Add a Docker node
// console.log(`Removing Docker node: Type: ${nodeType}, Chain ID: ${chainId}, Address: ${address}`);
// } else {
// console.error('Error: Missing required options for --docker --node command.');
// }
// }
else if (hasCommand({ command: 'network', options: ['reset'] })) {

@@ -105,0 +130,0 @@ // Assuming a command to reset network

2

package.json
{
"name": "ethereum-network-automation",
"version": "1.2.6",
"version": "1.2.7",
"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",

@@ -5,0 +5,0 @@ "main": "dist/main.js",