You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(onramp): allow-all gate for internal use #2548
The onramp's gate is pluggable since decdn/sponsord#19 (sponsord_onramp::gate::Gate). For internal use (our own team, a trusted network, CI), a gate that lets everyone through avoids running a captcha.
Proposal
ONRAMP_GATE=allow-all, refused at startup unless ONRAMP_ALLOW_ALL_I_UNDERSTAND=true is also set (or the bind address is loopback), since anyone who can reach the onramp can then spend the pool up to the rate limits.
The page needs no widget: it posts /v1/fund on load and shows the result.
Startup logs a warning naming the per-capability cap and the rate limits, which then are the only bounds on spending.
Done when
AllowAllGate implements Gate; the startup guard is tested.
Activity