tangle-network / webb-experiences

Dedicated repository for discovery, exploration, and inspiration of the Webb ecosystem.
3 stars 0 forks source link

[FEAT] Enable assets transfer & withdrawal to various destination chains #150

Open monaiuu opened 1 year ago

monaiuu commented 1 year ago

Description

The current bridge dapp UI only supports transfers and withdrawals from a single network's shielded pool. However, users should be able to select from multiple networks and perform batch transfers or withdrawals from a single shielded pool.

For example, if a user has a balance in the webbETH pool on Arbitrum, Polygon, and Optimism, they should be able to initiate a single transaction to transfer the balance from all three chains to the recipient.

Additional Considerations:

Preliminary Ideas:

drewstone commented 1 year ago

Some comments to ensure consistency:

Additional Considerations: Can users specify multiple networks as the destination chain? No

Relayer selection: Not all selected networks may have the same available relayers. You can only transact on the destination chain, so unsure if this is now moot.

Fees display: How will this affect the visibility of transaction fees? I don't think it does change the behavior.

Anonymity set of multiple spend notes. Spending multiple notes in single pool is still living in the same anonymity set.

monaiuu commented 1 year ago

Update: Enable assets deposit, transfer and withdrawal to up to 2 destination chains as an advanced feature.