Skip to content

About

SDK for PoD provided by COTI

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

@coti-io/pod-sdk

TypeScript SDK for building privacy dApps on EVM with COTI Privacy on Demand (PoD): encryption/decryption helpers, fee-aware contract calls, and cross-chain request tracking.

Install

From npm:

npm install @coti-io/pod-sdk ethers

ethers v6 is a peer dependency — install it in your app alongside this package.

From GitHub:

npm install github:coti-io/coti-sdk-pod

Documentation

User-facing documentation lives in the COTI documentation repo:

Solidity contracts (not shipped in this package):

Public API

import {
  CotiPodCrypto,
  DataType,
  PodContract,
  PodRequest,
  SEPOLIA_DEFAULT_INBOX_ADDRESS,
  COTI_TESTNET_DEFAULT_INBOX_ADDRESS,
  type PodSdkConfig,
} from "@coti-io/pod-sdk";

Package and release

npm run ci:verify

Full-stack e2e (live Sepolia + COTI testnet, requires .env): see examples/private-adder-e2e.

Publish flow:

  1. Bump version: npm version patch|minor|major
  2. Push commit and tag to main
  3. The Publish npm package GitHub Action publishes matching v*.*.* tags

Current version

0.1.4

About

SDK for PoD provided by COTI

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages