open-index/open-npm huggingface dataset:
npm package: @metaplex-foundation/mpl-token-auth-rules
Description: Javascript SDK for MPL Token Authorization Rules.  MPL Token Authorization Rules can be used to restrict common token operations
Author: Metaplex Maintainers
Latest version: 3.0.3

# JavaScript client for Mpl Token Auth Rules

A Umi-compatible JavaScript library for the project.

## Getting started

1. First, if you're not already using Umi, [follow these instructions to install the Umi framework](https://github.com/metaplex-foundation/umi/blob/main/docs/installation.md).
2. Next, install this library using the package manager of your choice.
   ```sh
   npm install @metaplex-foundation/mpl-token-auth-rules
   ```
2. Finally, register the library with your Umi instance like so.
   ```ts
   import { mplTokenAuthRules } from '@metaplex-foundation/mpl-token-auth-rules';
   umi.use(mplTokenAuthRules());
   ```

You can learn more about this library's API by reading its generated [TypeDoc documentation](https://mpl-token-auth-rules-js-docs.vercel.app).

## Contributing

Check out the [Contributing Guide](./CONTRIBUTING.md) the learn more about how to contribute to this library.
npm package: @metaplex-foundation/mpl-token-entangler
Description: Metaplex Token Entangler SDK
Author: Metaplex Maintainers
Latest version: 0.2.0

# mpl-token-entangler

This package contains the Token Entangler contract SDK code.

## Developing

In order to update the generated SDK when the rust contract was updated please run:

```
yarn gen:api
```

NOTE: at this point this only generates the IDL json file but later will generate TypeScript
definitions and SDK code as well, derived from that IDL.

## LICENSE

Apache v2.0
npm package: @metaplex-foundation/mpl-token-metadata
Description: JavaScript client for Token Metadata
Author: Metaplex Maintainers
Latest version: 3.4.0

# JavaScript client for Mpl Token Metadata

A Umi-compatible JavaScript library for Token Metadata.

## Getting started

1. First, if you're not already using Umi, [follow these instructions to install the Umi framework](https://github.com/metaplex-foundation/umi/blob/main/docs/installation.md).
2. Next, install this library using the package manager of your choice.
   ```sh
   npm install @metaplex-foundation/mpl-token-metadata
   ```
2. Finally, register the library with your Umi instance like so.
   ```ts
   import { mplTokenMetadata } from '@metaplex-foundation/mpl-token-metadata';
   umi.use(mplTokenMetadata());
   ```

You can learn more about this library's API by reading its generated [TypeDoc documentation](https://mpl-token-metadata-js-docs.vercel.app).

## Contributing

Check out the [Contributing Guide](./CONTRIBUTING.md) the learn more about how to contribute to this library.
npm package: @metaplex-foundation/mpl-token-metadata-kit
Description: JavaScript client for Token Metadata using @solana/kit
Author: Metaplex Maintainers
Latest version: 0.0.3

# JS Kit Client

This is the TypeScript client for mpl-token-metadata using `@solana/kit` (Solana web3.js 2.0), generated with Codama.

## Generated Code

The client code is auto-generated by Codama in `src/generated/`. Do not edit these files manually - they will be regenerated when running `pnpm generate:clients` from the repository root.

## Testing

Test files have been created in `test/` but require additional infrastructure to run:


### Test Structure

Tests follow the same structure as `clients/js/test/` but use the new API:

```typescript
const mint = await generateKeypair();
const createInstruction = createV1({
  mint: mint.address,
  name: 'My NFT',
  uri: 'https://example.com/my-nft.json',
  sellerFeeBasisPoints: 550,
  tokenStandard: TokenStandard.Fungible,
});
```

## Running Tests

Tests connect to a local Solana validator and skip gracefully if it's not running:

```bash
# Install dependencies
pnpm install

# Build the project (will show TypeScript errors but still produces output)
pnpm build

# Run tests (will skip if validator not running)
pnpm test
```

### Running Tests with Validator

To actually execute transactions:

```bash
# From repository root, build the program first
pnpm programs:build

# Start the local validator (in a separate terminal)
pnpm validator

# From clients/js-kit, run tests
pnpm test
```

Tests will:
- ✅ Connect to local validator at `http://127.0.0.1:8899`
- ✅ Generate keypairs using @solana/keys
- ✅ Airdrop SOL for test transactions
- ✅ Generate instructions using Codama client
- ✅ Skip transaction sending (not yet implemented)
- ℹ️ Show helpful messages if validator isn't running

## Development

To regenerate this client:

```bash
# From repository root
pnpm generate:clients
```

This will run `configs/codama.cjs` which generates code in `clients/js-kit/src/generated/`.
npm package: @metaplex-foundation/mpl-toolbox
Description: Auto-generated essential Solana and Metaplex programs
Author: Metaplex Maintainers
Latest version: 0.10.0

# JavaScript client for Mpl Toolbox

A Umi-compatible JavaScript library for the project.

## Getting started

1. First, if you're not already using Umi, [follow these instructions to install the Umi framework](https://github.com/metaplex-foundation/umi/blob/main/docs/installation.md).
2. Next, install this library using the package manager of your choice.
   ```sh
   npm install @metaplex-foundation/mpl-toolbox
   ```
2. Finally, register the library with your Umi instance like so.
   ```ts
   import { mplToolbox } from '@metaplex-foundation/mpl-toolbox';
   umi.use(mplToolbox());
   ```

You can learn more about this library's API by reading its generated [TypeDoc documentation](https://mpl-toolbox-js-docs.vercel.app).

## Contributing

Check out the [Contributing Guide](./CONTRIBUTING.md) the learn more about how to contribute to this library.
npm package: @metaplex-foundation/mpl-waffle
Description: Raffles. On-chain.
Author: Metaplex Maintainers
Latest version: 0.3.1

# JavaScript client for Waffle

A Umi-compatible JavaScript library for the project.

## Getting started

1. First, if you're not already using Umi, [follow these instructions to install the Umi framework](https://github.com/metaplex-foundation/umi/blob/main/docs/installation.md).
2. Next, install this library using the package manager of your choice.
   ```sh
   npm install @metaplex-foundation/mpl-waffle
   ```
2. Finally, register the library with your Umi instance like so.
   ```ts
   import { mplWaffle } from '@metaplex-foundation/mpl-waffle';
   umi.use(mplWaffle());
   ```

You can learn more about this library's API by reading its generated [TypeDoc documentation](https://mpl-waffle-js-docs.vercel.app).

## Contributing

Check out the [Contributing Guide](./CONTRIBUTING.md) the learn more about how to contribute to this library.
npm package: @metaplex-foundation/rustbin
Description: Synchronizes a Rust binary version with the related Rust crate
Author: Thorsten Lorenz
Latest version: 0.3.5

# rustbin [![Build Lint and Test Rustbin](https://github.com/metaplex-foundation/rustbin/actions/workflows/rustbin.yml/badge.svg)](https://github.com/metaplex-foundation/rustbin/actions/workflows/rustbin.yml)

Synchronizes a Rust binary version with the related Rust crate.

## Anchor Example

### Prepare Config

```js
const path = require('path');
const rootDir = path.join(__dirname, 'cargo');
const cargoToml = path.join(__dirname, '..', '..', 'program', 'Cargo.toml');

const config = {
  rootDir,
  binaryName: 'anchor',
  binaryCrateName: 'anchor-cli',
  libName: 'anchor-lang',
  dryRun: false,
  cargoToml,
};
```

### Checking Versions

```js
const { rustbinCheck } = require('@metaplex-foundation/rustbin');
const { satisfies, libVersion, binVersion } = await rustbinCheck({
console.log(`${binVersion} %s ${libVersion}`, satisfies ? 'satisfies' : 'does not satisfy');
```

### Check and Install If Needed

```js
const { rustbinMatch, confirmAutoMessageConsole } = require('@metaplex-foundation/rustbin');
const { cmd, fullPathToBinary } = await rustbinMatch(config, confirmAutoMessageConsole);
console.log(`${fullPathToBinary} installed via ${cmd}`);
```

## API

Please consult the full API [here](https://metaplex-foundation.github.io/rustbin/docs/).

## LICENSE

Apache-2.0