Acces Casa full node with Python

0

I have a bitcoin-core full node running and I want to access my node in Python, how can I retrieve the blockchain info?

kristofpouls

Posted 2019-09-14T07:05:52.537

Reputation: 1

Do you using bitcoin core?vincenzopalazzo 2019-09-14T08:00:26.430

Yes I have bitcoind and bitcoin-cli installedkristofpouls 2019-09-14T10:18:35.193

I added new answervincenzopalazzo 2019-09-14T10:41:27.163

Answers

1

You can use RPC bitcoin framework for creating the request to the node to get information.

With python exist more library, I preferer this python-bitcoinrpc but a list the library is here

For configuring the node to accepting the request look this reference

other util references

vincenzopalazzo

Posted 2019-09-14T07:05:52.537

Reputation: 572

I try to establish a rpc connection with the AuthServiceProxy method from bitcoinrpc with the following parameters: AuthServiceProxy ("http://casa-node.lan:mycasapassword@mycasaip:8332") but I get no acces.

kristofpouls 2019-09-16T10:16:45.267

Do you have an error in the stack-trace python? if you want an example for using the library, I wrote this simple script for creating a simple console GUI this is the code if you have an error with my code, please public your bitcoin.conf and your bitcoin configuration

vincenzopalazzo 2019-09-16T12:14:47.250