I am tasked with creating a private testnet that supports encrypted transactions, using fully homomorphic encryption. I'm trying to modify a validator so that transactions can accept a different format (say, instead of
amount: integer, something like
amount: string where the string is a ciphertext). Then, the validator would execute an FHE program taking in ciphertext inputs, and outputting new ciphertexts (maybe the new account balances?)
But is this even valid for a sidechain? Is the
amount: integer fundamental to ethereum accounts? Would I have to add some new field that's tracked on each account? How do you do this? What resources are out there for modifying the behavior of Ethereum validators and EVM state?