Go to Settings -> Options -> Network. Connect through Proxy. IP: 127.0.0.1 Port: 9150 SOCKS Version: 5 Note: the port is 9150, not 9151, the latter is the ControlPort, which is something different from the SocksPort. Common mistake. The keys are stored in ~/.bitcoin/wallet.dat The transaction history is stored in the block chain and can't be erased. That's sort of the point of the block chain.