@unspent/phi
TypeScript icon, indicating that this package has built-in type declarations

0.2.6 • Public • Published

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>)

/@unspent/phi/

    Package Sidebar

    Install

    npm i @unspent/phi

    Weekly Downloads

    94

    Version

    0.2.6

    License

    Unlicense

    Unpacked Size

    781 kB

    Total Files

    355

    Last publish

    Collaborators

    • 2qx