UNPKG

@keyper/specs

Version:

keyper specifications

12 lines (11 loc) 469 B
import { Script } from "./type"; export declare function addressToScript(address: string, systemCodeHash?: { SECP256K1_BLAKE160_SIGHASH_ALL_TYPE_HASH: string; SECP256K1_BLAKE160_MULTISIG_ALL_TYPE_HASH: string; }): Script; export declare function scriptToAddress(script: Script, config?: { networkPrefix?: string; short?: boolean; SECP256K1_BLAKE160_SIGHASH_ALL_TYPE_HASH?: string; SECP256K1_BLAKE160_MULTISIG_ALL_TYPE_HASH?: string; }): string;