You are viewing a single comment's thread:
So Im working on a text based game. I was all into a game in the 90s called Darkness Falls... Im trying to make a Hive MUD, is one of my next things. Im also currently working on a PeakeCoin dex... but I was really reaching out because I can't get my peakecoin_matic.py bot to cancel its oldest or least likely to trade order.
It's the same issue as before, you are trying to put the key in the required auth or required posting auth:
I noticed in cancel order:
Think of it this way, it'asking who's auth do we need, so we have the two fields:
required_posting_auths=[]
because we don't need anybody's posting auth for this call. Then inrequired_auths=[account_name]
because we do need the active auth of the account for this call. Has nothing to do with the keys, just whose account do we need access to, to do this action. you could actually even omit the line you don't need at all for the custom json. for example it could very easily read:You have this problem in a couple of the functions in
place_order.py
e.g. the buy / sell / cancelFudge.... Days of work. It's easy to get caught up in the same frame of mind. Appreciated. Want to work on a text based rpg?
I've also started on PEK Dex but that's a side project when I hit stalemate with things like this.
View more