Skip to content

Instantly share code, notes, and snippets.

@emre
Last active July 11, 2018 10:41
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save emre/a7e0688eac97c771722eac9997617cfb to your computer and use it in GitHub Desktop.
Save emre/a7e0688eac97c771722eac9997617cfb to your computer and use it in GitHub Desktop.
witness_update.py
from steem import Steem
s = Steem(
nodes=["https://api.steemit.com"],
keys=["active_wif"],
)
resp = s.commit.witness_update(
"<signing_key>",
# "STM1111111111111111111111111111111114T1Anm",
"https://steemit.com/@emrebeyler",
{
"account_creation_fee": "0.100 STEEM",
"maximum_block_size": 65536,
"sbd_interest_rate": 0,
},
account="emrebeyler",
)
print(resp)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment