open-index/open-npm huggingface dataset:
npm package: @pekastel/better-auth
Description: The most comprehensive authentication library for TypeScript.
Latest version: 1.2.10-pkce-fix.6

<p align="center">
  <picture>
    <source srcset="https://github.com/better-auth/better-auth/blob/main/banner-dark.png?raw=true" media="(prefers-color-scheme: dark)">
    <source srcset="https://github.com/better-auth/better-auth/blob/main/banner.png?raw=true" media="(prefers-color-scheme: light)">
    <img src="https://github.com/better-auth/better-auth/blob/main/banner.png?raw=true" alt="Better Auth Logo">
  </picture>
  <h2 align="center">
    Better Auth
  </h2>

  <p align="center">
    The most comprehensive authentication library for TypeScript
    <br />
    <a href="https://better-auth.com"><strong>Learn more »</strong></a>
    <br />
    <br />
    <a href="https://discord.gg/better-auth">Discord</a>
    ·
    <a href="https://better-auth.com">Website</a>
    ·
    <a href="https://github.com/better-auth/better-auth/issues">Issues</a>
  </p>
</p>




## Getting Started

```bash
pnpm install better-auth
```

Read the [Installation Guide](https://better-auth.com/docs/installation) to learn more.
npm package: @peke65/attest-sdk
Description: `npm run build`
Author: daccred
Latest version: 0.0.27-new

# AttestSDK

AttestSDK is a JavaScript library for interacting with the Attest API, enabling easy management of schemas within the Solana blockchain.

## Installation

You can install the package via npm:

```bash
npm install @attestprotocol/sdk
```



## Usage

To use the SDK, you need to import it and create an instance of the `AttestSDK` class:

```ts
import AttestSDK from '@attestprotocol/sdk';

async function run() {
  const secretKey = [/* your secret key here */];

  const client = await AttestSDK.initializeSolana({
    url,
    walletOrSecretKey: secretKey,
  })
  
  const { data: schema, error: schemaError } = await client.createSchema({
    schemaName: 'test-schema',
    schemaContent: 'string name, string email, uint8 verification_level',
    revocable: true,
    levy: {
      amount: new anchor.BN(10),
      asset: mintAcount,
      recipient: authorityKeypair.publicKey,
    },
  })

  console.log({ schema });

  const fetchSchema = await client.fetchSchema(schema!)

  console.log({ fetchSchema })
}

run();

```

## Features
- **Register Schema:** Register a new schema with a name and content.
- **Fetch Schema:** Retrieve an existing schema by its ID.
- **Create Attestation:** Create an attestation based on a schema.
- **Revoke Attestation:** Revoke an attestation.

## Running Tests

### Solana Tests
```bash
yarn test-solana
```

### Stellar Tests
Stellar tests require funded accounts on the Stellar Testnet and access to deployed Soroban contracts. Before running the tests:

1. Fund the test accounts using the Stellar Friendbot:
   - Authority Account: https://friendbot.stellar.org/?addr=GBULAMIEKTTBKNV44XSC3SQZ7P2YU5BTBZI3WG3ZDYBPIH7N74D3SXAA
   - Recipient Account: https://friendbot.stellar.org/?addr=GCBG6NXX3TNAYFSJMJ6XZWJOZHIUSEHIXTTZ3HHRVPWLBIH427OYGZ4C

2. Verify contract deployment:
   - The default Protocol Contract ID is: CBPL7XR7NNPTNSIIFWQMWLSCX3B3MM36UYX4TW3QXJKTIEA6KDLRYAQP
   - The default Authority Contract ID is: CDQREK6BTPEVD4O56XR6TKLEEMNYTRJUG466J2ERNE5POIEKN2N6O7EL
   - You can override these addresses using command-line arguments (see below)

3. Run the tests:
```bash
yarn test-stellar
```

Command-line options:
- `--force-continue`: Bypass the funding check (test will likely fail with unfunded accounts)
- `--protocol=<address>`: Override the protocol contract address
- `--authority=<address>`: Override the authority contract address
- `--token=<address>`: Set a token contract address for authority initialization
- `--testnet`: Specify that you're using the Stellar testnet

```bash
# Example with custom contracts
yarn test-stellar -- --protocol=CBFL7XR7NNPTNSIIFWQMWLSCX3B3MM36UYX4TW3QXJKTIEA6KDLRYAQZ --authority=CDQR4K6BTPEVD4O56XR6TKLEEMNYTRJUG466J2ERNE5POIEKN2N6O7EM
```
npm package: @peke65/stellar-cli
Description: Attest CLI for Stellar blockchain
Author: Andrew Miracle
Latest version: 1.0.0

# Attest Stellar CLI

This is a command-line interface for interacting with the Attest protocol on the Stellar blockchain.

## Features

- Create and fetch schemas
- Create, fetch, and revoke attestations
- Register and fetch attestation authorities

## Installation

```bash
npm install -g @attestprotocol/stellar-cli
```

## Usage

### Schema Operations

Create a schema:
```bash
attest-stellar schema --action=create --json-file=sample.json --signer-key=<signer-key>
```

Fetch a schema:
```bash
attest-stellar schema --action=fetch --uid=<schema-uid> --signer-key=<signer-key>
```

### Attestation Operations

Create an attestation:
```bash
attest-stellar attestation --action=create --schema-uid=<schema-uid> --json-file=<attestation-data.json> --signer-key=<signer-key>
```

Fetch an attestation:
```bash
attest-stellar attestation --action=fetch --uid=<attestation-uid> --signer-key=<signer-key>
```

Revoke an attestation:
```bash
attest-stellar attestation --action=revoke --uid=<attestation-uid> --signer-key=<signer-key>
```

### Authority Operations

Register an authority:
```bash
attest-stellar authority --register --signer-key=<signer-key> [--url=<custom-url>]
```

Fetch an authority:
```bash
attest-stellar authority --fetch --signer-key=<signer-key> [--url=<custom-url>]
```

## License

MIT