Added BTC support to wallet.php