syscoin/pali-wallet

Feature Request: Trusted Site/dApp Feature

LucidLunacy opened this issue · 0 comments

Trusted site/dApp feature. When connecting Pali wallet to a site the pop-up dialog should offer the ability to add the website to the trusted sites/dApps list. The button should have a ? button next to it with information about what "trusting sites" means provided in a tooltip or pop-up. When a website is on the trusted sites/dApps list Pali will:
1 - Save the EVM network that was last used on the website (will be updated if the user changes the network used on the website/dApp)
2 - Automatically connect to the EVM network silently so that when "Connect wallet" is pressed the user will only need to select Pali Wallet from the list and not have to go into Pali to change the network they are connected to
3 - Enable the above functionality to work across different tabs, i.e. if a user has 1inch running on Polygon open in one tab and uniswap running on Ethereum in another tab then switching between these two tabs will cause Pali to connect to Polygon or Ethereum silently itself, without requiring the user to do anything