@aintivirus-ai/sdk-core
v0.1.2
Published
Core Web3 logic for AintiVirus Mixer - framework-agnostic (no React)
Downloads
51
Readme
@aintivirus-ai/sdk-core
Core Web3 logic for AintiVirus Mixer. Framework-agnostic (no React).
Responsibilities
- Wallet abstraction (EVM + Solana)
- Smart contract interaction (EVM: Factory, Staking, Payment, WETHGateway)
- ZK proof generation & verification (utils)
- Deposit / Withdraw logic
- RPC & subgraph handling
Usage
import { createMixerSDK, AintiVirusEVM } from "@aintivirus-ai/sdk-core";For React hooks and provider, use @aintivirus-ai/sdk-react.
Build
pnpm buildInternal structure
src/
evm/ # EVM SDK, ABIs, subgraph client
solana/ # Solana SDK, IDL, types
utils/ # crypto, proof, withdrawProof
types/ # shared types
config.ts
createSDK.ts
errors.ts
index.ts