RE: RE: Archon Proposal - Gov Account Sells, Buys, Stakes, Unstakes, Witness Vote, and automation!
You are viewing a single comment's thread from:

RE: Archon Proposal - Gov Account Sells, Buys, Stakes, Unstakes, Witness Vote, and automation!

Words
51
Reading
1 min
Listen
Play
6y

account = "archon-gov"

nodelist = NodeList()
nodelist.update_nodes()
nodes = nodelist.get_nodes(hive=True)
hive = Hive(node=nodes)

def approve_witnesses(witness, account):
hive_account = Account(account, blockchain_instance=hive)
witness_tx = hive_account.approvewitness(witness, account)
time.sleep(4)
c = Comment(loaded_post, steem_instance=hive)
c.reply(str(witness_tx), "witness_tx", account)

approve_witnesses("lootkit.witness", account)

So the only thing I'm not sure about is how to get all the code into that neat little box?

@ecoinstant: account = | Ecency