UNPKG

scrypt-ts

Version:

A toolset for building sCrypt smart contract applications on Bitcoin SV network written in typescript.

10 lines (9 loc) 311 B
import { bsv } from "scryptlib"; import { SmartContract } from "../contract"; import { Addr, PubKey, Sig } from "./types"; export declare class P2PKH extends SmartContract { readonly addr: Addr; constructor(addr: Addr); unlock(sig: Sig, pubkey: PubKey): void; get lockingScript(): bsv.Script; }