latticexyz/mud

add rate limit transport for deployer

Opened this issue · 0 comments

we can use https://github.com/sindresorhus/p-limit and implement similar to https://github.com/ponder-sh/ponder/blob/d39f3b3de52d5ccc6850c7b951c2d8d069c04316/packages/utils/src/rateLimit.ts

would be a nice alternative to RPC batch for folks using RPCs without batch support but still wanna use the deployer (which fires off lots of txs)