A script that generates random 12 words mnemonic, derives the address and check for balance.
Run npm i
Create a .env
file in the root directory
The env file should look like this (the Sendgrid api key is not mandatory):
ETHEREUM_PRC_NODE =
SENDGRID_API_KEY =
this.message = {
to: null,
from: null,
subject: '[Wallet Scan Script] - New wallet found',
text: '',
}
npm start
The wallet information (mnemonic, address, amount of tokens held) is displayed in the console.
If the Sendgrid API key is set, the script sends an email.