generate_wallet
Function
Description
Prepare an empty list of accounts
Loop based on desired amount of wallets to generate
Create a new account/wallet
Encrypt the keystore for based on the SECRET found in “.env”
Set the wallet folder for the public key
Create the parent wallet folder if it doesn’t exist
Create the public key folder if it doesn’t exist
Save the account’s keystore
Add the account to the list
Return the list of accounts