Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data model: chainId and keyId #304

Open
immortal-tofu opened this issue Feb 11, 2025 · 2 comments
Open

Data model: chainId and keyId #304

immortal-tofu opened this issue Feb 11, 2025 · 2 comments
Assignees

Comments

@immortal-tofu
Copy link
Collaborator

  • A coprocessor listens to events from multiple chains (Ethereum, Base, Shiba, etc.). We refer to these chains by their unique chain ID.
  • A coprocessor computes using a single key, identified with a key ID, shared across all chains.
  • A ciphertext is associated with a key ID. If a computation is performed using a previously used key ID, the coprocessor provides the key switch key to tfhe-rs to update the ciphertext before the computation.
@rudy-6-4
Copy link
Contributor

Maybe add how tenant id relates to chain id, and key id.
E.g. one tenant id can operates on several chain id, one tenant id has only 1 key shared by many tenant id, ...

@immortal-tofu
Copy link
Collaborator Author

Maybe add how tenant id relates to chain id, and key id. E.g. one tenant id can operates on several chain id, one tenant id has only 1 key shared by many tenant id, ...

tenant id = chain id AFAIU

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants