Contribute Your Data

LazAI enables data contributors to securely share privacy-sensitive data, computation, and resources, earning rewards while retaining full control over their data. This section will guide you through.

Each DAT serves as a transparent certificate on the blockchain: you can trace exactly where the data came from, how it has been used, and who has rights to it.

LazAI leverages OpenPGP encryption to secure privacy data. The encryption workflow is as follows:

  • A random symmetric key is generated to encrypt the data using a symmetric encryption algorithm (e.g., AES).

  • This symmetric key is then encrypted with the recipient’s public key via an asymmetric encryption algorithm (RSA), producing the final encrypted payload.

Workflow Steps:

  1. A random key is derived from the user’s Web3 wallet (e.g., MetaMask) and used as a password to encrypt the user’s private data. This step authenticates the sender’s identity.

  2. The encrypted symmetric key (via RSA) and the encrypted data are uploaded to a decentralized archive (DA) (e.g., IPFS, Google Drive, or Dropbox).

  3. The encrypted data’s URL and the encrypted key are registered on the LazAI smart contract.

  4. A test data verifier decrypts the symmetric key using their private key, downloads the encrypted data via the URL, and decrypts it within a trusted execution environment (TEE) to ensure security.

  5. The decrypted data and a TEE-generated proof are uploaded to the LazAI contract for validation.

  6. Upon successful verification, users can submit a request via LazAI to receive Data Anchor Tokens (DAT) as rewards.