scryptlib
Version:
Javascript SDK for integration of Bitcoin SV Smart Contracts written in sCrypt language.
7 lines (6 loc) • 715 B
TypeScript
import { AsmVarValues, SupportedParamType, TxContext, FileUri, ScryptType, Bytes, DebugLaunch, Arguments, TypeResolver, Argument, VerifyError } from './internal';
export declare function genLaunchConfigFile(resolver: TypeResolver, constructorArgs: Arguments, pubFuncArgs: Arguments, pubFunc: string, name: string, program: string, txContext: TxContext, asmArgs: AsmVarValues): FileUri;
export declare function toJSON(arg: Argument, resolver: TypeResolver): unknown;
export declare function stringToBytes(str: string): Bytes;
export declare function parseLiteral(l: string, supportInt?: boolean): [SupportedParamType, ScryptType];
export declare function readLaunchJson(error: VerifyError): DebugLaunch | undefined;