polymarket-cpp-client icon indicating copy to clipboard operation
polymarket-cpp-client copied to clipboard

Can't get signature to match

Open DanceBot1234 opened this issue 8 months ago • 2 comments

Hello - in order_test I can't get signature to match in the FIXED order TypeScript comparison.

I've tried both EOA and POLY_GNOSIS_SAFE but neither of them match.

Is there a way to check if I have the correct encryption setup or equivalent?

thanks

DanceBot1234 avatar Mar 31 '26 18:03 DanceBot1234

If it helps, the derived address does not match my funder address. I must be doing something wrong with secp256k1 or keccak

DanceBot1234 avatar Mar 31 '26 20:03 DanceBot1234

Ok I'm an idiot, but will post this with info I found in case anyone else is as dumb as me.

  • My funder address is different from my derived address because I am using a proxy wallet on Polymarket.

  • The line 'Test FIXED order for TypeScript comparison' has funder addresses in it, which will be different from Sebastians, so I doubt this comparison will pass for anyone except for him. I could be wrong.

  • Because I have a proxy wallet, I could not get an order placed until I used SignatureType::POLY_PROXY

But now it works. Wish I could delete this issue but maybe this info will help other beginners as clueless as me.

DanceBot1234 avatar Apr 01 '26 14:04 DanceBot1234