dydxprotocol / dydx-v3-python

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

Problem with the Ropsten contract? #79

Open brendan-mccaffrey opened 2 years ago

brendan-mccaffrey commented 2 years ago

I am currently using the api on Ropsten, and I am coming across some issues 1) it's unclear how to get the test collateral token (there is a another issue that appears unresolved... I reached out to dydx and got no response) 2) all interactions with the L1 contracts (Ropsten) yield transaction reverts. At first I assumed the problem was on my end - and I still acknowledge I am making a mistake - but after double-checking with the logic within the integration tests, I believe there is a chance the problem lies in the Ropsten L1 contract specifically registration_tx_hash = self._client.eth.register_user(self._signature) and deposit_tx_hash = self._client.eth.deposit_to_exchange(self.get_position_id(), 3, human_amount,) yield issues. I haven't found if anyone has been successfully using the test contracts in recent history. Any help is appreciated :)

chiwalfrm commented 2 years ago

1) you can open a Live Chat request on the exchange, and customer service can send you testnet usdc token 2) When you say L1 contracts, are you referring to the spot/margin exchange? Because that one is closing on November 1.