Pywaves. order creation problem


#1

I tried to create buy-order.
[ERROR] {‘error’: 1, ‘message’: ‘failed to parse json message’, ‘cause’: None, ‘validationErrors’: {‘obj.matcherPublicKey’: [{‘msg’: [‘error.incorrect.publicKeyAccount’], ‘args’: []}]}}

What should I do? HELP!!!


#2

Have you already updated to latest version?


#3

Yes. I don’t understand where I can get the matcherPublicKey.


#4

be sure also that you have enough balance to create order, it needs .003 fee


#5

I dont think you need to specify this yourself normally, can u post the code snippet?


#6

how was the problem solved


#7

answer

import pywaves as pw
import configparser
node = “https://nodes.wavesplatform.com
matcher = “https://matcher.wavesplatform.com
pw.setNode(node, “mainnet”)
pw.setMatcher(matcher)