FHE-encrypted confidential synthetic stock trading on Zama Protocol

Trade syntheticswith FHE encrypt

The first DeFi protocol where your collateral, leverage, and position size are encrypted using Fully Homomorphic Encryption — while compliance rules are enforced on ciphertext. Nobody sees your trade.

$238BDeFi market size 2026MARKET
$1.3B+MEV losses on EthereumMEV
40%Institutional adoption flatGAP
4 tiersFHE-governed leverage capsNOVEL
$238BDeFi market size 2026MARKET
$1.3B+MEV losses on EthereumMEV
40%Institutional adoption flatGAP
4 tiersFHE-governed leverage capsNOVEL
Protocol capabilities

Identity governs access.
Proof governs terms.

01

ZK Identity Gate

Your KYC is proven with a zero-knowledge proof. No documents, no wallet linkage — just a verified claim from a trusted oracle. The circuit constrains your credit score to a tier, and the proof is validated on-chain without revealing any personal data.

ZK
02

Tiered Leverage

Your accreditation level governs your leverage cap. Basic KYC unlocks 2x. Accredited Investor unlocks 5x. Premium unlocks 8x. Institutional unlocks 10x. The vault contract enforces it atomically — not an admin.

BASIC2xADV5xPREM8xINST10x
03

USDC Collateral

Deposit USDC, mint synthetic exposure to sAAPL, sTSLA, sNVDA, and sSPY. All positions are backed by real-time API-sourced price feeds. In production, position data is encrypted using Zama's FHE.

sAAPLsTSLAsNVDAsSPY
04

FHE Encrypted

Built on Zama's Fully Homomorphic Encryption protocol. Your collateral, leverage, and position size can be encrypted as ciphertexts on-chain — compliance rules are enforced without ever decrypting. Nobody sees your trade.

KYCVAULTORACLEZama FHE
Process

Three steps.
Zero documents on-chain.

ztocks-zk-flow.ts
1// Request signed credential from oracle
2const credential = await fetch("/api/kyc/issue", {
3  method: "POST",
4  body: JSON.stringify({ address: wallet })
5}).then((r) => r.json())
6
7// { tier, creditScore, expiry, nonce, sigR8x, sigR8y, sigS }
Sepolia Testnet
Market context

The numbers
that matter.

Live|
$0B
Decentralized identity market 2026
0+
ZK credentials issued (zkMe)
0/117
Jurisdictions with FATF Travel Rule
0 tiers
ZK-governed leverage caps
Ecosystem

Built on Zama.
Powered by the ecosystem.

Every component integrates natively with Zama's fhEVM and the Ethereum ecosystem.

Zama fhEVM
FHE Protocol
Finnhub API
Price Feeds
ZK Proofs
Identity
USDC
Collateral
Circom
ZK Circuits
Sepolia
Testnet
Ethereum
L1 Network
Etherscan
Explorer
Hardhat
Dev Tooling
OpenZeppelin
Security
Viem
Frontend SDK
Wagmi
Wallet
Zama fhEVM
FHE Protocol
Finnhub API
Price Feeds
ZK Proofs
Identity
USDC
Collateral
Circom
ZK Circuits
Sepolia
Testnet
Ethereum
L1 Network
Etherscan
Explorer
Hardhat
Dev Tooling
OpenZeppelin
Security
Viem
Frontend SDK
Wagmi
Wallet
Wagmi
Wallet
Viem
Frontend SDK
OpenZeppelin
Security
Hardhat
Dev Tooling
Etherscan
Explorer
Ethereum
L1 Network
Sepolia
Testnet
Circom
ZK Circuits
USDC
Collateral
ZK Proofs
Identity
Finnhub API
Price Feeds
Zama fhEVM
FHE Protocol
Wagmi
Wallet
Viem
Frontend SDK
OpenZeppelin
Security
Hardhat
Dev Tooling
Etherscan
Explorer
Ethereum
L1 Network
Sepolia
Testnet
Circom
ZK Circuits
USDC
Collateral
ZK Proofs
Identity
Finnhub API
Price Feeds
Zama fhEVM
FHE Protocol
Privacy & compliance

Identity without
exposure.

Ztocks was designed from the ground up around ZK principles. Your identity gates your access — but nothing about your identity ever appears on-chain.

ZK ProofOn-chain PrivacyNo Docs StoredWallet-boundFATF Compliant

ZK Proof Privacy

Wallet activity is not linkable to real identity. The ZK proof reveals only your tier number — nothing else. No name, no passport, no address.

No Document Storage

Raw KYC documents never touch the protocol. The oracle verifies off-chain and issues a signed credential. You submit only a zero-knowledge proof to the contract.

Wallet-bound Credential

Oracle credentials are wallet-bound via signed fields and nullifier checks. Proof replay is blocked on-chain, and tier is bound to the submitting wallet.

Regulatory Forward

ZK identity gating satisfies the core FATF Travel Rule requirement: verify customer eligibility without storing their personal data on-chain.

For developers

Composable by
design.

Every component of Ztocks is modular and open. The zk verifier, vault, and oracle adapter are each independently deployable and auditable.

TypeScript native

Full type safety with auto-generated contract types.

Sepolia-ready

Runs on Sepolia with viem/wagmi + RainbowKit.

Circom circuits

Pre-built ZK circuits for tier verification.

Atomic enforcement

Tier cap enforced at the EVM level, no backend.

import { createPublicClient, http } from "viem"
import { sepolia } from "viem/chains"
import { CONTRACTS } from "@/lib/contracts"
import { ZK_VERIFIER_ABI } from "@/lib/abis"
const client = createPublicClient({
  chain: sepolia,
  transport: http(process.env.NEXT_PUBLIC_RPC_URL)
})
// Read verified tier + expiry from ZKVerifier
const [tier, expiry] = await client.readContract({
  address: CONTRACTS.ZKVerifier,
  abi: ZK_VERIFIER_ABI,
  functionName: "getTier",
  args: [wallet]
})

Ready to trade
with ZK identity?

The first protocol where your accreditation tier governs your leverage limit. Privacy-preserving, non-custodial, and live on Sepolia testnet.

Deployed on Sepolia testnet · No mainnet funds required