Aim
To create no less than 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. On the lookout for some suggestions and attempting to make clear some ideas that I’m lacking.
You may give 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 take a look at chain the place I can get free testing cash. However any tutorial on how one can use it, particularly with the Python library? - I generated the seed phrases in
information/seed.txt
utilizing Blue Pockets (BW), and the XPUB uncovered by BW matches the one returned byCustomWallet.get_xpub
methodology. However the receiving deal with 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 deal with 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 isn’t displaying up once I name the strategy 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 best ways to check sending and receiving a number of transactions by way of code, resembling the actual Blockchain’s behaviour as a lot as doable however with out losing my sats?