Skip to main content
The Jurat SDK is not published yet. Jurat plans to publish the SDK after the API contract is finalized. The SDK should live in its own codebase and package, separate from the hosted app. For current integrations, use the REST API directly and follow the Signing guide. The examples below show the expected SDK direction, not an installable package.

1. Create A Client

2. Provide A Signer

The planned SDK should accept a minimal signer interface:
Example:
This shape works with ethers, viem, wagmi, Privy, embedded wallets, and custody providers.

3. Create A Recovery Case

4. Submit Court Metadata

5. Load Case Status

6. Load An Estate Profile

7. Create A Privacy Code

Error Handling

Future SDK methods should throw Error when the API returns a non-2xx response.
Backend errors include a stable code and request ID when raised through the structured error handler. Log the requestId when asking Jurat support to investigate an API failure.