Developer Integration Framework
zkShine provides a comprehensive developer suite for rapid privacy integration:
1. SDKs & Packages
@zkshine/sdk-js— JavaScript SDK for dAppszkshine-rs— Rust crate for Solana programszkshine-python— Python library for AI and data integrations
2. RESTful APIs
/proof/generate→ Generate zk proofs/proof/verify→ Verify proofs via Solana smart contracts/vault/encrypt→ Encrypt and store confidential user data/relay/submit→ Broadcast transactions anonymously
3. Web3 Connectors
Integrations for frameworks such as:
Anchor
Solana-Web3.js
Helius SDK
React / Next.js Frontends
Integration Example
import { ZKShine } from "@zkshine/sdk";
const zk = new ZKShine({
apiKey: process.env.ZKSHINE_API_KEY,
network: "mainnet-beta"
});
// Enable privacy for wallet connection
await zk.connectWallet("Phantom", { privacyMode: true });
// Private transaction relay
await zk.relayTransaction({
to: "6FZP4f8uQz...",
amount: 1.2,
token: "SOL"
});Last updated
