from steem import Steem
from steem.transactionbuilder import TransactionBuilder
from steembase import operations
s = Steem(nodes=["https://rpc.usesteem.com"],
keys=["posting_key"])
account = "emrebeyler"
ops = [
operations.CustomJson(**{
"from": account,
"id": "dw-heist",
"json": {"username": account,"amount": "100"},
"required_auths": [],
"required_posting_auths": [account],
}),
]
tb = TransactionBuilder()
tb.appendOps(ops)
tb.appendSigner(account, "posting")
tb.sign()
tb.broadcast()
This little script automatically invests to the daily heist. You can't be online 7/24 and when your drug balance accumulates (lol), it's good to invest to heist because there are players waiting to attack you and steal.
You need to install steem-python
and change the account
, posting_key
and amount
fields to your account and production rate. Then, with a cron entry you can execute the script in periodic intervals.
Bonus, Recruiting Units
This one recruits a bouncer.
from steem import Steem
from steem.transactionbuilder import TransactionBuilder
from steembase import operations
s = Steem(nodes=["https://rpc.usesteem.com"],
keys=["<posting_key>"])
account = "emrebeyler"
ops = [
operations.CustomJson(**{
"from": account,
"id": "dw-unit",
"json": {"username":account,"unit":"bouncer","unit_amount":"1"},
"required_auths": [],
"required_posting_auths": [account],
}),
]
tb = TransactionBuilder()
tb.appendOps(ops)
tb.appendSigner(account, "posting")
tb.sign()
tb.broadcast()
Disclaimer
drugwars
team didn't make any public announcement about automating stuff. Use it at your own risk. But I am pretty sure lots of players automated things, already. So, having tools accessible to the public is fairer.
I just joined this thing at the invitation of my son @bxlphabet. I went in and picked a person to be and upgraded a building, I think. But I have not one idea what any of this means. Your post helps me not at all. {old lady problems} lol.
In other words...
Hi @emrebeyler!
I'm trying to install steem-python for Windows, but nothing works :(
Maybe you can tell me how to do this?
I am sorry @monsterdraw, I haven't used windows for like 10 years and no idea about your problem.
Thanks :)
That looks interesting.
Thanks for sharing it with steemians.
Looking forward for public announcement from them.
Can we get back drugs from heist?
I don't think so. They're vested and there is no power-down period for now. :P
You can't do that. Once invested they go to pool. But more you invest the bigger share of pool is yours. And that gives you more steem at the end of the day.
Posted using Partiko Android
Are you able to battle against others ?
I am not able to .
Posted using Partiko Android
Didn't try battling, yet.
Ah all right , thank you :)
Posted using Partiko Android
damn, you're huge over there...
I am seeing a great game in this as i have also checked it out
I am seeing a
Great game in this as i have
Also checked it out
- adenijiadeshina
I'm a bot. I detect haiku.
This game, given its setup, seems to be ripe for bots to optimize the rewards. We may see them here fairly soon!
Posted using Partiko iOS
This post has been included in the latest edition of SoS Daily News - a digest of all you need to know about the State of Steem.
love it!