How Does a Cryptocurrency Wallet Work?