Skip to content

MeroKit

The native Swift SDK for Calimero. A zero-dependency iOS/macOS client for a remote node — async/await auth with automatic token refresh, JSON-RPC contract calls, the full admin API, SSO deep-link login, and an optional SwiftUI frontend. Built on URLSession, Foundation, and Security.

Get Started

Add the package, create a Mero client, authenticate, and make your first call. Quickstart →

Understand

How the SDK is layered — the Mero actor, the API clients, the actor-based token lifecycle, and the SwiftUI frontend. Read the overview →

Guides

Task guides: contexts & apps, executing WASM methods, groups & governance, blobs, and the MeroKitUI layer. Browse the guides →

MeroKit never runs a node. Every capability is an async HTTP(S) call to a remote Calimero node. It’s a faithful Swift port of the @calimero-network/mero-js wire contract — same endpoints, same auth model — in idiomatic async/await.

Your app — SwiftUI / UIKitiOS 15+ · macOS 12+ · optional MeroKitUI (MeroClient + MeroRootView)Mero — actorauthenticate() · setTokenData() · single-flight token refresh (401 → refresh → retry).authAuthApi.adminAdminApi.rpcRpcClientHttpClient — URLSession transportBearer auth · single-flight refresh · retry · timeoutTokenStoreKeychain · MemoryRemote merod node · HTTP(S)REST/admin-api · /authJSON-RPC/jsonrpcSSE events · /sse

For the protocol those nodes implement, see the Calimero Core docs. For the JavaScript sibling, see Mero.js.