emailonacid-proxy
Self-hosted proxy for throttling EoA API requests to 60 per 5 minutes (applicable for all of their plans).
Quick Start
- Install the
emailonacid-proxy
:
# yarn yarn add emailonacid-proxy # npm npm add --save emailonacid-proxy
- Run the proxy:
# yarn yarn emailonacid-proxy # npx npx emailonacid-proxy
- Point EoA client to a new url via
baseApiUrl
:
const createClient = ; const client = ;
Usage
Usage: emailonacid-proxy [options] Options: -p, --port <port> Port number -r, --requests-per-interval <rpi> Max requests to make per given interval -i, --interval <interval> Time interval to track requests in milliseconds -d, --destination [url] Proxy destination -h, --help output usage information