beam-ui
beam-ui copied to clipboard
FR 8: Add ability to enable specific Confidential Assets in Beam wallet
Following feature request: https://forum.beam.mw/t/scrap-current-verification-model-allow-manual-adding-of-assets-via-link-ownership-verification-like-keybase/379
Specifications:
In Beam Desktop Wallet settings add section ‘Confidential Assets’
Provide complete list of all existing assets including: 2.1 Asset name 2.2 Asset symbol 2.3 Total emission 2.4 Whether asset was created by wallet or contract (if possible)
For each asset provide a toggle to turn it on or off
The assets that are in off (disabled) state will not be shown in the Asset Swaps list
By default, all verified assets will be enabled
Add link to Asset Swaps screen to open the settings for quick changing of the asset visibility
On DAPPNET https://github.com/BeamMW/beam-ui/actions/runs/3463926910
There are multiple parts to this FR:
- asset visibility in the Asset Swaps
- manual adding of CAs (on wallet home screen)
- add asset via hyperlink
- only show added/enabled assets in the Asset Swaps order book
1. Asset Visibility In The Asset Swaps
In Beam Desktop Wallet settings add section ‘Confidential Assets’ Provide complete list of all existing assets including: 2.1 Asset name 2.2 Asset symbol 2.3 Total emission 2.4 Whether asset was created by wallet or contract (if possible)
For each asset provide a toggle to turn it on or off
The assets that are in off (disabled) state will not be shown in the Asset Swaps list
By default, all verified assets will be enabled
Add link to Asset Swaps screen to open the settings for quick changing of the asset visibility
- [x] 'Confidential Assets' section in wallet settings
- [x] complete list of assets including ticker, AID and total emission
- [x] created by wallet or contrat done in the BAM
- [x] link on asset swaps screen to wallet settings for quick change of the asset visisbility
- [ ] toggle: The toggle does hide disabled assets from the 'receive' menu when creating an asset swap, but does not hide them from the list of open swap offers.
How it looks:
2. manual adding of CAs (on wallet homescreen)
Multiple users have asked about a MetaMask like way of adding/removing assets from the wallet home screen.
This can be easily done by using the existing asset filter logic. The filtering of transactions should also apply here.
In the forum FR we find two more requests:
Add CA via hyperlink
Create a system where a hyperlink can enable the asset in wallet (similar to how a hyperlink can open Telegram and navigate to a group) where user is presented with a ‘confirm asset add’.
only show added/enabled assets in the Asset Swaps
Once a user has ‘added’ an asset to the wallet, they are then able to see the swap offers, users should only see swap offers for assets they’ve integrated!
Related issues: https://github.com/BeamMW/beam-ui/issues/1012