open-index/open-npm huggingface dataset:
npm package: @interep/identity
Description: A simple JS function to create Semaphore identities.
Author: Omar Desogus
Latest version: 0.3.0

<p align="center">
    <h1 align="center">
        Interep identities
    </h1>
    <p align="center">A simple JS function to create Semaphore identities.</p>
</p>

<p align="center">
    <a href="https://github.com/interep-project">
        <img src="https://img.shields.io/badge/project-Interep-blue.svg?style=flat-square">
    </a>
    <a href="https://github.com/interep-project/interep.js/blob/main/LICENSE">
        <img alt="Github license" src="https://img.shields.io/github/license/interep-project/interep.js.svg?style=flat-square">
    </a>
    <a href="https://www.npmjs.com/package/@interep/identity">
        <img alt="NPM version" src="https://img.shields.io/npm/v/@interep/identity?style=flat-square" />
    </a>
    <a href="https://npmjs.org/package/@interep/identity">
        <img alt="Downloads" src="https://img.shields.io/npm/dm/@interep/identity.svg?style=flat-square" />
    </a>
    <a href="https://bundlephobia.com/package/@interep/identity">
        <img alt="npm bundle size (scoped)" src="https://img.shields.io/bundlephobia/minzip/@interep/identity" />
    </a>
    <a href="https://eslint.org/">
        <img alt="Linter eslint" src="https://img.shields.io/badge/linter-eslint-8080f2?style=flat-square&logo=eslint" />
    </a>
    <a href="https://prettier.io/">
        <img alt="Code style prettier" src="https://img.shields.io/badge/code%20style-prettier-f8bc45?style=flat-square&logo=prettier" />
    </a>
</p>

<div align="center">
    <h4>
        <a href="https://js.interep.link/identity">
            🕹 Demo
        </a>
        <span>&nbsp;&nbsp;|&nbsp;&nbsp;</span>
        <a href="https://docs.interep.link/contributing">
            👥 Contributing
        </a>
        <span>&nbsp;&nbsp;|&nbsp;&nbsp;</span>
        <a href="https://docs.interep.link/code-of-conduct">
            🤝 Code of conduct
        </a>
        <span>&nbsp;&nbsp;|&nbsp;&nbsp;</span>
        <a href="https://discord.gg/Tp9He7qws4">
            🗣️ Chat &amp; Support
        </a>
    </h4>
</div>

The `@interep/identity` package allows you to create Semaphore identities by deriving them from a message signed with an Ethereum account. The identity can be used to generate identity commitments and other parameters needed to create zero-knowledge proofs with Semaphore.

---

## 🛠 Install

### npm or yarn

Install the `@interep/semithid` package with npm:

```bash
npm i @interep/identity --save
```

or yarn:

```bash
yarn add @interep/identity
```

## 📜 Usage

\# **createIdentity**(sign: _(message: string) => Promise\<string\>_, provider: _string_, nonce?: _number_): _ZKIdentity_

```typescript
import createIdentity from "@interep/identity"
import detectEthereumProvider from "@metamask/detect-provider"
import { ethers } from "ethers"

const ethereumProvider = (await detectEthereumProvider()) as any
const provider = new ethers.providers.Web3Provider(ethereumProvider)
const signer = provider.getSigner()

const identity = await createIdentity((message) => signer.signMessage(message), "Twitter")
```
npm package: @interep/proof
Description: A simple JS function to create Semaphore proofs.
Author: Omar Desogus
Latest version: 0.7.0

<p align="center">
    <h1 align="center">
        Interep proofs
    </h1>
    <p align="center">A simple JS function to create Semaphore proofs.</p>
</p>

<p align="center">
    <a href="https://github.com/interep-project">
        <img src="https://img.shields.io/badge/project-Interep-blue.svg?style=flat-square">
    </a>
    <a href="https://github.com/interep-project/interep.js/blob/main/LICENSE">
        <img alt="Github license" src="https://img.shields.io/github/license/interep-project/interep.js.svg?style=flat-square">
    </a>
    <a href="https://www.npmjs.com/package/@interep/proof">
        <img alt="NPM version" src="https://img.shields.io/npm/v/@interep/proof?style=flat-square" />
    </a>
    <a href="https://npmjs.org/package/@interep/proof">
        <img alt="Downloads" src="https://img.shields.io/npm/dm/@interep/proof.svg?style=flat-square" />
    </a>
    <a href="https://eslint.org/">
        <img alt="Linter eslint" src="https://img.shields.io/badge/linter-eslint-8080f2?style=flat-square&logo=eslint" />
    </a>
    <a href="https://prettier.io/">
        <img alt="Code style prettier" src="https://img.shields.io/badge/code%20style-prettier-f8bc45?style=flat-square&logo=prettier" />
    </a>
</p>

<div align="center">
    <h4>
        <a href="https://docs.interep.link/contributing">
            👥 Contributing
        </a>
        <span>&nbsp;&nbsp;|&nbsp;&nbsp;</span>
        <a href="https://docs.interep.link/code-of-conduct">
            🤝 Code of conduct
        </a>
        <span>&nbsp;&nbsp;|&nbsp;&nbsp;</span>
        <a href="https://discord.gg/Tp9He7qws4">
            🗣️ Chat &amp; Support
        </a>
    </h4>
</div>

The `@interep/proof` package allow you to create all the Semaphore proof parameters needed for onchain verification with our [Interep contracts](https://github.com/interep-project/contracts).

---

## 🛠 Install

### npm or yarn

Install the `@interep/semithid` package with npm:

```bash
npm i @interep/proof --save
```

or yarn:

```bash
yarn add @interep/proof
```

## 📜 Usage

\# **createProof**(identity: _ZKIdentity_, group: _Group_, externalNullifier: _BigNumber_, signal: _string_, zkFiles: _zkFiles_): _InterepProof_

```typescript
import createIdentity from "@interep/identity"
import createProof from "@interep/proof"
import detectEthereumProvider from "@metamask/detect-provider"
import { ethers } from "ethers"

const ethereumProvider = (await detectEthereumProvider()) as any
const provider = new ethers.providers.Web3Provider(ethereumProvider)
const signer = provider.getSigner()

const identity = await createIdentity((message) => signer.signMessage(message), "Github")

const groupProvider = "github"
const groupName = "gold"
const externalNullifier = 1
const signal = "Hello World"
const snarkArtifacts = {
    wasmFilePath: "./semaphore.wasm",
    zkeyFilePath: "./semaphore_final.zkey"
}

const proof = await createProof(identity, groupProvider, groupName, externalNullifier, signal, snarkArtifacts)
```
npm package: @interest-protocol/sui-amm-sdk
Description: sdk to interact with interest protocol sui modules
Author: jose cerqueira
Latest version: 2.0.0

# [Interest Protocol Sui SDK](https://www.interestprotocol.com/)

 <p> <img width="75px"height="75px" src="./assets/logo.png" /></p>

## Functionality

- [findPoolId](https://docs.interestprotocol.com/developers/sdk#findpoolid)
- [createVolatilePool](https://docs.interestprotocol.com/developers/sdk#createvolatilepool)
- [createStablePool](https://docs.interestprotocol.com/developers/sdk#createstablepool)
- [swap](https://docs.interestprotocol.com/developers/sdk#swap)
- [quoteSwap](https://docs.interestprotocol.com/developers/sdk#quoteswap)
- [addLiquidity](https://docs.interestprotocol.com/developers/sdk#addliquidity)
- [quoteAddLiquidity](https://docs.interestprotocol.com/developers/sdk#quoteaddliquidity)
- [removeLiquidity](https://docs.interestprotocol.com/developers/sdk#removeliquidity)
- [quoteRemoveLiquidity](https://docs.interestprotocol.com/developers/sdk#quoteremoveliquidity)
- [getLatestDEXMarkets](https://docs.interestprotocol.com/developers/sdk#getlatestdexmarkets)

## Install

Install the project dependencies with yarn or npm

```bash
  yarn add @interest-protocol/sui-sdk@latest
```

## Requirements

Node.js version >= 18

### [Install node.js LTS](https://nodejs.org/en)

Verify your Node.js version with 

```bash
  node -v 
```
## Documentation

https://docs.interestprotocol.com/developers/sui/sdk

## Code Style

You must install it in your Editor text

- [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)
- [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode)

## Technologies

- [Typescript](https://typescriptlang.org)
- [Ramda](https://ramdajs.com/)
- [@mysten/sui.js](https://www.npmjs.com/package/@mysten/sui.js)

## Contributing

We always want to be better.

Feel invited to contribute, if you are comfortable, follow the instructions in [CONTRIBUTING.md](./CONTRIBUTING.md) to get started.

## Contact Us

- Twitter: [@interest_dinero](https://twitter.com/interest_dinero)
- Discord: https://discord.gg/interestprotocol
- Telegram: https://t.me/interestprotocol
- Email: [info@interestprotocol.com](mailto:info@interestprotocol.com)
- Medium: [@interestprotocol](https://medium.com/@interestprotocol)
npm package: @interest-protocol/sui-coins-terminal
Description: The community coin of Sui
Latest version: 1.1.1

# Sui Coins Terminal [React SDK]

Sui Coins terminal is built inside the website project to allow to trade on Hop or Aftermath (as client preference)

## How to install

To integrate the sdk, you just need to install the sdk on your React project.

```zsh
pnpm add @interest-protocol/sui-coins-terminal
#or
yarn add @interest-protocol/sui-coins-terminal
#or
npm install @interest-protocol/sui-coins-terminal
```

## How to integrate

To integrate the terminal on the React typescript code, you just need to import the `SwapTerminal` and setup the code.

*Note:* You must by default:

- `typeIn`: default selling token;
- `typeOut`: default buying token;
- `projectAddress`: default project address for *(future)* fees.

```tsx
import { SwapTerminal } from "@interest-protocol/sui-coins-terminal";
import type { FC } from "react";

const Terminal: FC = () => (
  <SwapTerminal
    typeIn="0x2::sui::SUI" // SUI address
    projectAddress="0xdb3a22be6a37c340c6fd3f67a7221dfb841c818442d856f5d17726f4bcf1c8af" // Project DAO address
    typeOut="0x07ab9ba99abd9af0d687ae55079601192be5a12d1a21c8c4cd9f1a17519111e0::emoji::EMOJI" // Target coin address
  />
);

export default Terminal;
```

You can also use others attributes, such as:

- `fixedOut: boolean`: does not allow trader to change the coin out;
- `fixedIn: boolean`: does not allow trader to change the coin in;
- `slippage: number`: the slippage percentage (default: `1` (represents 1%));
- `interval: number`: the quote refresh interval in seconds (default: `10`);
- `aggregator: Aggregator`: the trading aggregator (default: `Aggregator.Hop`);

## Contact Us

- X: [@Suicoins](https://x.com/Suicoins)
- Discord: https://discord.com/invite/interestprotocol
- Telegram: https://t.me/interestprotocol
- Email: [contact@interestprotocol.com](mailto:contact@interestprotocol.com)
- Medium: [@interestprotocol](https://medium.com/@interestprotocol)