Skip to content

Releases: FhenixProtocol/cofhesdk

@cofhe/sdk@0.4.0

13 Mar 20:20
9ab5b74

Choose a tag to compare

Patch Changes

  • e446642: Switch decryptForTx to Threshold Network v2 decrypt (submit + poll)

@cofhe/react@0.4.0

13 Mar 20:20
9ab5b74

Choose a tag to compare

Patch Changes

  • Updated dependencies [e446642]
    • @cofhe/sdk@0.4.0

@cofhe/mock-contracts@0.4.0

13 Mar 20:20
9ab5b74

Choose a tag to compare

@cofhe/mock-contracts@0.4.0

@cofhe/hardhat-plugin@0.4.0

13 Mar 20:20
9ab5b74

Choose a tag to compare

Patch Changes

  • Updated dependencies [e446642]
    • @cofhe/sdk@0.4.0
    • @cofhe/mock-contracts@0.4.0

@cofhe/abi@0.4.0

13 Mar 20:20
9ab5b74

Choose a tag to compare

Patch Changes

  • Updated dependencies [e446642]
    • @cofhe/sdk@0.4.0

@cofhe/sdk@0.3.2

06 Mar 17:33
6948630

Choose a tag to compare

Patch Changes

  • d4e86ea: Aligns with CTA encrypted variables bytes32 representation.

    • @cofhe/hardhat-plugin: hre.cofhe.mocks.getTestBed(), getMockTaskManager(), getMockACL(), getMockThresholdNetwork(), and getMockZkVerifier() now return typed contracts (typechain interfaces) instead of untyped Contract. getPlaintext(ctHash) and expectPlaintext(ctHash, value) now accept bytes32 ctHashes as string support cofhe-contracts 0.1.0 CTA changes.
    • @cofhe/mock-contracts: Export typechain-generated contract types (TestBed, MockACL, MockTaskManager, MockZkVerifier, MockThresholdNetwork) for use with the hardhat plugin. Typechain is run from artifact ABIs only; factory files are not generated.
    • @cofhe/abi: CTA-related types use bytes32 (string) instead of uint256. Decryption and return-type helpers aligned with cofhe-contracts 0.1.0.
    • @cofhe/sdk: Decryption APIs (decryptForTx, decryptForView, and related builders) now also accept string for ciphertext hashes (bytes32) as well as bigint.
  • 0feaf3f: cofheClient.decryptForTx returns a ready-to-use signature

@cofhe/sdk@0.3.1

06 Mar 08:44
a516302

Choose a tag to compare

Patch Changes

@cofhe/react@0.3.2

06 Mar 17:33
6948630

Choose a tag to compare

Patch Changes

  • Updated dependencies [d4e86ea]
  • Updated dependencies [0feaf3f]
    • @cofhe/sdk@0.3.2

@cofhe/react@0.3.1

06 Mar 08:44
a516302

Choose a tag to compare

Patch Changes

@cofhe/mock-contracts@0.3.2

06 Mar 17:33
6948630

Choose a tag to compare

Patch Changes

  • d4e86ea: Aligns with CTA encrypted variables bytes32 representation.

    • @cofhe/hardhat-plugin: hre.cofhe.mocks.getTestBed(), getMockTaskManager(), getMockACL(), getMockThresholdNetwork(), and getMockZkVerifier() now return typed contracts (typechain interfaces) instead of untyped Contract. getPlaintext(ctHash) and expectPlaintext(ctHash, value) now accept bytes32 ctHashes as string support cofhe-contracts 0.1.0 CTA changes.
    • @cofhe/mock-contracts: Export typechain-generated contract types (TestBed, MockACL, MockTaskManager, MockZkVerifier, MockThresholdNetwork) for use with the hardhat plugin. Typechain is run from artifact ABIs only; factory files are not generated.
    • @cofhe/abi: CTA-related types use bytes32 (string) instead of uint256. Decryption and return-type helpers aligned with cofhe-contracts 0.1.0.
    • @cofhe/sdk: Decryption APIs (decryptForTx, decryptForView, and related builders) now also accept string for ciphertext hashes (bytes32) as well as bigint.