Skip to content

Repository files navigation

SKALE Programmable Privacy

Monorepo for SKALE Programmable Privacy tooling — encrypted ERC-20 transfers with on-chain confidential computation.

Packages

Package Version Description
@skalenetwork/privacy-sdk npm TypeScript SDK — core classes and actions
@skalenetwork/privacy-mcp npm MCP server — AI agent integration via Model Context Protocol

How it works

SKALE stores token balances and transfer amounts encrypted on-chain. A Conditional Transaction (CTX) lets smart contracts decrypt data on demand — only when specific conditions are met — with the result delivered in a callback one block later.

Block N:    Your tx → submitCTX(encryptedArgs)
Block N+1:  Ephemeral wallet → onDecrypt(decryptedArgs) → balances updated

The SDK abstracts this two-block lifecycle. The MCP server exposes it as intent-based tools that AI agents can call directly.

Repository structure

packages/
├── sdk/      @skalenetwork/privacy-sdk  — core TypeScript SDK
└── mcp/      @skalenetwork/privacy-mcp  — MCP server for AI agents
docs/         Shared concepts, architecture, and API reference

Development

# Install all workspace dependencies
pnpm install

# Build all packages
pnpm build

# Test all packages
pnpm test

# Build a single package
pnpm --filter @skalenetwork/privacy-sdk build
pnpm --filter @skalenetwork/privacy-mcp build

Docs

Learn more

About

Monorepo for SKALE Programmable Privacy tooling

Resources

Code of conduct

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages