Implement a new UI setting in the existing settings page that allows users to enable or disable automatic top-ups for Akash Network deployments under custodial wallets via AuthZ deployment grants.
Scope
The task infers changes to be done to deploy-web Settings page. New setting should utilise existing transaction signing components.
General Flow
User navigates to Setting page
Either on the initial tab or under Authorizations a new set of settings is added: Automatic Top Up for uAKT and USDC deployments.
Once enabled user is prompted with setting params: funds limit and expiration data.
Once submitted user is required to sign a relevant transaction: /cosmos.authz.v1beta1.MsgGrant for /akash.deployment.v1beta3.DepositDeploymentAuthorization.
The setting state should now reflect it's enabled.
User can disable the setting.
Once disabled user is required to sign relevant revoke transaction.
The setting state should now reflect it's desabled.
Acceptance Criteria
New setting is implemented.
User should be able to enable or disable auto top ups.
Setting state should be reflected in UI.
Setting should utilise existing transaction signing components.
Authorization state managed by the setting should be also reflected in the Authorizations list in Settings.
Depends on https://github.com/akash-network/console/issues/395
Objective
Implement a new UI setting in the existing settings page that allows users to enable or disable automatic top-ups for Akash Network deployments under custodial wallets via AuthZ deployment grants.
Scope
The task infers changes to be done to
deploy-web
Settings page. New setting should utilise existing transaction signing components.General Flow
Automatic Top Up
for uAKT and USDC deployments./cosmos.authz.v1beta1.MsgGrant
for/akash.deployment.v1beta3.DepositDeploymentAuthorization
.Acceptance Criteria
Design Chart For Reference
Link