Skip to content

Update README.md#707

Open
rehannadaf2 wants to merge 1 commit intothirdweb-dev:mainfrom
rehannadaf2:patch-1
Open

Update README.md#707
rehannadaf2 wants to merge 1 commit intothirdweb-dev:mainfrom
rehannadaf2:patch-1

Conversation

@rehannadaf2
Copy link
Copy Markdown

@rehannadaf2 rehannadaf2 commented Apr 16, 2026

Summary by CodeRabbit

  • Documentation
    • Added installation instructions to README for both Forge-based and Hardhat/npm-based projects.

Signed-off-by: rehannadaf2 <ajitporval@gmail.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 16, 2026

Walkthrough

Installation instructions were added to the README documenting setup procedures for both Forge-based and Hardhat/npm-based project configurations. The additions were inserted in the License section and provide direct commands for package installation.

Changes

Cohort / File(s) Summary
Documentation
README.md
Added installation instructions for Forge and Hardhat/npm-based projects in the License section.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The title 'Update README.md' is vague and generic, using non-descriptive language that doesn't convey what was actually changed in the README. Use a more specific title that describes the actual change, such as 'Add installation instructions to README' or 'Include Forge and npm installation commands in README'.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@README.md`:
- Line 149: Update the README heading "Hardhat / npm based projects" to use a
hyphenated compound adjective by changing it to "Hardhat / npm-based projects"
so the heading reads correctly; locate the heading text in the README and
replace "npm based" with "npm-based".
- Around line 145-150: Remove the duplicated installation block under the
License section by deleting the "Forge projects" and "Hardhat / npm based
projects" commands (the two lines starting with "forge install
https://github.com/thirdweb-dev/contracts" and "npm i `@thirdweb-dev/contracts`"),
leaving the canonical installation instructions that already exist under the "##
Installation" section (the block around lines 16-24); ensure no other duplicate
install snippets remain in the README so installation is documented in one place
only.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 728bee75-a0b6-428d-869f-8d2eff562d43

📥 Commits

Reviewing files that changed from the base of the PR and between 0da770f and 5cc84f9.

📒 Files selected for processing (1)
  • README.md

Comment thread README.md
Comment on lines +145 to +150

# Forge projects
forge install https://github.com/thirdweb-dev/contracts

# Hardhat / npm based projects
npm i @thirdweb-dev/contracts
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

Remove duplicated installation block from the License section.

These commands are already documented under ## Installation (Line 16-24). Keeping a second copy under ## License makes the README harder to maintain and easy to drift over time. Consider deleting this block here and keeping installation instructions in one place only.

Suggested diff
 ## License
 
 [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0.txt)
-
-# Forge projects
-forge install https://github.com/thirdweb-dev/contracts
-
-# Hardhat / npm based projects
-npm i `@thirdweb-dev/contracts`
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
# Forge projects
forge install https://github.com/thirdweb-dev/contracts
# Hardhat / npm based projects
npm i @thirdweb-dev/contracts
## License
[Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0.txt)
🧰 Tools
🪛 LanguageTool

[grammar] ~149-~149: Use a hyphen to join words.
Context: .../thirdweb-dev/contracts # Hardhat / npm based projects npm i @thirdweb-dev/contr...

(QB_NEW_EN_HYPHEN)

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@README.md` around lines 145 - 150, Remove the duplicated installation block
under the License section by deleting the "Forge projects" and "Hardhat / npm
based projects" commands (the two lines starting with "forge install
https://github.com/thirdweb-dev/contracts" and "npm i `@thirdweb-dev/contracts`"),
leaving the canonical installation instructions that already exist under the "##
Installation" section (the block around lines 16-24); ensure no other duplicate
install snippets remain in the README so installation is documented in one place
only.

Comment thread README.md
# Forge projects
forge install https://github.com/thirdweb-dev/contracts

# Hardhat / npm based projects
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

Use hyphenated compound adjective in heading text.

Use npm-based instead of npm based for consistency and grammar.

Suggested diff
-# Hardhat / npm based projects
+# Hardhat / npm-based projects
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
# Hardhat / npm based projects
# Hardhat / npm-based projects
🧰 Tools
🪛 LanguageTool

[grammar] ~149-~149: Use a hyphen to join words.
Context: .../thirdweb-dev/contracts # Hardhat / npm based projects npm i @thirdweb-dev/contr...

(QB_NEW_EN_HYPHEN)

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@README.md` at line 149, Update the README heading "Hardhat / npm based
projects" to use a hyphenated compound adjective by changing it to "Hardhat /
npm-based projects" so the heading reads correctly; locate the heading text in
the README and replace "npm based" with "npm-based".

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.

1 participant