Inspiration

I have been inspired by the recent strides in FHE encryption schemes and how they can play a part in web3. I would like to bring such techniques to the broader chain ecosystem, and so I figured CCIP would be a great way to start my learnings.

What it does

This demo does not currently use FHE for its encryption, it uses CryptoJS.AES.encrypt and decrypt to work with your key off chain. You encrypt and then store your message on Sepolia, then you can send it to any chain you'd like, this demo supports Mumbai. Then when would like you receive the message and then decrypt.

How we built it

This was built with crypto-js, solidity, CCIP, Nextjs and thirdweb for contract interaction hooks.

Challenges we ran into

Getting the frontend to work just right, small things like abi and cleaning up the hook implementations.

Accomplishments that we're proud of

Getting to work with CCIP and encrypted messages.

What we learned

That Web3 is in desperate need of privacy preserving smart contracts. Such capabilities would open up a plethora of use cases and advance the adoption of web3

What's next for CCIP Encrypted Messaging

In the future we would like to work with FHE encryption in order to be able to decrypt on chain and not have to rely on crypto-js. Bringing fhe to the broader web3 ecosystem would allow computation to be ran upon encrypted states, a successful integration with CCIP would be a tremendous achievement!

Built With

Share this project:

Updates