Objective
To create at the least a watch solely pockets performance in python. I’ll incorporate sending sats sooner or later as properly.
Element
I’ve already shared the code (in Python) on my GitHub. Searching for some suggestions and attempting to make clear some ideas that I’m lacking.
You can provide any concepts, however the particular questions I’ve are right here. I’m a complete noob within the Bitcoin world, so some clarification can be appreciated.
Questions
- Does the
bitcoinlib
Python library interface with the actual Bitcoin blockchain? I perceive there’s something like a check chain the place I can get free testing cash. However any tutorial on learn how to use it, particularly with the Python library? - I generated the seed phrases in
knowledge/seed.txt
utilizing Blue Pockets (BW), and the XPUB uncovered by BW matches the one returned byCustomWallet.get_xpub
methodology. However the receiving handle from BW is not matching theCustomWallet.get_address
methodology. What does it imply? I perceive beneath an XPUB there are a number of (infinite?) receiving addresses, is that the rationale? - If I ship sats to an handle generated by the
CustomWallet.get_address
, will it present up in my Blue pockets if initialised with the identical seed? And vice versa? - Ought to
pockets.transactions(include_new=True)
give me the unconfirmed transactions? I’ve an unconfirmed transaction (on the actual blockchain, I despatched from my Trezor), however it’s not displaying up after I name the tactic with Python. - Ought to the
Pockets.stability()
methodology present the actual stability within the pockets within the blockchain? I’ve transferred some quantity into the pockets, that BW is displaying, however my code says the stability is zero. What provides? - What can be one of the simplest ways to check sending and receiving a number of transactions through code, resembling the actual Blockchain’s behaviour as a lot as attainable however with out losing my sats?