Skip to content

HH3/Foundry plugins#184

Open
architect-dev wants to merge 14 commits intomasterfrom
feat/hh-3-plugin
Open

HH3/Foundry plugins#184
architect-dev wants to merge 14 commits intomasterfrom
feat/hh-3-plugin

Conversation

@architect-dev
Copy link
Collaborator

@architect-dev architect-dev commented Mar 20, 2026

Add @cofhe/hardhat-3-plugin and @cofhe/foundry-plugin packages.

@cofhe/hardhat-3-plugin — Hardhat 3 plugin with the same mock contract deployment, network.cofhe API, logging, and faucet task as the v2 plugin, adapted to the Hardhat 3 plugin/hook model.

@cofhe/foundry-plugin — Foundry test utilities: CofheTest base contract (deployMocks, expectPlaintext, getPlaintext) and CofheClient SDK mock (connect, createInE*, decryptForTx, decryptForView, permits). Usable as a git submodule or npm package, with remappings.txt for Hardhat 3 Solidity test compatibility.

mocksDeployVerbosity config option added to both Hardhat plugins:

  • '' — silent
  • 'v' — single summary line (new default)
  • 'vv' — full per-contract deployment logs (previous default behavior)

@changeset-bot
Copy link

changeset-bot bot commented Mar 20, 2026

🦋 Changeset detected

Latest commit: f603562

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 9 packages
Name Type
@cofhe/hardhat-plugin Minor
@cofhe/site Minor
@cofhe/sdk Minor
@cofhe/mock-contracts Minor
@cofhe/hardhat-3-plugin Minor
@cofhe/react Minor
@cofhe/example-react Minor
@cofhe/abi Minor
@cofhe/foundry-plugin Minor

Not sure what this means? Click here to learn what changesets are.

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

@vercel
Copy link

vercel bot commented Mar 20, 2026

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

Project Deployment Actions Updated (UTC)
cofhesdk Ready Ready Preview, Comment Mar 25, 2026 3:28pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
cofhesdk-docs Ignored Ignored Mar 25, 2026 3:28pm

Request Review

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