# @xenon_so/client-sdk

> XENON SDK

Latest version **1.0.9** (published 2022-09-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install @xenon_so/client-sdk
pnpm add @xenon_so/client-sdk
yarn add @xenon_so/client-sdk
bun add @xenon_so/client-sdk
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.9 |
| Published | 2022-09-05 |
| First published | 2022-08-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=10 |
| Dependencies | 16 |
| Unpacked size | 898.8 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Maintainers | devpsycho |

## Links

- npm: https://www.npmjs.com/package/@xenon_so/client-sdk
- Repository: https://github.com/xenon-so/client-sdk
- Homepage: https://github.com/xenon-so/client-sdk#readme
- Issues: https://github.com/xenon-so/client-sdk/issues
- npm.io page: https://npm.io/package/@xenon_so/client-sdk

## Dependencies (16)

- [bs58](https://npm.io/package/bs58.md) ^5.0.0
- [jsbi](https://npm.io/package/jsbi.md) ^4.3.0
- [uuid](https://npm.io/package/uuid.md) ^8.3.2
- [bn.js](https://npm.io/package/bn.js.md) ^5.2.0
- [@types/uuid](https://npm.io/package/@types/uuid.md) ^8.3.4
- [cross-fetch](https://npm.io/package/cross-fetch.md) ^3.1.5
- [@jup-ag/core](https://npm.io/package/@jup-ag/core.md) ^2.0.0-beta.3
- [@types/bn.js](https://npm.io/package/@types/bn.js.md) ^5.1.0
- [bignumber.js](https://npm.io/package/bignumber.js.md) ^9.0.2
- [buffer-layout](https://npm.io/package/buffer-layout.md) ^1.2.2
- [@solana/web3.js](https://npm.io/package/@solana/web3.js.md) ^1.52.0
- [@solana/spl-token](https://npm.io/package/@solana/spl-token.md) ^0.2.0
- [@project-serum/anchor](https://npm.io/package/@project-serum/anchor.md) ^0.25.0
- [@tsconfig/recommended](https://npm.io/package/@tsconfig/recommended.md) ^1.0.1
- [@solendprotocol/solend-sdk](https://npm.io/package/@solendprotocol/solend-sdk.md) ^0.5.7
- [@blockworks-foundation/mango-client](https://npm.io/package/@blockworks-foundation/mango-client.md) ^3.4.8

## Recent versions

- 1.0.9 (latest) — 2022-09-05
- 1.0.8 — 2022-08-23
- 1.0.7 — 2022-08-23
- 1.0.5 — 2022-08-23
- 1.0.6 — 2022-08-23
- 1.0.3 — 2022-08-23
- 1.0.2 — 2022-08-22
- 1.0.1 — 2022-08-22

## README

# Xenon SDK

Javascript SDK for interacting with XENON programs

## Installation

### Yarn
```
yarn add @xenon/client-sdk
```
### npm
```
npm install @xenon/client-sdk
```

## Basic usage

### Trader Deposit
```js
import { XenonTraderClient } from '@xenon/client-sdk'

...
const xenonTraderClient = new XenonTraderClient(connection, publicKey)

await xenonTraderClient.load();

const transaction = new Transaction();

await client.traderDeposit(transaction, amount, mintAddress, selectedToken === 'SOL' ? true : false);

sendTransaction()...
...

```

---
_Source: https://npm.io/package/@xenon_so/client-sdk · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
