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 chain selection page #329

Closed
Bullrich opened this issue Jul 24, 2023 · 4 comments · Fixed by #363
Closed

Create chain selection page #329

Bullrich opened this issue Jul 24, 2023 · 4 comments · Fixed by #363
Assignees

Comments

@Bullrich
Copy link
Contributor

Base on a discussion between @mordamax and @mutantcornholio we should develop a "hub", or a landing page where all the available chains are shown, and the user picks the one he wants.

@itsbirdo
Copy link
Member

The chain selection below could be moved in-line into the form.
image

The order can be:
Chain (Rococo, Westend, etc)
Network (Bridge Hub, Asset hub, etc)
Address

cc: @Bullrich

@mutantcornholio
Copy link
Contributor

I think this idea is also alignes well with the whole "universal faucet" thing: supporting multiple currencies and chains in one instance of faucet, as well as being able to have multiple instances of faucet backend in one deployment.
Will create an epic for it soon.

@mordamax
Copy link
Contributor

mordamax commented Oct 16, 2023

I'd probably think of it as parity supported test chains, since we manage seeds/balances.
While the other testnet owners, which are not managed by our team, could just fork this repo and deploy it on their own environment, providing necessary testnets configs and looking after its secrets/balances.

or may be i don't fully understand how exactly other testnets will be added, and who will control the balances etc

@itsbirdo
Copy link
Member

As an alternative, the faucet could still list other networks and then just redirect the page if the user selects that Chain.

e.g. In the Chain dropdown, Frequency is an option
Upon selecting Frequency, the page redirects to faucet.rococo.frequency.xyz

At least it surfaces the other faucets and makes them discoverable

@Bullrich Bullrich self-assigned this Oct 26, 2023
Bullrich added a commit that referenced this issue Nov 27, 2023
Updated interface to have the chain dropdown inside the form:

![image](https://github.com/paritytech/polkadot-testnet-faucet/assets/8524599/99c2bade-5fb0-4efa-932c-9bedd6ff989e)

We can modify this to add new chains like @helloitsbirdo suggested.

Also, updated all dependencies to latest

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

Successfully merging a pull request may close this issue.

4 participants