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

# SDKs & Libraries

> Official Dakota SDKs — TypeScript (github.com/dakota-xyz/dakota-ts-sdk) and Go (github.com/dakota-xyz/go-sdk).

Dakota provides official SDKs to simplify integration with our platform. Both SDKs are auto-generated from our OpenAPI specification.

<CardGroup cols={2}>
  <Card title="TypeScript SDK" icon="github" href="https://github.com/dakota-xyz/dakota-ts-sdk">
    `@dakota-xyz/ts-sdk`
  </Card>

  <Card title="Go SDK" icon="github" href="https://github.com/dakota-xyz/go-sdk">
    `github.com/dakota-xyz/go-sdk`
  </Card>
</CardGroup>

***

## TypeScript SDK

<Card title="View Full Documentation" icon="github" href="https://github.com/dakota-xyz/dakota-ts-sdk">
  Installation, examples, API reference, and changelog
</Card>

### Install

```bash theme={null}
npm install @dakota-xyz/ts-sdk
```

### Quick Start

```typescript theme={null}
import { DakotaClient, Environment } from '@dakota-xyz/ts-sdk';

const client = new DakotaClient({
  apiKey: process.env.DAKOTA_API_KEY,
  environment: Environment.Sandbox,
});

for await (const customer of client.customers.list()) {
  console.log(customer.name);
}
```

***

## Go SDK

<Card title="View Full Documentation" icon="github" href="https://github.com/dakota-xyz/go-sdk">
  Installation, examples, API reference, and changelog
</Card>

### Install

```bash theme={null}
go get github.com/dakota-xyz/go-sdk
```

### Quick Start

```go theme={null}
import (
    "github.com/dakota-xyz/go-sdk/client"
    "github.com/dakota-xyz/go-sdk/client/gen"
)

c, _ := client.New(client.WithAPIKey("your_api_key"))

resp, _ := client.CheckResponse(
    c.Raw().ListCustomersWithResponse(ctx, &gen.ListCustomersParams{}),
)

for _, customer := range resp.JSON200.Data {
    fmt.Println(customer.Name)
}
```

***

## Environments

| Environment           | Base URL                                  |
| --------------------- | ----------------------------------------- |
| **Sandbox** (default) | `https://api.platform.sandbox.dakota.xyz` |
| **Production**        | `https://api.platform.dakota.xyz`         |

## Supported Networks

| Network  | Production         | Sandbox            |
| -------- | ------------------ | ------------------ |
| Ethereum | `ethereum-mainnet` | `ethereum-sepolia` |
| Polygon  | `polygon-mainnet`  | `polygon-amoy`     |
| Arbitrum | `arbitrum-mainnet` | `arbitrum-sepolia` |
| Base     | `base-mainnet`     | `base-sepolia`     |
| Optimism | `optimism-mainnet` | `optimism-sepolia` |
| Solana   | `solana-mainnet`   | `solana-devnet`    |
