JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 10
  • Score
    100M100P100Q66079F
  • License Unlicense

a collection of anyone can spend contracts

Package Exports

  • @unspent/phi
  • @unspent/phi/dist/main/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@unspent/phi) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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