dark-defi
v0.2.0
Published
Dark DeFi — Privacy-first Solana DeFi suite with shielded wallets, TEE agents, Zcash Sapling integration, and x402 private payments
Maintainers
Readme
dark-defi
Official Dark DeFi SDK — Privacy-first Solana DeFi suite with shielded wallets, TEE AI agents, Zcash Sapling integration, and x402 private payments.
Installation
npm install dark-defiOr install individual packages:
npm install @openclawdsolana/dark-sdk # Privacy SDK
npm install @openclawdsolana/dark-protocol # On-chain types & ABIs
npm install @openclawdsolana/dark-tee-agents # TEE-attested AI agents
npm install sas-lib # Solana Attestation Service
npm install dark-x402-terminal # DeFi terminal CLIPackages
| Package | Description |
|---------|-------------|
| @openclawdsolana/dark-sdk | Full privacy SDK — shielded wallets, Jupiter swaps, AI agents |
| @openclawdsolana/dark-protocol | On-chain types, interfaces, program ABIs |
| @openclawdsolana/dark-tee-agents | TEE-attested confidential AI agents with x402 payments |
| sas-lib | Solana Attestation Service TypeScript client |
| dark-x402-terminal | Privacy-first DeFi terminal CLI |
Quick Start
import { DarkProtocolClient, DarkWallet } from '@openclawdsolana/dark-sdk';
import { createSASClient } from 'sas-lib';
// Initialize the Dark Protocol client
const client = new DarkProtocolClient({ network: 'mainnet-beta' });
// Create a shielded wallet
const wallet = await DarkWallet.create(client);
// View your shielded address
console.log('Shielded address:', wallet.shieldedAddress);Features
- 🔒 Shielded Wallets — Zcash Sapling-style privacy on Solana
- 🤖 TEE AI Agents — Confidential inference with on-chain attestation
- 💸 x402 Private Payments — HTTP-native micro-payments for AI services
- 🔄 Private Swaps — Jupiter Ultra integration with privacy preservation
- 🛡️ SAS Integration — Solana Attestation Service for verifiable credentials
- 💻 DeFi Terminal — Full-featured CLI for privacy-first DeFi operations
License
Apache-2.0 © Dark Protocol Team
