You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`⚠️ Warning! This key will be stored in plaintext on your filesystem. (${path.join(this.config.configDir, "config.json")})\nYou may alternatively set the AIRSWAP_CLI_PRIVATE_KEY environment variable.\n`,
);
let key: string;
try {
const input: any = await get({
key: {
description: "Private key",
type: "Private",
hidden: true,
},
});
key = input.key;
} catch (e) {
this.log("\n\nCancelled.\n");
process.exit(0);
}
const wallet = new ethers.Wallet(key);
await updateConfig(this, {
key,
});
this.log(
`\n${emoji.get("white_check_mark")} Set account to address ${chalk.bold(