I have a need for the following:
1) ability to create wallets
2) send/receive payments
3) check wallet balances
4) can work in mainnet and testnet
Since my blockchain goals are minimal, I would like to skip having to run a full bitcoin node and thus am looking for a more thin-client-like solution.
So far I've tried
python_bitcoinrpc, but they don't seem to work together:
electrum --testnet setconfig rpcport 18332 electrum --testnet setconfig rpcuser user1 electrum --testnet setconfig rpcpassword tests123 electrum --testnet daemon start
from bitcoinrpc.authproxy import AuthServiceProxy, JSONRPCException rpc_connection = AuthServiceProxy("http://user1:email@example.com:18332") print(rpc_connection.getinfo())
and always get I always get
bitcoinrpc.authproxy.JSONRPCException: -342: non-JSON HTTP response with '200 OK' from server
Could you please suggest whats the most mainstream way of achieving those goals with python?