Offload zero-knowledge proving to hardware-attested Trusted Execution Environments. Your users get faster transactions. Your app stays responsive. Their data stays private.
import { TeeRexProver } from "@alejoamiras/tee-rex"
// Drop-in prover: attestation, encryption, proving
const prover = new TeeRexProver("https://your-tee-rex.dev")
// Use it with any Aztec wallet
const wallet = await EmbeddedWallet.create(node, {
pxeOptions: { proverOrOptions: prover }
})|
Zero-knowledge proofs are computationally intensive. Delegating to server-grade hardware keeps your app responsive on any device. TEE attestation ensures the server can't see your users' data.
Prove entirely in the browser. No server needed. The SDK falls back to WASM automatically when no server is configured.
Offload proving to a remote server running native proving. Fast proofs for development and testing, without the TEE attestation overhead.
Prove inside an isolated hardware enclave. Cryptographic attestation guarantees your data stays private and the code is untampered.
Azure Confidential Computing with Intel SGX enclaves. Same privacy guarantees, different cloud provider. Infrastructure wired, quota pending.
Your transaction data is encrypted with the enclave's public key. Only the hardware enclave can decrypt it, not even the server operator.
The enclave generates a cryptographic attestation document proving its identity, decrypts your data in isolated memory, and runs native proving.
The zero-knowledge proof is returned to your app. Your private data is discarded and never leaves the enclave.
Replace your Aztec prover with TEE-Rex in one line. The SDK handles encryption, attestation verification, and proof retrieval.
import { TeeRexProver } from "@alejoamiras/tee-rex"
// One constructor, mode auto-detected from the server
const prover = new TeeRexProver("https://your-tee-rex.dev")
// Use it anywhere you'd use an Aztec prover
const wallet = await getSchnorrAccount(pxe, secret, salt, {
prover // ← drop-in replacement
}).deploy().wait()
Cryptographically verified code integrity. Your SDK validates the enclave before sending any data.
PGP encrypted in transit, hardware-isolated in memory. Not even the server operator can see your data.
One npm package, one constructor call. Works with EmbeddedWallet, getSchnorrAccount, or any Aztec prover interface.
Try the interactive playground or integrate the SDK into your Aztec app.