Replace xmrchain view-key detection with local PHP scanning - #132
Open
SlowBearDigger wants to merge 5 commits into
Open
Replace xmrchain view-key detection with local PHP scanning#132SlowBearDigger wants to merge 5 commits into
SlowBearDigger wants to merge 5 commits into
Conversation
SlowBearDigger
marked this pull request as ready for review
August 1, 2026 23:55
SlowBearDigger
force-pushed
the
watch-mode-rewrite-pr
branch
from
August 2, 2026 00:27
755a50d to
55072c9
Compare
SlowBearDigger
marked this pull request as draft
August 3, 2026 19:32
Remove xmrchain dependency. Implement local PHP scanning via monerod using the merchant private view key. One subaddress per order.
SlowBearDigger
force-pushed
the
watch-mode-rewrite-pr
branch
from
August 3, 2026 23:49
8f0fb4d to
821200b
Compare
SlowBearDigger
marked this pull request as ready for review
August 4, 2026 00:19
SlowBearDigger
marked this pull request as draft
August 4, 2026 00:20
SlowBearDigger
marked this pull request as ready for review
August 4, 2026 00:25
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
Closes #131.
This PR replaces the xmrchain dependency in view-key mode with local PHP payment detection against a Monero daemon.
Each WooCommerce order receives a deterministic subaddress. WordPress fetches bounded block windows from monerod and verifies outputs locally using the merchant's private view key.
No block explorer or continuously running monero-wallet-rpc service is required.
Main changes
Runtime model
Payment scanning is checkpointed and bounded.
This is not a full-chain rescan on every cron run.
Requirements
Demo
Stagenet demo:
https://live.xmrpay.shop/monerowp/shop/
The demo uses a disposable stagenet wallet and real stagenet transactions.
Review focus
I would especially appreciate feedback on: