You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Additionally, all exports have been renamed to more consistently adhere to the `camelCase` capitalization style, without exceptions for abbreviations. For example `assembleBytecodeBCH` is now `assembleBytecodeBch`. To ensure backwards-compatibility, aliases (marked with `@deprecated` TSdoc tags) are also exported using the old capitalization. These aliases will be removed in a future major version.
Copy file name to clipboardExpand all lines: docs/verify-transactions.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,17 +4,17 @@ Libauth includes extensive support for verifying transactions and debugging Virt
4
4
5
5
## Simple Verification
6
6
7
-
To verify a transaction using Bitcoin Cash's latest standard VM, use `createVirtualMachineBCH` with the initial `standard` parameter set to `true`. (For details on the difference between standard and non-standard VMs, see [`Standard Vs. Non-Standard VMs`](../src/lib/vmb-tests/readme.md#standard-vs-non-standard-vms).)
7
+
To verify a transaction using Bitcoin Cash's latest standard VM, use `createVirtualMachineBch` with the initial `standard` parameter set to `true`. (For details on the difference between standard and non-standard VMs, see [`Standard Vs. Non-Standard VMs`](../src/lib/vmb-tests/readme.md#standard-vs-non-standard-vms).)
8
8
9
9
```ts
10
10
import {
11
11
assertSuccess,
12
12
decodeTransaction,
13
13
decodeTransactionOutputs,
14
-
createVirtualMachineBCH,
14
+
createVirtualMachineBch,
15
15
} from'@bitauth/libauth';
16
16
17
-
const vm =createVirtualMachineBCH(true);
17
+
const vm =createVirtualMachineBch(true);
18
18
/* Example transaction from Virtual Machine Bytecode (VMB) test ID: "dv5k4" */
19
19
const vmbTest = {
20
20
description:
@@ -91,17 +91,17 @@ import type { AuthenticationProgramStateStack } from '@bitauth/libauth';
'[BCH compiler] signing_serialization.corresponding_output and signing_serialization.corresponding_output_hash - returns empty bytecode if no corresponding output',
0 commit comments