You are viewing a single comment's thread from:RE: Archon Proposal - Gov Account Sells, Buys, Stakes, Unstakes, Witness Vote, and automation!View the full contextpatrickulrich (69)in #archon • 5 years ago Out of curiosity how would you define a HE token transfer (let's say 10 ARCHON) to @myfakeuser?
account = "sports-gov" nodelist = NodeList() nodelist.update_nodes() nodes = nodelist.get_nodes(hive=True) hive = Hive(node=nodes) def transfer_token(to, amount, symbol, memo, account): he_wallet = Wallet(account, blockchain_instance=hive) transfer_tx = he_wallet.transfer(to, amount, symbol, memo) time.sleep(1) c = Comment(loaded_post, steem_instance=hive) c.reply(str(transfer_tx), "stake_tx", account) transfer_token("myfakeuser", 10, "ARCHON", "this is a memo", account)!end
I can't believe I forgot to define HE transfers! Thank you for pointing that out!