A new direction for my python blockhain coding
So my last few update posts have been about a specific python hive tutorial called submit posts, which has caused me so many troubles. I have dealt with not knowing how to input a password, and then getting an error that I don't know how to fix. Even with outside help, I still do not fully know how to add my account to the python code or my computer to be able to submit a post, even though I have done it another way.
I have decided to abandon this course of work and I started looking at tutorials that could help me automate something that I plan to do later. This week I have worked on code that streams blockchain transactions live through the python terminal.
As shown above, the code looks at the current block and sees the type of transaction. Currently, the transaction is printed only if the type of transaction is a comment. The next if statement finds the distance between the parent author. If the length is 0, it means the comment is the parent author, which only happens when the author has created a post, so it uses the format seen above. For any other length, the author is a reply to the parent author so the format seen in the else statement should make sense. The end result of the code is seen below. Just to keep in mind, the code keeps running until the program is manually stopped.
Leave A new direction for my python blockhain coding to:
Read more #gradnium posts
Best Posts From veryjerry3
We have not curated any of veryjerry3's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From veryjerry3
- Solving my transparency problem
- More Work on randomized image creation
- My work on python randomized image creation
- Looking into the Resource Credit System Developer Guide
- Search Accounts Tutorial
- A new direction for my python blockhain coding
- Continuation of trying to submit a post from python
- Trying to add my account to my local machine
- Trying to submit a post from python
- My work in coding with Hive BlockChain in Python