penumbra-zone / web

Apache License 2.0
15 stars 16 forks source link

Add RPC selection to onboarding flow #605

Closed hdevalence closed 7 months ago

hdevalence commented 8 months ago

Currently, Penumbra Labs runs an RPC at grpc.testnet{,-preview}.penumbra.zone. However, we won't be doing this for a production mainnet. We want to ensure users have choice in their RPC provider and that there isn't a single entity acting as a chokepoint.

For this reason, the extension needs to have the user select their RPC endpoint while they are onboarding onto the extension. This should happen after they input their seed phrase and configure a passphrase. To do this, we'll need:

This would also help me with flows around local devnets, switching to preview, etc; it's easier to reset the whole wallet state and be able to set the target chain without having to edit internal constants.

grod220 commented 8 months ago

Should the preset list also be populated somewhere on the RPC settings page too?

Screenshot 2024-02-27 at 7 53 31 AM
hdevalence commented 8 months ago

Yeah, maybe we could reuse components there. To be honest I've never had that part of the UI actually work properly.