diff --git a/identity-wallet/setler-cli/src/actions/wallet.js b/identity-wallet/setler-cli/src/actions/wallet.js index efe7bf8..505322c 100644 --- a/identity-wallet/setler-cli/src/actions/wallet.js +++ b/identity-wallet/setler-cli/src/actions/wallet.js @@ -453,6 +453,23 @@ const exec = async (context) => { walletAddress = keys[networkParts[0]][networkParts[1]].address; } + if (network === "xrpl:livenet") { + log( + chalk.red( + `To fund this wallet you will need to transfer XRP to the address: ` + + chalk.blue(`${walletAddress}`) + + ` on ` + + chalk.magenta(`${network}\n`) + + " ".repeat(`To fund this wallet you will need to transfer XRP to the address: `.length) + + stringToColorBlocks(walletAddress, network) + + ) + ); + process.exit(1); + } + + + // input[2] could be {address}, in which case we should fund that address // ask for the address const response = await prompts([