Getting started for users
How the Bubble SDK and the User Interactor work together to let clients create encrypted inputs and read results.
When working with Bubble, developers need to understand two main components in the interaction model: the Bubble SDK and the User Interactor. These two layers work together to allow smart contracts to operate over encrypted data while keeping user privacy intact.
The Bubble SDK provides the developer-facing tools needed to handle encrypted values on-chain. Through the SDK, developers can create encrypted inputs (Inputtext™ values), sign messages and verify signatures, encrypt and decrypt using AES and RSA encryption schemes and more.
The User Interactor is responsible for everything that happens off-chain on the user side. It handles user onboarding into the Bubble MPC network, manages user-specific encryption requests, and some more functionalities. This ensures that no plaintext user data ever appears on-chain.
Together, the Bubble SDK and User Interactor create a clean separation of roles:
- The User Interactor handles off-chain requests, allow the user to contact Bubble directly.
- The SDK enables the user to deal with Bubble' encrypted data.
How to Transform Your Smart Contract into a Bubble Smart Contract?
Convert a public Solidity contract into a confidential one: encrypted handles, MPC logic, and explicit ACL permissions.
Bubble User Interactor
The User Interactor is the authenticated gateway between untrusted clients and the Bubble network.