From c312f987e9672b511ce13688e42434a602f9f34a Mon Sep 17 00:00:00 2001 From: Five <89442486+PayFv@users.noreply.github.com> Date: Wed, 17 Jan 2024 14:26:30 +0800 Subject: [PATCH] change to holesky. --- commands/faucet.js | 2 +- utils/sendNetworkToken.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/faucet.js b/commands/faucet.js index afda63e..0861225 100644 --- a/commands/faucet.js +++ b/commands/faucet.js @@ -21,7 +21,7 @@ module.exports = { if (receipt.status === 'success') { const embed = new EmbedBuilder() .setColor('#3BA55C') - .setDescription(`[View on Goeril etherscan](https://goerli.etherscan.io/tx/${receipt.message})`); + .setDescription(`[View on holesky etherscan](https://holesky.etherscan.io/tx/${receipt.message})`); return interaction.followUp({ content: 'Transaction for DVT token created.', embeds: [embed] }); } return interaction.followUp('Failed to send DVT token'); diff --git a/utils/sendNetworkToken.js b/utils/sendNetworkToken.js index b4c364f..b940fb5 100644 --- a/utils/sendNetworkToken.js +++ b/utils/sendNetworkToken.js @@ -24,7 +24,7 @@ module.exports = async (toAddress) => { web3.eth.sendSignedTransaction(signedTX.rawTransaction) .on('transactionHash', (hash) => { - console.log(`Transaction: https://goerli.etherscan.io/tx/${hash}`); + console.log(`Transaction: https://holesky.etherscan.io/tx/${hash}`); resolve({ status: 'success', message: hash }); }) .on('error', (error) => {