I am getting this error and i am not sure what is the problem… Any ideas?
WARNING - [WinError 10061] No connection could be made because the target machine actively refused it
WARNING - address mjb7Azb3573iuMrMtgWEFdfiZjWWGyYTi7 has a balance of 0
INFO - Total cost will be 133500 satoshis
ERROR - Please add 133500 satoshis to the address mjb7Azb3573iuMrMtgWEFdfiZjWWGyYTi7
Traceback (most recent call last):
File “D:\Programs\Python\lib\runpy.py”, line 193, in run_module_as_main
“main”, mod_spec)
File “D:\Programs\Python\lib\runpy.py”, line 85, in run_code
exec(code, run_globals)
File "cert_issuer_main.py", line 21, in
cert_issuer_main()
File "cert_issuer_main.py", line 17, in cert_issuer_main
issue_certificates.main(parsed_config)
File “D:\New Projects\venv\lib\site-packages\cert_issuer-2.0.29-py3.6.egg\cert_issuer\issue_certificates.py”, line 36, in main
return issue(app_config, certificate_batch_handler, transaction_handler)
File “D:\New Projects\venv\lib\site-packages\cert_issuer-2.0.29-py3.6.egg\cert_issuer\issue_certificates.py”, line 16, in issue
transaction_handler.ensure_balance()
File “D:\New Projects\venv\lib\site-packages\cert_issuer-2.0.29-py3.6.egg\cert_issuer\blockchain_handlers\bitcoin\transaction_handlers.py”, line 51, in ensure_balance
raise InsufficientFundsError(error_message)
cert_issuer.errors.InsufficientFundsError: Please add 133500 satoshis to the address mjb7Azb3573iuMrMtgWEFdfiZjWWGyYTi7
address mjb7Azb3573iuMrMtgWEFdfiZjWWGyYTi7 has a balance of 0
cert_issuer.errors.InsufficientFundsError: Please add 133500 satoshis to the address mjb7Azb3573iuMrMtgWEFdfiZjWWGyYTi7
Just look for bitcoin testnet faucet online to credit the address.
your issuing address in the config file is mxyHBq5TD3bnq72UZGAMEi3Gpq1Dgr8JgS, the one the issuer seems to use is this one mz9csLgKKaPXi2QFeEvAjmQ72VQcEsCWSg. I have no idea which wallet is loaded in your bitcoin-cli so I’ll have to trust you are confident it’s the same one as in your config file.
The only point I can drag your attention to is the pk_issuer.txt file. There you need to put the WIF format of the private key associated with the address you want to issue from. It’s not well documented I will try and update that soon.
By the way the address keeps changing between your messages, if you want proper support please try to maintain consistency or else I am just shooting in the dark.