fhenix-solidity-migration

Installation
SKILL.md

Fhenix Solidity Migration

Two migration paths

  1. Old decryption → new flow: FHE.decrypt (synchronous on-chain) was removed. Replace with allowPublic + off-chain decryptForTx + on-chain publishDecryptResult/verifyDecryptResult.
  2. Transparent contract → confidential: convert sensitive state to euint*, accept InE* inputs, replace branching with FHE.select, and add ACL grants.

Path 1: from FHE.decrypt

Old New
Trigger FHE.decrypt(ct) (on-chain) FHE.allowPublic(ct) (on-chain) + client.decryptForTx(ct) (off-chain)
Submit automatic, no proof FHE.publishDecryptResult(ct, plaintext, signature)
Verify-only — FHE.verifyDecryptResult(ct, plaintext, signature)
Read FHE.getDecryptResultSafe(ct) FHE.getDecryptResultSafe(ct) (unchanged)
Installs
1
First Seen
Jun 22, 2026
fhenix-solidity-migration — nickthelegend/fhenix-skills