RE: Hive's Open Source Peake_Bot.py - Update 5/11/2025

avatar
(Edited)

You are viewing a single comment's thread:

Everywhere you have the custom operation you have it as such or close to it:

    op = Custom_json(
        required_posting_auths=[HIVE_ACTIVE_KEY],
        required_auths=[account_name],
        id="ssc-mainnet-hive",
        json=jsonlib.dumps(payload),
    )

This is not only wrong, it's dangerous as it would be broadcasting you private key to the chain for others to read. Change them to this or something like this:

    op = Custom_json(
        required_posting_auths=[],     # Both of these are either username or blank
        required_auths=[account_name], # Depending on if you need posting or active
        id="ssc-mainnet-hive",
        json=jsonlib.dumps(payload),
    )

I do believe if you do this in the 3 or 4 places I saw it, it will probably work, or at least give you a different issue.



0
0
0.000
2 comments
avatar

Appreciate that. I also found i was calling for keys for transactions incorrectly. I'm going to check this evening when I get off of work.

0
0
0.000
avatar

Thanks for being such a helper.

!PIMP
!PIZZA

0
0
0.000