open-index/open-npm huggingface dataset:
npm package: @partylayer/adapter-bron
Description: Bron Wallet adapter for PartyLayer
Author: PartyLayer Contributors
Latest version: 0.2.5

# @partylayer/adapter-bron

<div align="center">

**Bron Wallet adapter for PartyLayer**

[![npm version](https://img.shields.io/npm/v/@partylayer/adapter-bron.svg?style=flat-square)](https://www.npmjs.com/package/@partylayer/adapter-bron)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg?style=flat-square)](https://opensource.org/licenses/MIT)

</div>

---

## Overview

Adapter for the [Bron Wallet](https://www.canton.network/ecosystem/bron-wallet), an enterprise remote signer using OAuth2 authentication and API-based signing.

> **Note**: This adapter is included in `@partylayer/sdk` by default. You only need to install it separately if building a custom setup.

---

## Installation

```bash
npm install @partylayer/adapter-bron
```

---

## Usage with SDK

```typescript
import { createPartyLayer } from '@partylayer/sdk';

const client = createPartyLayer({ network: 'devnet' });
await client.connect({ walletId: 'bron' });
```

---

## Links

- [GitHub Repository](https://github.com/PartyLayer/PartyLayer)
- [Bron Developer Portal](https://developer.bron.org/)
- [Report Issues](https://github.com/PartyLayer/PartyLayer/issues)

---

## License

MIT
npm package: @partylayer/adapter-cantor8
Description: Cantor8 (C8) Wallet adapter for PartyLayer
Author: PartyLayer Contributors
Latest version: 0.2.5

# @partylayer/adapter-cantor8

<div align="center">

**Cantor8 Wallet adapter for PartyLayer**

[![npm version](https://img.shields.io/npm/v/@partylayer/adapter-cantor8.svg?style=flat-square)](https://www.npmjs.com/package/@partylayer/adapter-cantor8)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg?style=flat-square)](https://opensource.org/licenses/MIT)

</div>

---

## Overview

Adapter for the [Cantor8 (C8) Wallet](https://cantor8.tech/about), using deep link transport with QR code support for mobile wallet connections.

> **Note**: This adapter is included in `@partylayer/sdk` by default. You only need to install it separately if building a custom setup.

---

## Installation

```bash
npm install @partylayer/adapter-cantor8
```

---

## Usage with SDK

```typescript
import { createPartyLayer } from '@partylayer/sdk';

const client = createPartyLayer({ network: 'devnet' });
await client.connect({ walletId: 'cantor8' });
```

---

## Links

- [GitHub Repository](https://github.com/PartyLayer/PartyLayer)
- [Cantor8](https://cantor8.tech/about)
- [Report Issues](https://github.com/PartyLayer/PartyLayer/issues)

---

## License

MIT
npm package: @partylayer/adapter-console
Description: Console Wallet adapter for PartyLayer
Author: PartyLayer Contributors
Latest version: 0.3.0

# @partylayer/adapter-console

<div align="center">

**Console Wallet adapter for PartyLayer**

[![npm version](https://img.shields.io/npm/v/@partylayer/adapter-console.svg?style=flat-square)](https://www.npmjs.com/package/@partylayer/adapter-console)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg?style=flat-square)](https://opensource.org/licenses/MIT)

</div>

---

## Overview

Adapter for the [Console Wallet](https://www.digitalasset.com/) browser extension. Uses the official `@console-wallet/dapp-sdk` which communicates via `window.postMessage`.

> **Note**: This adapter is included in `@partylayer/sdk` by default. You only need to install it separately if building a custom setup.

---

## Installation

```bash
npm install @partylayer/adapter-console
```

---

## Usage with SDK

```typescript
import { createPartyLayer } from '@partylayer/sdk';

const client = createPartyLayer({ network: 'devnet' });
await client.connect({ walletId: 'console' });
```

---

## Links

- [GitHub Repository](https://github.com/PartyLayer/PartyLayer)
- [Console Wallet Docs](https://docs.digitalasset.com/integrate/devnet/index.html)
- [Report Issues](https://github.com/PartyLayer/PartyLayer/issues)

---

## License

MIT
npm package: @partylayer/adapter-loop
Description: 5N Loop Wallet adapter for PartyLayer
Author: PartyLayer Contributors
Latest version: 0.2.5

# @partylayer/adapter-loop

<div align="center">

**5N Loop Wallet adapter for PartyLayer**

[![npm version](https://img.shields.io/npm/v/@partylayer/adapter-loop.svg?style=flat-square)](https://www.npmjs.com/package/@partylayer/adapter-loop)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg?style=flat-square)](https://opensource.org/licenses/MIT)

</div>

---

## Overview

Adapter for the [5N Loop Wallet](https://github.com/fivenorth-io/loop-sdk). Uses the official `@fivenorth/loop-sdk` package which communicates via QR code / popup flow over WebSocket.

> **Note**: This adapter is included in `@partylayer/sdk` by default. You only need to install it separately if building a custom setup.

---

## Installation

```bash
npm install @partylayer/adapter-loop
```

---

## Usage with SDK

```typescript
import { createPartyLayer } from '@partylayer/sdk';

const client = createPartyLayer({ network: 'devnet' });
await client.connect({ walletId: 'loop' });
```

---

## Links

- [GitHub Repository](https://github.com/PartyLayer/PartyLayer)
- [Loop SDK](https://github.com/fivenorth-io/loop-sdk)
- [Report Issues](https://github.com/PartyLayer/PartyLayer/issues)

---

## License

MIT
npm package: @partylayer/adapter-nightly
Description: Nightly Wallet adapter for PartyLayer
Author: PartyLayer Contributors
Latest version: 0.2.5

# @partylayer/adapter-nightly

<div align="center">

**Nightly Wallet adapter for PartyLayer**

[![npm version](https://img.shields.io/npm/v/@partylayer/adapter-nightly.svg?style=flat-square)](https://www.npmjs.com/package/@partylayer/adapter-nightly)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg?style=flat-square)](https://opensource.org/licenses/MIT)

</div>

---

## Overview

Adapter for the [Nightly Wallet](https://nightly.app/), a multichain wallet with Canton Network support. The wallet injects at `window.nightly.canton` and uses a callback-based signing interface.

> **Note**: This adapter is included in `@partylayer/sdk` by default. You only need to install it separately if building a custom setup.

---

## Installation

```bash
npm install @partylayer/adapter-nightly
```

---

## Usage with SDK

```typescript
import { createPartyLayer } from '@partylayer/sdk';

const client = createPartyLayer({ network: 'devnet' });
await client.connect({ walletId: 'nightly' });
```

---

## Links

- [GitHub Repository](https://github.com/PartyLayer/PartyLayer)
- [Nightly Wallet](https://nightly.app/)
- [Report Issues](https://github.com/PartyLayer/PartyLayer/issues)

---

## License

MIT
npm package: @partylayer/conformance-runner
Description: CLI tool for running adapter conformance tests
Latest version: 0.1.7

# @partylayer/conformance-runner

<div align="center">

**CLI tool for running adapter and CIP-0103 conformance tests**

[![npm version](https://img.shields.io/npm/v/@partylayer/conformance-runner.svg?style=flat-square)](https://www.npmjs.com/package/@partylayer/conformance-runner)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg?style=flat-square)](https://opensource.org/licenses/MIT)

</div>

---

## Overview

Conformance test runner that validates wallet adapters and CIP-0103 providers against the PartyLayer specification. Ensures adapters implement all required methods and follow expected behavior patterns.

---

## Installation

```bash
npm install -g @partylayer/conformance-runner
```

---

## Usage

```bash
partylayer-conformance --help
```

---

## Links

- [GitHub Repository](https://github.com/PartyLayer/PartyLayer)
- [Report Issues](https://github.com/PartyLayer/PartyLayer/issues)

---

## License

MIT
npm package: @partylayer/registry-cli
Description: CLI tool for managing PartyLayer wallet registry
Latest version: 0.1.7

# @partylayer/registry-cli

<div align="center">

**CLI tool for managing the PartyLayer wallet registry**

[![npm version](https://img.shields.io/npm/v/@partylayer/registry-cli.svg?style=flat-square)](https://www.npmjs.com/package/@partylayer/registry-cli)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg?style=flat-square)](https://opensource.org/licenses/MIT)

</div>

---

## Overview

Command-line interface for managing wallet entries in the PartyLayer registry. Used for validating, adding, and updating wallet metadata.

---

## Installation

```bash
npm install -g @partylayer/registry-cli
```

---

## Usage

```bash
partylayer-registry --help
```

---

## Links

- [GitHub Repository](https://github.com/PartyLayer/PartyLayer)
- [Report Issues](https://github.com/PartyLayer/PartyLayer/issues)

---

## License

MIT
npm package: @partylayer/registry-client
Description: Wallet registry client for PartyLayer
Author: PartyLayer Contributors
Latest version: 0.2.6

# @partylayer/registry-client

<div align="center">

**Wallet registry client for PartyLayer**

[![npm version](https://img.shields.io/npm/v/@partylayer/registry-client.svg?style=flat-square)](https://www.npmjs.com/package/@partylayer/registry-client)
[![TypeScript](https://img.shields.io/badge/TypeScript-5.0+-blue.svg?style=flat-square)](https://www.typescriptlang.org/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg?style=flat-square)](https://opensource.org/licenses/MIT)

</div>

---

## Overview

`@partylayer/registry-client` fetches and validates the Canton Network wallet registry. It provides wallet metadata (names, icons, install URLs) with integrity verification and caching.

### Features

- **Signed Registry**: Verifies registry signature to prevent tampering
- **Automatic Caching**: Reduces network requests with configurable TTL
- **Schema Validation**: Ensures registry entries match expected format
- **Stale Fallback**: Uses cached data when network is unavailable

---

## Installation

```bash
npm install @partylayer/registry-client
```

> **Note**: Most dApp developers should use `@partylayer/sdk` instead, which includes the registry client automatically.

---

## Usage

```typescript
import { RegistryClient } from '@partylayer/registry-client';

const registry = new RegistryClient({
  url: 'https://registry.partylayer.xyz/v1/wallets.json',
});

const wallets = await registry.getWallets();
// [{ id: 'console', name: 'Console Wallet', icon: '...', ... }, ...]
```

---

## Links

- [GitHub Repository](https://github.com/PartyLayer/PartyLayer)
- [Report Issues](https://github.com/PartyLayer/PartyLayer/issues)

---

## License

MIT
npm package: @partylikeits1983/complex_sol
Description: ComplexNumbersSolidity
Author: Alexander John Lee
Latest version: 1.0.1

# num_complex_solidity

`Complex` numbers for Solidity.

This library is in development. Please feel free to make a pull request with added functionality.

# Usage

WIth npm:

```bash
$ npm i @partylikeits1983/complex_sol
```

```solidity
// SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.17;

import "@partylikeits1983/complex_sol/contracts/Complex.sol";

contract model {

    function test(int re, int im) public returns (int,int) {

        (re,im) = Complex.complexLN(re,im);

        return (re,im);
    }
}
```

Version 1.0

| Functions   | Description         | Gas Estimation |
| ----------- | ------------------- | -------------- |
| add         | (a+bi) + (a+bi)     | 698            |
| sub         | (a+bi) - (a+bi)     | 687            |
| mul         | (a+bi) \* (a+bi)    | 2212           |
| div         | (a+bi) / (a+bi)     | 4099           |
| r2          | a^2 + b^2 = c^2     | 2188           |
| fromPolar   | z=r(cosθ+isinθ)     | 2518           |
| toPolar     | z=r(cosθ+isinθ)     | 5506           |
| atan2       | tan^-1              | 2632           |
| p_atan2     | precise tan^-1      | 3442           |
| atan1to1    | tan^-1 from -1 to 1 | 2496           |
| complexSQRT | (a+bi)^(1/2)        | 8812           |
| complexPOW  | when n<1 (a+bi)^n   | 18182          |
| complexEXP  | e^(a+bi)            | 4986           |

## Documentation

[num_complex_solidity documentation](docs/index.md)

## Testing

```sh
npx hardhat test tests/math.test.js
```

## Acknowledgements

Big thanks to the authors of the the - [mds1/solidity-trigonometry](https://github.com/mds1/solidity-trigonometry) and the [prb-math](https://github.com/paulrberg/prb-math) repositories

## Sponsor this Repository

If you would like to support this repository please feel free to make a contribution to this address:
0x74d6E0f5bff59A2a6b3CDe43c26EcAaC31101722

All proceeds will go to the development of this repository. Any contribution is greatly appreciated.

## Sponsors

[Paul Berg](https://github.com/paulrberg)

## License

Licensed under either of

- [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)
- [MIT license](http://opensource.org/licenses/MIT)

at your option.

### Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in the work by you, as defined in the Apache-2.0 license, shall be
dual licensed as above, without any additional terms or conditions.
npm package: @partylikeits1983/statistics_solidity
Description: #### `Statitics Functions` in Solidity
Author: DeltaDex & partylikeits1983
Latest version: 1.0.1

# statistics_solidity

`Statitics Functions` in Solidity

# Usage

With npm:

```bash
$ npm i statistics_solidity
```

```solidity
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

import "@partylikeits1983/statistics_solidity/contracts/Statistics.sol";

contract model {

    function test(int x) public view returns (int y) {

        y = Statistics.pdf(x);

        return y;
    }
}
```

Version 1.0

| Functions | Description                                                                                        | Gas Estimation |
| --------- | -------------------------------------------------------------------------------------------------- | -------------- |
| pdf       | [Probability Density Function](https://en.wikipedia.org/wiki/Probability_density_function)         | 32869          |
| cdf       | [Cumulative Distribution Function](https://en.wikipedia.org/wiki/Cumulative_distribution_function) | 31522          |
| err       | [Error Function](https://en.wikipedia.org/wiki/Error_function)                                     | 30137          |

## Testing

```sh
npx hardhat test tests/stats.test.js
```

```sh
node stats.js
```

## License

Licensed under either of

- [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)
- [MIT license](http://opensource.org/licenses/MIT)

at your option.

### Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in the work by you, as defined in the Apache-2.0 license, shall be
dual licensed as above, without any additional terms or conditions.
npm package: @partyswap-libs/sdk
Description: 🛠 An SDK for building applications on top of partyswap.
Latest version: 1.0.13

# Partyswap SDK

[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
## 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/PartySwapDEX/party-swap-sdk
```

Move into the party-swap-sdk working directory

```sh
cd party-swap-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.
```
npm package: @partyswap-libs/uikit
Description: Set of UI components for party projects
Latest version: 0.1.3

# Party UIkit

UIkit is a set of React components and hooks used to build pages on Party's apps. It also contains a theme file for dark and light mode.

## Install

`yarn add @partyswap-libs/uikit`

## Setup

### Theme

Before using Party UIkit, you need to provide the theme file to styled-component.

```
import { ThemeProvider } from 'styled-components'
import { light, dark } from '@partyswap-libs/uikit'
...
<ThemeProvider theme={isDark}>...</ThemeProvider>
```

### Reset

A reset CSS is available as a global styled component.

```
import { ResetCSS } from '@partyswap-libs/uikit'
...
<ResetCSS />
```

### Types

This project is built with Typescript and export all the relevant types.