UNPKG

scrypt-ts

Version:

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

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