From 37c91b3e8fc940a112ed07aea229493f321c09ad Mon Sep 17 00:00:00 2001 From: krystal Date: Wed, 30 Oct 2024 11:50:10 -0700 Subject: [PATCH 1/2] Update 01-dotenv-app.js updated script with the correct portal faucet link and American english --- util/01-dotenv-app.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/util/01-dotenv-app.js b/util/01-dotenv-app.js index ecdeb38..73dc481 100755 --- a/util/01-dotenv-app.js +++ b/util/01-dotenv-app.js @@ -36,7 +36,7 @@ async function initDotEnvForApp() { scriptId: 'initDotEnvForApp', scriptCategory: 'setup', }); - logger.logStart('Initialise .env file - start'); + logger.logStart('initialize .env file - start'); // prompt for inputs const { allowOverwrite1stChar, dotEnvText, accounts } = await promptInputs(); @@ -51,7 +51,7 @@ async function initDotEnvForApp() { logger.log('Leave as-is .env file'); } - logger.logComplete('Initialise .env file - complete'); + logger.logComplete('Initialize .env file - complete'); } function constructDotEnvFile({ @@ -144,14 +144,14 @@ async function promptInputs() { do { if (restart) { console.error( - "\n❌ Invalid input values detected, the '.env' file has not been initialised.", + "\n❌ Invalid input values detected, the '.env' file has not been initialized.", ); logger.log('Restarting the interactive prompts', CHARS.HELLIP); } logger.logSectionWithoutWaitPrompt( 'Please enter values requested, or accept defaults, in the interactive prompts below.', ); - logger.log("These will be used to initialise the '.env' file.\n"); + logger.log("These will be used to initialize the '.env' file.\n"); restart = false; let use1stAccountAsOperator = false; @@ -327,7 +327,7 @@ async function promptInputs() { ); logger.log( 'If this account has not yet been created or funded, you may do so via', - ...logger.applyAnsi('URL', 'https://faucet.hedera.com'), + ...logger.applyAnsi('URL', 'https://portal.hedera.com/faucet'), ); logger.log('(Simply enter a blank value when this account is ready)'); await rlPrompt.question('> '); // discard the response, no use for it From 225f31fe6f817594b6d1a3e55f22282a7c29c859 Mon Sep 17 00:00:00 2001 From: krystal Date: Wed, 30 Oct 2024 11:53:53 -0700 Subject: [PATCH 2/2] Update 02-dotenv-rpcrelay.js --- util/02-dotenv-rpcrelay.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/02-dotenv-rpcrelay.js b/util/02-dotenv-rpcrelay.js index ccda66d..11839f8 100755 --- a/util/02-dotenv-rpcrelay.js +++ b/util/02-dotenv-rpcrelay.js @@ -19,7 +19,7 @@ async function initDotEnvForRpcRelay() { scriptCategory: 'setup', }); logger.logStart( - 'Hello Future World - Initialise RPC Relay .env file - start', + 'Hello Future World - initialize RPC Relay .env file - start', ); // read in initial values for env variables that have been set @@ -49,7 +49,7 @@ MIRROR_NODE_URL=https://testnet.mirrornode.hedera.com/ logger.log('OK, wrote .rpcrelay.env file'); logger.logComplete( - 'Hello Future World - Initialise RPC Relay .env file - complete', + 'Hello Future World - initialize RPC Relay .env file - complete', ); }