Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create alternative GRPC validator endpoint for python #53

Open
wellingsworth opened this issue Oct 9, 2023 · 0 comments
Open

Create alternative GRPC validator endpoint for python #53

wellingsworth opened this issue Oct 9, 2023 · 0 comments

Comments

@wellingsworth
Copy link

Hello,

  1. The python client implementation uses a GRPC validator client.
  2. The default testnet GRPC endpoint is https://dydx-testnet-archive.allthatnode.com (link). Currently, if I run the following query (via HTTP), I get that this RPC is 11 hours behind.
curl -X GET \
    -H "accept: application/json" \
    "https://dydx-testnet-archive.allthatnode.com/block" \
    | python3 -m json.tool
  1. Alternatively, we could use https:/test-dydx.kingnodes.com in the above curl command, but we can't use it as a GRPC validator, since it doesn't open up a GRPC port.
curl -X GET \
    -H "accept: application/json" \
    "https://test-dydx.kingnodes.com/block" \
    | python3 -m json.tool

I request that this repository maintain a list of viable testnet validator GRPCs, OR that it modify the python client to broadcast via HTTP rather than GRPC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant