REPLICA · NOT AN EMPLOYER REPO
Event indexer with reconciliation
Ingest events, retry safely, drop duplicates, and reconcile against a second source. Tests start red. Edit the service, then run. The preview calls that same process. No wallet, no chain, no employer exam.
BCL-221 · indexer-service · local replica
Ingest the queue once per id. The second tx-1 is a duplicate. The ledger must net 45.
FAIL ledger nets 452 failed · 0 passed
Where to look
If you have already kept an id, skip its delta and push a DROP line. 40 + 15 - 10 is 45.
Client of your service. Same process as the tests.
- queuedtx-1+40
- queuedtx-2+15
- queuedtx-1+40
- queuedtx-3-10
Ledger—
vsSecond source45
$ npm test · indexer-service
- FAILledger nets 45net is 85. The duplicate tx-1 is still inside the sum.
- FAILsecond tx-1 is droppedlog is ["KEEP tx-1 40","KEEP tx-2 15","KEEP tx-1 40","KEEP tx-3 -10"]
Seats that use this task
- VP, Senior Backend Developer - Blockchain Infrastructure
Galaxy
- Senior Software Engineer- Blockchain Network
Coinbase
- Backend Engineer
LayerZero Labs
- Senior Software Engineer - Accounting & Ledger Systems
BitGo
- Senior Trading Systems Developer
FalconX
- Staff Backend Engineer
Superstate
- Senior Blockchain Engineer
MoonPay
