Wallet from Scratch