It generates a random seedphrase and checks their p2sh, p2wphk and p2pkh addresses. Can ofcourse remove some if you only want to check 1 or 2 types of wallet addresses. Loops until it finds a wallet with a BTC balance above 0. Prints address, balance, and seedphrase. Check screenshot.