https://github.com/zkshinedev/sdk-js
Official JavaScript SDK for zkShine — enabling privacy, proofs, and secure relaying on Solana.
https://github.com/zkshinedev/sdk-js
dapp javascript privacy sdk snark solana web3 zk
Last synced: about 2 months ago
JSON representation
Official JavaScript SDK for zkShine — enabling privacy, proofs, and secure relaying on Solana.
- Host: GitHub
- URL: https://github.com/zkshinedev/sdk-js
- Owner: zkshinedev
- License: mit
- Created: 2025-10-31T10:15:06.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-10-31T10:21:16.000Z (8 months ago)
- Last Synced: 2025-10-31T12:15:49.145Z (8 months ago)
- Topics: dapp, javascript, privacy, sdk, snark, solana, web3, zk
- Homepage: https://www.zkshine.xyz
- Size: 2.93 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# zkShine JavaScript SDK




> Official JavaScript SDK for **zkShine**, enabling private transactions, confidential compute, and zk-based identity operations on **Solana**.
---
## 📦 Installation
```bash
npm install @zkshine/sdk
# or
yarn add @zkshine/sdk
Basic Usage
import { zkShine } from "@zkshine/sdk";
// Initialize SDK
const zk = await zkShine.init({
network: "mainnet-beta", // or "devnet"
rpc: "https://api.mainnet-beta.solana.com",
});
// Generate private keypair
const wallet = await zk.createWallet();
// Deposit assets into zk pool
await zk.deposit({
from: wallet.publicKey,
amount: 1.5,
token: "SOL",
});
// Withdraw with privacy key
await zk.withdraw({
to: "DestinationPublicKey",
key: "user-private-zk-key",
});