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

Faucet: Add handling for chains API #534

Closed
jurevans opened this issue Dec 18, 2023 · 0 comments · May be fixed by #685
Closed

Faucet: Add handling for chains API #534

jurevans opened this issue Dec 18, 2023 · 0 comments · May be fixed by #685
Assignees
Labels
App: Faucet maybe We will maybe do it later :)

Comments

@jurevans
Copy link
Collaborator

There is a new endpoint we can query for testnets: https://chains.heliax.click/, which will give us something like the following:

{
  "chains": [
    {
      "chain_id": "public-testnet-15.0dacadb8d663",
      "valid_from": "2023-12-18T17:00:00Z",
      "valid_until": "2024-01-20T00:00:00Z",
      "network_type": "Testnet",
      "namada_version": "https://github.com/anoma/namada/releases/tag/v0.28.1"
    }
  ]
}

This will allow us to query for start time without first having the chain ID (and we can also construct the faucet API from this chain ID).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
App: Faucet maybe We will maybe do it later :)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants