Repository navigation
feat: Nirium on Arbitrum - verifier, policy, pay/charge library, market - #1
Merged
Merged
Conversation
Ported from the nirium-avalanche EVM code with Arbitrum networks and USDC domains. Selftests on 1 Dec 2026 (team funds, not usage): Arbitrum Sepolia 0xd423c455 and Arbitrum One 0x47be2a4a, each with a payer-signed receipt that verifies 18/18. Verifier fixtures: 10/10. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…eipts The tests were ported with the Avalanche code and still read Fuji evidence (evidence/2026-11-26), which this repo does not have, so CI failed. They now use the 1 Dec 2026 Sepolia selftest receipt and its recorded RPC answers. CodeQL is skipped while the repo is private (code scanning needs Advanced Security). npm test 40/40, run-tests.sh 10/10. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
M0nsxx
approved these changes
Dec 1, 2026
M0nsxx
left a comment
Member
There was a problem hiding this comment.
AI-assisted review (Claude)
Reviewed the PR: Nirium on Arbitrum, ported from the nirium-avalanche EVM code. The selftest receipts for Arbitrum Sepolia (0xd423c455) and Arbitrum One (0x47be2a4a) are in evidence/2026-12-01 and verify against the chain. The verifier fixtures now use our own Arbitrum One tx instead of a Base tx copied by mistake; 10/10. Tests use this repo's own receipts; CI passes, CodeQL skipped while private. Approving.
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.
First code for Nirium on Arbitrum: the payer-signed receipt verifier, the pre-sign policy, the pay/charge library (x402 through PayAI) and the x402 market. Ported from the
nirium-avalancheEVM code, with Arbitrum's networks and USDC contracts.Selftests, 1 Dec 2026 (team funds, labeled
selftest, not usage):0xd423c455…0x47be2a4a…PayAI paid the gas on both; the payer holds no ETH. The receipts are in
evidence/2026-12-01/, and each verifies against the chain withverify-evm-receipt.mjs(exit 0).Tests: verifier fixtures 10/10 (
bash run-tests.sh). CI runs the suites on every PR.Not in this PR: the market is not deployed, Reporting on the node does not count Arbitrum yet, and Arbitrum is not on nirium.xyz/chains (that waits for a Mexico legal check).
The repo is private. Keys live outside it, and a sweep found no secrets, local paths or internal names.
🤖 Generated with Claude Code