> ## Documentation Index
> Fetch the complete documentation index at: https://pdocs.truthstamp.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Signer SDK

Signer service SDK is a typescript SDK which can be used to call the Signer service API.

## Installation

To install the SDK use the command

```
npm i @truthstampai/signer-service-sdk
```

## Using the Signer service SDK

One of the ways to import and initialise the SDK is:

```javascript theme={null}
import { signerservicesdk } from '@truthstampai/signer-service-sdk';

```

Initialise the SDK with your API key.

```javascript theme={null}
signerservicesdk.init('my-secret-api-key'); // Replace with your actual API key
```

For using the `createProof` function, file (digital asset) and description can be passed as parameters:

```javascript theme={null}
const proof = await signerservicesdk.createProof(file, description);
```

For using the `verifyProof` function, proof obtained from createProof function can be passed as parameter:

```javascript theme={null}
const proofResult = await signerservicesdk.verifyProof(proofData);
```
