block-core / blockcore-wallet

Web5 Wallet for your coins, tokens, identities, NFTs and more.
https://www.blockcore.net/wallet
MIT License
43 stars 33 forks source link

Count key usage #318

Closed sondreb closed 1 year ago

sondreb commented 1 year ago

Every time a key is used it should be logged to a counter that should be displayed in the permission screen under settings.

dangershony commented 1 year ago

It should also track what dapp used it, so a dApp/key count

sondreb commented 1 year ago

Yes each permission is connected to specific app, so it will be on app and key level, so you'll know how many times "encrypt" has been executed.

The idea is to potentially add rate limiting and even alert/notifications inside the extension to users that "This app have used your key a lot the last hour".

sondreb commented 1 year ago

image

dangershony commented 1 year ago

Ok this is great, we'll need something similar for every swap signature

sondreb commented 1 year ago

All permissions will get this feature automatically, so anything that requires consent will have this counter available.