open-index/open-npm huggingface dataset:
npm package: @safecoin/safe-token-swap
Description: SPL Token Swap JavaScript API
Author: Solana Maintainers
Latest version: 0.1.2

# Token-swap JavaScript API

The Token-swap JavaScript library comprises:

* A library to interact with the on-chain program
* A test client that exercises the program
* Scripts to facilitate building the program

## Getting Started

First fetch the npm dependencies, including `@safecoin/web3.js`, by running:
```sh
$ npm install
```

### Select a Network

The client connects to a local Safecoin cluster by default.

To enable on-chain program logs, set the `RUST_LOG` environment variable:

```bash
$ export RUST_LOG=solana_runtime::native_loader=trace,solana_runtime::system_instruction_processor=trace,solana_runtime::bank=debug,solana_bpf_loader=debug,solana_rbpf=debug
```

To start a local Safecoin cluster run:
```bash
$ npm run localnet:update
$ npm run localnet:up
```

Safecoin cluster logs are available with:
```bash
$ npm run localnet:logs
```

For more details on working with a local cluster, see the [full
instructions](https://github.com/fair-exchange/safecoin-web3.js#local-network).

### Build the on-chain program

```bash
$ npm run build:program
```

### Run the test client

```sh
$ npm run start
```

## Pointing to a public Safecoin cluster

Safecoin maintains three public clusters:
- `devnet` - Development cluster with airdrops enabled
- `testnet` - Tour De Safe test cluster without airdrops enabled
- `mainnet-beta` -  Main cluster

Use npm scripts to configure which cluster.

To point to `devnet`:
```bash
$ npm run cluster:devnet
```

To point back to the local cluster:
```bash
$ npm run cluster:localnet
```
npm package: @safecoin/spl-name-service
Description: SPL Name Service JavaScript API
Author: Safecoin Labs Maintainers
Latest version: 0.1.4

# Name Service JavaScript bindings

[![npm](https://img.shields.io/npm/v/@solana/spl-name-service)](https://unpkg.com/@solana/spl-name-service@latest/) [![GitHub license](https://img.shields.io/badge/license-APACHE-blue.svg)](https://github.com/solana-labs/token-list/blob/b3fa86b3fdd9c817139e38641d46c5a892542a52/LICENSE)

Full documentation is available at https://spl.solana.com/name-service

JavaScript binding allow to interact with a spl program for issuing and managing
ownership of: domain names, Safecoin Pubkeys, URLs, twitter handles, arweave ids,
metadata, etc..

This package provides an interface that third parties can
utilize to create and use their own version of a name service of any kind.

## Installation

```bash
npm install @solana/spl-name-service
```

```bash
yarn add @solana/spl-name-service
```
npm package: @safedeal/verify
Description: SafeDeal v1.0.0 verification and negotiation utilities (deterministic, chain-agnostic).
Latest version: 1.0.1

# @safedeal/verify

SafeDeal v1.0.0 verification and negotiation utilities.

Deterministic. Chain-agnostic. Frozen protocol core.

This package provides:

- Canonical hashing
- Deal ID computation
- Capability hashing
- Deterministic capability negotiation
- Deal bundle verification

No web3 dependency. No network calls. Pure verification logic.

---

## Install

npm install @safedeal/verify

---

## Usage

import {
  capabilitiesHash,
  negotiateCapabilities
} from "@safedeal/verify";

console.log("SafeDeal verify loaded");

---

## What This Is

This package implements the frozen SafeDeal v1 protocol core.

It does NOT:
- Deploy contracts
- Hold funds
- Connect wallets
- Perform arbitration

It only verifies and negotiates deterministic SafeDeal artifacts.

---

## Protocol Version

SafeDeal Protocol Version: 1.0.0

Full repository:
https://github.com/AndrewJWicks/SafeDeal