DigitalRuby / ExchangeSharp

ExchangeSharp is a powerful, fast and easy to use .NET/C# API for interfacing with many crypto currency exchanges. REST and web sockets are supported.
https://www.digitalruby.com
MIT License
741 stars 374 forks source link

Need help Poloniex signature generation #796

Closed BZ-CO closed 1 year ago

BZ-CO commented 1 year ago

I've updated the public REST endpoints to the new Poloniex API, but I've got stuck at the signature generation. If someone can help with that it would be great, so I can add the authenticated endpoints as well.

vslee commented 1 year ago

Thanks for updating the public endpoints. I can't help with the signature generation because I don't have a Poloniex acct (and they don't offer them in the US anyways).
What error are you getting?

One thing to try might be to mimic the example Java code here: https://github.com/poloniex/polo-spot-sdk/blob/BRANCH_SANDBOX/signature_demo/signature_java_demo.md#signature-helper-class

BZ-CO commented 1 year ago

I'm getting 401 response.

I am using the provided js example as reference: https://github.com/poloniex/polo-spot-sdk/blob/BRANCH_SANDBOX/signature_demo/signature_nodejs_demo.md

Both sample and my payload looks identical and both gets 401 response.

vslee commented 1 year ago

both gets 401 response.

You're saying that the example nodejs code also gets a 401 response?

BZ-CO commented 1 year ago

It seems so.