Skip to content

feat: r&d zap between subnets - #1269

Draft
UrbanWill wants to merge 4 commits into
mainfrom
rnd/dtao-zap
Draft

feat: r&d zap between subnets#1269
UrbanWill wants to merge 4 commits into
mainfrom
rnd/dtao-zap

Conversation

@UrbanWill

@UrbanWill UrbanWill commented Feb 24, 2025

Copy link
Copy Markdown
Member

Description

RnD.

This PR proposes 'zapping' between staked subnets, for users who wants to move their position from subnet X to Y. Uses the unstaked dTao balance converted to Tao for a new stake action.

  • Reduces fee charing, user pays fee only once.
  • Reduces cognitive load, user does the "Zapping" in the same modal.
  • User signs only one transaction.

Note:

Either all txns fail or all succeed.

Technical

Create a new useZapForm which batches remove_stake and add_stake limit. Slippage is taken into account when zapping.

Extrinsic on block explorer

🖼️ Screenshots:

Screen.Recording.2025-02-24.at.12.42.54.mov

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 this pull request may close these issues.

1 participant