Class TapscriptVerificator
Constructors
Methods
Static
generateAddressFromScript
- generateAddressFromScript(params, scriptTree): undefined | string
Returns undefined | string
Static
generateContractVirtualAddress
- generateContractVirtualAddress(deployerPubKey, bytecode, saltHash, network?): string
Parameters
- deployerPubKey: Buffer
- bytecode: Buffer
- saltHash: Buffer
- network: Network = networks.bitcoin
Returns string
Static
getContractAddress
- getContractAddress(params): undefined | string
Returns undefined | string
Static
getContractSeed
- getContractSeed(deployerPubKey, bytecode, saltHash): Buffer
Parameters
- deployerPubKey: Buffer
- bytecode: Buffer
- saltHash: Buffer
Returns Buffer