Skip to content

PrivexAdmin/Privex-Sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Privex Protocol

Privex Logo

Overview

Privex Solutions specializes in cryptographic protocols and encrypted data stream solutions for decentralized applications. We develop open-source tools to enhance privacy and integrity in high-throughput environments, with a focus on Solana and Ethereum ecosystems.

Architecture

  • On-Chain: Rust/Anchor program for mixer vaults, nullifiers, and proof verification.
  • Off-Chain: TS SDK for note generation, proof computation (Circom circuits), and relayer integration.
  • Tech Stack: Anchor, snarkjs for ZK, Poseidon hash, MLSAG-inspired rings. PDAs for commitments.

Architecture Diagram

Key Features

  1. Privacy Mixer: Deposit $Privex to a shared pond; withdraw with ZK proof of ownership.
  2. Leap Claims: Anonymous withdrawals via Merkle proofs—hide your splash.
  3. Privex Oracle: Off-chain watcher for meme events (e.g., X hype) to boost mixer liquidity.
  4. Ring Leaps: Multi-sig style anonymity (alpha: basic ring sigs).

Quick Start

Prerequisites

  • Rust 1.75+, Solana CLI 1.18+, Node.js 18+
  • Anchor: cargo install --git https://github.com/coral-xyz/anchor anchor-cli --locked
  • Circom: npm install -g circom

Local Setup

  1. Clone & Install: git clone https://github.com/Privex-Sdk/shadowfrog-protocol cd privex-protocol yarn install # JS/ZK deps anchor build
  2. Compile Circuits: cd circuits circom leap.circom --r1cs --wasm --sym snarkjs groth16 setup leap.r1cs powersoftau28_hez_final_10.ptau leap_0000.zkey

Usage Example (JS SDK)

import { PrivexSDK } from '@privex/sdk'; import { Connection, Keypair } from '@solana/web3.js';

const connection = new Connection('https://api.devnet.solana.com'); const wallet = Keypair.fromSecretKey(/* your bytes */); const sdk = new PrivexSDK(connection, wallet);

async function leapTokens(amount) { // Generate note & proof off-chain const { note, proof } = await sdk.generateLeapProof(amount); // Submit on-chain const tx = await sdk.submitLeap({ note, proof }); const sig = await connection.sendTransaction(tx); console.log(Shadow leap complete: ${sig}. Stay hidden, frog.);

##Roadmap

Alpha Mixer (Deposits + Basic Proofs) Full Audit (Q4 2025 – OtterSec?) Mainnet + Relayers Bug Bounty ($PrivexG pots) Wallet Plugins: Backpack, Phantom

##Community X: @PrivexCoin

Warnings: Experimental ZK-meme tech. Not for prod. Privacy isn't free—bugs could splash. Ribbit responsibly. MIT License }

About

Privex Protocol: ZK-powered privacy for Solana. Enable anonymous token leaps with Groth16 proofs and ring sigs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors