open-index/open-npm huggingface dataset:
npm package: @mlabs-haskell/cardano-data-lite
Description: Lightweight implementation of Cardano domain type serialization, compatible with cardano-serialization-lib
Latest version: 1.0.1

# Cardano Data Lite

Cardano Data Lite (CDL) aims to be a drop in replacement for Cardano Serialization Library (CSL).
CDL is written in Typescript and compiled to Javascript with minimal dependencies. There are no WASM blobs resulting in much smaller bundle size. CDL is also easier to integrate with various bundlers which lack the ability to load WASM, like ESBuild where top-level await is not available.

## Documentation

[See here](docs.md)

# Development

Due to the size of CSL and also the fact that CSL was undergoing constant updates while we were developing CDL, we designed a small DSL to describe the behaviour of CSL types and used that to dynamically generate a Typescript port of CSL.
The DSL can be found at `/conway-cddl/yaml` and the code that interprets it can be found at `/conway-cddl/codegen`.

### Tests

To measure the progress of implementation, we use automated test suite that parses the type definitions of both CSL and CDL and compares them for compatibility.

To run these, run the following from the project root directory:

```
npm run test-api
```
npm package: @mlabs-haskell/cardano-serialization-lib-browser
Description: (De)serialization functions for the Cardano blockchain along with related utility functions
Author: EMURGO
Latest version: 11.2.1

# Cardano Serialization Lib

_This fork of the cardano-serialization-library includes a development shell
that sets the `WASM_BINDGEN_WEAKREF` environment variable. This ensures that
builds of the library will automatically `free()` pointers when their reference
in the JavaScript runtime is garbage collected._

##### Build

Ensure you have Nix installed and Flakes enabled.

```
nix develop
npm run rust:build-nodejs
```

The script will build the assets under `/rust/pkg`.
Other targets and scripts can be found in the root `packages.json`.


This is a library, written in Rust, for serialization & deserialization of data structures used in Cardano's Haskell implementation of Alonzo along with useful utility functions.

##### NPM packages

- [NodeJS WASM package](https://www.npmjs.com/package/@emurgo/cardano-serialization-lib-nodejs)
- [Browser (chrome/firefox) WASM package](https://www.npmjs.com/package/@emurgo/cardano-serialization-lib-browser)
- [Browser (pure JS - no WASM) ASM.js package](https://www.npmjs.com/package/@emurgo/cardano-serialization-lib-asmjs)

##### Rust crates

- [cardano-serialization-lib](https://crates.io/crates/cardano-serialization-lib)

##### Mobile bindings

- [React-Native mobile bindings](https://github.com/Emurgo/react-native-haskell-shelley)

## Documentation

You can find documentation [here](https://docs.cardano.org/cardano-components/cardano-serialization-lib)
npm package: @mlabs-haskell/cardano-serialization-lib-nodejs
Description: (De)serialization functions for the Cardano blockchain along with related utility functions
Author: EMURGO
Latest version: 11.2.1

# Cardano Serialization Lib

_This fork of the cardano-serialization-library includes a development shell
that sets the `WASM_BINDGEN_WEAKREF` environment variable. This ensures that
builds of the library will automatically `free()` pointers when their reference
in the JavaScript runtime is garbage collected._

##### Build

Ensure you have Nix installed and Flakes enabled.

```
nix develop
npm run rust:build-nodejs
```

The script will build the assets under `/rust/pkg`.
Other targets and scripts can be found in the root `packages.json`.


This is a library, written in Rust, for serialization & deserialization of data structures used in Cardano's Haskell implementation of Alonzo along with useful utility functions.

##### NPM packages

- [NodeJS WASM package](https://www.npmjs.com/package/@emurgo/cardano-serialization-lib-nodejs)
- [Browser (chrome/firefox) WASM package](https://www.npmjs.com/package/@emurgo/cardano-serialization-lib-browser)
- [Browser (pure JS - no WASM) ASM.js package](https://www.npmjs.com/package/@emurgo/cardano-serialization-lib-asmjs)

##### Rust crates

- [cardano-serialization-lib](https://crates.io/crates/cardano-serialization-lib)

##### Mobile bindings

- [React-Native mobile bindings](https://github.com/Emurgo/react-native-haskell-shelley)

## Documentation

You can find documentation [here](https://docs.cardano.org/cardano-components/cardano-serialization-lib)
npm package: @mlabs-haskell/feesaswap-sdk
Description: TypeScript SDK for FeesaSwap
Author: MLabs
Latest version: 0.1.3

# @mlabs-haskell/feesaswap-sdk

TypeScript SDK for FeesaSwap API integration

## Installation

```bash
npm install @mlabs-haskell/feesaswap-sdk
```

## Quick Start

```tsx
import { FeesaSwapSDK } from '@mlabs-haskell/feesaswap-sdk';

const sdk = new FeesaSwapSDK('http://localhost:3001', 'mainnet');

// Get supported assets
const assets = await sdk.getSupportedAssets();

// Balance a transaction
const balanceResponse = await sdk.balanceTransaction({
  addresses: ['addr1...'],
  change: 'addr1...',
  checkCollateral: false,
  collateral: 'collateral-cbor',
  strategy: 'default',
  swapAssets: ['lovelace'],
  tx: 'unbalanced-tx-cbor'
});

// Submit the signed transaction
const submitResponse = await sdk.submitTransaction({
  unsignedTx: balanceResponse.unsignedTx,
  witnesses: 'signed-witness'
});
```

## API

### Constructor

```tsx
new FeesaSwapSDK(baseUrl: string, network: CardanoNetwork)
```

- `baseUrl`: API server URL (e.g., 'http://localhost:3001')
- `network`: Cardano network ("mainnet", "preprod", or "preview")

### Methods

#### `getSupportedAssets()`

Retrieves the list of supported assets for fee payment.

```tsx
const assets = await sdk.getSupportedAssets();
```

#### `balanceTransaction(request)`

Balances an unbalanced transaction with fee payment assets.

```tsx
const response = await sdk.balanceTransaction({
  addresses: string[],       // Array of wallet addresses
  change: string,            // Change address
  checkCollateral: boolean,  // Whether to check collateral
  collateral: string,        // Collateral CBOR (optional)
  strategy: string,          // Balancing strategy ("default")
  swapAssets: string[],      // Assets to use for fees (e.g., ["lovelace"])
  tx: string                 // Unbalanced transaction CBOR
});
```

#### `submitTransaction(request)`

Submits a signed transaction to the blockchain.

```tsx
const response = await sdk.submitTransaction({
  unsignedTx: string,        // Unsigned transaction CBOR
  witnesses: string          // Signed witnesses
});
```

## Auto-Generated Types

This SDK uses **auto-generated TypeScript types** from the OpenAPI specification. The types are automatically generated from the FeesaSwap API schema and provide full type safety.

## Development

### Building

```bash
npm run build
```

### Type Checking

```bash
npm run type-check
```

### Updating API Types

When the API specification is updated:

```bash
npm run update-api
```

This will regenerate the TypeScript types from the latest OpenAPI schema.

## License

MIT
npm package: @mlabs-haskell/json-bigint
Description: JSON.parse with bigints support
Author: Andrey Sidorov
Latest version: 2.0.0

# json-bigint

This is a fork of [json-bigint](https://github.com/sidorares/json-bigint).

JSON.parse/stringify with bigints support. Based on Douglas Crockford [JSON.js](https://github.com/douglascrockford/JSON-js) package and [bignumber.js](https://github.com/MikeMcl/bignumber.js) library.

This is a simplified fork with removed config options. Native `BigInt` is always used for integers, and numbers with decimals are represented by `Number`s.