status-im / status-mobile

a free (libre) open source, mobile OS for Ethereum
https://status.app
Mozilla Public License 2.0
3.92k stars 984 forks source link

Display RPC usage on the client side (per provider) #21130

Open friofry opened 3 months ago

friofry commented 3 months ago

TODO: Complete the description

Currently we have RPC usage stats in the advanced settings. It would probably be good to see the token limit usage per provider. That way we would know if there is high usage.

Optionally: Allow power users to override tokens in advanced settings(Infura/POKT/Grove/Alchemy/Opensea/Rarible)

This would be useful for development. And also as a last resort (or for privacy) for advanced users

ilmotta commented 3 months ago

Optionally: Allow power users to override tokens in advanced settings(Infura/POKT/Grove/Alchemy/Opensea/Rarible)

@friofry part of this issue is covered by https://github.com/status-im/status-mobile/issues/21062. As an initial implementation, using the advanced settings is a good first step, but ideally the user should never have to login first (expose themselves to the proxy and to Status' controlled keys) and then customize the API keys and logout/login again. This is one of the reasons I asked the design team to help us evaluate a minimum implementation that could be integrated during onboarding without affecting the onboarding funnel (if that's even possible).