ethereum-network-automation
Advanced tools
Comparing version
@@ -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 |
{ | ||
"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", |
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
207371
0.59%4004
0.63%