dydxprotocol / dydx-v3-python

Python client for dYdX (API v3)
Apache License 2.0
306 stars 176 forks source link

Sample code via api does not work on some account addresses - fails with invalid signature for order. #196

Open rickyburrell opened 1 year ago

rickyburrell commented 1 year ago

If i use the following Mnemonic in Ganache (or MetaMask etc.) some accounts work for onboarding and signing orders, but others do not. Running Python 3.9 x64 on Windows and using eth/goerli/testnet.


busy situate hen report baby aim marriage quarter aspect duck father puppy palm decorate example course kitchen shy differ olive enter mom pupil leg


Can't correctly onboard or sign orders using address: 0x9DD0cB36119CEce616E77E4f4582b7881777B08a

broken

But can correctly onboard and sign using address: 0x911eBb2059d2B20e6909E9542aa98566854F1BbB

working

Both work correctly from MetaMask when using the dYdX website, just not using the sample code via api...

Any suggestions? Anything wrong with configuration/approach?