MPCKitMPCKit

Setup

Install @mpckit/sdk, construct MPCKit, and tune options.

Install

bun add @mpckit/sdk
pnpm add @mpckit/sdk
npm install @mpckit/sdk
yarn add @mpckit/sdk

Construct

import { MPCKit } from "@mpckit/sdk";

const api = new MPCKit({
  baseUrl: "https://api.mpckit.xyz",
  apiKey: process.env.MPCKIT_API_KEY!,
  network: "testnet",
});

MPCKitOptions

Prop

Type

Smoke test

const health = await api.health();
console.log(health); // { ok: true, service: "ika-api", uptime, now }

If health.ok is true you have a working client. Now you can fund the project and onboard a dWallet.

On this page