webb-dapp
webb-dapp copied to clipboard
[FEAT] Liquid staking pool creation flow
The liquid staking pool creation process should be relatively simple and straightforward to implement:
- [ ] When the user clicks the
Create pool
button, a modal with the following options should display:name
,amount
,token
,root address
,nominator address
,bouncer address
, andcommission
. - [ ] On the modal, when the user confirms the transaction, that should simply call the
lst::create
extrinsic in the case of Tangle mainnet/testnet/local dev. - [ ] Since
name
andcommission
are set through independent extrinsics, the process can be simplified by batching the pool creation event with 3 extrinsics: 1. create the pool, 2. set the name, 3. set the commission. This would be done under the hood as an implementation detail.
CC @monaiuu