open-index/open-npm huggingface dataset:
npm package: @paydefi/core
Description: Core contracts for the PayDefi protocol
Latest version: 1.0.3

# SushiSwap

https://sushi.com/

## Deployed Contracts

https://dev.sushi.com/sushiswap/contracts

## Docs

[Development](docs/DEVELOPMENT.md)

[Deployment](docs/DEPLOYMENT.md)

[History](docs/HISTORY.md)

## Security

[Security Policy](SECURITY.md)

## License

[MIT](LICENSE.txt)
npm package: @paydefi/sdk
Description: 🛠 An SDK for building applications on top of PayDefi.
Latest version: 1.0.5

# Sushiswap SDK

In-depth documentation on this SDK is available at [uniswap.org](https://uniswap.org/docs/v2/SDK/getting-started/).

This modifies uniswap-sdk's UniswapV2Factory address. The new address for sushiswap is  `0xC0AEe478e3658e2610c5F7A4A2E1777cE9e4f2Ac`.

## 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/sushiswap/sushiswap-sdk.git
```

Move into the sushiswap-sdk working directory

```sh
cd sushiswap-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: @paydirect/cli
Description: CLI for PayDirect settlement API on Base — supports sandbox (Base Sepolia) and live (Base Mainnet)
Latest version: 0.2.0

# @paydirect/cli

Command-line tool for the PayDirect settlement API on Base.

## Install

```bash
npm install -g @paydirect/cli
```

## Setup

```bash
# Initialize with your API key
paydirect init pd_live_your_key_here

# Or use environment variables
export PAYDIRECT_API_KEY=pd_live_your_key_here
```

## Commands

```
paydirect payments create --token=USDC --amount=100 --wallet=0x...
paydirect payments list [--status=pending]
paydirect payments get <id>
paydirect payments cancel <id>
paydirect payments verify <id>
paydirect webhooks list
paydirect webhooks create <url> [event1,event2]
paydirect webhooks delete <id>
paydirect keys list
paydirect status
```

## Examples

```bash
# Create a USDC payment
paydirect payments create --token=USDC --amount=50 --wallet=0xABC...

# List pending payments
paydirect payments list --status=pending

# Verify a payment settled
paydirect payments verify pay_abc123

# Register a webhook
paydirect webhooks create https://myapp.com/hooks payment.confirmed,payment.forwarded
```

## Fee Rates

| Token | Fee   |
| ----- | ----- |
| USDC  | 0.50% |
| ETH   | 0.50% |
| ADAO  | 0.25% |