# @unspent/phi

> a collection of anyone can spend contracts

Latest version **0.2.19** (published 2025-02-12) · Unlicense license · 0 weekly downloads

## Install

```sh
npm install @unspent/phi
pnpm add @unspent/phi
yarn add @unspent/phi
bun add @unspent/phi
```

## Health

**Score 40/100 (D)** — status: maintenance-mode.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads; pre 1.0.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.19 |
| Published | 2025-02-12 |
| First published | 2022-11-21 |
| Weekly downloads | 0 |
| License | Unlicense |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 8 |
| Unpacked size | 728.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | 2qx |
| Maintainers | 2qx |
| Keywords | bitcoin, bitcoin cash, bch, tBCH, cashscript, testnet, faucet, unspent |

## Links

- npm: https://www.npmjs.com/package/@unspent/phi
- npm.io page: https://npm.io/package/@unspent/phi

## Dependencies (8)

- [pako](https://npm.io/package/pako.md) 2.1.0
- [cashc](https://npm.io/package/cashc.md) 0.10.0
- [cashscript](https://npm.io/package/cashscript.md) 0.10.0
- [@unspent/psi](https://npm.io/package/@unspent/psi.md) 0.2.19
- [electrum-cash](https://npm.io/package/electrum-cash.md) ^2.0.10
- [@bitauth/libauth](https://npm.io/package/@bitauth/libauth.md) v3.0.0
- [@cashscript/utils](https://npm.io/package/@cashscript/utils.md) 0.10.0
- [@tsconfig/node16-strictest-esm](https://npm.io/package/@tsconfig/node16-strictest-esm.md) latest

## Recent versions

- 0.2.19 (latest) — 2025-02-12
- 0.2.18 — 2025-02-12
- 0.2.17 — 2025-02-11
- 0.2.16 — 2025-02-11
- 0.2.15 — 2025-02-11
- 0.2.14 — 2025-02-11
- 0.2.13 — 2025-02-06
- 0.2.12 — 2025-02-06
- 0.2.6 — 2023-10-12
- 0.2.5 — 2023-10-04
- 0.2.4 — 2023-10-04
- 0.2.3 — 2023-09-26
- 0.2.0 — 2023-08-23
- 0.1.3 — 2023-05-18
- 0.1.2 — 2023-05-18
- … 6 more at https://npm.io/package/@unspent/phi/versions

## README

# Unspent Phi

A collection of CashScript contracts and javascript wrappers for calculating and spending simple anyone-can-spend instruments on the Bitcoin Cash (BCH) blockchain.

This package is used in @unspent/cli and the @unspent/app webapp.

Usage

    yarn add @unspent/phi

ESM

    import {
      Faucet
    } from "@unspent/phi";

    let f = new Faucet();

    f.toString()
    // F,1,1,1000,1,...

    f.execute(<your cashaddress>)

---
_Source: https://npm.io/package/@unspent/phi · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
