Official, production-grade client libraries for integrating DISHA 4.0 HCOS enclaves, ZK proofs, and PIL policy gates into your application stack.
6
Languages Supported
v4.2.0
Current Version
Apache-2.0
License
5 / 5
HCOS Stages
TypeScript / Node.js
INSTALL
npm install @disha-hcos/sdkPython
INSTALL
pip install disha-hcosGo
INSTALL
go get github.com/disha-hcos/sdk-go@v4.2.0Rust
INSTALL
cargo add disha-hcosJava
INSTALL
implementation "io.disha-hcos:sdk:4.2.0"C# / .NET
INSTALL
dotnet add package DishaHCOS.SDKInitialize the DISHA HCOS Client and invoke enclave or ZKPG calls in your language.
import { DishaHCOSClient } from '@disha-hcos/sdk';
const client = new DishaHCOSClient({
apiKey: process.env.DISHA_API_KEY,
tenantId: 'tnt_7a8f90b12',
stage: 'STAGE_3_ENCLAVE',
});
// Invoke Stage 3 Enclave call
const result = await client.enclave.invoke({
sessionId: 'sess_01J...',
payload: { userId: 'usr_abc', action: 'VERIFY_CREDENTIAL' },
});
// Stage 5 ZKPG verification
const proof = await client.zkpg.verify({
proofId: 'zkp_01J...',
circuitId: 'SkillMatchVerifier',
});Binary CLI tools for macOS, Linux, and Windows. Includes a local enclave emulator for offline development.
UNIVERSAL INSTALL SCRIPT (macOS / Linux)
curl -fsSL https://cli.disha.org/install.sh | shdisha-cli-4.2.0-darwin-arm64.tar.gz
disha-cli-4.2.0-darwin-amd64.tar.gz
disha-cli-4.2.0-linux-amd64.tar.gz
disha-cli-4.2.0-linux-arm64.tar.gz
disha-cli-4.2.0-windows-amd64.zip