Is it possible to make cosmos sdk chains compatible with tfhe?

Hi,

We looked into fhevm and found it really interesting how it can support fhe computations on top of an evm chain and this can be used to create smart contracts in solidity.

We were wondering if there is a way to add this capability to a cosmos sdk based blockchain so we can create cosmwasm smart contracts. We went through the fhevm whitepaper where it was mentioned that this implementation is generic and not specific to evm based chains and can be extended to wasm based chains. Is there any work going on this area? any inputs will be appreciated.

If you watch our latest presentation on the FHE Coprocessor, you’ll see how the concept can be adapted to any non-EVM chain.

The new fhEVM architecture works as follows:

  • The EVM runs transactions symbolically: ciphertexts are represented by a “handle” (a uint256), and computations return a new handle without actually performing the computation.
  • An external process, called the executor, monitors the chain to perform the computations:
    • This process can run off-chain, which we call the fhEVM Coprocessor. In this case, real ciphertexts associated with their handles are stored in a Data Availability Layer.
    • Alternatively, this process can run on every validator, which we call fhEVM Native. Here, real ciphertexts associated with their handles are stored on-chain by the validators.

Based on this description, you can easily imagine the executor monitoring a WASM blockchain to trigger computations.

For now, the software running this new architecture is not publicly available but will be in the coming weeks.

Hope it helps!

2 Likes

Hi thanks for the reply, I haven’t watched this presentation yet will surely go through it. I’ll also keep an eye out for its public release.

Bro, I have a Smart Contract. And I need to deploy it. Kindly if you can guide me to deploy it. I am really looking forward to hear from you. Thanks

Hey! This topic is related to another subject :slight_smile: Let’s open your own topic and I’ll help you. In the meantime, take a look at our documentation Welcome to fhEVM | fhEVM :slight_smile:

1 Like