open-index/open-npm huggingface dataset:
npm package: @leda-mint-io/mpl-candy-machine
Description: MPL Candy Machine JavaScript API. This MPL package is for the current generation of candy machine which is 2.0.0
Author: Metaplex Maintainers
Latest version: 5.1.0

# mpl-candy-machine
#

This package contains the Candy Machine contract SDK code. This MPL package targets the current generation of candy machine on the v2.0.0 release line.

## Developing

In order to update the generated lib 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: @leda-mint-io/rustbin
Description: Synchronizes a Rust binary version with the related Rust crate
Author: Thorsten Lorenz
Latest version: 0.3.1

# 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