open-index/open-npm huggingface dataset:
npm package: @stellar-snaps/core
Description: Developer SDK for Stellar Snaps - shareable payment links for Stellar
Author: 0xsoydev
Latest version: 0.1.0

# @stellar-snaps/core

Core SDK for [Stellar Snaps](https://stellar-snaps.vercel.app) - shareable payment links for the Stellar blockchain.

## Installation

```bash
npm install @stellar-snaps/core
# or
pnpm add @stellar-snaps/core
```

## Quick Start

```typescript
import { StellarSnapsClient } from '@stellar-snaps/core';

// Initialize client with your API key
const client = new StellarSnapsClient({
  apiKey: 'snaps_your_api_key',
  baseUrl: 'https://stellar-snaps.vercel.app', // optional
});

// Create a payment snap
const snap = await client.createSnap({
  title: 'Coffee Payment',
  description: 'Pay for your coffee',
  destination: 'GXXXXX...', // Stellar address
  amount: '5',
  asset: 'USDC',
});

console.log(snap.url); // https://stellar-snaps.vercel.app/s/abc123
```

## API Reference

### StellarSnapsClient

#### `createSnap(options)`
Create a new payment snap.

```typescript
const snap = await client.createSnap({
  title: 'Payment Title',
  description: 'Optional description',
  destination: 'GXXXXX...', // Required: Stellar address
  amount: '10.50',          // Optional: fixed amount
  asset: 'XLM',             // 'XLM' or 'USDC' (default: 'XLM')
  memo: 'order-123',        // Optional: memo
  memoType: 'text',         // 'text' | 'id' | 'hash'
});
```

#### `getSnap(id)`
Fetch a snap by ID.

```typescript
const snap = await client.getSnap('abc123');
```

#### `listSnaps()`
List all your snaps.

```typescript
const snaps = await client.listSnaps();
```

#### `deleteSnap(id)`
Delete a snap.

```typescript
await client.deleteSnap('abc123');
```

### Self-Hosting Discovery

If you want payment links on your domain to be detected by the Stellar Snaps extension:

```typescript
import { generateDiscoveryFile } from '@stellar-snaps/core';

// Generate .well-known/stellar-snap.json content
const discovery = generateDiscoveryFile({
  name: 'My Store',
  description: 'Accept payments for my store',
  pattern: '/pay/:id',
  endpoint: 'https://mystore.com/api/snap',
});

// Serve this at: https://mystore.com/.well-known/stellar-snap.json
```

## Types

```typescript
import type { 
  Snap,
  CreateSnapOptions,
  PaymentTransaction,
  DiscoveryFile 
} from '@stellar-snaps/core';
```

## Get API Key

1. Go to [stellar-snaps.vercel.app/developers/hub/api-keys](https://stellar-snaps.vercel.app/developers/hub/api-keys)
2. Sign in with your email
3. Create a new API key

## License

MIT
npm package: @stellar-vue-ui/animations
Description: Animation primitives for Stellar Vue UI
Author: Terry McCann
Latest version: 0.2.0

# @stellar-vue-ui/animations

Animation primitives and transition presets for Stellar Vue UI.

## Installation

```bash
npm install @stellar-vue-ui/animations
```

## Usage

```vue
<script setup>
import { StellarTransition } from '@stellar-vue-ui/animations'
</script>

<template>
  <StellarTransition name="fade">
    <div v-if="show">Animated content</div>
  </StellarTransition>
</template>
```

## Features

- 17 transition presets (fade, slide, scale, rotate, and more)
- `StellarTransition` and `StellarTransitionGroup` components
- `usePresence` and `useMotion` composables
- Works with Vue's built-in transition system

## License

[MIT](./LICENSE)
npm package: @stellar-vue-ui/cli
Description: CLI tool for Stellar Vue UI
Author: Terry McCann
Latest version: 0.7.0

# @stellar-vue-ui/cli

CLI tool for scaffolding and managing Stellar Vue UI components in your project.

## Installation

```bash
npm install -g @stellar-vue-ui/cli
# or use directly with npx
npx stellar-ui init
```

## Commands

- `stellar-ui init` — Initialize Stellar Vue UI in your project
- `stellar-ui add <component>` — Add a component to your project
- `stellar-ui update` — Update components to the latest version
- `stellar-ui remove <component>` — Remove a component
- `stellar-ui list` — List available components
- `stellar-ui theme` — Manage themes
- `stellar-ui info` — Show project info
- `stellar-ui deps` — Check dependencies
- `stellar-ui audit` — Audit your setup

## License

[MIT](./LICENSE)
npm package: @stellar-vue-ui/core
Description: Production-ready Vue 3 components built on Radix Vue with Tailwind CSS
Author: Terry McCann
Latest version: 0.3.0

# @stellar-vue-ui/core

Production-ready Vue 3 components built on [Radix Vue](https://www.radix-vue.com/) with Tailwind CSS.

## Installation

```bash
npm install @stellar-vue-ui/core
```

## Usage

```vue
<script setup>
import { Button, Input, Dialog } from '@stellar-vue-ui/core'
</script>

<template>
  <Button variant="default">Click me</Button>
</template>
```

## Features

- 56 component families covering forms, data display, navigation, feedback, and layout
- 18 composables for common UI patterns
- Built on Radix Vue for accessible, unstyled primitives
- Styled with Tailwind CSS v4 and class-variance-authority
- Full TypeScript support
- Tree-shakeable ESM and CJS builds

## Documentation

Visit the [Stellar Vue UI documentation](https://github.com/StellarCL/stellar-vue) for full component API references, examples, and guides.

## License

[MIT](./LICENSE)
npm package: @stellar-vue-ui/nuxt
Description: Nuxt module for Stellar Vue UI
Author: Terry McCann
Latest version: 0.2.2

# @stellar-vue-ui/nuxt

Nuxt module for Stellar Vue UI with auto-imports, theme plugin, and SSR support.

## Installation

```bash
npm install @stellar-vue-ui/nuxt @stellar-vue-ui/core
```

## Setup

Add the module to your `nuxt.config.ts`:

```ts
export default defineNuxtConfig({
  modules: ['@stellar-vue-ui/nuxt'],
})
```

## Features

- Auto-imports for all Stellar Vue UI components and composables
- Theme plugin integration
- SSR-compatible

## License

[MIT](./LICENSE)
npm package: @stellar-vue-ui/test-utils
Description: Testing utilities for Stellar Vue UI
Author: Terry McCann
Latest version: 0.2.0

# @stellar-vue-ui/test-utils

Testing utilities for Stellar Vue UI components.

## Installation

```bash
npm install -D @stellar-vue-ui/test-utils
```

## Usage

```ts
import { renderWithTheme } from '@stellar-vue-ui/test-utils'
import { Button } from '@stellar-vue-ui/core'

test('renders button', () => {
  const { getByRole } = renderWithTheme(Button, {
    props: { variant: 'default' },
    slots: { default: 'Click me' },
  })
  expect(getByRole('button')).toHaveTextContent('Click me')
})
```

## Features

- `renderWithTheme` — Mount components with theme context
- Mock generators for common test scenarios
- Accessibility matchers
- Form testing utilities

## License

[MIT](./LICENSE)
npm package: @stellar-vue-ui/theme
Description: Theme system for Stellar Vue UI
Author: Terry McCann
Latest version: 0.4.0

# @stellar-vue-ui/theme

Theme system and star-themed design token presets for Stellar Vue UI.

## Installation

```bash
npm install @stellar-vue-ui/theme
```

## Usage

```ts
import { defineTheme, generateThemeCSS } from '@stellar-vue-ui/theme'
import { stellar } from '@stellar-vue-ui/theme/themes'

const css = generateThemeCSS(stellar)
```

## Included Themes

- **Stellar** — Default theme with a balanced, modern palette
- **Sirius** — Bright and high-contrast
- **Polaris** — Cool, professional tones
- **Antares** — Warm, vibrant accent colors
- **Vega** — Soft pastels
- **Aldebaran** — Deep, rich color scheme

## Features

- Type-safe theme definition with `defineTheme`
- CSS custom property generation
- WCAG contrast validation
- Light and dark mode support

## License

[MIT](./LICENSE)
npm package: @stellar/anchor-transfer-utils
Description: Utilities for anchors and wallets implementing SEP6 transfer protocol
Latest version: 1.2.0

# anchor-transfer-utils

Utility functions for implementing the interactive SEP6 flow.  This helps implement the postMessage message handling involved in showing the interactive webapp.

## Installation

### Using NPM

```
npm install --save @stellar/anchor-transfer-utils
```

### Standalone

```
<script src="https://unpkg.com/@stellar/anchor-transfer-utils@1.1.0/lib/index.js" />
```

## Usage for Anchors

### Withdrawal

For anchors using the interactive web flow, use the `finalizeTransaction` helper to communicate back to the wallet when a withdraw is ready for payment.

```
const AnchorTransferUtils = require("@stellar/anchor-transfer-utils")
AnchorTransferUtils.finalizeWithdrawal({
  amount_in: "80.12",
  withdraw_anchour_account: "<Stellar public account id>",
  withdraw_memo: "<Some unique identifier>",
  withdraw_memo_type: "text" | "hash" | "id"
})
```