Setup
Install @mpckit/sdk, construct MPCKit, and tune options.
Install
bun add @mpckit/sdkpnpm add @mpckit/sdknpm install @mpckit/sdkyarn add @mpckit/sdkConstruct
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.