Skip to content

docs: update CRISP readme to reflect latest changes#829

Merged
0xjei merged 7 commits into
mainfrom
docs/CRISP
Oct 10, 2025
Merged

docs: update CRISP readme to reflect latest changes#829
0xjei merged 7 commits into
mainfrom
docs/CRISP

Conversation

@0xjei

@0xjei 0xjei commented Oct 10, 2025

Copy link
Copy Markdown
Contributor

this PR removes also the pnpm dev:down command in favour of the new clean command at root.

Summary by CodeRabbit

  • Documentation
    • Overhauled CRISP docs and README: clearer description, reorganized project structure, consolidated prerequisites, step-by-step setup for web app/server, explicit environment variables with sample PROGRAM_SERVER_URL, updated example addresses, MetaMask install guidance, expanded Node/pnpm instructions, CLI usage, optional Bonsai/faster proving notes, and updated deployment/run examples.
  • Chores
    • Added localhost deployment data for local testing.
    • Removed an unused development script.
    • Updated build metadata with no functional impact.

@vercel

vercel Bot commented Oct 10, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
enclave-docs Ready Ready Preview Comment Oct 10, 2025 4:56pm
1 Skipped Deployment
Project Deployment Preview Comments Updated (UTC)
crisp Skipped Skipped Oct 10, 2025 4:56pm

@coderabbitai

coderabbitai Bot commented Oct 10, 2025

Copy link
Copy Markdown
Contributor

Walkthrough

Rewrites and reorganizes CRISP example docs and README, updates environment/sample addresses and script names, removes one npm dev script, updates three Solidity artifact buildInfoId fields, and adds a new localhost deployment block to deployed_contracts.json.

Changes

Cohort / File(s) Summary of Changes
CRISP docs & README
examples/CRISP/Readme.md, docs/pages/CRISP/setup.mdx
Major rewrite and reorganization: new prerequisites/environment sections, updated sample env vars/addresses, renamed scripts/commands, reorganized install/deploy steps, added Bonsai configuration and examples.
CRISP package config
examples/CRISP/package.json
Removed the dev:down npm script entry; no other edits to package.json.
Solidity artifact metadata
packages/enclave-contracts/artifacts/.../ICiphernodeRegistry.json, .../IEnclave.json, .../NaiveRegistryFilter.json
Updated only the buildInfoId fields (solc build reference changed); ABI/bytecode and other content unchanged.
Deployed contracts data
packages/enclave-contracts/deployed_contracts.json
Added a new top-level localhost deployment block containing Enclave, CiphernodeRegistry, NaiveRegistryFilter, Mock* contracts with addresses, constructor args, and block numbers; preserved existing entries.

Sequence Diagram(s)

(omitted — changes are documentation, metadata, and deployment data; no control-flow or runtime feature added)

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related issues

Possibly related PRs

Suggested labels

documentation

Suggested reviewers

  • cedoor
  • ctrlc03

Poem

I twitch my whiskers at docs anew,
New envs and scripts hop into view.
Localhost gardens planted neat and fresh,
Artifacts refreshed — a tidy little thresh.
Hop on, CRISP — our burrow's trimmed and true. 🐇✨

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title Check ✅ Passed The title succinctly indicates that the CRISP README documentation is being updated to reflect changes, directly matching the primary task of the PR and avoiding vague terms or unnecessary details.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch docs/CRISP

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between e76f26c and fdc57bd.

📒 Files selected for processing (2)
  • docs/pages/CRISP/setup.mdx (2 hunks)
  • examples/CRISP/Readme.md (11 hunks)
🧰 Additional context used
🪛 Gitleaks (8.28.0)
docs/pages/CRISP/setup.mdx

[high] 167-167: Detected a Generic API Key, potentially exposing access to various services and sensitive operations.

(generic-api-key)


[high] 304-304: Detected a Generic API Key, potentially exposing access to various services and sensitive operations.

(generic-api-key)


[high] 321-321: Detected a Generic API Key, potentially exposing access to various services and sensitive operations.

(generic-api-key)

examples/CRISP/Readme.md

[high] 167-167: Detected a Generic API Key, potentially exposing access to various services and sensitive operations.

(generic-api-key)

⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (6)
  • GitHub Check: crisp_e2e
  • GitHub Check: integration_prebuild
  • GitHub Check: build_sdk
  • GitHub Check: build_e3_support_dev
  • GitHub Check: test_net
  • GitHub Check: rust_unit

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between d037828 and 117b5b4.

📒 Files selected for processing (6)
  • examples/CRISP/Readme.md (10 hunks)
  • examples/CRISP/package.json (0 hunks)
  • packages/enclave-contracts/artifacts/contracts/interfaces/ICiphernodeRegistry.sol/ICiphernodeRegistry.json (1 hunks)
  • packages/enclave-contracts/artifacts/contracts/interfaces/IEnclave.sol/IEnclave.json (1 hunks)
  • packages/enclave-contracts/artifacts/contracts/registry/NaiveRegistryFilter.sol/NaiveRegistryFilter.json (1 hunks)
  • packages/enclave-contracts/deployed_contracts.json (1 hunks)
💤 Files with no reviewable changes (1)
  • examples/CRISP/package.json
🧰 Additional context used
🪛 markdownlint-cli2 (0.18.1)
examples/CRISP/Readme.md

125-125: No space after hash on atx style heading

(MD018, no-missing-space-atx)

⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (7)
  • GitHub Check: build_enclave_cli
  • GitHub Check: build_sdk
  • GitHub Check: test_contracts
  • GitHub Check: test_net
  • GitHub Check: integration_prebuild
  • GitHub Check: rust_unit
  • GitHub Check: build_e3_support_dev

Comment thread examples/CRISP/Readme.md
@vercel vercel Bot temporarily deployed to Preview – crisp October 10, 2025 12:21 Inactive
@0xjei 0xjei changed the title Update CRISP readme to reflect latest changes docs: update CRISP readme to reflect latest changes Oct 10, 2025
@0xjei 0xjei requested a review from cedoor October 10, 2025 12:22
@0xjei 0xjei self-assigned this Oct 10, 2025
Comment thread docs/pages/CRISP/setup.mdx Outdated
Comment thread docs/pages/CRISP/setup.mdx
cedoor
cedoor previously approved these changes Oct 10, 2025

@cedoor cedoor left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 👍🏽

Comment thread packages/enclave-contracts/deployed_contracts.json
@vercel vercel Bot temporarily deployed to Preview – crisp October 10, 2025 16:34 Inactive
@0xjei 0xjei enabled auto-merge (squash) October 10, 2025 16:34
@vercel vercel Bot temporarily deployed to Preview – enclave-docs October 10, 2025 16:34 Inactive
@0xjei 0xjei merged commit 2ed3b65 into main Oct 10, 2025
20 checks passed
@cedoor cedoor deleted the docs/CRISP branch October 10, 2025 17:26
ctrlc03 pushed a commit that referenced this pull request Oct 11, 2025
* update CRISP readme

* run prettier for deployed contracts

* update docs

* better descriptions and fix wrong folder

* revert deployed contracts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants