Soda Labs
Soda Labs Docs
User Interface

Bubble User Interactor

The User Interactor is the authenticated gateway between untrusted clients and the Bubble network.

The User Interactor serves as the secure gateway between untrusted clients and the Bubble network, ensuring that all interactions are safe and authenticated. It plays a crucial role in maintaining the integrity and confidentiality of the operations within the network. The responsibilities of the User Interactor include:

  1. Validating Requests:
    • It checks the format of requests submitted by users, ensuring they comply with the required structure.
    • Cryptographic signatures within these requests are scrutinized to confirm their authenticity and integrity.
  2. Enforcing Permissions:
    • The User Interactor consults chain-specific Access Control Lists (ACLs) to enforce basic permissions.
    • This ensures that users have the necessary permissions to perform the requested actions, thus preventing unauthorized access.
  3. Request Forwarding:
    • Once validated and authorized, requests are forwarded to the Multi-Party Computation (MPC) engine for processing.

By performing these functions, the User Interactor ensures that all transactions within the Bubble network are secure, authorized, and efficient. It acts as a critical safeguard against potential security threats and unauthorized access attempts, thereby upholding the network's overall security framework.

It exposes a gRPC functions that onboards a user to the Bubble system, encrypt data for a specific user, and check nullification status for Anonymous tokens.

Client integrations stay simple: a few gRPC methods let the application onboard the user, encrypt data to the user, or check nullification status for Anonymous tokens) while the service handles signature recovery, strict input validation, permission checks, per-chain routing, and consistent error responses.

The Bubble system provides a suite of gRPC functions designed to streamline user management and data operations. These functions include onboarding new users into the Bubble ecosystem, encrypting data tied to specific users for enhanced security, and checking the nullification status of Anonymous tokens. Client-side integration is straightforward, utilizing core gRPC methods to onboard users, encrypt their data, and verify the status of their Anonymous tokens. This streamlined approach allows the service to manage complex operations behind the scenes, such as signature recovery and authentication, ensuring all inputs undergo rigorous validation with permission checks. It offers per-chain routing capabilities and guarantees consistent error responses. Consequently, integrating with the Bubble system's gRPC API enables developers to focus on building applications with ease, knowing that critical user and data management processes are robustly handled by the backend services provided by Bubble.