Skip to content

docs(hardhat-plugin): replace removed cofhejs_initialize helper - #337

Open
doresa0 wants to merge 1 commit into
FhenixProtocol:masterfrom
doresa0:docs/fix-hardhat-readme-stale-init
Open

docs(hardhat-plugin): replace removed cofhejs_initialize helper#337
doresa0 wants to merge 1 commit into
FhenixProtocol:masterfrom
doresa0:docs/fix-hardhat-readme-stale-init

Conversation

@doresa0

@doresa0 doresa0 commented Aug 20, 2026

Copy link
Copy Markdown

Summary

  • packages/hardhat-plugin/README.md still told users to import cofhejs_initializeWithHardhatSigner, which is not exported from the published package.
  • Replaced it with createCofheClient / createCofheConfig from @cofhe/sdk/node and hre.cofhe.connectWithHardhatSigner.

Test plan

  • Confirm cofhejs_initializeWithHardhatSigner does not appear in package source or dist
  • Confirm hre.cofhe.connectWithHardhatSigner exists on the plugin HRE surface

The README still told users to import cofhejs_initializeWithHardhatSigner,
which is not exported. Point at createCofheClient + hre.cofhe.connectWithHardhatSigner.

Co-authored-by: Cursor <cursoragent@cursor.com>

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Claude Code Review

This pull request is from a fork — automated review is disabled. A repository maintainer can comment @claude review to run a one-time review.

@vercel

vercel Bot commented Aug 20, 2026

Copy link
Copy Markdown

@doresa0 is attempting to deploy a commit to the Fhenix Team on Vercel.

A member of the Team first needs to authorize it.

@changeset-bot

changeset-bot Bot commented Aug 20, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: e059117

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

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