Add React/Next frontend reference architecture#403
Conversation
|
Warning Review limit reached
More reviews will be available in 48 minutes and 32 seconds. Learn how PR review limits work. Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file). ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (25)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
@coderabbitai review |
✅ Action performedReview finished.
|
6529bot crypto security analysis - 79e2c82Verdict: No security findings. This PR is documentation and tooling only: a new React/Next reference architecture guide, pseudocode examples, a Python checker/test pair, CI/Makefile wiring, and regenerated release-artifact hashes. No Solidity, signing logic, auth flow, or runtime web3 code is changed. I reviewed the wallet/signature, transaction, secret-handling, and metadata-rendering guidance for incorrect security advice that could propagate to integrators, and the guidance is sound:
The regenerated No realistic exploit path exists in the changed code. |
6529bot general PR review - 79e2c82Verdict: Good to merge This is a documentation-only PR (new INT-007 guide plus checker/test scaffolding and regenerated release artifacts). No production code, contract logic, or runtime behavior is changed. The checker/test wiring follows the established INT-00x pattern, and the regenerated manifest/checksum/risk-register hashes are internally consistent (release-manifest size 95458→95865, matching the new doc entries and the SHA256SUMS/release-checksums/bytecode-proof updates). Nice-to-have
No correctness, security, or data-integrity issues found in the changed surface. |
6529bot follow-up commit review - 4c6416aVerdict: No new findings Resolved since last review
The remaining changes (manifest/checksum/risk-register hash regeneration to 95865 bytes, CI/Makefile/wrapper wiring for |
Summary
Closes #402.
This PR adds the INT-007 React/Next frontend reference architecture as a docs-only integration slice. It gives 6529.io-style frontend teams a conservative architecture for consuming release artifacts, address books, ABIs, event catalogs, metadata, wallet state, transactions, and indexer data without adding a maintained frontend app package or generated SDK to this contracts repo.
What changed
docs/integrations/frontend-reference-architecture.mdcovering maturity boundaries, source-of-truth artifacts, artifact import flow, environment separation, client layering, query/cache boundaries, transaction orchestration, wallet/signature handling, metadata rendering, indexer reconciliation, telemetry, security/no-secret handling, and testing strategy.docs/integrations/examples/react-viem.mdwith non-runnable pseudocode for artifact loading, contract clients, query keys, transaction orchestration, public env guards, and event-driven invalidation.scripts/check_react_next_reference.pyandscripts/test_react_next_reference.pyto keep the guide traceable.make check,scripts/check.sh,scripts/check.ps1, integration README checks, release-readiness checks, release-manifest generation, and release artifacts docs.release-artifacts/latest/risk-register, release-manifest, bytecode-proof, and checksum outputs.StreamCorebytecode posture: materially improved from the old EIP-170 blocker, but still below the 512-byte warning threshold.Maturity and non-goals
This remains a pre-audit local baseline. It is not production-ready and is not a security claim. The new guide does not add React, Next, viem, wagmi, TanStack Query, WalletConnect, Electron, mobile packages, a reference app, or a generated SDK. It also explicitly excludes private keys, signer-service credentials, admin credentials, privileged RPC credentials, raw signatures, and unreleased payloads from browser and
NEXT_PUBLIC_*configuration.Local validation
python -m py_compile scripts/check_react_next_reference.py scripts/test_react_next_reference.py scripts/check_integrations_readme.py scripts/test_integrations_readme.py scripts/check_release_readiness.py scripts/test_release_readiness.py scripts/generate_release_manifest.py scripts/test_release_manifest.pypython scripts/test_react_next_reference.pypython scripts/check_react_next_reference.pypython scripts/test_integrations_readme.pypython scripts/check_integrations_readme.pypython scripts/test_release_readiness.pypython scripts/check_release_readiness.pypython scripts/test_release_manifest.pypython scripts/generate_release_manifest.py --checkpython scripts/test_bytecode_release_proof.pypython scripts/generate_bytecode_release_proof.py --checkpython scripts/test_release_checksums.pypython scripts/generate_release_checksums.py --checkpython scripts/check_changelog.pymake react-next-reference-checkbash -n scripts/check.shscripts/check.ps1git diff --check(only the normal Windows line-ending warning forscripts/check.ps1)make checkpowershell -ExecutionPolicy Bypass -File scripts\check.ps1Notes
The Foundry gates continue to emit the existing warning noise already present on
main(for example selfdestruct in tests and known parser warnings during deployment rehearsal traces). No Solidity code changes are included.