I've been testing for a couple of days now, and I don't get to sign a raw transaction. These are the steps I follow:
1. createrawtransaction spending some amount of an asset from an unspent transaction
2. signrawtransaction "xxx" '' '["base58"]'
error code: -5
Invalid private key
I have read in bitcoin documentation that the private key must be a base58-encoded string, so I encoded the 64 hexadecimal digits key, but still the same error.
Can you help me with this error? Thank you.