forked from zeropoolnetwork/zeropool-relayer
-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
- Add a predefined env variable for whitelist invite code (32 bytes random bytes as hex)
- When processing a request from
/transactions
endpoint checkX-Auth-WL
header. Compare the value with whitelist invite code- if equal bypass geo IP checks
- else continue as usual
- Add a service to check invite code at endpoint GET
/wl/${wlInviteCode}
, which returns 200 ifwlInviteCode == env.whiteListInviteCode
else 404
Metadata
Metadata
Assignees
Labels
No labels