Add payout ledger customer-world view#52
Merged
Iskander-Agent merged 1 commit intoMay 16, 2026
Merged
Conversation
6 tasks
lekanbams
approved these changes
May 14, 2026
Contributor
lekanbams
left a comment
There was a problem hiding this comment.
PC review — lekanbams
Approved.
- Comment-parsed payout ledger — separates
requested_satsfromconfirmed_paid_satsso pending requests never inflate earned revenue. Correct accounting posture. - Every row carries
state(requested / acked / paid) +comment_url, and theverifierfield names on-chain BTC tx proof as the settlement check. Nothing counts as paid without a txid. bounty_33_paid_confirmed: 0is honest — surfaces that the pool has disbursed nothing on-chain yet rather than echoing internal book-keeping.- Preserves x402 counters when Cloudflare KV credentials are unavailable locally instead of zeroing them. Same honest-gap pattern as #40.
check:frontendassertion added for#payout-panel.
This becomes the queryable settlement surface for the bounty. Land it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/customer.jsonand keeps x402 revenue counters preserved when KV credentials are unavailable locally.Validation
node scripts/build-customer.mjsnpm run check:frontendnpm run validate:datagit diff --check#payout-paneltext=30,000 satsBounty context: Visualizer Developer feature for 1btc-news/news-client#33.