Self-Custodial Wallets: Ensuring Security and Privacy