Initialize a token-creation blacklist so /new refuses icon uploads from blocked minter addresses before any files or metadata are stored. Starts with ecash:qrmr24zevq3w8qcazxvtpyzts3rkdu2udunj2tjj39.
Details
Details
- Reviewers
- None
- Group Reviewers
Restricted Project
- cd apps/token-server && npm test
- POST /new with minterAddress ecash:qrmr24zevq3w8qcazxvtpyzts3rkdu2udunj2tjj39 and a valid png; response is 403 with "Token creation is not allowed from this address" and no icon files are written
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- token-creator-blacklist
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 37896 Build 75212: Build Diff ai-review · token-server-tests Build 75211: arc lint + arc unit
Event Timeline
Comment Actions
Build Bitcoin ABC Diffs / Diff Testing (ai-review) passed.
CodeRabbit Review
Diff : committed changes only
Compare : HEAD → master
Directory : work
────────────────────────────────────────
(\(\
(• .•) 💣 Deploying bug fixes in 3... 2... 1...
────────────────────────────────────────
Review complete
No findings ✔
4 files reviewed:
- apps/token-server/src/routes.test.ts
- apps/token-server/src/routes.ts
- apps/token-server/src/tokenCreationBlacklist.test.ts
- apps/token-server/src/tokenCreationBlacklist.ts
────────────────────────────────────────
Comment Actions
This was designed for one guy in particular but he stopped creating. It's probably not that effective anyway, as a user could just keep creating new addresses. Will monitor for now as usual.