open-index/open-npm huggingface dataset:
npm package: @stablefi/authjs-agentpassport
Description: AgentPassport provider for Auth.js / NextAuth.js — AI agent identity SSO
Latest version: 1.0.0

# @stablefi/authjs-agentpassport

AgentPassport provider for [Auth.js / NextAuth.js](https://authjs.dev/) -- AI agent identity SSO via OIDC.

AgentPassport lets AI agents authenticate with a verified identity, trust score, and capabilities -- the same way "Sign in with Google" works for humans.

## Install

```bash
npm install @stablefi/authjs-agentpassport
```

## Usage

```ts
import AgentPassport from "@stablefi/authjs-agentpassport";

export const authOptions = {
  providers: [
    AgentPassport({
      clientId: process.env.STABLEFI_CLIENT_ID,
      clientSecret: process.env.STABLEFI_CLIENT_SECRET,
    }),
  ],
};
```

## Profile Data

After authentication, the session profile includes:

| Field               | Type       | Description                              |
|---------------------|------------|------------------------------------------|
| `id`                | `string`   | Unique identifier (sub or agent_id)      |
| `name`              | `string`   | Agent display name                       |
| `agentId`           | `string`   | AgentPassport agent ID                   |
| `trustScore`        | `number`   | 0-100 trust score                        |
| `trustTier`         | `string`   | `basic`, `verified`, or `enterprise`     |
| `verificationLevel` | `string`   | Current verification level               |
| `capabilities`      | `string[]` | Agent capabilities (e.g. `pay`, `trade`) |
| `walletAddress`     | `string`   | USDC wallet address (if linked)          |

## Learn More

[https://stablefi.ai/agentpassport](https://stablefi.ai/agentpassport)
npm package: @stableflect/uikit
Description: Set of UI components for stab projects
Latest version: 0.20.4-7

# 🥞 Pancake UIkit

[![Version](https://img.shields.io/npm/v/@stableflect/uikit)](https://www.npmjs.com/package/@stableflect/uikit) [![Size](https://img.shields.io/bundlephobia/min/@stableflect/uikit)](https://www.npmjs.com/package/@stableflect/uikit)

Pancake UIkit is a set of React components and hooks used to build pages on Pancake's apps. It also contains a theme file for dark and light mode.

## Install

`yarn add @stableflect/uikit`

## Setup

### Theme

Before using Pancake UIkit, you need to provide the theme file to styled-component.

```
import { ThemeProvider } from 'styled-components'
import { light, dark } from '@stableflect/uikit'
...
<ThemeProvider theme={isDark}>...</ThemeProvider>
```

### Reset

A reset CSS is available as a global styled component.

```
import { ResetCSS } from '@stableflect/uikit'
...
<ResetCSS />
```

### Types

This project is built with Typescript and export all the relevant types.

## How to use the UIkit

If you want to use components from the UIkit, check the [Storybook documentation](https://pancakeswap.github.io/pancake-uikit/)
npm package: @stableness/bifrost
Description: http CONNECT tunnel server
Latest version: 1.0.6

# bifrost

[![Docker Size](https://img.shields.io/docker/image-size/imcotton/bifrost-node?label=Docker)](https://hub.docker.com/r/imcotton/bifrost-node)
[![npm version](https://badgen.net/npm/v/@stableness/bifrost)](https://www.npmjs.com/package/@stableness/bifrost)
[![pkg dependents](https://badgen.net/npm/dependents/@stableness/bifrost)](https://www.npmjs.com/package/@stableness/bifrost?activeTab=dependencies)
[![actions](https://github.com/stableness/bifrost/workflows/Publishing/badge.svg)](https://github.com/stableness/bifrost/actions)
npm package: @stablepay/sdk_l2
Description: Official StablePay SDK for Ethereum Layer 2
Author: https://stablepay.io/about
Latest version: 0.6.0

# StablePay SDK for Layer 2 Solutions

[StablePay](https://www.stablepay.io/) is a decentralized cryptocurrency payment platform powered by smart-contracts in the ethereum network that allows anyone to receive easily and securely an asset-backed stablecoin through their site, mitigating the risk of high volatility in the cryptocurrency market.

**This library and its docs are still in development.**

## Installing

Using npm:

```sh
npm install @stablepay/sdk_l2
```

Using yarn:

```sh
yarn add @stablepay/sdk_l2
```

## Usage

```js
import { Layer2Manager, Layer2Type } from '@stablepay/sdk_l2'

// Obtain ZkSync Layer 2 Provider instance bound to 'ropsten' network.
const l2Provider = await Layer2Manager.getProviderByLayer2Type(
  Layer2Type.ZK_SYNC, 'ropsten');

// Obtain the Layer 2 wallet from the provider.
// First, obtain an L2 wallet builder.
const l2WalletBuilder = l2Provider.getLayer2WalletBuilder();

// Then, instantiate the wallet with the builder.
// You may instantiate the wallet either from mnemonics or by
// provider-specific options object. For ZkSync provider, "ethersSigner"
// options is valid (signer from ethers.js signer object). Consult each
// provider's specific options.
const l2Wallet = await l2WalletBuilder.fromOptions({
  ethersSigner: myInstantiatedEthersSignerJSObject
});


async printMyTokenBalance(tokenSymbol: string) {
  // For Ethereum, use 'ETH' as token symbol. Or, invoke getBalance() instead
  // of getTokenBalance() function.
  const myBalance = await l2Wallet.getTokenBalance(tokenSymbol);

  // Print to console.
  console.log(`My ${tokenSymbol} balance is ${myBalance}`);
}
```

## General API design diagram

![sdk-l2 design](http://www.plantuml.com/plantuml/proxy?cache=no&src=https://github.com/StablePay/sdk_l2/raw/master/docs/design.puml "StablePay SDK L2")

## Running unit tests

To run unit tests, within the project's root directory, just run

```bash
$ yarn test
```

## Acknowledgments

**Grant(s) by**:
- [Ethereum Foundation](https://ethereum.foundation/)
- [MakerDao](https://makerdao.com/en/)
npm package: @stablesea/sdk
Description: Official TypeScript SDK for the Stable Sea Terminal API
Latest version: 1.0.0

# @stablesea/sdk

Official TypeScript SDK for the [Stable Sea Terminal API](https://docs.stablesea.com).

## Install

```bash
npm install @stablesea/sdk
```

## Quick Start

```typescript
import { createClient } from '@stablesea/sdk';

const client = createClient({
  apiKey: process.env.STABLESEA_API_KEY!,
  baseUrl: 'https://api-sandbox.stablesea.com/v1', // optional, this is the default
});

// List organizations
const { data } = await client.organizations.list();

// Create an organization
const { data: org } = await client.organizations.create(
  { name: 'Acme Corp', contact: { email: 'john@acme.com', first_name: 'John', last_name: 'Doe' } },
  crypto.randomUUID() // Idempotency-Key
);

// Create a quote (requires offering_id from organization offerings)
const { data: quote } = await client.quotes.create(
  org!.id,
  { offering_id: 'off_xxx', payin_amount: '100' },
  crypto.randomUUID()
);

// Create an order from a quote
const { data: order } = await client.orders.create(
  org!.id,
  { quote_id: quote!.id },
  crypto.randomUUID()
);

// API Keys management
const { data: keys } = await client.apiKeys.list();
const { data: newKey } = await client.apiKeys.create({
  name: 'Production',
  permission_level: 'STANDARD',
  environment: 'PRODUCTION',
});
```

## API Reference

### `createClient(options)`

Creates a configured API client.

| Option | Type | Default | Description |
|--------|------|---------|--------------|
| `apiKey` | `string` | required | API key for Bearer token authentication |
| `baseUrl` | `string` | `https://api-sandbox.stablesea.com/v1` | Base URL for the API |
| `maxRetries` | `number` | `2` | Number of retries for failed requests (429, 5xx, network errors) |

### Client Methods

- **organizations**: `list()`, `create(body, idempotencyKey)`, `get(organizationId)`
- **quotes**: `create(organizationId, body, idempotencyKey)`, `get(organizationId, quoteId)`
- **orders**: `list(organizationId)`, `create(organizationId, body, idempotencyKey)`, `get(organizationId, orderId)`
- **apiKeys**: `list()`, `create(body)`, `rotate(apiKeyId)`, `revoke(apiKeyId)`
- **liquidityProviders**: `list()`, `getExchangeRate(providerName)`

## Types

All API types are exported for use in your application:

```typescript
import type { Organization, Quote, Order, NewOrganization, NewQuote, NewOrder } from '@stablesea/sdk';
```

## Regenerating the Client

When the OpenAPI spec changes, regenerate the client:

```bash
npm run generate
npm run build
```

## License

MIT
npm package: @stablexswap-libs/sdk
Description: 🛠 An SDK for building applications on top of stablexswap.
Latest version: 1.0.1

# StablexSwap SDK

Forked from [Uniswap](https://github.com/Uniswap)

## Running tests

To run the tests, follow these steps. You must have at least node v10 and [yarn](https://yarnpkg.com/) installed.

First clone the repository:

```sh
git clone https://github.com/Stablexlabs/StablexSwap-sdk.git
```

Move into the stablex-sdk working directory

```sh
cd stablex-sdk/
```

Install dependencies

```sh
yarn install
```

Run tests

```sh
yarn test
```

You should see output like the following:

```sh
yarn run v1.22.4
$ tsdx test
 PASS  test/constants.test.ts
 PASS  test/pair.test.ts
 PASS  test/fraction.test.ts
 PASS  test/miscellaneous.test.ts
 PASS  test/entities.test.ts
 PASS  test/trade.test.ts

Test Suites: 1 skipped, 6 passed, 6 of 7 total
Tests:       3 skipped, 82 passed, 85 total
Snapshots:   0 total
Time:        5.091s
Ran all test suites.
✨  Done in 6.61s.
```