MetaMask / snaps

Extend the functionality of MetaMask using Snaps
https://metamask.io/snaps/
Other
729 stars 557 forks source link

Rate-limit requests to snaps #60

Open rekmarks opened 3 years ago

rekmarks commented 3 years ago

Dapps should be rate-limited in terms of the number of requests they can send to a snap. We may need to arrive at this number experimentally. Our RPC stack should support rate-limiting.

rekmarks commented 3 years ago

This package may be of use: https://www.npmjs.com/package/limiter