Skip to main content

Primus

Primus is a cryptography-based attestation protocol to bring all Internet data into smart contracts. Primus applies advanced cryptography to minimize trust and enables end users to prove the correctness of their personal web data in a privacy-preserving manner.

The core techniques used in Primus include zkTLS and zkFHE. End users run Primus client apps to attest their personal web data and create related data proofs with the help of Primus nodes. These data proofs are cryptographically verified attestations with security guarantees including:

  • Data authenticity: The user web data is retrieved from the indicated data source with verified integrity secured by zkTLS and other advanced cryptographic techniques.
  • Privacy: When coupled with specific application logic users' sensitive information is well-protected under the zero-knowledge property.

The zkTLS and zkFHE techniques are general enough for both data source integration and data computation. You can create your own attestations such as:

  • Proofs of CEX assets: Alice has more than 1000 USD for her total token values in Coinbase
  • Proofs of specific token holding: Alice holds more than 2 ETH in Binance
  • Proofs of nationality: Alice is a verified bank user with British nationality
  • Proofs of gaming activity: Bob plays more than 10 hours per day on Steam games

For developers

The Primus team is creating a template-based SDK (in progress) for developers to build their own applications using Primus' off-chain attestation capabilities. The SDK will encapsulate the details of underlying cryptographic algorithms and protocols and provide high-level interfaces for application developers to manage the data retrieval and data computation. Developers can leverage the SDK in two aspects:

  • Use the data source templates to integrate with any preferred Internet data source and to attest the corresponding type of data.
  • Define and implement their own application logic by integrating with data consumption templates.

Networks

Primus is deployed on Linea and integrated with Verax a public attestation registry to store and manage attestation data that can be accessed by any party. This means Primus users can submit these data proofs to Linea via Verax which can be further accessed by other dapps. The following contract address is the Primus portal contract:

NetworkContract address
Linea Mainnet0x50bd377EB8D4236Bb587AB3FB1eeafd888AEeC58

Resources

Learn more and start using Primus!

Learn more

Want to be featured here?
Have you built a tool for Linea? Contribute to the docs to add it here! See our guide to contributing.