> For the complete documentation index, see [llms.txt](/llms.txt)

# zkSend SDK

Send Sui assets through shareable claim links using the zkSend SDK.



The zkSend SDK provides tools for interacting with the zkSend primitive. It provides functionality
to create your own zkSend Claim Links, with support for any publicly transferrable asset.

## Installation

```sh npm2yarn
npm i @mysten/zksend @mysten/sui
```

## Setup

To use the zkSend SDK, create a Sui client and extend it with the zkSend extension:

```ts
import { SuiGrpcClient } from '@mysten/sui/grpc';
import { zksend } from '@mysten/zksend';

const client = new SuiGrpcClient({
	network: 'mainnet',
	baseUrl: 'https://fullnode.mainnet.sui.io:443',
}).$extend(zksend());
```

The zkSend SDK supports Mainnet and Testnet networks. The extension automatically configures the
correct contract IDs based on the client's network.
