Skip to content

Faucet: Add handling for chains API #534

@jurevans

Description

@jurevans

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).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions